Skip to content

Commit 0f19951

Browse files
committed
fix: set default color * 3
1 parent 1d4ef8e commit 0f19951

File tree

10 files changed

+17
-17
lines changed

10 files changed

+17
-17
lines changed

src/components/actions/Button/Button.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -144,8 +144,8 @@ const ButtonElement = tasty({
144144
'[data-type="clear"] | [data-type="outline"] | [data-type="link"]':
145145
'#purple-text',
146146
'[data-type="link"] & pressed': '#purple',
147-
'[data-type="neutral"]': '#dark.75',
148-
'[data-type="neutral"] & hovered': '#dark.75',
147+
'[data-type="neutral"]': '#dark-02',
148+
'[data-type="neutral"] & hovered': '#dark-02',
149149
'[data-type="neutral"] & pressed': '#purple',
150150

151151
// other
@@ -198,8 +198,8 @@ const ButtonElement = tasty({
198198
color: {
199199
'': '#white',
200200

201-
'[data-type="neutral"]': '#dark.75',
202-
'[data-type="neutral"] & hovered': '#dark.75',
201+
'[data-type="neutral"]': '#dark-02',
202+
'[data-type="neutral"] & hovered': '#dark-02',
203203
'[data-type="secondary"]': '#danger',
204204
'[data-type="clear"] | [data-type="outline"] | [data-type="link"]':
205205
'#danger-text',

src/components/content/Paragraph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { CubeTextProps, Text } from './Text';
1212

1313
const DEFAULT_STYLES: Styles = {
1414
preset: 'p3',
15-
color: '#dark.75',
15+
color: '#dark-02',
1616
display: 'block',
1717
};
1818

src/components/fields/ComboBox/ComboBox.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ const TriggerElement = tasty({
8282
radius: 'right',
8383
width: '4x',
8484
color: {
85-
'': '#dark.75',
86-
hovered: '#dark.75',
85+
'': '#dark-02',
86+
hovered: '#dark-02',
8787
pressed: '#purple',
8888
'[disabled]': '#dark.30',
8989
},

src/components/fields/Select/Select.tsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -170,8 +170,8 @@ const SelectElement = tasty({
170170
color: {
171171
'': '#white',
172172

173-
'[data-type="secondary"]': '#dark.75',
174-
'[data-type="secondary"] & hovered': '#dark.75',
173+
'[data-type="secondary"]': '#dark-02',
174+
'[data-type="secondary"] & hovered': '#dark-02',
175175
'[data-type="clear"]': '#purple-text',
176176
'[data-type="secondary"] & pressed': '#purple',
177177

@@ -219,8 +219,8 @@ const OptionElement = tasty({
219219
disabled: '#dark.0',
220220
},
221221
color: {
222-
'': '#dark.75',
223-
'hovered | focused': '#dark.75',
222+
'': '#dark-02',
223+
'hovered | focused': '#dark-02',
224224
'pressed | selected': '#purple',
225225
disabled: '#dark.3',
226226
},

src/components/form/FieldWrapper/FieldWrapper.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ const MessageElement = tasty({
5858
styles: {
5959
preset: 't3',
6060
color: {
61-
'': '#dark.75',
61+
'': '#dark-02',
6262
invalid: '#danger-text',
6363
valid: '#success-text',
6464
disabled: '#dark.40',

src/components/layout/Prefix.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const PrefixElement = tasty({
2323
left: '@prefix-gap',
2424
top: '@prefix-gap',
2525
bottom: '@prefix-gap',
26-
color: '#dark.75',
26+
color: '#dark-02',
2727
height: '(100% - (2 * @prefix-gap))',
2828
},
2929
});

src/components/layout/Suffix.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ const SuffixElement = tasty({
2323
right: '@suffix-gap',
2424
top: '@suffix-gap',
2525
bottom: '@suffix-gap',
26-
color: '#dark.75',
26+
color: '#dark-02',
2727
height: '(100% - (2 * @suffix-gap))',
2828
},
2929
});

src/components/organisms/FileTabs/FileTabs.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ const TabElement = tasty(Action, {
9898
'disabled, disabled & hover': '#white',
9999
},
100100
color: {
101-
'': '#dark.75',
101+
'': '#dark-02',
102102
'disabled, hovered, hovered & disabled': '#dark',
103103
},
104104
cursor: {

src/components/organisms/Modal/Modal.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -227,7 +227,7 @@ export function Modal(allProps: CubeModalProps) {
227227
qa="ModalCloseButton"
228228
width="3x"
229229
height="3x"
230-
color={{ '': '#dark.75', hovered: '#purple' }}
230+
color={{ '': '#dark-02', hovered: '#purple' }}
231231
outline={{
232232
'': '#purple-03.0',
233233
'focused & focus-visible': '#purple-03',

src/components/overlays/Notification/Notification.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ const NotificationElement = tasty(Card, {
6060

6161
const CloseButton = tasty(Action, {
6262
styles: {
63-
color: { '': '#dark.75', hovered: '#purple' },
63+
color: { '': '#dark-02', hovered: '#purple' },
6464
width: '5x',
6565
height: '5x',
6666
label: 'Close',

0 commit comments

Comments
 (0)