|
1 | 1 | import { vars } from 'nativewind'; |
2 | 2 |
|
| 3 | +import { ColorTheme } from '../types/ColorThemeTypes'; |
| 4 | + |
3 | 5 | export const themes = { |
4 | 6 | light: vars({ |
5 | 7 | '--color-background': '#ffffff', |
6 | 8 | '--color-foreground': '#0f1419', |
7 | 9 | '--color-border': '#eff3f4', |
| 10 | + '--color-checkbox-border': '#687e8b', |
8 | 11 | '--color-input': '#d1d9de', |
9 | 12 | '--color-muted-foreground': '#536471', |
10 | 13 | '--color-primary': '#007bff', |
11 | 14 | '--color-accent': '#f7f9f9', |
12 | 15 | '--color-ring': '#888a8c', |
13 | 16 | '--color-destructive': '#f4212e', |
| 17 | + '--color-search': '#ECF3F1', |
| 18 | + |
| 19 | + '--color-switch-track-off': '#BBBDBB', |
| 20 | + '--color-switch-track-on': '#BFE3F9', |
| 21 | + '--color-switch-thumb-off': '#E9ECE9', |
| 22 | + '--color-switch-thumb-on': '#0E90ED', |
14 | 23 | }), |
15 | 24 | dark: vars({ |
16 | 25 | '--color-background': '#000000', |
17 | 26 | '--color-foreground': '#e7e9ea', |
18 | | - '--color-border': '#303336', |
| 27 | + '--color-border': '#515D62', |
| 28 | + '--color-checkbox-border': '#8CA1AA', |
19 | 29 | '--color-input': '#536471', |
20 | 30 | '--color-muted-foreground': '#71767b', |
21 | | - '--color-primary': '#007bff', |
| 31 | + '--color-primary': '#1194F2', |
22 | 32 | '--color-accent': '#16181c', |
23 | 33 | '--color-ring': '#f7f9fa', |
24 | 34 | '--color-destructive': '#82181a', |
| 35 | + '--color-search': '#1c2324', |
| 36 | + |
| 37 | + '--color-switch-track-off': '#4B4E4B', |
| 38 | + '--color-switch-track-on': '#042d48', |
| 39 | + '--color-switch-thumb-off': '#B6B9B6', |
| 40 | + '--color-switch-thumb-on': '#0e90ed', |
25 | 41 | }), |
26 | 42 | }; |
| 43 | + |
| 44 | +export const colors: ColorTheme = { |
| 45 | + light: { |
| 46 | + background: '#ffffff', |
| 47 | + foreground: '#0f1419', |
| 48 | + border: '#eff3f4', |
| 49 | + checkboxBorder: '#687e8b', |
| 50 | + input: '#d1d9de', |
| 51 | + mutedForeground: '#536471', |
| 52 | + primary: '#007bff', |
| 53 | + accent: '#f7f9f9', |
| 54 | + ring: '#888a8c', |
| 55 | + destructive: '#f4212e', |
| 56 | + search: '#ECF3F1', |
| 57 | + switch: { |
| 58 | + trackOff: '#BBBDBB', |
| 59 | + trackOn: '#BFE3F9', |
| 60 | + thumbOff: '#E9ECE9', |
| 61 | + thumbOn: '#0E90ED', |
| 62 | + }, |
| 63 | + }, |
| 64 | + dark: { |
| 65 | + background: '#000000', |
| 66 | + foreground: '#e7e9ea', |
| 67 | + border: '#515D62', |
| 68 | + checkboxBorder: '#8CA1AA', |
| 69 | + input: '#536471', |
| 70 | + mutedForeground: '#71767b', |
| 71 | + primary: '#007bff', |
| 72 | + accent: '#16181c', |
| 73 | + ring: '#f7f9fa', |
| 74 | + destructive: '#82181a', |
| 75 | + search: '#1c2324', |
| 76 | + switch: { |
| 77 | + trackOff: '#4B4E4B', |
| 78 | + trackOn: '#042d48', |
| 79 | + thumbOff: '#B6B9B6', |
| 80 | + thumbOn: '#0e90ed', |
| 81 | + }, |
| 82 | + }, |
| 83 | +}; |
0 commit comments