@frosted-ui/react-native 0.0.1-canary.91
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +102 -0
- package/dist/components/accordion.d.ts +21 -0
- package/dist/components/accordion.d.ts.map +1 -0
- package/dist/components/accordion.js +94 -0
- package/dist/components/accordion.js.map +1 -0
- package/dist/components/alert-dialog.d.ts +67 -0
- package/dist/components/alert-dialog.d.ts.map +1 -0
- package/dist/components/alert-dialog.js +170 -0
- package/dist/components/alert-dialog.js.map +1 -0
- package/dist/components/aspect-ratio.d.ts +4 -0
- package/dist/components/aspect-ratio.d.ts.map +1 -0
- package/dist/components/aspect-ratio.js +4 -0
- package/dist/components/aspect-ratio.js.map +1 -0
- package/dist/components/avatar.d.ts +23 -0
- package/dist/components/avatar.d.ts.map +1 -0
- package/dist/components/avatar.js +143 -0
- package/dist/components/avatar.js.map +1 -0
- package/dist/components/badge.d.ts +17 -0
- package/dist/components/badge.d.ts.map +1 -0
- package/dist/components/badge.js +95 -0
- package/dist/components/badge.js.map +1 -0
- package/dist/components/button.d.ts +14 -0
- package/dist/components/button.d.ts.map +1 -0
- package/dist/components/button.js +85 -0
- package/dist/components/button.js.map +1 -0
- package/dist/components/callout.d.ts +25 -0
- package/dist/components/callout.d.ts.map +1 -0
- package/dist/components/callout.js +146 -0
- package/dist/components/callout.js.map +1 -0
- package/dist/components/card.d.ts +10 -0
- package/dist/components/card.d.ts.map +1 -0
- package/dist/components/card.js +41 -0
- package/dist/components/card.js.map +1 -0
- package/dist/components/checkbox.d.ts +13 -0
- package/dist/components/checkbox.d.ts.map +1 -0
- package/dist/components/checkbox.js +116 -0
- package/dist/components/checkbox.js.map +1 -0
- package/dist/components/code.d.ts +20 -0
- package/dist/components/code.d.ts.map +1 -0
- package/dist/components/code.js +83 -0
- package/dist/components/code.js.map +1 -0
- package/dist/components/context-menu.d.ts +65 -0
- package/dist/components/context-menu.d.ts.map +1 -0
- package/dist/components/context-menu.js +441 -0
- package/dist/components/context-menu.js.map +1 -0
- package/dist/components/dialog.d.ts +49 -0
- package/dist/components/dialog.d.ts.map +1 -0
- package/dist/components/dialog.js +141 -0
- package/dist/components/dialog.js.map +1 -0
- package/dist/components/dropdown-menu.d.ts +65 -0
- package/dist/components/dropdown-menu.d.ts.map +1 -0
- package/dist/components/dropdown-menu.js +441 -0
- package/dist/components/dropdown-menu.js.map +1 -0
- package/dist/components/heading.d.ts +15 -0
- package/dist/components/heading.d.ts.map +1 -0
- package/dist/components/heading.js +8 -0
- package/dist/components/heading.js.map +1 -0
- package/dist/components/hover-card.d.ts +24 -0
- package/dist/components/hover-card.d.ts.map +1 -0
- package/dist/components/hover-card.js +49 -0
- package/dist/components/hover-card.js.map +1 -0
- package/dist/components/icon-button.d.ts +14 -0
- package/dist/components/icon-button.d.ts.map +1 -0
- package/dist/components/icon-button.js +85 -0
- package/dist/components/icon-button.js.map +1 -0
- package/dist/components/icon.d.ts +28 -0
- package/dist/components/icon.d.ts.map +1 -0
- package/dist/components/icon.js +45 -0
- package/dist/components/icon.js.map +1 -0
- package/dist/components/index.d.ts +33 -0
- package/dist/components/index.d.ts.map +1 -0
- package/dist/components/index.js +45 -0
- package/dist/components/index.js.map +1 -0
- package/dist/components/label.d.ts +8 -0
- package/dist/components/label.d.ts.map +1 -0
- package/dist/components/label.js +26 -0
- package/dist/components/label.js.map +1 -0
- package/dist/components/native-only-animated-view.d.ts +223 -0
- package/dist/components/native-only-animated-view.d.ts.map +1 -0
- package/dist/components/native-only-animated-view.js +26 -0
- package/dist/components/native-only-animated-view.js.map +1 -0
- package/dist/components/popover.d.ts +24 -0
- package/dist/components/popover.d.ts.map +1 -0
- package/dist/components/popover.js +52 -0
- package/dist/components/popover.js.map +1 -0
- package/dist/components/progress.d.ts +15 -0
- package/dist/components/progress.d.ts.map +1 -0
- package/dist/components/progress.js +68 -0
- package/dist/components/progress.js.map +1 -0
- package/dist/components/radio-group.d.ts +19 -0
- package/dist/components/radio-group.d.ts.map +1 -0
- package/dist/components/radio-group.js +138 -0
- package/dist/components/radio-group.js.map +1 -0
- package/dist/components/segmented-control.d.ts +21 -0
- package/dist/components/segmented-control.d.ts.map +1 -0
- package/dist/components/segmented-control.js +113 -0
- package/dist/components/segmented-control.js.map +1 -0
- package/dist/components/select.d.ts +58 -0
- package/dist/components/select.d.ts.map +1 -0
- package/dist/components/select.js +493 -0
- package/dist/components/select.js.map +1 -0
- package/dist/components/separator.d.ts +12 -0
- package/dist/components/separator.d.ts.map +1 -0
- package/dist/components/separator.js +64 -0
- package/dist/components/separator.js.map +1 -0
- package/dist/components/skeleton.d.ts +28 -0
- package/dist/components/skeleton.d.ts.map +1 -0
- package/dist/components/skeleton.js +153 -0
- package/dist/components/skeleton.js.map +1 -0
- package/dist/components/spinner.d.ts +17 -0
- package/dist/components/spinner.d.ts.map +1 -0
- package/dist/components/spinner.js +199 -0
- package/dist/components/spinner.js.map +1 -0
- package/dist/components/switch.d.ts +13 -0
- package/dist/components/switch.d.ts.map +1 -0
- package/dist/components/switch.js +204 -0
- package/dist/components/switch.js.map +1 -0
- package/dist/components/tabs.d.ts +25 -0
- package/dist/components/tabs.d.ts.map +1 -0
- package/dist/components/tabs.js +124 -0
- package/dist/components/tabs.js.map +1 -0
- package/dist/components/text-area.d.ts +16 -0
- package/dist/components/text-area.d.ts.map +1 -0
- package/dist/components/text-area.js +117 -0
- package/dist/components/text-area.js.map +1 -0
- package/dist/components/text-field.d.ts +35 -0
- package/dist/components/text-field.d.ts.map +1 -0
- package/dist/components/text-field.js +256 -0
- package/dist/components/text-field.js.map +1 -0
- package/dist/components/text.d.ts +23 -0
- package/dist/components/text.d.ts.map +1 -0
- package/dist/components/text.js +33 -0
- package/dist/components/text.js.map +1 -0
- package/dist/components/tooltip.d.ts +24 -0
- package/dist/components/tooltip.d.ts.map +1 -0
- package/dist/components/tooltip.js +63 -0
- package/dist/components/tooltip.js.map +1 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +8 -0
- package/dist/index.js.map +1 -0
- package/dist/lib/button-styles.d.ts +13 -0
- package/dist/lib/button-styles.d.ts.map +1 -0
- package/dist/lib/button-styles.js +131 -0
- package/dist/lib/button-styles.js.map +1 -0
- package/dist/lib/color-utils.d.ts +21 -0
- package/dist/lib/color-utils.d.ts.map +1 -0
- package/dist/lib/color-utils.js +84 -0
- package/dist/lib/color-utils.js.map +1 -0
- package/dist/lib/dialog-styles.d.ts +42 -0
- package/dist/lib/dialog-styles.d.ts.map +1 -0
- package/dist/lib/dialog-styles.js +162 -0
- package/dist/lib/dialog-styles.js.map +1 -0
- package/dist/lib/native-colors.d.ts +8 -0
- package/dist/lib/native-colors.d.ts.map +1 -0
- package/dist/lib/native-colors.js +67 -0
- package/dist/lib/native-colors.js.map +1 -0
- package/dist/lib/panel-styles.d.ts +32 -0
- package/dist/lib/panel-styles.d.ts.map +1 -0
- package/dist/lib/panel-styles.js +96 -0
- package/dist/lib/panel-styles.js.map +1 -0
- package/dist/lib/text-input-styles.d.ts +35 -0
- package/dist/lib/text-input-styles.d.ts.map +1 -0
- package/dist/lib/text-input-styles.js +107 -0
- package/dist/lib/text-input-styles.js.map +1 -0
- package/dist/lib/theme-vars.d.ts +222 -0
- package/dist/lib/theme-vars.d.ts.map +1 -0
- package/dist/lib/theme-vars.js +173 -0
- package/dist/lib/theme-vars.js.map +1 -0
- package/dist/lib/theme.d.ts +57 -0
- package/dist/lib/theme.d.ts.map +1 -0
- package/dist/lib/theme.js +80 -0
- package/dist/lib/theme.js.map +1 -0
- package/dist/lib/types.d.ts +14 -0
- package/dist/lib/types.d.ts.map +1 -0
- package/dist/lib/types.js +2 -0
- package/dist/lib/types.js.map +1 -0
- package/dist/lib/use-theme-vars.d.ts +325 -0
- package/dist/lib/use-theme-vars.d.ts.map +1 -0
- package/dist/lib/use-theme-vars.js +17 -0
- package/dist/lib/use-theme-vars.js.map +1 -0
- package/dist/lib/utils.d.ts +3 -0
- package/dist/lib/utils.d.ts.map +1 -0
- package/dist/lib/utils.js +17 -0
- package/dist/lib/utils.js.map +1 -0
- package/global.css +1813 -0
- package/package.json +114 -0
- package/tailwind-preset.js +310 -0
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
/* eslint-disable @typescript-eslint/no-var-requires */
|
|
2
|
+
// Typography steps (0-9) based on typography.css / global.css tokens.
|
|
3
|
+
// Values are in px; React Native treats them as logical pixels.
|
|
4
|
+
const typography = {
|
|
5
|
+
'0': { fontSize: 10, lineHeight: 12, letterSpacing: 0.01 },
|
|
6
|
+
'1': { fontSize: 12, lineHeight: 16, letterSpacing: 0.01 },
|
|
7
|
+
'2': { fontSize: 14, lineHeight: 20, letterSpacing: 0.01 },
|
|
8
|
+
'3': { fontSize: 16, lineHeight: 24, letterSpacing: 0.01 },
|
|
9
|
+
'4': { fontSize: 18, lineHeight: 26, letterSpacing: 0.01 },
|
|
10
|
+
'5': { fontSize: 20, lineHeight: 28, letterSpacing: 0.01 },
|
|
11
|
+
'6': { fontSize: 24, lineHeight: 30, letterSpacing: 0.01 },
|
|
12
|
+
'7': { fontSize: 28, lineHeight: 34, letterSpacing: 0.005 },
|
|
13
|
+
'8': { fontSize: 32, lineHeight: 38, letterSpacing: 0 },
|
|
14
|
+
'9': { fontSize: 40, lineHeight: 48, letterSpacing: 0 },
|
|
15
|
+
};
|
|
16
|
+
const fontWeights = {
|
|
17
|
+
light: '300',
|
|
18
|
+
regular: '400',
|
|
19
|
+
medium: '500',
|
|
20
|
+
'semi-bold': '600',
|
|
21
|
+
bold: '700',
|
|
22
|
+
};
|
|
23
|
+
// Color palettes from @frosted-ui/colors for light/dark schemes
|
|
24
|
+
const frostedColors = require('@frosted-ui/colors');
|
|
25
|
+
const contrastColors = {
|
|
26
|
+
tomato: 'white',
|
|
27
|
+
red: 'white',
|
|
28
|
+
ruby: 'white',
|
|
29
|
+
crimson: 'white',
|
|
30
|
+
pink: 'white',
|
|
31
|
+
plum: 'white',
|
|
32
|
+
purple: 'white',
|
|
33
|
+
violet: 'white',
|
|
34
|
+
iris: 'white',
|
|
35
|
+
cyan: 'white',
|
|
36
|
+
teal: 'white',
|
|
37
|
+
jade: 'white',
|
|
38
|
+
green: 'white',
|
|
39
|
+
grass: 'white',
|
|
40
|
+
brown: 'white',
|
|
41
|
+
sky: '#1C2024',
|
|
42
|
+
mint: '#1A211E',
|
|
43
|
+
yellow: '#21201C',
|
|
44
|
+
amber: '#21201C',
|
|
45
|
+
gold: 'white',
|
|
46
|
+
bronze: 'white',
|
|
47
|
+
gray: 'white',
|
|
48
|
+
blue: 'white',
|
|
49
|
+
orange: 'white',
|
|
50
|
+
indigo: 'white',
|
|
51
|
+
magenta: '#141212',
|
|
52
|
+
lemon: '#20240D',
|
|
53
|
+
lime: '#162715',
|
|
54
|
+
};
|
|
55
|
+
function buildPalette(color, mode) {
|
|
56
|
+
const baseKey = mode === 'light' ? color : `${color}Dark`;
|
|
57
|
+
const alphaKey = mode === 'light' ? `${color}A` : `${color}DarkA`;
|
|
58
|
+
const base = frostedColors[baseKey];
|
|
59
|
+
const alpha = frostedColors[alphaKey];
|
|
60
|
+
const result = {};
|
|
61
|
+
['1', '2', '3', '4', '5', '6', '7', '8', '9', '10', '11', '12'].forEach((shade) => {
|
|
62
|
+
const key = `${color}${shade}`;
|
|
63
|
+
result[shade] = base?.[key] ?? '';
|
|
64
|
+
});
|
|
65
|
+
['a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'a8', 'a9', 'a10', 'a11', 'a12'].forEach((aShade) => {
|
|
66
|
+
const numeric = aShade.slice(1);
|
|
67
|
+
const key = `${color}A${numeric}`;
|
|
68
|
+
result[aShade] = alpha?.[key] ?? '';
|
|
69
|
+
});
|
|
70
|
+
result['9-contrast'] = contrastColors[color];
|
|
71
|
+
return result;
|
|
72
|
+
}
|
|
73
|
+
const accentColors = [
|
|
74
|
+
'tomato',
|
|
75
|
+
'red',
|
|
76
|
+
'ruby',
|
|
77
|
+
'crimson',
|
|
78
|
+
'pink',
|
|
79
|
+
'plum',
|
|
80
|
+
'purple',
|
|
81
|
+
'violet',
|
|
82
|
+
'iris',
|
|
83
|
+
'cyan',
|
|
84
|
+
'teal',
|
|
85
|
+
'jade',
|
|
86
|
+
'green',
|
|
87
|
+
'grass',
|
|
88
|
+
'brown',
|
|
89
|
+
'blue',
|
|
90
|
+
'orange',
|
|
91
|
+
'indigo',
|
|
92
|
+
'sky',
|
|
93
|
+
'mint',
|
|
94
|
+
'yellow',
|
|
95
|
+
'amber',
|
|
96
|
+
'lime',
|
|
97
|
+
'lemon',
|
|
98
|
+
'magenta',
|
|
99
|
+
'gold',
|
|
100
|
+
'bronze',
|
|
101
|
+
'gray',
|
|
102
|
+
];
|
|
103
|
+
const lightPalettes = accentColors.reduce((acc, color) => {
|
|
104
|
+
acc[color] = buildPalette(color, 'light');
|
|
105
|
+
return acc;
|
|
106
|
+
}, {});
|
|
107
|
+
const darkPalettes = accentColors.reduce((acc, color) => {
|
|
108
|
+
acc[color] = buildPalette(color, 'dark');
|
|
109
|
+
return acc;
|
|
110
|
+
}, {});
|
|
111
|
+
// Semantic surface tokens (mirroring global.css)
|
|
112
|
+
// Light mode:
|
|
113
|
+
// --color-background: white;
|
|
114
|
+
// --color-overlay: var(--black-a6);
|
|
115
|
+
// --color-panel-solid: white;
|
|
116
|
+
// --color-panel-translucent: rgba(255, 255, 255, 0.85);
|
|
117
|
+
// --color-surface: rgba(255, 255, 255, 0.9);
|
|
118
|
+
// --color-stroke: var(--gray-a5);
|
|
119
|
+
//
|
|
120
|
+
// Dark mode:
|
|
121
|
+
// --color-background: var(--gray-1);
|
|
122
|
+
// --color-overlay: var(--black-a8);
|
|
123
|
+
// --color-panel-solid: var(--gray-2);
|
|
124
|
+
// --color-panel-translucent: var(--gray-2-translucent);
|
|
125
|
+
// --color-surface: rgba(0, 0, 0, 0.25);
|
|
126
|
+
// --color-stroke: var(--gray-a4);
|
|
127
|
+
// Resolve overlay / stroke from raw color palettes so native can use real values
|
|
128
|
+
const blackA = frostedColors.blackA;
|
|
129
|
+
const whiteA = frostedColors.whiteA;
|
|
130
|
+
const grayDark = frostedColors.grayDark;
|
|
131
|
+
function buildAlphaPalette(alphaColors, prefix) {
|
|
132
|
+
const result = {};
|
|
133
|
+
['a1', 'a2', 'a3', 'a4', 'a5', 'a6', 'a7', 'a8', 'a9', 'a10', 'a11', 'a12'].forEach((aShade) => {
|
|
134
|
+
const numeric = aShade.slice(1);
|
|
135
|
+
const key = `${prefix}A${numeric}`;
|
|
136
|
+
result[aShade] = alphaColors?.[key] ?? '';
|
|
137
|
+
});
|
|
138
|
+
return result;
|
|
139
|
+
}
|
|
140
|
+
const blackAlpha = buildAlphaPalette(blackA, 'black');
|
|
141
|
+
const whiteAlpha = buildAlphaPalette(whiteA, 'white');
|
|
142
|
+
// Black and white palettes (same for light and dark mode)
|
|
143
|
+
export function blackAndWhitePalettes() {
|
|
144
|
+
return {
|
|
145
|
+
black: blackAlpha,
|
|
146
|
+
white: whiteAlpha,
|
|
147
|
+
};
|
|
148
|
+
}
|
|
149
|
+
export const themeVars = {
|
|
150
|
+
typography,
|
|
151
|
+
fontWeights,
|
|
152
|
+
colors: {
|
|
153
|
+
light: {
|
|
154
|
+
palettes: { ...lightPalettes, ...blackAndWhitePalettes() },
|
|
155
|
+
background: 'white',
|
|
156
|
+
overlay: blackA?.blackA6 ?? 'rgba(0, 0, 0, 0.35)',
|
|
157
|
+
panelSolid: 'white',
|
|
158
|
+
panelTranslucent: 'rgba(255, 255, 255, 0.85)',
|
|
159
|
+
surface: 'rgba(255, 255, 255, 0.9)',
|
|
160
|
+
stroke: lightPalettes.gray.a5,
|
|
161
|
+
},
|
|
162
|
+
dark: {
|
|
163
|
+
palettes: { ...darkPalettes, ...blackAndWhitePalettes() },
|
|
164
|
+
background: grayDark?.gray1 ?? '#111111',
|
|
165
|
+
overlay: blackA?.blackA8 ?? 'rgba(0, 0, 0, 0.5)',
|
|
166
|
+
panelSolid: grayDark?.gray2 ?? '#181818',
|
|
167
|
+
panelTranslucent: '#1D1D1DD9', // --gray-2-translucent
|
|
168
|
+
surface: 'rgba(0, 0, 0, 0.25)',
|
|
169
|
+
stroke: darkPalettes.gray.a4,
|
|
170
|
+
},
|
|
171
|
+
},
|
|
172
|
+
};
|
|
173
|
+
//# sourceMappingURL=theme-vars.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme-vars.js","sourceRoot":"","sources":["../../src/lib/theme-vars.ts"],"names":[],"mappings":"AAAA,uDAAuD;AAIvD,sEAAsE;AACtE,gEAAgE;AAChE,MAAM,UAAU,GAAG;IACjB,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE;IAC1D,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE;IAC1D,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE;IAC1D,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE;IAC1D,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE;IAC1D,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE;IAC1D,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,aAAa,EAAE,IAAI,EAAE;IAC1D,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,EAAE,EAAE,aAAa,EAAE,KAAK,EAAE;IAC3D,GAAG,EAAE,EAAE,QAAQ,EAAE,EAAE,EAAE,UAAU,E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AAE,MAAM,EAAE,OAAO,IAAI,oBAAoB;YAChD,UAAU,EAAE,QAAQ,EAAE,KAAK,IAAI,SAAS;YACxC,gBAAgB,EAAE,WAAW,EAAE,uBAAuB;YACtD,OAAO,EAAE,qBAAqB;YAC9B,MAAM,EAAE,YAAY,CAAC,IAAI,CAAC,EAAE;SAC7B;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import { type Theme } from '@react-navigation/native';
|
|
2
|
+
export declare const THEME: {
|
|
3
|
+
light: {
|
|
4
|
+
background: string;
|
|
5
|
+
foreground: string;
|
|
6
|
+
card: string;
|
|
7
|
+
cardForeground: string;
|
|
8
|
+
popover: string;
|
|
9
|
+
popoverForeground: string;
|
|
10
|
+
primary: string;
|
|
11
|
+
primaryForeground: string;
|
|
12
|
+
secondary: string;
|
|
13
|
+
secondaryForeground: string;
|
|
14
|
+
muted: string;
|
|
15
|
+
mutedForeground: string;
|
|
16
|
+
accent: string;
|
|
17
|
+
accentForeground: string;
|
|
18
|
+
destructive: string;
|
|
19
|
+
border: string;
|
|
20
|
+
input: string;
|
|
21
|
+
ring: string;
|
|
22
|
+
radius: string;
|
|
23
|
+
chart1: string;
|
|
24
|
+
chart2: string;
|
|
25
|
+
chart3: string;
|
|
26
|
+
chart4: string;
|
|
27
|
+
chart5: string;
|
|
28
|
+
};
|
|
29
|
+
dark: {
|
|
30
|
+
background: string;
|
|
31
|
+
foreground: string;
|
|
32
|
+
card: string;
|
|
33
|
+
cardForeground: string;
|
|
34
|
+
popover: string;
|
|
35
|
+
popoverForeground: string;
|
|
36
|
+
primary: string;
|
|
37
|
+
primaryForeground: string;
|
|
38
|
+
secondary: string;
|
|
39
|
+
secondaryForeground: string;
|
|
40
|
+
muted: string;
|
|
41
|
+
mutedForeground: string;
|
|
42
|
+
accent: string;
|
|
43
|
+
accentForeground: string;
|
|
44
|
+
destructive: string;
|
|
45
|
+
border: string;
|
|
46
|
+
input: string;
|
|
47
|
+
ring: string;
|
|
48
|
+
radius: string;
|
|
49
|
+
chart1: string;
|
|
50
|
+
chart2: string;
|
|
51
|
+
chart3: string;
|
|
52
|
+
chart4: string;
|
|
53
|
+
chart5: string;
|
|
54
|
+
};
|
|
55
|
+
};
|
|
56
|
+
export declare const NAV_THEME: Record<'light' | 'dark', Theme>;
|
|
57
|
+
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/lib/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAA2B,KAAK,KAAK,EAAE,MAAM,0BAA0B,CAAC;AAE/E,eAAO,MAAM,KAAK;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqDjB,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,MAAM,CAAC,OAAO,GAAG,MAAM,EAAE,KAAK,CAuBrD,CAAC"}
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import { DarkTheme, DefaultTheme } from '@react-navigation/native';
|
|
2
|
+
export const THEME = {
|
|
3
|
+
light: {
|
|
4
|
+
background: 'hsl(0 0% 100%)',
|
|
5
|
+
foreground: 'hsl(0 0% 3.9%)',
|
|
6
|
+
card: 'hsl(0 0% 100%)',
|
|
7
|
+
cardForeground: 'hsl(0 0% 3.9%)',
|
|
8
|
+
popover: 'hsl(0 0% 100%)',
|
|
9
|
+
popoverForeground: 'hsl(0 0% 3.9%)',
|
|
10
|
+
primary: 'hsl(0 0% 9%)',
|
|
11
|
+
primaryForeground: 'hsl(0 0% 98%)',
|
|
12
|
+
secondary: 'hsl(0 0% 96.1%)',
|
|
13
|
+
secondaryForeground: 'hsl(0 0% 9%)',
|
|
14
|
+
muted: 'hsl(0 0% 96.1%)',
|
|
15
|
+
mutedForeground: 'hsl(0 0% 45.1%)',
|
|
16
|
+
accent: 'hsl(0 0% 96.1%)',
|
|
17
|
+
accentForeground: 'hsl(0 0% 9%)',
|
|
18
|
+
destructive: 'hsl(0 84.2% 60.2%)',
|
|
19
|
+
border: 'hsl(0 0% 89.8%)',
|
|
20
|
+
input: 'hsl(0 0% 89.8%)',
|
|
21
|
+
ring: 'hsl(0 0% 63%)',
|
|
22
|
+
radius: '0.625rem',
|
|
23
|
+
chart1: 'hsl(12 76% 61%)',
|
|
24
|
+
chart2: 'hsl(173 58% 39%)',
|
|
25
|
+
chart3: 'hsl(197 37% 24%)',
|
|
26
|
+
chart4: 'hsl(43 74% 66%)',
|
|
27
|
+
chart5: 'hsl(27 87% 67%)',
|
|
28
|
+
},
|
|
29
|
+
dark: {
|
|
30
|
+
background: 'hsl(0 0% 3.9%)',
|
|
31
|
+
foreground: 'hsl(0 0% 98%)',
|
|
32
|
+
card: 'hsl(0 0% 3.9%)',
|
|
33
|
+
cardForeground: 'hsl(0 0% 98%)',
|
|
34
|
+
popover: 'hsl(0 0% 3.9%)',
|
|
35
|
+
popoverForeground: 'hsl(0 0% 98%)',
|
|
36
|
+
primary: 'hsl(0 0% 98%)',
|
|
37
|
+
primaryForeground: 'hsl(0 0% 9%)',
|
|
38
|
+
secondary: 'hsl(0 0% 14.9%)',
|
|
39
|
+
secondaryForeground: 'hsl(0 0% 98%)',
|
|
40
|
+
muted: 'hsl(0 0% 14.9%)',
|
|
41
|
+
mutedForeground: 'hsl(0 0% 63.9%)',
|
|
42
|
+
accent: 'hsl(0 0% 14.9%)',
|
|
43
|
+
accentForeground: 'hsl(0 0% 98%)',
|
|
44
|
+
destructive: 'hsl(0 70.9% 59.4%)',
|
|
45
|
+
border: 'hsl(0 0% 14.9%)',
|
|
46
|
+
input: 'hsl(0 0% 14.9%)',
|
|
47
|
+
ring: 'hsl(300 0% 45%)',
|
|
48
|
+
radius: '0.625rem',
|
|
49
|
+
chart1: 'hsl(220 70% 50%)',
|
|
50
|
+
chart2: 'hsl(160 60% 45%)',
|
|
51
|
+
chart3: 'hsl(30 80% 55%)',
|
|
52
|
+
chart4: 'hsl(280 65% 60%)',
|
|
53
|
+
chart5: 'hsl(340 75% 55%)',
|
|
54
|
+
},
|
|
55
|
+
};
|
|
56
|
+
export const NAV_THEME = {
|
|
57
|
+
light: {
|
|
58
|
+
...DefaultTheme,
|
|
59
|
+
colors: {
|
|
60
|
+
background: THEME.light.background,
|
|
61
|
+
border: THEME.light.border,
|
|
62
|
+
card: THEME.light.card,
|
|
63
|
+
notification: THEME.light.destructive,
|
|
64
|
+
primary: THEME.light.primary,
|
|
65
|
+
text: THEME.light.foreground,
|
|
66
|
+
},
|
|
67
|
+
},
|
|
68
|
+
dark: {
|
|
69
|
+
...DarkTheme,
|
|
70
|
+
colors: {
|
|
71
|
+
background: THEME.dark.background,
|
|
72
|
+
border: THEME.dark.border,
|
|
73
|
+
card: THEME.dark.card,
|
|
74
|
+
notification: THEME.dark.destructive,
|
|
75
|
+
primary: THEME.dark.primary,
|
|
76
|
+
text: THEME.dark.foreground,
|
|
77
|
+
},
|
|
78
|
+
},
|
|
79
|
+
};
|
|
80
|
+
//# sourceMappingURL=theme.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"theme.js","sourceRoot":"","sources":["../../src/lib/theme.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,YAAY,EAAc,MAAM,0BAA0B,CAAC;AAE/E,MAAM,CAAC,MAAM,KAAK,GAAG;IACnB,KAAK,EAAE;QACL,UAAU,EAAE,gBAAgB;QAC5B,UAAU,EAAE,gBAAgB;QAC5B,IAAI,EAAE,gBAAgB;QACtB,cAAc,EAAE,gBAAgB;QAChC,OAAO,EAAE,gBAAgB;QACzB,iBAAiB,EAAE,gBAAgB;QACnC,OAAO,EAAE,cAAc;QACvB,iBAAiB,EAAE,eAAe;QAClC,SAAS,EAAE,iBAAiB;QAC5B,mBAAmB,EAAE,cAAc;QACnC,KAAK,EAAE,iBAAiB;QACxB,eAAe,EAAE,iBAAiB;QAClC,MAAM,EAAE,iBAAiB;QACzB,gBAAgB,EAAE,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OAAO,EAAE,KAAK,CAAC,KAAK,CAAC,OAAO;YAC5B,IAAI,EAAE,KAAK,CAAC,KAAK,CAAC,UAAU;SAC7B;KACF;IACD,IAAI,EAAE;QACJ,GAAG,SAAS;QACZ,MAAM,EAAE;YACN,UAAU,EAAE,KAAK,CAAC,IAAI,CAAC,UAAU;YACjC,MAAM,EAAE,KAAK,CAAC,IAAI,CAAC,MAAM;YACzB,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,IAAI;YACrB,YAAY,EAAE,KAAK,CAAC,IAAI,CAAC,WAAW;YACpC,OAAO,EAAE,KAAK,CAAC,IAAI,CAAC,OAAO;YAC3B,IAAI,EAAE,KAAK,CAAC,IAAI,CAAC,UAAU;SAC5B;KACF;CACF,CAAC"}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Accent colors available in Frosted UI
|
|
3
|
+
* These match the web version's accentColor values
|
|
4
|
+
*/
|
|
5
|
+
export type AccentColor = 'tomato' | 'red' | 'ruby' | 'crimson' | 'pink' | 'plum' | 'purple' | 'violet' | 'iris' | 'cyan' | 'teal' | 'jade' | 'green' | 'grass' | 'brown' | 'blue' | 'orange' | 'indigo' | 'sky' | 'mint' | 'yellow' | 'amber' | 'lime' | 'lemon' | 'magenta' | 'gold' | 'bronze' | 'gray';
|
|
6
|
+
/**
|
|
7
|
+
* Semantic colors
|
|
8
|
+
*/
|
|
9
|
+
export type SemanticColor = 'danger' | 'warning' | 'success' | 'info';
|
|
10
|
+
/**
|
|
11
|
+
* All available color values for component color props
|
|
12
|
+
*/
|
|
13
|
+
export type Color = AccentColor | SemanticColor;
|
|
14
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/lib/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,WAAW,GACnB,QAAQ,GACR,KAAK,GACL,MAAM,GACN,SAAS,GACT,MAAM,GACN,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,MAAM,GACN,MAAM,GACN,MAAM,GACN,MAAM,GACN,OAAO,GACP,OAAO,GACP,OAAO,GACP,MAAM,GACN,QAAQ,GACR,QAAQ,GACR,KAAK,GACL,MAAM,GACN,QAAQ,GACR,OAAO,GACP,MAAM,GACN,OAAO,GACP,SAAS,GACT,MAAM,GACN,QAAQ,GACR,MAAM,CAAC;AAEX;;GAEG;AACH,MAAM,MAAM,aAAa,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;AAEtE;;GAEG;AACH,MAAM,MAAM,KAAK,GAAG,WAAW,GAAG,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../src/lib/types.ts"],"names":[],"mappings":""}
|
|
@@ -0,0 +1,325 @@
|
|
|
1
|
+
export declare function useThemeVars(): {
|
|
2
|
+
typography: {
|
|
3
|
+
readonly '0': {
|
|
4
|
+
readonly fontSize: 10;
|
|
5
|
+
readonly lineHeight: 12;
|
|
6
|
+
readonly letterSpacing: 0.01;
|
|
7
|
+
};
|
|
8
|
+
readonly '1': {
|
|
9
|
+
readonly fontSize: 12;
|
|
10
|
+
readonly lineHeight: 16;
|
|
11
|
+
readonly letterSpacing: 0.01;
|
|
12
|
+
};
|
|
13
|
+
readonly '2': {
|
|
14
|
+
readonly fontSize: 14;
|
|
15
|
+
readonly lineHeight: 20;
|
|
16
|
+
readonly letterSpacing: 0.01;
|
|
17
|
+
};
|
|
18
|
+
readonly '3': {
|
|
19
|
+
readonly fontSize: 16;
|
|
20
|
+
readonly lineHeight: 24;
|
|
21
|
+
readonly letterSpacing: 0.01;
|
|
22
|
+
};
|
|
23
|
+
readonly '4': {
|
|
24
|
+
readonly fontSize: 18;
|
|
25
|
+
readonly lineHeight: 26;
|
|
26
|
+
readonly letterSpacing: 0.01;
|
|
27
|
+
};
|
|
28
|
+
readonly '5': {
|
|
29
|
+
readonly fontSize: 20;
|
|
30
|
+
readonly lineHeight: 28;
|
|
31
|
+
readonly letterSpacing: 0.01;
|
|
32
|
+
};
|
|
33
|
+
readonly '6': {
|
|
34
|
+
readonly fontSize: 24;
|
|
35
|
+
readonly lineHeight: 30;
|
|
36
|
+
readonly letterSpacing: 0.01;
|
|
37
|
+
};
|
|
38
|
+
readonly '7': {
|
|
39
|
+
readonly fontSize: 28;
|
|
40
|
+
readonly lineHeight: 34;
|
|
41
|
+
readonly letterSpacing: 0.005;
|
|
42
|
+
};
|
|
43
|
+
readonly '8': {
|
|
44
|
+
readonly fontSize: 32;
|
|
45
|
+
readonly lineHeight: 38;
|
|
46
|
+
readonly letterSpacing: 0;
|
|
47
|
+
};
|
|
48
|
+
readonly '9': {
|
|
49
|
+
readonly fontSize: 40;
|
|
50
|
+
readonly lineHeight: 48;
|
|
51
|
+
readonly letterSpacing: 0;
|
|
52
|
+
};
|
|
53
|
+
};
|
|
54
|
+
fontWeights: {
|
|
55
|
+
readonly light: "300";
|
|
56
|
+
readonly regular: "400";
|
|
57
|
+
readonly medium: "500";
|
|
58
|
+
readonly 'semi-bold': "600";
|
|
59
|
+
readonly bold: "700";
|
|
60
|
+
};
|
|
61
|
+
colors: {
|
|
62
|
+
palettes: {
|
|
63
|
+
black: {
|
|
64
|
+
a1: string;
|
|
65
|
+
a2: string;
|
|
66
|
+
a3: string;
|
|
67
|
+
a4: string;
|
|
68
|
+
a5: string;
|
|
69
|
+
a6: string;
|
|
70
|
+
a7: string;
|
|
71
|
+
a8: string;
|
|
72
|
+
a9: string;
|
|
73
|
+
a10: string;
|
|
74
|
+
a11: string;
|
|
75
|
+
a12: string;
|
|
76
|
+
};
|
|
77
|
+
white: {
|
|
78
|
+
a1: string;
|
|
79
|
+
a2: string;
|
|
80
|
+
a3: string;
|
|
81
|
+
a4: string;
|
|
82
|
+
a5: string;
|
|
83
|
+
a6: string;
|
|
84
|
+
a7: string;
|
|
85
|
+
a8: string;
|
|
86
|
+
a9: string;
|
|
87
|
+
a10: string;
|
|
88
|
+
a11: string;
|
|
89
|
+
a12: string;
|
|
90
|
+
};
|
|
91
|
+
tomato: import("./theme-vars").ColorShades;
|
|
92
|
+
red: import("./theme-vars").ColorShades;
|
|
93
|
+
ruby: import("./theme-vars").ColorShades;
|
|
94
|
+
crimson: import("./theme-vars").ColorShades;
|
|
95
|
+
pink: import("./theme-vars").ColorShades;
|
|
96
|
+
plum: import("./theme-vars").ColorShades;
|
|
97
|
+
purple: import("./theme-vars").ColorShades;
|
|
98
|
+
violet: import("./theme-vars").ColorShades;
|
|
99
|
+
iris: import("./theme-vars").ColorShades;
|
|
100
|
+
cyan: import("./theme-vars").ColorShades;
|
|
101
|
+
teal: import("./theme-vars").ColorShades;
|
|
102
|
+
jade: import("./theme-vars").ColorShades;
|
|
103
|
+
green: import("./theme-vars").ColorShades;
|
|
104
|
+
grass: import("./theme-vars").ColorShades;
|
|
105
|
+
brown: import("./theme-vars").ColorShades;
|
|
106
|
+
blue: import("./theme-vars").ColorShades;
|
|
107
|
+
orange: import("./theme-vars").ColorShades;
|
|
108
|
+
indigo: import("./theme-vars").ColorShades;
|
|
109
|
+
sky: import("./theme-vars").ColorShades;
|
|
110
|
+
mint: import("./theme-vars").ColorShades;
|
|
111
|
+
yellow: import("./theme-vars").ColorShades;
|
|
112
|
+
amber: import("./theme-vars").ColorShades;
|
|
113
|
+
lime: import("./theme-vars").ColorShades;
|
|
114
|
+
lemon: import("./theme-vars").ColorShades;
|
|
115
|
+
magenta: import("./theme-vars").ColorShades;
|
|
116
|
+
gold: import("./theme-vars").ColorShades;
|
|
117
|
+
bronze: import("./theme-vars").ColorShades;
|
|
118
|
+
gray: import("./theme-vars").ColorShades;
|
|
119
|
+
};
|
|
120
|
+
background: string;
|
|
121
|
+
overlay: string;
|
|
122
|
+
panelSolid: string;
|
|
123
|
+
panelTranslucent: string;
|
|
124
|
+
surface: string;
|
|
125
|
+
stroke: string;
|
|
126
|
+
} | {
|
|
127
|
+
palettes: {
|
|
128
|
+
black: {
|
|
129
|
+
a1: string;
|
|
130
|
+
a2: string;
|
|
131
|
+
a3: string;
|
|
132
|
+
a4: string;
|
|
133
|
+
a5: string;
|
|
134
|
+
a6: string;
|
|
135
|
+
a7: string;
|
|
136
|
+
a8: string;
|
|
137
|
+
a9: string;
|
|
138
|
+
a10: string;
|
|
139
|
+
a11: string;
|
|
140
|
+
a12: string;
|
|
141
|
+
};
|
|
142
|
+
white: {
|
|
143
|
+
a1: string;
|
|
144
|
+
a2: string;
|
|
145
|
+
a3: string;
|
|
146
|
+
a4: string;
|
|
147
|
+
a5: string;
|
|
148
|
+
a6: string;
|
|
149
|
+
a7: string;
|
|
150
|
+
a8: string;
|
|
151
|
+
a9: string;
|
|
152
|
+
a10: string;
|
|
153
|
+
a11: string;
|
|
154
|
+
a12: string;
|
|
155
|
+
};
|
|
156
|
+
tomato: import("./theme-vars").ColorShades;
|
|
157
|
+
red: import("./theme-vars").ColorShades;
|
|
158
|
+
ruby: import("./theme-vars").ColorShades;
|
|
159
|
+
crimson: import("./theme-vars").ColorShades;
|
|
160
|
+
pink: import("./theme-vars").ColorShades;
|
|
161
|
+
plum: import("./theme-vars").ColorShades;
|
|
162
|
+
purple: import("./theme-vars").ColorShades;
|
|
163
|
+
violet: import("./theme-vars").ColorShades;
|
|
164
|
+
iris: import("./theme-vars").ColorShades;
|
|
165
|
+
cyan: import("./theme-vars").ColorShades;
|
|
166
|
+
teal: import("./theme-vars").ColorShades;
|
|
167
|
+
jade: import("./theme-vars").ColorShades;
|
|
168
|
+
green: import("./theme-vars").ColorShades;
|
|
169
|
+
grass: import("./theme-vars").ColorShades;
|
|
170
|
+
brown: import("./theme-vars").ColorShades;
|
|
171
|
+
blue: import("./theme-vars").ColorShades;
|
|
172
|
+
orange: import("./theme-vars").ColorShades;
|
|
173
|
+
indigo: import("./theme-vars").ColorShades;
|
|
174
|
+
sky: import("./theme-vars").ColorShades;
|
|
175
|
+
mint: import("./theme-vars").ColorShades;
|
|
176
|
+
yellow: import("./theme-vars").ColorShades;
|
|
177
|
+
amber: import("./theme-vars").ColorShades;
|
|
178
|
+
lime: import("./theme-vars").ColorShades;
|
|
179
|
+
lemon: import("./theme-vars").ColorShades;
|
|
180
|
+
magenta: import("./theme-vars").ColorShades;
|
|
181
|
+
gold: import("./theme-vars").ColorShades;
|
|
182
|
+
bronze: import("./theme-vars").ColorShades;
|
|
183
|
+
gray: import("./theme-vars").ColorShades;
|
|
184
|
+
};
|
|
185
|
+
background: string;
|
|
186
|
+
overlay: string;
|
|
187
|
+
panelSolid: string;
|
|
188
|
+
panelTranslucent: string;
|
|
189
|
+
surface: string;
|
|
190
|
+
stroke: string;
|
|
191
|
+
};
|
|
192
|
+
invertedColors: {
|
|
193
|
+
palettes: {
|
|
194
|
+
black: {
|
|
195
|
+
a1: string;
|
|
196
|
+
a2: string;
|
|
197
|
+
a3: string;
|
|
198
|
+
a4: string;
|
|
199
|
+
a5: string;
|
|
200
|
+
a6: string;
|
|
201
|
+
a7: string;
|
|
202
|
+
a8: string;
|
|
203
|
+
a9: string;
|
|
204
|
+
a10: string;
|
|
205
|
+
a11: string;
|
|
206
|
+
a12: string;
|
|
207
|
+
};
|
|
208
|
+
white: {
|
|
209
|
+
a1: string;
|
|
210
|
+
a2: string;
|
|
211
|
+
a3: string;
|
|
212
|
+
a4: string;
|
|
213
|
+
a5: string;
|
|
214
|
+
a6: string;
|
|
215
|
+
a7: string;
|
|
216
|
+
a8: string;
|
|
217
|
+
a9: string;
|
|
218
|
+
a10: string;
|
|
219
|
+
a11: string;
|
|
220
|
+
a12: string;
|
|
221
|
+
};
|
|
222
|
+
tomato: import("./theme-vars").ColorShades;
|
|
223
|
+
red: import("./theme-vars").ColorShades;
|
|
224
|
+
ruby: import("./theme-vars").ColorShades;
|
|
225
|
+
crimson: import("./theme-vars").ColorShades;
|
|
226
|
+
pink: import("./theme-vars").ColorShades;
|
|
227
|
+
plum: import("./theme-vars").ColorShades;
|
|
228
|
+
purple: import("./theme-vars").ColorShades;
|
|
229
|
+
violet: import("./theme-vars").ColorShades;
|
|
230
|
+
iris: import("./theme-vars").ColorShades;
|
|
231
|
+
cyan: import("./theme-vars").ColorShades;
|
|
232
|
+
teal: import("./theme-vars").ColorShades;
|
|
233
|
+
jade: import("./theme-vars").ColorShades;
|
|
234
|
+
green: import("./theme-vars").ColorShades;
|
|
235
|
+
grass: import("./theme-vars").ColorShades;
|
|
236
|
+
brown: import("./theme-vars").ColorShades;
|
|
237
|
+
blue: import("./theme-vars").ColorShades;
|
|
238
|
+
orange: import("./theme-vars").ColorShades;
|
|
239
|
+
indigo: import("./theme-vars").ColorShades;
|
|
240
|
+
sky: import("./theme-vars").ColorShades;
|
|
241
|
+
mint: import("./theme-vars").ColorShades;
|
|
242
|
+
yellow: import("./theme-vars").ColorShades;
|
|
243
|
+
amber: import("./theme-vars").ColorShades;
|
|
244
|
+
lime: import("./theme-vars").ColorShades;
|
|
245
|
+
lemon: import("./theme-vars").ColorShades;
|
|
246
|
+
magenta: import("./theme-vars").ColorShades;
|
|
247
|
+
gold: import("./theme-vars").ColorShades;
|
|
248
|
+
bronze: import("./theme-vars").ColorShades;
|
|
249
|
+
gray: import("./theme-vars").ColorShades;
|
|
250
|
+
};
|
|
251
|
+
background: string;
|
|
252
|
+
overlay: string;
|
|
253
|
+
panelSolid: string;
|
|
254
|
+
panelTranslucent: string;
|
|
255
|
+
surface: string;
|
|
256
|
+
stroke: string;
|
|
257
|
+
} | {
|
|
258
|
+
palettes: {
|
|
259
|
+
black: {
|
|
260
|
+
a1: string;
|
|
261
|
+
a2: string;
|
|
262
|
+
a3: string;
|
|
263
|
+
a4: string;
|
|
264
|
+
a5: string;
|
|
265
|
+
a6: string;
|
|
266
|
+
a7: string;
|
|
267
|
+
a8: string;
|
|
268
|
+
a9: string;
|
|
269
|
+
a10: string;
|
|
270
|
+
a11: string;
|
|
271
|
+
a12: string;
|
|
272
|
+
};
|
|
273
|
+
white: {
|
|
274
|
+
a1: string;
|
|
275
|
+
a2: string;
|
|
276
|
+
a3: string;
|
|
277
|
+
a4: string;
|
|
278
|
+
a5: string;
|
|
279
|
+
a6: string;
|
|
280
|
+
a7: string;
|
|
281
|
+
a8: string;
|
|
282
|
+
a9: string;
|
|
283
|
+
a10: string;
|
|
284
|
+
a11: string;
|
|
285
|
+
a12: string;
|
|
286
|
+
};
|
|
287
|
+
tomato: import("./theme-vars").ColorShades;
|
|
288
|
+
red: import("./theme-vars").ColorShades;
|
|
289
|
+
ruby: import("./theme-vars").ColorShades;
|
|
290
|
+
crimson: import("./theme-vars").ColorShades;
|
|
291
|
+
pink: import("./theme-vars").ColorShades;
|
|
292
|
+
plum: import("./theme-vars").ColorShades;
|
|
293
|
+
purple: import("./theme-vars").ColorShades;
|
|
294
|
+
violet: import("./theme-vars").ColorShades;
|
|
295
|
+
iris: import("./theme-vars").ColorShades;
|
|
296
|
+
cyan: import("./theme-vars").ColorShades;
|
|
297
|
+
teal: import("./theme-vars").ColorShades;
|
|
298
|
+
jade: import("./theme-vars").ColorShades;
|
|
299
|
+
green: import("./theme-vars").ColorShades;
|
|
300
|
+
grass: import("./theme-vars").ColorShades;
|
|
301
|
+
brown: import("./theme-vars").ColorShades;
|
|
302
|
+
blue: import("./theme-vars").ColorShades;
|
|
303
|
+
orange: import("./theme-vars").ColorShades;
|
|
304
|
+
indigo: import("./theme-vars").ColorShades;
|
|
305
|
+
sky: import("./theme-vars").ColorShades;
|
|
306
|
+
mint: import("./theme-vars").ColorShades;
|
|
307
|
+
yellow: import("./theme-vars").ColorShades;
|
|
308
|
+
amber: import("./theme-vars").ColorShades;
|
|
309
|
+
lime: import("./theme-vars").ColorShades;
|
|
310
|
+
lemon: import("./theme-vars").ColorShades;
|
|
311
|
+
magenta: import("./theme-vars").ColorShades;
|
|
312
|
+
gold: import("./theme-vars").ColorShades;
|
|
313
|
+
bronze: import("./theme-vars").ColorShades;
|
|
314
|
+
gray: import("./theme-vars").ColorShades;
|
|
315
|
+
};
|
|
316
|
+
background: string;
|
|
317
|
+
overlay: string;
|
|
318
|
+
panelSolid: string;
|
|
319
|
+
panelTranslucent: string;
|
|
320
|
+
surface: string;
|
|
321
|
+
stroke: string;
|
|
322
|
+
};
|
|
323
|
+
isDark: boolean;
|
|
324
|
+
};
|
|
325
|
+
//# sourceMappingURL=use-theme-vars.d.ts.map
|