breakouts 0.2.1 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -5
- package/package.json +3 -3
- package/src/breakouts.scss +1 -1
- package/src/theme/_chupa-pop.scss +9 -9
- package/src/theme/_medical.scss +9 -7
- package/src/theme/_tootsie-pop.scss +6 -6
package/README.md
CHANGED
|
@@ -25,7 +25,7 @@ bun add breakouts
|
|
|
25
25
|
### SCSS with `@use`
|
|
26
26
|
|
|
27
27
|
```scss
|
|
28
|
-
@use 'breakouts' as *;
|
|
28
|
+
@use 'breakouts/src/breakouts' as *;
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
### Import CSS directly
|
|
@@ -161,7 +161,7 @@ View the live demo via GitHub Pages:
|
|
|
161
161
|
Override core variables before importing:
|
|
162
162
|
|
|
163
163
|
```scss
|
|
164
|
-
@use 'breakouts' with (
|
|
164
|
+
@use 'breakouts/src/breakouts' with (
|
|
165
165
|
$color-primary: #d1ff4a,
|
|
166
166
|
$color-accent: #8a2be2
|
|
167
167
|
);
|
|
@@ -186,9 +186,9 @@ Or create a custom theme:
|
|
|
186
186
|
|
|
187
187
|
| Theme Name | Description | Import Path |
|
|
188
188
|
|----------------|----------------------------------------------------------------|----------------------------------------|
|
|
189
|
-
| **Chupa Pop** | Bold and colorful palette inspired by candy tones | `@use 'breakouts/theme/chupa-pop'` |
|
|
190
|
-
| **Medical** | Calm, healthcare-inspired palette with blues and greens | `@use 'breakouts/theme/medical'` |
|
|
191
|
-
| **Tootsie Pop**| Retro and playful candy-themed palette | `@use 'breakouts/theme/tootsie-pop'` |
|
|
189
|
+
| **Chupa Pop** | Bold and colorful palette inspired by candy tones | `@use 'breakouts/src/theme/chupa-pop'` |
|
|
190
|
+
| **Medical** | Calm, healthcare-inspired palette with blues and greens | `@use 'breakouts/src/theme/medical'` |
|
|
191
|
+
| **Tootsie Pop**| Retro and playful candy-themed palette | `@use 'breakouts/src/theme/tootsie-pop'` |
|
|
192
192
|
|
|
193
193
|
---
|
|
194
194
|
|
package/package.json
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "breakouts",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "A personal SCSS/CSS layout utility framework.",
|
|
5
5
|
"main": "dist/breakouts.css",
|
|
6
6
|
"files": [
|
|
7
|
-
"breakouts.scss",
|
|
8
7
|
"src/",
|
|
9
8
|
"dist/"
|
|
10
9
|
],
|
|
@@ -18,5 +17,6 @@
|
|
|
18
17
|
"license": "MIT",
|
|
19
18
|
"devDependencies": {
|
|
20
19
|
"sass": "^1.86.2"
|
|
21
|
-
}
|
|
20
|
+
},
|
|
21
|
+
"sass": "src/breakouts.scss"
|
|
22
22
|
}
|
package/src/breakouts.scss
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
// The theme variables are used to customize the appearance of the Chupa Pop theme.
|
|
5
5
|
// The theme variables are defined using the SCSS @use and @forward directives.
|
|
6
6
|
|
|
7
|
-
$
|
|
8
|
-
$
|
|
9
|
-
$
|
|
7
|
+
$primary: #ecb838 !default;
|
|
8
|
+
$secondary: #ab4073 !default;
|
|
9
|
+
$accent: #196484 !default;
|
|
10
10
|
|
|
11
|
-
@forward '
|
|
11
|
+
@forward '../base/variables' with (
|
|
12
12
|
$color-primary: $primary,
|
|
13
13
|
$color-primary-dark: darken($primary, 15%),
|
|
14
14
|
$color-primary-light: lighten($primary, 15%),
|
|
@@ -22,8 +22,8 @@ $color-accent: #196484 !default;
|
|
|
22
22
|
$color-accent-light: lighten($accent, 15%),
|
|
23
23
|
);
|
|
24
24
|
|
|
25
|
-
@use '
|
|
26
|
-
@forward '
|
|
27
|
-
@forward '
|
|
28
|
-
@forward '
|
|
29
|
-
@forward '
|
|
25
|
+
@use '../base/variables' as *;
|
|
26
|
+
@forward '../base/colors';
|
|
27
|
+
@forward '../base/reset';
|
|
28
|
+
@forward '../base/typography';
|
|
29
|
+
@forward '../base/layout';
|
package/src/theme/_medical.scss
CHANGED
|
@@ -10,7 +10,8 @@ $accent: #A9A9A9 !default;
|
|
|
10
10
|
$muted: #D3D3D3 !default;
|
|
11
11
|
$background: #FFFFFF !default;
|
|
12
12
|
|
|
13
|
-
@forward '
|
|
13
|
+
@forward '../base/variables' with (
|
|
14
|
+
$color-primary: $primary,
|
|
14
15
|
$color-primary-dark: darken($primary, 15%),
|
|
15
16
|
$color-primary-light: lighten($primary, 15%),
|
|
16
17
|
|
|
@@ -28,10 +29,11 @@ $background: #FFFFFF !default;
|
|
|
28
29
|
|
|
29
30
|
$color-background: $background,
|
|
30
31
|
$color-background-dark: darken($background, 5%),
|
|
31
|
-
$color-background-light: lighten($background, 5%)
|
|
32
|
+
$color-background-light: lighten($background, 5%)
|
|
33
|
+
);
|
|
32
34
|
|
|
33
|
-
@use '
|
|
34
|
-
@forward '
|
|
35
|
-
@forward '
|
|
36
|
-
@forward '
|
|
37
|
-
@forward '
|
|
35
|
+
@use '../base/variables' as *;
|
|
36
|
+
@forward '../base/colors';
|
|
37
|
+
@forward '../base/reset';
|
|
38
|
+
@forward '../base/typography';
|
|
39
|
+
@forward '../base/layout';
|
|
@@ -10,7 +10,7 @@ $accent: #E94057 !default;
|
|
|
10
10
|
$muted: #FFE5B4 !default;
|
|
11
11
|
$background: #4F2F4C !default;
|
|
12
12
|
|
|
13
|
-
@forward '
|
|
13
|
+
@forward '../base/variables' with (
|
|
14
14
|
$color-primary: $primary,
|
|
15
15
|
$color-primary-dark: darken($primary, 15%),
|
|
16
16
|
$color-primary-light: lighten($primary, 15%),
|
|
@@ -32,8 +32,8 @@ $background: #4F2F4C !default;
|
|
|
32
32
|
$color-background-light: lighten($background, 5%)
|
|
33
33
|
);
|
|
34
34
|
|
|
35
|
-
@use '
|
|
36
|
-
@forward '
|
|
37
|
-
@forward '
|
|
38
|
-
@forward '
|
|
39
|
-
@forward '
|
|
35
|
+
@use '../base/variables' as *;
|
|
36
|
+
@forward '../base/colors';
|
|
37
|
+
@forward '../base/reset';
|
|
38
|
+
@forward '../base/typography';
|
|
39
|
+
@forward '../base/layout';
|