Skip to content

Commit c5b15e3

Browse files
authored
Merge pull request #2 from CGWebDev2003/main
[v1.1.0]: Added Example page, Main headline and Secondary headline
2 parents 101b698 + 72c07a5 commit c5b15e3

File tree

6 files changed

+100
-9
lines changed

6 files changed

+100
-9
lines changed

README.md

Lines changed: 32 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,25 @@
22

33
This is the official snippets extension for [Neptune CSS](https://github.com/neptune-css/neptune-css).
44

5+
## v1.1.0
6+
7+
### Added
8+
9+
- Example page
10+
- Main headline
11+
- Secondary headline
12+
513
## Table of contents
614

715
- [Neptune CSS snippets](#neptune-css-snippets)
16+
- [v1.1.0](#v110)
17+
- [Added](#added)
818
- [Table of contents](#table-of-contents)
9-
- [Component example](#component-example)
19+
- [Examples](#examples)
20+
- [Example page](#example-page)
21+
- [Main headline](#main-headline)
22+
- [Secondary headline](#secondary-headline)
23+
- [Compnent example](#compnent-example)
1024
- [Badges](#badges)
1125
- [Badge sizes](#badge-sizes)
1226
- [Badge S](#badge-s)
@@ -56,8 +70,24 @@ This is the official snippets extension for [Neptune CSS](https://github.com/nep
5670
- [Toast error](#toast-error)
5771
- [Author](#author)
5872

59-
## Component example
73+
## Examples
74+
75+
### Example page
76+
```
77+
neptune-example-page
78+
```
79+
80+
### Main headline
81+
```
82+
neptune-main-headline
83+
```
84+
85+
### Secondary headline
86+
```
87+
neptune-secondary-headline
88+
```
6089

90+
### Compnent example
6191
```
6292
neptune-example
6393
```

neptune-snippets-1.0.0.vsix

9 Bytes
Binary file not shown.

neptune-snippets-1.1.0.vsix

21 KB
Binary file not shown.

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"name": "neptune-snippets",
33
"displayName": "Neptune snippets",
4+
"publisher": "NeptuneCSS",
45
"icon": "icon.png",
56
"description": "VS Code snippets for Neptune CSS",
6-
"version": "1.0.0",
7+
"version": "1.1.0",
78
"license": "MIT",
89
"author": "CGWebDev2003",
910
"repository": {

snippets/snippets.code-snippets

Lines changed: 46 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,55 @@
11
{
2+
// HTML Examples
3+
// Example page
4+
"Neptune example page": {
5+
"scope": "html",
6+
"prefix": "neptune-example-page",
7+
"body": [
8+
"<!DOCTYPE html>",
9+
"<html lang=\"en\">",
10+
" <head>",
11+
" <meta charset=\"UTF-8\">",
12+
" <meta http-equiv=\"X-UA-Compatible\" content=\"IE=edge\">",
13+
" <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">",
14+
" ",
15+
" <!-- Import example style -->",
16+
" <link rel=\"stylesheet\" href=\"/examamples/example_style.min.css\">",
17+
" ",
18+
" <!-- Import neptune ui -->",
19+
" <link rel=\"stylesheet\" href=\"/neptune.css\">",
20+
" ",
21+
" <link rel=\"icon\" type=\"image/x-icon\" href=\"/assets/favicon.ico\">",
22+
" <title>${1:Title} | Neptune examples</title>",
23+
" </head>",
24+
" <body>",
25+
" ${2:Content}",
26+
" </body>",
27+
"</html>"
28+
],
29+
"description": "Neptune example page template"
30+
} ,
31+
// Main headline
32+
"Neptune main headline": {
33+
"scope": "html",
34+
"prefix": "neptune-main-headline",
35+
"body": "<h1 class=\"main-headmline\">${1:Main headline}</h1>",
36+
"description": "Neptune examples main headline"
37+
} ,
38+
// Secondary headline
39+
"Neptune secondary headline": {
40+
"scope": "html",
41+
"prefix": "neptune-secondary-headline",
42+
"body": "<h1 class=\"secondary-headmline\">${1:Secondary headline}</h1>",
43+
"description": "Neptune examples secondary headline"
44+
} ,
45+
// Component example
246
"Neptune component example": {
347
"scope": "html",
448
"prefix": "neptune-example",
549
"body": [
650
"<div class=\"example-box\">",
7-
" <h3 class=\"example-title\">Example box</h3>",
8-
" ${1:<!-- Exammple content -->}",
51+
" <h3 class=\"example-title\">${1:Example title}</h3>",
52+
" ${2:<!-- Exammple content -->}",
953
"</div>"
1054
],
1155
"description": "Neptune component example"

test.html

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,20 @@
1-
<div class="toast">
2-
<span class="toast-icon"><i class="bi bi-bell-fill"></i></span>
3-
<p class="toast-text text-l">Default toast</p>
4-
</div>
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="UTF-8">
5+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
7+
8+
<!-- Import example style -->
9+
<link rel="stylesheet" href="/examamples/example_style.min.css">
10+
11+
<!-- Import neptune ui -->
12+
<link rel="stylesheet" href="/neptune.css">
13+
14+
<link rel="icon" type="image/x-icon" href="/assets/favicon.ico">
15+
<title>Test | Neptune examples</title>
16+
</head>
17+
<body>
18+
Content
19+
</body>
20+
</html>

0 commit comments

Comments
 (0)