breakouts 0.5.0 → 0.5.2

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
@@ -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
  );
@@ -171,13 +171,13 @@ Or create a custom theme:
171
171
 
172
172
  ```scss
173
173
  // my-theme.scss
174
- @forward 'breakouts/src/theme/variables' with (
174
+ @forward 'breakouts/src/base/variables' with (
175
175
  $color-primary: #d1ff4a,
176
176
  $color-accent: #8a2be2
177
177
  );
178
178
 
179
- @use 'breakouts/src/theme/variables' as *;
180
- @forward 'breakouts/src/theme/colors';
179
+ @use 'breakouts/src/base/variables' as *;
180
+ @forward 'breakouts/src/base/colors';
181
181
  ```
182
182
 
183
183
  ---
@@ -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
 
@@ -197,8 +197,8 @@ Or create a custom theme:
197
197
  You can write your own mixins or import individual parts:
198
198
 
199
199
  ```scss
200
- @use 'breakouts/utilities/spacing';
201
- @use 'breakouts/base/typography';
200
+ @use 'breakouts/src/base/spacing';
201
+ @use 'breakouts/src/base/typography';
202
202
  ```
203
203
 
204
204
  ---
package/package.json CHANGED
@@ -1,10 +1,9 @@
1
1
  {
2
2
  "name": "breakouts",
3
- "version": "0.5.0",
3
+ "version": "0.5.2",
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
  }
@@ -4,26 +4,21 @@
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
- $primary: #ecb838 !default;
8
- $secondary: #ab4073 !default;
9
- $accent: #196484 !default;
7
+ @forward '../base/variables' with (
8
+ $color-primary: #ecb838,
9
+ $color-primary-dark: darken(#ecb838, 15%),
10
+ $color-primary-light: lighten(#ecb838, 15%),
10
11
 
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%),
12
+ $color-secondary: #ab4073,
13
+ $color-secondary-dark: darken(#ab4073, 15%),
14
+ $color-secondary-light: lighten(#ab4073, 15%),
15
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%),
16
+ $color-accent: #196484,
17
+ $color-accent-dark: darken(#196484, 15%),
18
+ $color-accent-light: lighten(#196484, 15%),
23
19
  );
24
20
 
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';
21
+ @forward '../base/colors';
22
+ @forward '../base/reset';
23
+ @forward '../base/typography';
24
+ @forward '../base/layout';
@@ -4,36 +4,29 @@
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;
7
+ @forward '../base/variables' with (
8
+ $color-primary: #4682B4,
9
+ $color-primary-dark: darken(#4682B4, 15%),
10
+ $color-primary-light: lighten(#4682B4, 15%),
12
11
 
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%),
12
+ $color-secondary: #9DC183,
13
+ $color-secondary-dark: darken(#9DC183, 15%),
14
+ $color-secondary-light: lighten(#9DC183, 15%),
17
15
 
18
- $color-secondary: $secondary,
19
- $color-secondary-dark: darken($secondary, 15%),
20
- $color-secondary-light: lighten($secondary, 15%),
16
+ $color-accent: #A9A9A9,
17
+ $color-accent-dark: darken(#A9A9A9, 15%),
18
+ $color-accent-light: lighten(#A9A9A9, 15%),
21
19
 
22
- $color-accent: $accent,
23
- $color-accent-dark: darken($accent, 15%),
24
- $color-accent-light: lighten($accent, 15%),
20
+ $color-muted: #D3D3D3,
21
+ $color-muted-dark: darken(#D3D3D3, 15%),
22
+ $color-muted-light: lighten(#D3D3D3, 15%),
25
23
 
26
- $color-muted: $muted,
27
- $color-muted-dark: darken($muted, 15%),
28
- $color-muted-light: lighten($muted, 15%),
29
-
30
- $color-background: $background,
31
- $color-background-dark: darken($background, 5%),
32
- $color-background-light: lighten($background, 5%)
24
+ $color-background: #FFFFFF,
25
+ $color-background-dark: darken(#FFFFFF, 5%),
26
+ $color-background-light: lighten(#FFFFFF, 5%)
33
27
  );
34
28
 
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';
29
+ @forward '../base/colors';
30
+ @forward '../base/reset';
31
+ @forward '../base/typography';
32
+ @forward '../base/layout';
@@ -4,36 +4,29 @@
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
- $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%),
7
+ @forward '../base/variables' with (
8
+ $color-primary: #93329E,
9
+ $color-primary-dark: darken(#93329E, 15%),
10
+ $color-primary-light: lighten(#93329E, 15%),
17
11
 
18
12
  $color-secondary: $secondary,
19
13
  $color-secondary-dark: darken($secondary, 15%),
20
14
  $color-secondary-light: lighten($secondary, 15%),
21
15
 
22
- $color-accent: $accent,
23
- $color-accent-dark: darken($accent, 15%),
24
- $color-accent-light: lighten($accent, 15%),
16
+ $color-accent: #E94057,
17
+ $color-accent-dark: darken(#E94057, 15%),
18
+ $color-accent-light: lighten(#E94057, 15%),
25
19
 
26
- $color-muted: $muted,
27
- $color-muted-dark: darken($muted, 15%),
28
- $color-muted-light: lighten($muted, 15%),
20
+ $color-muted: #FFE5B4,
21
+ $color-muted-dark: darken(#FFE5B4, 15%),
22
+ $color-muted-light: lighten(#FFE5B4, 15%),
29
23
 
30
- $color-background: $background,
31
- $color-background-dark: darken($background, 5%),
32
- $color-background-light: lighten($background, 5%)
24
+ $color-background: #4F2F4C,
25
+ $color-background-dark: darken(#4F2F4C, 5%),
26
+ $color-background-light: lighten(#4F2F4C, 5%)
33
27
  );
34
28
 
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';
29
+ @forward '../base/colors';
30
+ @forward '../base/reset';
31
+ @forward '../base/typography';
32
+ @forward '../base/layout';