theme: convert to rgb

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