breakouts 0.5.2 → 0.5.3

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 CHANGED
@@ -190,6 +190,13 @@ Or create a custom theme:
190
190
  | **Medical** | Calm, healthcare-inspired palette with blues and greens | `@use 'breakouts/src/theme/medical'` |
191
191
  | **Tootsie Pop**| Retro and playful candy-themed palette | `@use 'breakouts/src/theme/tootsie-pop'` |
192
192
 
193
+ Case of use
194
+
195
+ ```scss
196
+ @use 'breakouts/src/theme/chupa-pop';
197
+ @use 'breakouts' as *;
198
+ ```
199
+
193
200
  ---
194
201
 
195
202
  ## 💡 Extend Breakouts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "breakouts",
3
- "version": "0.5.2",
3
+ "version": "0.5.3",
4
4
  "description": "A personal SCSS/CSS layout utility framework.",
5
5
  "main": "dist/breakouts.css",
6
6
  "files": [
@@ -4,21 +4,26 @@
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
- @forward '../base/variables' with (
8
- $color-primary: #ecb838,
9
- $color-primary-dark: darken(#ecb838, 15%),
10
- $color-primary-light: lighten(#ecb838, 15%),
7
+ $primary: #ecb838 !default;
8
+ $secondary: #ab4073 !default;
9
+ $accent: #196484 !default;
11
10
 
12
- $color-secondary: #ab4073,
13
- $color-secondary-dark: darken(#ab4073, 15%),
14
- $color-secondary-light: lighten(#ab4073, 15%),
11
+ @forward 'breakouts/src/theme/variables' with (
12
+ $color-primary: $primary,
13
+ $color-primary-dark: darken($primary, 15%),
14
+ $color-primary-light: lighten($primary, 15%),
15
15
 
16
- $color-accent: #196484,
17
- $color-accent-dark: darken(#196484, 15%),
18
- $color-accent-light: lighten(#196484, 15%),
16
+ $color-secondary: $secondary,
17
+ $color-secondary-dark: darken($secondary, 15%),
18
+ $color-secondary-light: lighten($secondary, 15%),
19
+
20
+ $color-accent: $accent,
21
+ $color-accent-dark: darken($accent, 15%),
22
+ $color-accent-light: lighten($accent, 15%),
19
23
  );
20
24
 
21
- @forward '../base/colors';
22
- @forward '../base/reset';
23
- @forward '../base/typography';
24
- @forward '../base/layout';
25
+ @use 'breakouts/src/theme/variables' as *;
26
+ @forward 'breakouts/src/theme/colors';
27
+ @forward 'breakouts/src/base/reset';
28
+ @forward 'breakouts/src/base/typography';
29
+ @forward 'breakouts/src/base/layout';
@@ -4,28 +4,35 @@
4
4
  // The theme variables are used to customize the appearance of the Medical theme.
5
5
  // The theme variables are defined using the SCSS @use and @forward directives.
6
6
 
7
+ $primary: #4682B4 !default;
8
+ $secondary: #9DC183 !default;
9
+ $accent: #A9A9A9 !default;
10
+ $muted: #D3D3D3 !default;
11
+ $background: #FFFFFF !default;
12
+
7
13
  @forward '../base/variables' with (
8
- $color-primary: #4682B4,
9
- $color-primary-dark: darken(#4682B4, 15%),
10
- $color-primary-light: lighten(#4682B4, 15%),
14
+ $color-primary: $primary,
15
+ $color-primary-dark: darken($primary, 15%),
16
+ $color-primary-light: lighten($primary, 15%),
11
17
 
12
- $color-secondary: #9DC183,
13
- $color-secondary-dark: darken(#9DC183, 15%),
14
- $color-secondary-light: lighten(#9DC183, 15%),
18
+ $color-secondary: $secondary,
19
+ $color-secondary-dark: darken($secondary, 15%),
20
+ $color-secondary-light: lighten($secondary, 15%),
15
21
 
16
- $color-accent: #A9A9A9,
17
- $color-accent-dark: darken(#A9A9A9, 15%),
18
- $color-accent-light: lighten(#A9A9A9, 15%),
22
+ $color-accent: $accent,
23
+ $color-accent-dark: darken($accent, 15%),
24
+ $color-accent-light: lighten($accent, 15%),
19
25
 
20
- $color-muted: #D3D3D3,
21
- $color-muted-dark: darken(#D3D3D3, 15%),
22
- $color-muted-light: lighten(#D3D3D3, 15%),
26
+ $color-muted: $muted,
27
+ $color-muted-dark: darken($muted, 15%),
28
+ $color-muted-light: lighten($muted, 15%),
23
29
 
24
- $color-background: #FFFFFF,
25
- $color-background-dark: darken(#FFFFFF, 5%),
26
- $color-background-light: lighten(#FFFFFF, 5%)
30
+ $color-background: $background,
31
+ $color-background-dark: darken($background, 5%),
32
+ $color-background-light: lighten($background, 5%)
27
33
  );
28
34
 
35
+ @use '../base/variables' as *;
29
36
  @forward '../base/colors';
30
37
  @forward '../base/reset';
31
38
  @forward '../base/typography';
@@ -4,29 +4,36 @@
4
4
  // The theme variables are used to customize the appearance of the Tootsie Pop theme.
5
5
  // The theme variables are defined using the SCSS @use and @forward directives.
6
6
 
7
- @forward '../base/variables' with (
8
- $color-primary: #93329E,
9
- $color-primary-dark: darken(#93329E, 15%),
10
- $color-primary-light: lighten(#93329E, 15%),
7
+ $primary: #93329E !default;
8
+ $secondary: #F2711C !default;
9
+ $accent: #E94057 !default;
10
+ $muted: #FFE5B4 !default;
11
+ $background: #4F2F4C !default;
12
+
13
+ @forward 'breakouts/src/theme/variables' with (
14
+ $color-primary: $primary,
15
+ $color-primary-dark: darken($primary, 15%),
16
+ $color-primary-light: lighten($primary, 15%),
11
17
 
12
18
  $color-secondary: $secondary,
13
19
  $color-secondary-dark: darken($secondary, 15%),
14
20
  $color-secondary-light: lighten($secondary, 15%),
15
21
 
16
- $color-accent: #E94057,
17
- $color-accent-dark: darken(#E94057, 15%),
18
- $color-accent-light: lighten(#E94057, 15%),
22
+ $color-accent: $accent,
23
+ $color-accent-dark: darken($accent, 15%),
24
+ $color-accent-light: lighten($accent, 15%),
19
25
 
20
- $color-muted: #FFE5B4,
21
- $color-muted-dark: darken(#FFE5B4, 15%),
22
- $color-muted-light: lighten(#FFE5B4, 15%),
26
+ $color-muted: $muted,
27
+ $color-muted-dark: darken($muted, 15%),
28
+ $color-muted-light: lighten($muted, 15%),
23
29
 
24
- $color-background: #4F2F4C,
25
- $color-background-dark: darken(#4F2F4C, 5%),
26
- $color-background-light: lighten(#4F2F4C, 5%)
30
+ $color-background: $background,
31
+ $color-background-dark: darken($background, 5%),
32
+ $color-background-light: lighten($background, 5%)
27
33
  );
28
34
 
29
- @forward '../base/colors';
30
- @forward '../base/reset';
31
- @forward '../base/typography';
32
- @forward '../base/layout';
35
+ @use 'breakouts/src/theme/variables' as *;
36
+ @forward 'breakouts/src/theme/colors';
37
+ @forward 'breakouts/src/base/reset';
38
+ @forward 'breakouts/src/base/typography';
39
+ @forward 'breakouts/src/base/layout';