Skip to content

Commit 318d599

Browse files
committed
feat: new colors * 4
1 parent b1380fc commit 318d599

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

src/tasty/styles/types.ts

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ import { ResponsiveStyleValue } from '../utils/styles';
55
type NamedColor =
66
| 'purple'
77
| 'purple-text'
8+
| 'purple-icon'
9+
| 'purple-bg'
810
| 'purple-01'
911
| 'purple-02'
1012
| 'purple-03'
@@ -15,6 +17,7 @@ type NamedColor =
1517
| 'dark-03'
1618
| 'dark-04'
1719
| 'dark-05'
20+
| 'dark-bg'
1821
| 'text'
1922
| 'primary'
2023
| 'disabled'
@@ -23,12 +26,15 @@ type NamedColor =
2326
| 'danger'
2427
| 'danger-bg'
2528
| 'danger-text'
29+
| 'danger-icon'
2630
| 'success'
2731
| 'success-bg'
2832
| 'success-text'
33+
| 'success-icon'
2934
| 'note'
3035
| 'note-bg'
3136
| 'note-text'
37+
| 'note-icon'
3238
| 'white'
3339
| 'light'
3440
| 'light-grey'

src/tokens.ts

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ const colors = {
1111
'purple-04': '202 201 255',
1212
focus: '172 163 238',
1313
text: '91 92 125',
14-
dark: '20 20 70',
15-
'dark-01': '20 20 70',
16-
'dark-02': '67 67 107',
17-
'dark-03': '114 114 144',
18-
'dark-04': '161 161 181',
19-
'dark-05': '213 213 226',
14+
dark: '25 26 46',
15+
'dark-01': '25 26 46',
16+
'dark-02': '69 68 98',
17+
'dark-03': '115 114 139',
18+
'dark-04': '161 161 178',
19+
'dark-05': '213 213 222',
20+
'dark-bg': '248 248 249',
2021
'grey-light': '248 248 249',
2122
light: '246 246 248',
2223
white: '255 255 255',

0 commit comments

Comments
 (0)