|
16 | 16 |
|
17 | 17 | @include theme.props { |
18 | 18 | --theme-color-background-button-default: #{color.$brand-primary}; |
19 | | - --theme-color-background-button-secondary: transparent; |
| 19 | + --theme-color-background-button-primary: #{color.$base-purple}; |
| 20 | + --theme-color-background-button-secondary: var(--theme-color-background-base); |
20 | 21 | --theme-color-border-button-default: #{color.$brand-primary-dark}; |
| 22 | + --theme-color-border-button-primary: #{color.$base-purple-dark}; |
21 | 23 | --theme-color-border-button-secondary: #{color.$brand-primary-light}; |
| 24 | + --theme-color-text-button-default: #{color.$text-light-emphasis}; |
| 25 | + --theme-color-text-button-primary: #{color.$text-light-emphasis}; |
22 | 26 | --theme-color-text-button-secondary: var(--theme-color-text-action); |
23 | 27 | --theme-color-text-button-tertiary: var(--theme-color-text-action); |
24 | 28 | } |
25 | 29 |
|
26 | 30 | @include theme.props(dark) { |
27 | 31 | --theme-color-background-button-default: #{color.$brand-primary-dark}; |
28 | | - --theme-color-background-button-secondary: transparent; |
| 32 | + --theme-color-background-button-primary: #{color.$base-white}; |
| 33 | + --theme-color-background-button-secondary: var(--theme-color-background-base); |
29 | 34 | --theme-color-border-button-default: #{color.$brand-primary-darker}; |
30 | | - --theme-color-border-button-secondary: #{color.$brand-primary-dark}; |
| 35 | + --theme-color-border-button-primary: #{color.$brand-primary-darker}; |
| 36 | + --theme-color-border-button-secondary: #{color.$brand-primary-darker}; |
| 37 | + --theme-color-text-button-default: #{color.$text-light-emphasis}; |
| 38 | + --theme-color-text-button-primary: #{color.$brand-primary}; |
31 | 39 | --theme-color-text-button-secondary: var(--theme-color-text-action); |
32 | 40 | --theme-color-text-button-tertiary: var(--theme-color-text-action); |
33 | 41 | } |
|
57 | 65 | border-style: solid; |
58 | 66 | border-width: size.$edge-control; |
59 | 67 | color: color.$text-light-emphasis; |
| 68 | + color: var(--theme-color-text-button-default); |
60 | 69 | cursor: pointer; /* 2 */ |
61 | 70 | display: inline-flex; |
62 | 71 | font: inherit; /* 3 */ |
|
143 | 152 | } |
144 | 153 | } |
145 | 154 |
|
| 155 | +/** |
| 156 | + * Modifier: Primary |
| 157 | + */ |
| 158 | + |
| 159 | +@mixin primary { |
| 160 | + background-color: var(--theme-color-background-button-primary); |
| 161 | + border-color: var(--theme-color-border-button-primary); |
| 162 | + color: var(--theme-color-text-button-primary); |
| 163 | +} |
| 164 | + |
146 | 165 | /** |
147 | 166 | * Modifier: Secondary |
148 | 167 | */ |
|
0 commit comments