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 +7 -0
- package/package.json +1 -1
- package/src/theme/_chupa-pop.scss +19 -14
- package/src/theme/_medical.scss +22 -15
- package/src/theme/_tootsie-pop.scss +24 -17
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
|
@@ -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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
$color-primary-light: lighten(#ecb838, 15%),
|
|
7
|
+
$primary: #ecb838 !default;
|
|
8
|
+
$secondary: #ab4073 !default;
|
|
9
|
+
$accent: #196484 !default;
|
|
11
10
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
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
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
-
@
|
|
22
|
-
@forward '
|
|
23
|
-
@forward '
|
|
24
|
-
@forward '
|
|
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';
|
package/src/theme/_medical.scss
CHANGED
|
@@ -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:
|
|
9
|
-
$color-primary-dark: darken(
|
|
10
|
-
$color-primary-light: lighten(
|
|
14
|
+
$color-primary: $primary,
|
|
15
|
+
$color-primary-dark: darken($primary, 15%),
|
|
16
|
+
$color-primary-light: lighten($primary, 15%),
|
|
11
17
|
|
|
12
|
-
$color-secondary:
|
|
13
|
-
$color-secondary-dark: darken(
|
|
14
|
-
$color-secondary-light: lighten(
|
|
18
|
+
$color-secondary: $secondary,
|
|
19
|
+
$color-secondary-dark: darken($secondary, 15%),
|
|
20
|
+
$color-secondary-light: lighten($secondary, 15%),
|
|
15
21
|
|
|
16
|
-
$color-accent:
|
|
17
|
-
$color-accent-dark: darken(
|
|
18
|
-
$color-accent-light: lighten(
|
|
22
|
+
$color-accent: $accent,
|
|
23
|
+
$color-accent-dark: darken($accent, 15%),
|
|
24
|
+
$color-accent-light: lighten($accent, 15%),
|
|
19
25
|
|
|
20
|
-
$color-muted:
|
|
21
|
-
$color-muted-dark: darken(
|
|
22
|
-
$color-muted-light: lighten(
|
|
26
|
+
$color-muted: $muted,
|
|
27
|
+
$color-muted-dark: darken($muted, 15%),
|
|
28
|
+
$color-muted-light: lighten($muted, 15%),
|
|
23
29
|
|
|
24
|
-
$color-background:
|
|
25
|
-
$color-background-dark: darken(
|
|
26
|
-
$color-background-light: lighten(
|
|
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
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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:
|
|
17
|
-
$color-accent-dark: darken(
|
|
18
|
-
$color-accent-light: lighten(
|
|
22
|
+
$color-accent: $accent,
|
|
23
|
+
$color-accent-dark: darken($accent, 15%),
|
|
24
|
+
$color-accent-light: lighten($accent, 15%),
|
|
19
25
|
|
|
20
|
-
$color-muted:
|
|
21
|
-
$color-muted-dark: darken(
|
|
22
|
-
$color-muted-light: lighten(
|
|
26
|
+
$color-muted: $muted,
|
|
27
|
+
$color-muted-dark: darken($muted, 15%),
|
|
28
|
+
$color-muted-light: lighten($muted, 15%),
|
|
23
29
|
|
|
24
|
-
$color-background:
|
|
25
|
-
$color-background-dark: darken(
|
|
26
|
-
$color-background-light: lighten(
|
|
30
|
+
$color-background: $background,
|
|
31
|
+
$color-background-dark: darken($background, 5%),
|
|
32
|
+
$color-background-light: lighten($background, 5%)
|
|
27
33
|
);
|
|
28
34
|
|
|
29
|
-
@
|
|
30
|
-
@forward '
|
|
31
|
-
@forward '
|
|
32
|
-
@forward '
|
|
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';
|