theme: convert to rgb
This commit is contained in:
1 parent
f2363643d2
commit
d820f1e242
1 file changed
+48
-48
+48
-48
@@ -28,7 +28,7 @@ export function getDefaultColors(): ThemeColors {
|
||||
600: '75 85 99',
|
||||
700: '55 65 81',
|
||||
800: '22 31 45',
|
||||
900: '17 24 39',
|
||||
900: '12 18 32',
|
||||
925: '8 12 25',
|
||||
950: '3 7 18',
|
||||
},
|
||||
@@ -56,40 +56,40 @@ export const presets: Theme[] = [
|
||||
{
|
||||
colors: {
|
||||
slate: {
|
||||
25: '#fcfdfe',
|
||||
50: '#f8fafc',
|
||||
100: '#f1f5f9',
|
||||
200: '#e2e8f0',
|
||||
300: '#cbd5e1',
|
||||
400: '#94a3b8',
|
||||
500: '#64748b',
|
||||
600: '#475569',
|
||||
700: '#334155',
|
||||
800: '#1e293b',
|
||||
900: '#0f172a',
|
||||
950: '#020617',
|
||||
25: '252 253 254',
|
||||
50: '248 250 252',
|
||||
100: '241 245 249',
|
||||
200: '226 232 240',
|
||||
300: '203 213 225',
|
||||
400: '148 163 184',
|
||||
500: '100 116 139',
|
||||
600: '71 85 105',
|
||||
700: '51 65 85',
|
||||
800: '30 41 59',
|
||||
900: '15 23 42',
|
||||
950: '2 6 23',
|
||||
},
|
||||
zinc: {
|
||||
50: '#fafafa',
|
||||
100: '#f4f4f5',
|
||||
200: '#e4e4e7',
|
||||
300: '#d4d4d8',
|
||||
400: '#a1a1aa',
|
||||
500: '#71717a',
|
||||
600: '#52525b',
|
||||
700: '#34343b',
|
||||
800: '#1f1f24',
|
||||
900: '#121215',
|
||||
925: '#0c0c0e',
|
||||
950: '#09090b',
|
||||
50: '250 250 250',
|
||||
100: '244 244 245',
|
||||
200: '228 228 231',
|
||||
300: '212 212 216',
|
||||
400: '161 161 170',
|
||||
500: '113 113 122',
|
||||
600: '82 82 91',
|
||||
700: '52 52 59',
|
||||
800: '31 31 36',
|
||||
900: '18 18 21',
|
||||
925: '12 12 14',
|
||||
950: '9 9 11',
|
||||
},
|
||||
primary: {
|
||||
100: '#f1f5f9',
|
||||
900: '#0f172a',
|
||||
100: '241 245 249',
|
||||
900: '15 23 42',
|
||||
},
|
||||
other: {
|
||||
black: '#000000',
|
||||
white: '#ffffff',
|
||||
black: '0 0 0',
|
||||
white: '255 255 255',
|
||||
},
|
||||
},
|
||||
id: -1,
|
||||
@@ -126,12 +126,12 @@ export const presets: Theme[] = [
|
||||
950: `0 0 0`,
|
||||
},
|
||||
primary: {
|
||||
100: 'var(--c-p-100,241 245 249)',
|
||||
900: 'var(--c-p-900,15 23 42)',
|
||||
100: '241 245 249',
|
||||
900: '15 23 42',
|
||||
},
|
||||
other: {
|
||||
black: `var(--c-o-black,0 0 0)`,
|
||||
white: `var(--c-o-white,255 255 255)`,
|
||||
black: `0 0 0`,
|
||||
white: `255 255 255`,
|
||||
},
|
||||
},
|
||||
id: -2,
|
||||
@@ -140,25 +140,25 @@ export const presets: Theme[] = [
|
||||
{
|
||||
colors: {
|
||||
zinc: {
|
||||
50: '#cdd6f4',
|
||||
100: '#bac2de',
|
||||
200: '#a6adc8',
|
||||
300: '#9399b2',
|
||||
400: '#7f849c',
|
||||
500: '#6c7086',
|
||||
600: '#585b70',
|
||||
700: '#45475a',
|
||||
800: '#313244',
|
||||
900: '#1e1e2e',
|
||||
925: '#181825',
|
||||
950: '#11111b',
|
||||
50: '205 214 244',
|
||||
100: '186 194 222',
|
||||
200: '166 173 200',
|
||||
300: '147 153 178',
|
||||
400: '127 132 156',
|
||||
500: '108 112 134',
|
||||
600: '88 91 112',
|
||||
700: '69 71 90',
|
||||
800: '49 50 68',
|
||||
900: '30 30 46',
|
||||
925: '24 24 37',
|
||||
950: '17 17 27',
|
||||
},
|
||||
primary: {
|
||||
100: '#a6e3a1',
|
||||
900: '#7287fd',
|
||||
100: '166 227 161',
|
||||
900: '114 135 253',
|
||||
},
|
||||
other: {
|
||||
white: '#ffffff',
|
||||
white: '255 255 255',
|
||||
},
|
||||
slate: {},
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user