Skip to content

Commit 7b69aa8

Browse files
authored
Merge pull request #5 from CGWebDev2003/main
[v1.3.0]: Splited snippet files
2 parents 36fc1ad + 1672d7e commit 7b69aa8

12 files changed

+675
-654
lines changed

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,12 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
66

77
## [Released]
88

9+
## [1.3.0] - 2023-05-18
10+
11+
### Changed
12+
13+
- Splited snippet files
14+
915
## [1.2.1] - 2023-05-08
1016

1117
### Fixed

README.md

Lines changed: 80 additions & 81 deletions
Original file line numberDiff line numberDiff line change
@@ -5,86 +5,85 @@
55
66
## Table of contents
77

8-
- [Neptune CSS snippets](#neptune-css-snippets)
9-
- [Table of contents](#table-of-contents)
10-
- [What's new in v1.2.0?](#whats-new-in-v120)
11-
- [Added:](#added)
12-
- [Examples](#examples)
13-
- [Example page](#example-page)
14-
- [Main headline](#main-headline)
15-
- [Secondary headline](#secondary-headline)
16-
- [Compnent example](#compnent-example)
17-
- [Badges](#badges)
18-
- [Badge sizes](#badge-sizes)
19-
- [Badge S](#badge-s)
20-
- [Badge M](#badge-m)
21-
- [Badge L](#badge-l)
22-
- [Badge styles](#badge-styles)
23-
- [Badge primary](#badge-primary)
24-
- [Badge accent](#badge-accent)
25-
- [Badge information](#badge-information)
26-
- [Badge success](#badge-success)
27-
- [Badge warning](#badge-warning)
28-
- [Badge error](#badge-error)
29-
- [Buttons](#buttons)
30-
- [Button sizes](#button-sizes)
31-
- [Button S](#button-s)
32-
- [Button M](#button-m)
33-
- [Button L](#button-l)
34-
- [Button styles](#button-styles)
35-
- [Primary button](#primary-button)
36-
- [Secondary button](#secondary-button)
37-
- [Button CTA](#button-cta)
38-
- [Button information](#button-information)
39-
- [Button success](#button-success)
40-
- [Button warning](#button-warning)
41-
- [Button error](#button-error)
42-
- [Links](#links)
43-
- [Link sizes](#link-sizes)
44-
- [Link S](#link-s)
45-
- [Link M](#link-m)
46-
- [Link L](#link-l)
47-
- [Link styles](#link-styles)
48-
- [Link primary](#link-primary)
49-
- [Link accent](#link-accent)
50-
- [Link information](#link-information)
51-
- [Link success](#link-success)
52-
- [Link warning](#link-warning)
53-
- [Link error](#link-error)
54-
- [Progress bars](#progress-bars)
55-
- [Progress bar sizes](#progress-bar-sizes)
56-
- [Progress bar XS](#progress-bar-xs)
57-
- [Progress bar S](#progress-bar-s)
58-
- [Progress bar M](#progress-bar-m)
59-
- [Progress bar L](#progress-bar-l)
60-
- [Progress bar XL](#progress-bar-xl)
61-
- [Progress bar styles](#progress-bar-styles)
62-
- [Progress bar primary](#progress-bar-primary)
63-
- [Progress bar accent](#progress-bar-accent)
64-
- [Progress bar information](#progress-bar-information)
65-
- [Progress bar success](#progress-bar-success)
66-
- [Progress bar warning](#progress-bar-warning)
67-
- [Progress bar error](#progress-bar-error)
68-
- [Spinner](#spinner)
69-
- [Spinner styles](#spinner-styles)
70-
- [Spinner primary](#spinner-primary)
71-
- [Spinner accent](#spinner-accent)
72-
- [Spinner information](#spinner-information)
73-
- [Spinner success](#spinner-success)
74-
- [Spinner warning](#spinner-warning)
75-
- [Spinner error](#spinner-error)
76-
- [Spinner animations](#spinner-animations)
77-
- [Spinner linear](#spinner-linear)
78-
- [Spinner eased](#spinner-eased)
79-
- [Toasts](#toasts)
80-
- [Toast styles](#toast-styles)
81-
- [Toast primary](#toast-primary)
82-
- [Toast accent](#toast-accent)
83-
- [Toast information](#toast-information)
84-
- [Toast success](#toast-success)
85-
- [Toast warning](#toast-warning)
86-
- [Toast error](#toast-error)
87-
- [Author](#author)
8+
- [Table of contents](#table-of-contents)
9+
- [What's new in v1.2.0?](#whats-new-in-v120)
10+
- [Added:](#added)
11+
- [Examples](#examples)
12+
- [Example page](#example-page)
13+
- [Main headline](#main-headline)
14+
- [Secondary headline](#secondary-headline)
15+
- [Component example](#component-example)
16+
- [Badges](#badges)
17+
- [Badge sizes](#badge-sizes)
18+
- [Badge S](#badge-s)
19+
- [Badge M](#badge-m)
20+
- [Badge L](#badge-l)
21+
- [Badge styles](#badge-styles)
22+
- [Badge primary](#badge-primary)
23+
- [Badge accent](#badge-accent)
24+
- [Badge information](#badge-information)
25+
- [Badge success](#badge-success)
26+
- [Badge warning](#badge-warning)
27+
- [Badge error](#badge-error)
28+
- [Buttons](#buttons)
29+
- [Button sizes](#button-sizes)
30+
- [Button S](#button-s)
31+
- [Button M](#button-m)
32+
- [Button L](#button-l)
33+
- [Button styles](#button-styles)
34+
- [Primary button](#primary-button)
35+
- [Secondary button](#secondary-button)
36+
- [Button CTA](#button-cta)
37+
- [Button information](#button-information)
38+
- [Button success](#button-success)
39+
- [Button warning](#button-warning)
40+
- [Button error](#button-error)
41+
- [Links](#links)
42+
- [Link sizes](#link-sizes)
43+
- [Link S](#link-s)
44+
- [Link M](#link-m)
45+
- [Link L](#link-l)
46+
- [Link styles](#link-styles)
47+
- [Link primary](#link-primary)
48+
- [Link accent](#link-accent)
49+
- [Link information](#link-information)
50+
- [Link success](#link-success)
51+
- [Link warning](#link-warning)
52+
- [Link error](#link-error)
53+
- [Progress bars](#progress-bars)
54+
- [Progress bar sizes](#progress-bar-sizes)
55+
- [Progress bar XS](#progress-bar-xs)
56+
- [Progress bar S](#progress-bar-s)
57+
- [Progress bar M](#progress-bar-m)
58+
- [Progress bar L](#progress-bar-l)
59+
- [Progress bar XL](#progress-bar-xl)
60+
- [Progress bar styles](#progress-bar-styles)
61+
- [Progress bar primary](#progress-bar-primary)
62+
- [Progress bar accent](#progress-bar-accent)
63+
- [Progress bar information](#progress-bar-information)
64+
- [Progress bar success](#progress-bar-success)
65+
- [Progress bar warning](#progress-bar-warning)
66+
- [Progress bar error](#progress-bar-error)
67+
- [Spinner](#spinner)
68+
- [Spinner styles](#spinner-styles)
69+
- [Spinner primary](#spinner-primary)
70+
- [Spinner accent](#spinner-accent)
71+
- [Spinner information](#spinner-information)
72+
- [Spinner success](#spinner-success)
73+
- [Spinner warning](#spinner-warning)
74+
- [Spinner error](#spinner-error)
75+
- [Spinner animations](#spinner-animations)
76+
- [Spinner linear](#spinner-linear)
77+
- [Spinner eased](#spinner-eased)
78+
- [Toasts](#toasts)
79+
- [Toast styles](#toast-styles)
80+
- [Toast primary](#toast-primary)
81+
- [Toast accent](#toast-accent)
82+
- [Toast information](#toast-information)
83+
- [Toast success](#toast-success)
84+
- [Toast warning](#toast-warning)
85+
- [Toast error](#toast-error)
86+
- [Author](#author)
8887

8988
## What's new in v1.2.0?
9089

@@ -110,7 +109,7 @@ neptune-main-headline
110109
neptune-secondary-headline
111110
```
112111

113-
### Compnent example
112+
### Component example
114113
```
115114
neptune-example
116115
```

package.json

Lines changed: 27 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"publisher": "NeptuneCSS",
55
"icon": "icon.png",
66
"description": "VS Code snippets for Neptune CSS",
7-
"version": "1.2.1",
7+
"version": "1.3.0",
88
"license": "MIT",
99
"author": "CGWebDev2003",
1010
"repository": {
@@ -25,8 +25,32 @@
2525
"snippets": [
2626
{
2727
"language": "html",
28-
"path": "./snippets/snippets.code-snippets"
28+
"path": "./snippets/badges.code-snippets"
29+
},
30+
{
31+
"language": "html",
32+
"path": "./snippets/buttons.code-snippets"
33+
},
34+
{
35+
"language": "html",
36+
"path": "./snippets/examples.code-snippets"
37+
},
38+
{
39+
"language": "html",
40+
"path": "./snippets/links.code-snippets"
41+
},
42+
{
43+
"language": "html",
44+
"path": "./snippets/progressbars.code-snippets"
45+
},
46+
{
47+
"language": "html",
48+
"path": "./snippets/spinner.code-snippets"
49+
},
50+
{
51+
"language": "html",
52+
"path": "./snippets/toasts.code-snippets"
2953
}
3054
]
3155
}
32-
}
56+
}

snippets/badges.code-snippets

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
// Badges
3+
// Default badge
4+
"Neptune default badge": {
5+
"scope": "html",
6+
"prefix": "neptune-badge",
7+
"body": "<span class=\"badge\">${1:Default}</span>",
8+
"description": "Default badge"
9+
},
10+
// Badge sizes
11+
"Neptune badge S": {
12+
"scope": "html",
13+
"prefix": "neptune-badge-s",
14+
"body": "<span class=\"badge badge-s\">${1:Badge S}</span>",
15+
"description": "Badge S"
16+
},
17+
"Neptune badge M": {
18+
"scope": "html",
19+
"prefix": "neptune-badge-m",
20+
"body": "<span class=\"badge badge-m\">${1:Badge M}</span>",
21+
"description": "Badge M"
22+
},
23+
"Neptune badge L": {
24+
"scope": "html",
25+
"prefix": "neptune-badge-l",
26+
"body": "<span class=\"badge badge-l\">${1:Badge L}</span>",
27+
"description": "Badge L"
28+
},
29+
// Badge styles
30+
"Neptune badge primary": {
31+
"scope": "html",
32+
"prefix": "neptune-badge-primary",
33+
"body": "<span class=\"badge badge-primary\">${1:Primary}</span>",
34+
"description": "Primary badge"
35+
},
36+
"Neptune badge accent": {
37+
"scope": "html",
38+
"prefix": "neptune-badge-accent",
39+
"body": "<span class=\"badge badge-accent\">${1:Accent}</span>",
40+
"description": "Accent badge"
41+
},
42+
"Neptune badge information": {
43+
"scope": "html",
44+
"prefix": "neptune-badge-info",
45+
"body": "<span class=\"badge badge-info\">${1:Information}</span>",
46+
"description": "Information badge"
47+
},
48+
"Neptune badge success": {
49+
"scope": "html",
50+
"prefix": "neptune-badge-success",
51+
"body": "<span class=\"badge badge-success\">${1:Success}</span>",
52+
"description": "Success badge"
53+
},
54+
"Neptune badge warning": {
55+
"scope": "html",
56+
"prefix": "neptune-badge-warning",
57+
"body": "<span class=\"badge badge-warning\">${1:Warning}</span>",
58+
"description": "Warning badge"
59+
},
60+
"Neptune badge error": {
61+
"scope": "html",
62+
"prefix": "neptune-badge-error",
63+
"body": "<span class=\"badge badge-error\">${1:Error}</span>",
64+
"description": "Error badge"
65+
}
66+
}

snippets/buttons.code-snippets

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
{
2+
// Buttons
3+
// Default button
4+
"Neptune default button": {
5+
"scope": "html",
6+
"prefix": "neptune-button",
7+
"body": "<button>${1:Default}</button>",
8+
"description": "Default button"
9+
},
10+
// Button sizes
11+
"Neptune button S": {
12+
"scope": "html",
13+
"prefix": "neptune-button-s",
14+
"body": "<button class=\"button-s\">${1:Button S}</button>",
15+
"description": "Button S"
16+
},
17+
"Neptune button M": {
18+
"scope": "html",
19+
"prefix": "neptune-button-m",
20+
"body": "<button class=\"button-m\">${1:Button M}</button>",
21+
"description": "Button M"
22+
},
23+
"Neptune button L": {
24+
"scope": "html",
25+
"prefix": "neptune-button-l",
26+
"body": "<button class=\"button-l\">${1:Button L}</button>",
27+
"description": "Button L"
28+
},
29+
// Button styles
30+
"Neptune button primary": {
31+
"scope": "html",
32+
"prefix": "neptune-button-primary",
33+
"body": "<button class=\"button-primary\">${1:Primary}</button>",
34+
"description": "Primary button"
35+
},
36+
"Neptune button secondary": {
37+
"scope": "html",
38+
"prefix": "neptune-button-secondary",
39+
"body": "<button class=\"button-secondary\">${1:Secondary}</button>",
40+
"description": "Secondary button"
41+
},
42+
"Neptune button cta": {
43+
"scope": "html",
44+
"prefix": "neptune-button-cta",
45+
"body": "<button class=\"button-cta\">${1:Call to action}</button>",
46+
"description": "CTA button"
47+
},
48+
"Neptune button information": {
49+
"scope": "html",
50+
"prefix": "neptune-button-info",
51+
"body": "<button class=\"button-info\">${1:Information}</button>",
52+
"description": "Information button"
53+
},
54+
"Neptune button success": {
55+
"scope": "html",
56+
"prefix": "neptune-button-success",
57+
"body": "<button class=\"button-success\">${1:Success}</button>",
58+
"description": "Success button"
59+
},
60+
"Neptune button warning": {
61+
"scope": "html",
62+
"prefix": "neptune-button-warning",
63+
"body": "<button class=\"button-warning\">${1:Warning}</button>",
64+
"description": "Warning button"
65+
},
66+
"Neptune button error": {
67+
"scope": "html",
68+
"prefix": "neptune-button-error",
69+
"body": "<button class=\"button-error\">${1:Error}</button>",
70+
"description": "Error button"
71+
}
72+
}

0 commit comments

Comments
 (0)