@indra-inter/neobrutalism-components 0.1.2 → 0.1.4
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 +62 -19
- package/dist/module/index.js +2 -1
- package/dist/module/index.js.map +1 -1
- package/dist/module/theme/design-tokens.generated.js +88 -0
- package/dist/module/theme/design-tokens.generated.js.map +1 -1
- package/dist/module/theme/nativewind-theme-provider.js +27 -0
- package/dist/module/theme/nativewind-theme-provider.js.map +1 -0
- package/dist/module/theme/nativewind-tokens.generated.js +299 -0
- package/dist/module/theme/nativewind-tokens.generated.js.map +1 -0
- package/dist/module/theme/theme-provider.js +3 -2
- package/dist/module/theme/theme-provider.js.map +1 -1
- package/dist/module/theme/theme.js +45 -22
- package/dist/module/theme/theme.js.map +1 -1
- package/dist/typescript/index.d.ts +2 -1
- package/dist/typescript/index.d.ts.map +1 -1
- package/dist/typescript/theme/design-tokens.generated.d.ts +88 -0
- package/dist/typescript/theme/design-tokens.generated.d.ts.map +1 -1
- package/dist/typescript/theme/nativewind-theme-provider.d.ts +8 -0
- package/dist/typescript/theme/nativewind-theme-provider.d.ts.map +1 -0
- package/dist/typescript/theme/nativewind-tokens.generated.d.ts +295 -0
- package/dist/typescript/theme/nativewind-tokens.generated.d.ts.map +1 -0
- package/dist/typescript/theme/theme-provider.d.ts +3 -2
- package/dist/typescript/theme/theme-provider.d.ts.map +1 -1
- package/dist/typescript/theme/theme.d.ts +19 -16
- package/dist/typescript/theme/theme.d.ts.map +1 -1
- package/nativewind.css +146 -0
- package/package.json +6 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["createContext","useContext","useMemo","createTheme","theme","jsx","_jsx","ThemeContext","ThemeProvider","children","mode","activeTheme","Provider","value","useTheme"],"sourceRoot":"../../../src","sources":["theme/theme-provider.tsx"],"mappings":";;AAAA,SACEA,aAAa,EACbC,UAAU,EACVC,OAAO,QAEF,OAAO;AAEd,
|
|
1
|
+
{"version":3,"names":["createContext","useContext","useMemo","createTheme","theme","jsx","_jsx","ThemeContext","ThemeProvider","children","mode","variant","activeTheme","Provider","value","useTheme"],"sourceRoot":"../../../src","sources":["theme/theme-provider.tsx"],"mappings":";;AAAA,SACEA,aAAa,EACbC,UAAU,EACVC,OAAO,QAEF,OAAO;AAEd,SACEC,WAAW,EACXC,KAAK,QAIA,YAAS;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEjB,MAAMC,YAAY,gBAAGP,aAAa,CAAQI,KAAK,CAAC;AAOhD,OAAO,SAASI,aAAaA,CAAC;EAAEC,QAAQ;EAAEC,IAAI;EAAEC,OAAO,GAAG;AAA2B,CAAC,EAAE;EACtF,MAAMC,WAAW,GAAGV,OAAO,CAAC,MAAMC,WAAW,CAACO,IAAI,EAAEC,OAAO,CAAC,EAAE,CAACD,IAAI,EAAEC,OAAO,CAAC,CAAC;EAE9E,oBACEL,IAAA,CAACC,YAAY,CAACM,QAAQ;IAACC,KAAK,EAAEF,WAAY;IAAAH,QAAA,EAAEA;EAAQ,CAAwB,CAAC;AAEjF;AAEA,OAAO,SAASM,QAAQA,CAAA,EAAU;EAChC,OAAOd,UAAU,CAACM,YAAY,CAAC;AACjC","ignoreList":[]}
|
|
@@ -1,36 +1,59 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
|
|
3
3
|
import { designTokens } from "./design-tokens.generated.js";
|
|
4
|
-
|
|
5
|
-
|
|
4
|
+
import { nativeWindTokenVariables } from "./nativewind-tokens.generated.js";
|
|
5
|
+
const themeFamilyNames = {
|
|
6
|
+
blue: 'Blue',
|
|
7
|
+
coral: 'Coral'
|
|
8
|
+
};
|
|
9
|
+
function toCamelCase(value) {
|
|
10
|
+
return value.replace(/-([a-z0-9])/g, (_, letter) => letter.toUpperCase());
|
|
11
|
+
}
|
|
12
|
+
function createModeColors(modeTokens) {
|
|
13
|
+
return Object.fromEntries(Object.entries(modeTokens).map(([name, value]) => [toCamelCase(name), value]));
|
|
14
|
+
}
|
|
15
|
+
function createStatusColor(tokens, foreground) {
|
|
16
|
+
return {
|
|
17
|
+
'100': tokens['100'],
|
|
18
|
+
'200': tokens['200'],
|
|
19
|
+
'300': tokens['300'],
|
|
20
|
+
'400': tokens['400'],
|
|
21
|
+
'500': tokens['500'],
|
|
22
|
+
foreground
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
function createThemeStatus(foreground) {
|
|
26
|
+
return {
|
|
27
|
+
success: createStatusColor(designTokens.appTheme.Success, foreground),
|
|
28
|
+
info: createStatusColor(designTokens.appTheme.Info, foreground),
|
|
29
|
+
warning: createStatusColor(designTokens.appTheme.Warning, foreground),
|
|
30
|
+
error: createStatusColor(designTokens.appTheme.Error, designTokens.appTheme.Error['error-foreground'])
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export function createNativeWindVariables(mode, variant = 'blue') {
|
|
34
|
+
return nativeWindTokenVariables[variant][mode];
|
|
35
|
+
}
|
|
36
|
+
export function createTheme(mode = 'light', variant = 'blue') {
|
|
37
|
+
const modeTokens = designTokens.mode[mode][themeFamilyNames[variant]];
|
|
38
|
+
const colors = createModeColors(modeTokens);
|
|
39
|
+
const status = createThemeStatus(colors.foreground);
|
|
6
40
|
return {
|
|
7
41
|
colors: {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
primaryForeground: modeTokens['primary-foreground'],
|
|
15
|
-
secondary: modeTokens.secondary,
|
|
16
|
-
secondaryForeground: modeTokens['secondary-foreground'],
|
|
17
|
-
destructive: modeTokens.destructive,
|
|
18
|
-
destructiveForeground: modeTokens['destructive-foreground'],
|
|
19
|
-
warning: designTokens.appTheme.Warning['500'],
|
|
20
|
-
success: designTokens.appTheme.Success['500'],
|
|
21
|
-
info: designTokens.appTheme.Info['500'],
|
|
22
|
-
foreground: modeTokens.foreground,
|
|
23
|
-
mutedForeground: modeTokens['muted-foreground'],
|
|
24
|
-
disabled: modeTokens.muted,
|
|
25
|
-
semanticBorder: modeTokens['semantic-border']
|
|
42
|
+
...colors,
|
|
43
|
+
warning: status.warning['500'],
|
|
44
|
+
success: status.success['500'],
|
|
45
|
+
info: status.info['500'],
|
|
46
|
+
error: status.error['500'],
|
|
47
|
+
disabled: colors.muted
|
|
26
48
|
},
|
|
49
|
+
status,
|
|
27
50
|
border: {
|
|
28
|
-
color:
|
|
51
|
+
color: colors.border,
|
|
29
52
|
radius: designTokens.radius.rounded.Base,
|
|
30
53
|
width: 2
|
|
31
54
|
},
|
|
32
55
|
shadow: {
|
|
33
|
-
color:
|
|
56
|
+
color: colors.shadowColor,
|
|
34
57
|
xsOffset: designTokens.shadow.on.xs,
|
|
35
58
|
offset: designTokens.shadow.on.base
|
|
36
59
|
},
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"names":["designTokens","
|
|
1
|
+
{"version":3,"names":["designTokens","nativeWindTokenVariables","themeFamilyNames","blue","coral","toCamelCase","value","replace","_","letter","toUpperCase","createModeColors","modeTokens","Object","fromEntries","entries","map","name","createStatusColor","tokens","foreground","createThemeStatus","success","appTheme","Success","info","Info","warning","Warning","error","Error","createNativeWindVariables","mode","variant","createTheme","colors","status","disabled","muted","border","color","radius","rounded","Base","width","shadow","shadowColor","xsOffset","on","xs","offset","base","spacing","sm","md","lg","typography","fontSize","default","size","xsLineHeight","xsSmall","small","xsSmallLineHeight","weight","theme"],"sourceRoot":"../../../src","sources":["theme/theme.ts"],"mappings":";;AAAA,SAASA,YAAY,QAAQ,8BAA2B;AACxD,SAASC,wBAAwB,QAAQ,kCAA+B;AA8CxE,MAAMC,gBAAgB,GAAG;EACvBC,IAAI,EAAE,MAAM;EACZC,KAAK,EAAE;AACT,CAA+E;AAE/E,SAASC,WAAWA,CAACC,KAAa,EAAU;EAC1C,OAAOA,KAAK,CAACC,OAAO,CAAC,cAAc,EAAE,CAACC,CAAC,EAAEC,MAAc,KAAKA,MAAM,CAACC,WAAW,CAAC,CAAC,CAAC;AACnF;A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OAAO,CAACC,IAAI,CAAC,SAAS,CAAC;MACjDC,YAAY,EAAE5D,YAAY,CAACyD,QAAQ,CAACC,OAAO,CAAC,aAAa,CAAC,CAAC,YAAY,CAAC;MACxEG,OAAO,EAAE7D,YAAY,CAACyD,QAAQ,CAACK,KAAK,CAACH,IAAI,CAAC,SAAS,CAAC;MACpDI,iBAAiB,EACf/D,YAAY,CAACyD,QAAQ,CAACK,KAAK,CAAC,aAAa,CAAC,CAAC,YAAY,CAAC;MAC1DT,EAAE,EAAErD,YAAY,CAACyD,QAAQ,CAACC,OAAO,CAACC,IAAI,CAAC,SAAS,CAAC;MACjDL,EAAE,EAAEtD,YAAY,CAACyD,QAAQ,CAACC,OAAO,CAACC,IAAI,CAAC,WAAW,CAAC;MACnDJ,EAAE,EAAEvD,YAAY,CAACyD,QAAQ,CAACC,OAAO,CAACC,IAAI,CAAC,SAAS,CAAC;MACjDK,MAAM,EAAE;IACV;EACF,CAAC;AACH;AAEA,OAAO,MAAMC,KAAK,GAAG/B,WAAW,CAAC,OAAO,CAAC","ignoreList":[]}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
export { Button, type ButtonRounded, type ButtonProps, type ButtonSize, type ButtonVariant, } from './components/button/button.js';
|
|
2
2
|
export { IconButton, type IconButtonProps, type IconButtonRounded, type IconButtonVariant, } from './components/icon-button/icon-button.js';
|
|
3
|
-
export { createTheme, theme, type Theme, type ThemeMode, } from './theme/theme.js';
|
|
3
|
+
export { createTheme, createNativeWindVariables, theme, type Theme, type ThemeMode, type ThemeStatus, type ThemeVariant, } from './theme/theme.js';
|
|
4
4
|
export type { CornerRadius, Radius, Rounded, ShadowVariant, } from './components/shared/styling.js';
|
|
5
5
|
export { ThemeProvider, useTheme, type ThemeProviderProps, } from './theme/theme-provider.js';
|
|
6
|
+
export { NativeWindThemeProvider, type NativeWindThemeProviderProps, } from './theme/nativewind-theme-provider.js';
|
|
6
7
|
export { defaultDesignTokenModes, designTokens, } from './theme/design-tokens.generated.js';
|
|
7
8
|
export { Badge, type BadgeProps, type BadgeRounded, type BadgeSize, type BadgeType, type BadgeVariant, } from './components/badge/badge.js';
|
|
8
9
|
export { Input, TextArea, type InputProps, type TextAreaProps, } from './components/input/input.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,aAAa,GACnB,MAAM,+BAA4B,CAAC;AACpC,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,MAAM,yCAAsC,CAAC;AAC9C,OAAO,EACL,WAAW,EACX,KAAK,EACL,KAAK,KAAK,EACV,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,KAAK,aAAa,EAClB,KAAK,WAAW,EAChB,KAAK,UAAU,EACf,KAAK,aAAa,GACnB,MAAM,+BAA4B,CAAC;AACpC,OAAO,EACL,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,MAAM,yCAAsC,CAAC;AAC9C,OAAO,EACL,WAAW,EACX,yBAAyB,EACzB,KAAK,EACL,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,WAAW,EAChB,KAAK,YAAY,GAClB,MAAM,kBAAe,CAAC;AACvB,YAAY,EACV,YAAY,EACZ,MAAM,EACN,OAAO,EACP,aAAa,GACd,MAAM,gCAA6B,CAAC;AACrC,OAAO,EACL,aAAa,EACb,QAAQ,EACR,KAAK,kBAAkB,GACxB,MAAM,2BAAwB,CAAC;AAChC,OAAO,EACL,uBAAuB,EACvB,KAAK,4BAA4B,GAClC,MAAM,sCAAmC,CAAC;AAC3C,OAAO,EACL,u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C;AAC7F,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,YAAY,GAClB,MAAM,qCAAkC,CAAC;AAC1C,OAAO,EACL,YAAY,EACZ,KAAK,iBAAiB,EACtB,KAAK,iBAAiB,GACvB,MAAM,+CAA4C,CAAC;AACpD,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,YAAY,GAClB,MAAM,mCAAgC,CAAC;AACxC,OAAO,EACL,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,aAAa,GACnB,MAAM,qCAAkC,CAAC;AAC1C,OAAO,EACL,MAAM,EACN,KAAK,iBAAiB,EACtB,KAAK,kBAAkB,EACvB,KAAK,WAAW,GACjB,MAAM,iCAA8B,CAAC;AACtC,OAAO,EACL,QAAQ,EACR,KAAK,YAAY,EACjB,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,kBAAkB,GACxB,MAAM,mCAAgC,CAAC;AACxC,OAAO,EACL,gBAAgB,EAChB,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,GAC3B,MAAM,qDAAkD,CAAC;AAC1D,OAAO,EACL,QAAQ,EACR,KAAK,aAAa,EAClB,KAAK,eAAe,EACpB,KAAK,YAAY,GAClB,MAAM,mCAAgC,CAAC"}
|
|
@@ -195,6 +195,50 @@ export declare const designTokens: {
|
|
|
195
195
|
readonly "semantic-border": "#908F8F";
|
|
196
196
|
readonly "semantic-foreground": "#FFFFFF";
|
|
197
197
|
};
|
|
198
|
+
readonly Coral: {
|
|
199
|
+
readonly background: "#FFFFFF";
|
|
200
|
+
readonly foreground: "#0A0A0A";
|
|
201
|
+
readonly card: "#F3F3F3";
|
|
202
|
+
readonly "card-foreground": "#0A0A0A";
|
|
203
|
+
readonly popover: "#FAFAFA";
|
|
204
|
+
readonly "popover-foreground": "#0A0A0A";
|
|
205
|
+
readonly primary: "#FF7F50";
|
|
206
|
+
readonly "primary-hover": "#F2A88C";
|
|
207
|
+
readonly "primary-foreground": "#391D13";
|
|
208
|
+
readonly secondary: "#0A0A0A";
|
|
209
|
+
readonly "secondary-foreground": "#FFFFFF";
|
|
210
|
+
readonly muted: "#F2F2F2";
|
|
211
|
+
readonly "muted-foreground": "#5C5C5C";
|
|
212
|
+
readonly accent: "#F2E0D9";
|
|
213
|
+
readonly "accent-foreground": "#4C281A";
|
|
214
|
+
readonly destructive: "#E63946";
|
|
215
|
+
readonly "destructive-foreground": "#FFFFFF";
|
|
216
|
+
readonly border: "#000000";
|
|
217
|
+
readonly input: "#FFFFFF";
|
|
218
|
+
readonly ring: "#FB916A";
|
|
219
|
+
readonly "shadow-color": "#0B0B0B";
|
|
220
|
+
readonly sidebar: "#FFFFFF";
|
|
221
|
+
readonly "sidebar-foreground": "#0A0A0A";
|
|
222
|
+
readonly "sidebar-primary": "#FF7F50";
|
|
223
|
+
readonly "sidebar-primary-foreground": "#391D13";
|
|
224
|
+
readonly "sidebar-accent": "#F2E0D9";
|
|
225
|
+
readonly "sidebar-accent-foreground": "#4C281A";
|
|
226
|
+
readonly "sidebar-border": "#000000";
|
|
227
|
+
readonly "sidebar-ring": "#FB916A";
|
|
228
|
+
readonly surface: "#F3F3F3";
|
|
229
|
+
readonly "surface-foreground": "#0A0A0A";
|
|
230
|
+
readonly code: "#F2F2F2";
|
|
231
|
+
readonly "code-foreground": "#0A0A0A";
|
|
232
|
+
readonly selection: "#FF7F50";
|
|
233
|
+
readonly "selection-foreground": "#391D13";
|
|
234
|
+
readonly "decor-accent": "#FF7F50";
|
|
235
|
+
readonly "decor-ink": "#000000";
|
|
236
|
+
readonly "decor-paper": "#FFFFFF";
|
|
237
|
+
readonly "background-color": "#00000080";
|
|
238
|
+
readonly "semantic-background": "#8D8D8D";
|
|
239
|
+
readonly "semantic-border": "#908F8F";
|
|
240
|
+
readonly "semantic-foreground": "#FFFFFF";
|
|
241
|
+
};
|
|
198
242
|
};
|
|
199
243
|
readonly dark: {
|
|
200
244
|
readonly Blue: {
|
|
@@ -241,6 +285,50 @@ export declare const designTokens: {
|
|
|
241
285
|
readonly "semantic-border": "#515253";
|
|
242
286
|
readonly "semantic-foreground": "#FFFFFF";
|
|
243
287
|
};
|
|
288
|
+
readonly Coral: {
|
|
289
|
+
readonly background: "#1F1F1F";
|
|
290
|
+
readonly foreground: "#FAFAFA";
|
|
291
|
+
readonly card: "#1A1A1A";
|
|
292
|
+
readonly "card-foreground": "#FAFAFA";
|
|
293
|
+
readonly popover: "#1A1A1A";
|
|
294
|
+
readonly "popover-foreground": "#FAFAFA";
|
|
295
|
+
readonly primary: "#FF7F50";
|
|
296
|
+
readonly "primary-hover": "#F2A88C";
|
|
297
|
+
readonly "primary-foreground": "#391D13";
|
|
298
|
+
readonly secondary: "#FAFAFA";
|
|
299
|
+
readonly "secondary-foreground": "#0F0F0F";
|
|
300
|
+
readonly muted: "#262626";
|
|
301
|
+
readonly "muted-foreground": "#A3A3A3";
|
|
302
|
+
readonly accent: "#4C281A";
|
|
303
|
+
readonly "accent-foreground": "#F2E0D9";
|
|
304
|
+
readonly destructive: "#FF6B6B";
|
|
305
|
+
readonly "destructive-foreground": "#1A1515";
|
|
306
|
+
readonly border: "#000000";
|
|
307
|
+
readonly input: "#202426";
|
|
308
|
+
readonly ring: "#FC9169";
|
|
309
|
+
readonly "shadow-color": "#3D3D3D";
|
|
310
|
+
readonly sidebar: "#1F1F1F";
|
|
311
|
+
readonly "sidebar-foreground": "#FAFAFA";
|
|
312
|
+
readonly "sidebar-primary": "#FF7F50";
|
|
313
|
+
readonly "sidebar-primary-foreground": "#391D13";
|
|
314
|
+
readonly "sidebar-accent": "#4C281A";
|
|
315
|
+
readonly "sidebar-accent-foreground": "#F2E0D9";
|
|
316
|
+
readonly "sidebar-border": "#000000";
|
|
317
|
+
readonly "sidebar-ring": "#FC9169";
|
|
318
|
+
readonly surface: "#1A1A1A";
|
|
319
|
+
readonly "surface-foreground": "#FAFAFA";
|
|
320
|
+
readonly code: "#262626";
|
|
321
|
+
readonly "code-foreground": "#FAFAFA";
|
|
322
|
+
readonly selection: "#FF7F50";
|
|
323
|
+
readonly "selection-foreground": "#391D13";
|
|
324
|
+
readonly "decor-accent": "#29130A";
|
|
325
|
+
readonly "decor-ink": "#000000";
|
|
326
|
+
readonly "decor-paper": "#FFFFFF";
|
|
327
|
+
readonly "background-color": "#00000080";
|
|
328
|
+
readonly "semantic-background": "#272625";
|
|
329
|
+
readonly "semantic-border": "#515253";
|
|
330
|
+
readonly "semantic-foreground": "#FFFFFF";
|
|
331
|
+
};
|
|
244
332
|
};
|
|
245
333
|
};
|
|
246
334
|
readonly fontSize: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"design-tokens.generated.d.ts","sourceRoot":"","sources":["../../../src/theme/design-tokens.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;;;;;CAK1B,CAAC;AAEX,eAAO,MAAM,YAAY
|
|
1
|
+
{"version":3,"file":"design-tokens.generated.d.ts","sourceRoot":"","sources":["../../../src/theme/design-tokens.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,uBAAuB;;;;;CAK1B,CAAC;AAEX,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAucf,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type PropsWithChildren } from 'react';
|
|
2
|
+
import { type ThemeMode, type ThemeVariant } from './theme.js';
|
|
3
|
+
export type NativeWindThemeProviderProps = PropsWithChildren<{
|
|
4
|
+
mode: ThemeMode;
|
|
5
|
+
variant?: ThemeVariant;
|
|
6
|
+
}>;
|
|
7
|
+
export declare function NativeWindThemeProvider({ children, mode, variant, }: NativeWindThemeProviderProps): import("react").JSX.Element;
|
|
8
|
+
//# sourceMappingURL=nativewind-theme-provider.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nativewind-theme-provider.d.ts","sourceRoot":"","sources":["../../../src/theme/nativewind-theme-provider.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,KAAK,iBAAiB,EAAE,MAAM,OAAO,CAAC;AAG/C,OAAO,EAEL,KAAK,SAAS,EACd,KAAK,YAAY,EAClB,MAAM,YAAS,CAAC;AAGjB,MAAM,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;IAC3D,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB,CAAC,CAAC;AAEH,wBAAgB,uBAAuB,CAAC,EACtC,QAAQ,EACR,IAAI,EACJ,OAAgB,GACjB,EAAE,4BAA4B,+BAM9B"}
|
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
export declare const nativeWindTokenVariables: {
|
|
2
|
+
readonly blue: {
|
|
3
|
+
readonly light: {
|
|
4
|
+
readonly "--accent": "201.11 100% 89.41%";
|
|
5
|
+
readonly "--accent-foreground": "202.17 79.31% 11.37%";
|
|
6
|
+
readonly "--background": "0 0% 100%";
|
|
7
|
+
readonly "--background-color": "0 0% 0% / 50.2%";
|
|
8
|
+
readonly "--border": "0 0% 0%";
|
|
9
|
+
readonly "--card": "0 0% 95.29%";
|
|
10
|
+
readonly "--card-foreground": "0 0% 3.92%";
|
|
11
|
+
readonly "--code": "0 0% 94.9%";
|
|
12
|
+
readonly "--code-foreground": "0 0% 3.92%";
|
|
13
|
+
readonly "--decor-accent": "199.84 100% 50.2%";
|
|
14
|
+
readonly "--decor-ink": "0 0% 0%";
|
|
15
|
+
readonly "--decor-paper": "0 0% 100%";
|
|
16
|
+
readonly "--destructive": "355.49 77.58% 56.27%";
|
|
17
|
+
readonly "--destructive-foreground": "0 0% 100%";
|
|
18
|
+
readonly "--foreground": "0 0% 3.92%";
|
|
19
|
+
readonly "--input": "0 0% 100%";
|
|
20
|
+
readonly "--muted": "0 0% 94.9%";
|
|
21
|
+
readonly "--muted-foreground": "0 0% 36.08%";
|
|
22
|
+
readonly "--popover": "0 0% 98.04%";
|
|
23
|
+
readonly "--popover-foreground": "0 0% 3.92%";
|
|
24
|
+
readonly "--primary": "199.84 100% 50.2%";
|
|
25
|
+
readonly "--primary-foreground": "0 0% 0%";
|
|
26
|
+
readonly "--primary-hover": "200.98 79.89% 64.9%";
|
|
27
|
+
readonly "--ring": "199.84 100% 50.2%";
|
|
28
|
+
readonly "--secondary": "0 0% 3.92%";
|
|
29
|
+
readonly "--secondary-foreground": "0 0% 100%";
|
|
30
|
+
readonly "--selection": "199.84 100% 50.2%";
|
|
31
|
+
readonly "--selection-foreground": "0 0% 0%";
|
|
32
|
+
readonly "--semantic-background": "0 0% 55.29%";
|
|
33
|
+
readonly "--semantic-border": "0 0.45% 56.27%";
|
|
34
|
+
readonly "--semantic-foreground": "0 0% 100%";
|
|
35
|
+
readonly "--shadow-color": "0 0% 4.31%";
|
|
36
|
+
readonly "--sidebar": "0 0% 100%";
|
|
37
|
+
readonly "--sidebar-accent": "201.11 100% 89.41%";
|
|
38
|
+
readonly "--sidebar-accent-foreground": "202.17 79.31% 11.37%";
|
|
39
|
+
readonly "--sidebar-border": "0 0% 0%";
|
|
40
|
+
readonly "--sidebar-foreground": "0 0% 3.92%";
|
|
41
|
+
readonly "--sidebar-primary": "199.84 100% 50.2%";
|
|
42
|
+
readonly "--sidebar-primary-foreground": "0 0% 0%";
|
|
43
|
+
readonly "--sidebar-ring": "199.84 100% 50.2%";
|
|
44
|
+
readonly "--surface": "0 0% 95.29%";
|
|
45
|
+
readonly "--surface-foreground": "0 0% 3.92%";
|
|
46
|
+
readonly "--success": "142.09 70.56% 45.29%";
|
|
47
|
+
readonly "--success-foreground": "0 0% 3.92%";
|
|
48
|
+
readonly "--color-success-100": "140.63 84.21% 92.55%";
|
|
49
|
+
readonly "--color-success-200": "141 78.95% 85.1%";
|
|
50
|
+
readonly "--color-success-300": "141.71 76.64% 73.14%";
|
|
51
|
+
readonly "--color-success-400": "141.89 69.16% 58.04%";
|
|
52
|
+
readonly "--color-success-500": "142.09 70.56% 45.29%";
|
|
53
|
+
readonly "--info": "217.22 91.22% 59.8%";
|
|
54
|
+
readonly "--info-foreground": "0 0% 3.92%";
|
|
55
|
+
readonly "--color-info-100": "214.29 94.59% 92.75%";
|
|
56
|
+
readonly "--color-info-200": "213.33 96.92% 87.25%";
|
|
57
|
+
readonly "--color-info-300": "211.7 96.36% 78.43%";
|
|
58
|
+
readonly "--color-info-400": "213.12 93.9% 67.84%";
|
|
59
|
+
readonly "--color-info-500": "217.22 91.22% 59.8%";
|
|
60
|
+
readonly "--warning": "26.39 90.22% 63.92%";
|
|
61
|
+
readonly "--warning-foreground": "0 0% 3.92%";
|
|
62
|
+
readonly "--color-warning-100": "28 100% 97.06%";
|
|
63
|
+
readonly "--color-warning-200": "26.51 100% 91.57%";
|
|
64
|
+
readonly "--color-warning-300": "26.84 100% 85.1%";
|
|
65
|
+
readonly "--color-warning-400": "26.55 100% 77.84%";
|
|
66
|
+
readonly "--color-warning-500": "26.39 90.22% 63.92%";
|
|
67
|
+
readonly "--error": "0 75.25% 60.39%";
|
|
68
|
+
readonly "--error-foreground": "0 75.25% 60.39% / 25.1%";
|
|
69
|
+
readonly "--color-error-100": "0 100% 95.88%";
|
|
70
|
+
readonly "--color-error-200": "0 100% 90.78%";
|
|
71
|
+
readonly "--color-error-300": "0 100% 82.75%";
|
|
72
|
+
readonly "--color-error-400": "0 90.14% 72.16%";
|
|
73
|
+
readonly "--color-error-500": "0 75.25% 60.39%";
|
|
74
|
+
};
|
|
75
|
+
readonly dark: {
|
|
76
|
+
readonly "--accent": "202.5 64.86% 14.51%";
|
|
77
|
+
readonly "--accent-foreground": "201.11 100% 89.41%";
|
|
78
|
+
readonly "--background": "0 0% 12.16%";
|
|
79
|
+
readonly "--background-color": "0 0% 0% / 50.2%";
|
|
80
|
+
readonly "--border": "0 0% 0%";
|
|
81
|
+
readonly "--card": "0 0% 10.2%";
|
|
82
|
+
readonly "--card-foreground": "0 0% 98.04%";
|
|
83
|
+
readonly "--code": "0 0% 14.9%";
|
|
84
|
+
readonly "--code-foreground": "0 0% 98.04%";
|
|
85
|
+
readonly "--decor-accent": "200.19 46.85% 56.47%";
|
|
86
|
+
readonly "--decor-ink": "0 0% 0%";
|
|
87
|
+
readonly "--decor-paper": "0 0% 100%";
|
|
88
|
+
readonly "--destructive": "0 100% 70.98%";
|
|
89
|
+
readonly "--destructive-foreground": "0 10.64% 9.22%";
|
|
90
|
+
readonly "--foreground": "0 0% 98.04%";
|
|
91
|
+
readonly "--input": "200 8.57% 13.73%";
|
|
92
|
+
readonly "--muted": "0 0% 14.9%";
|
|
93
|
+
readonly "--muted-foreground": "0 0% 63.92%";
|
|
94
|
+
readonly "--popover": "0 0% 10.2%";
|
|
95
|
+
readonly "--popover-foreground": "0 0% 98.04%";
|
|
96
|
+
readonly "--primary": "199.84 100% 50.2%";
|
|
97
|
+
readonly "--primary-foreground": "0 0% 0%";
|
|
98
|
+
readonly "--primary-hover": "200.98 79.89% 64.9%";
|
|
99
|
+
readonly "--ring": "199.89 100% 65.1%";
|
|
100
|
+
readonly "--secondary": "0 0% 98.04%";
|
|
101
|
+
readonly "--secondary-foreground": "0 0% 5.88%";
|
|
102
|
+
readonly "--selection": "199.84 100% 50.2%";
|
|
103
|
+
readonly "--selection-foreground": "0 0% 0%";
|
|
104
|
+
readonly "--semantic-background": "30 2.63% 14.9%";
|
|
105
|
+
readonly "--semantic-border": "210 1.22% 32.16%";
|
|
106
|
+
readonly "--semantic-foreground": "0 0% 100%";
|
|
107
|
+
readonly "--shadow-color": "0 0% 23.92%";
|
|
108
|
+
readonly "--sidebar": "0 0% 12.16%";
|
|
109
|
+
readonly "--sidebar-accent": "202.5 64.86% 14.51%";
|
|
110
|
+
readonly "--sidebar-accent-foreground": "201.11 100% 89.41%";
|
|
111
|
+
readonly "--sidebar-border": "0 0% 0%";
|
|
112
|
+
readonly "--sidebar-foreground": "0 0% 98.04%";
|
|
113
|
+
readonly "--sidebar-primary": "199.84 100% 50.2%";
|
|
114
|
+
readonly "--sidebar-primary-foreground": "0 0% 0%";
|
|
115
|
+
readonly "--sidebar-ring": "199.89 100% 65.1%";
|
|
116
|
+
readonly "--surface": "0 0% 10.2%";
|
|
117
|
+
readonly "--surface-foreground": "0 0% 98.04%";
|
|
118
|
+
readonly "--success": "142.09 70.56% 45.29%";
|
|
119
|
+
readonly "--success-foreground": "0 0% 98.04%";
|
|
120
|
+
readonly "--color-success-100": "140.63 84.21% 92.55%";
|
|
121
|
+
readonly "--color-success-200": "141 78.95% 85.1%";
|
|
122
|
+
readonly "--color-success-300": "141.71 76.64% 73.14%";
|
|
123
|
+
readonly "--color-success-400": "141.89 69.16% 58.04%";
|
|
124
|
+
readonly "--color-success-500": "142.09 70.56% 45.29%";
|
|
125
|
+
readonly "--info": "217.22 91.22% 59.8%";
|
|
126
|
+
readonly "--info-foreground": "0 0% 98.04%";
|
|
127
|
+
readonly "--color-info-100": "214.29 94.59% 92.75%";
|
|
128
|
+
readonly "--color-info-200": "213.33 96.92% 87.25%";
|
|
129
|
+
readonly "--color-info-300": "211.7 96.36% 78.43%";
|
|
130
|
+
readonly "--color-info-400": "213.12 93.9% 67.84%";
|
|
131
|
+
readonly "--color-info-500": "217.22 91.22% 59.8%";
|
|
132
|
+
readonly "--warning": "26.39 90.22% 63.92%";
|
|
133
|
+
readonly "--warning-foreground": "0 0% 98.04%";
|
|
134
|
+
readonly "--color-warning-100": "28 100% 97.06%";
|
|
135
|
+
readonly "--color-warning-200": "26.51 100% 91.57%";
|
|
136
|
+
readonly "--color-warning-300": "26.84 100% 85.1%";
|
|
137
|
+
readonly "--color-warning-400": "26.55 100% 77.84%";
|
|
138
|
+
readonly "--color-warning-500": "26.39 90.22% 63.92%";
|
|
139
|
+
readonly "--error": "0 75.25% 60.39%";
|
|
140
|
+
readonly "--error-foreground": "0 75.25% 60.39% / 25.1%";
|
|
141
|
+
readonly "--color-error-100": "0 100% 95.88%";
|
|
142
|
+
readonly "--color-error-200": "0 100% 90.78%";
|
|
143
|
+
readonly "--color-error-300": "0 100% 82.75%";
|
|
144
|
+
readonly "--color-error-400": "0 90.14% 72.16%";
|
|
145
|
+
readonly "--color-error-500": "0 75.25% 60.39%";
|
|
146
|
+
};
|
|
147
|
+
};
|
|
148
|
+
readonly coral: {
|
|
149
|
+
readonly light: {
|
|
150
|
+
readonly "--accent": "16.8 49.02% 90%";
|
|
151
|
+
readonly "--accent-foreground": "16.8 49.02% 20%";
|
|
152
|
+
readonly "--background": "0 0% 100%";
|
|
153
|
+
readonly "--background-color": "0 0% 0% / 50.2%";
|
|
154
|
+
readonly "--border": "0 0% 0%";
|
|
155
|
+
readonly "--card": "0 0% 95.29%";
|
|
156
|
+
readonly "--card-foreground": "0 0% 3.92%";
|
|
157
|
+
readonly "--code": "0 0% 94.9%";
|
|
158
|
+
readonly "--code-foreground": "0 0% 3.92%";
|
|
159
|
+
readonly "--decor-accent": "16.11 100% 65.69%";
|
|
160
|
+
readonly "--decor-ink": "0 0% 0%";
|
|
161
|
+
readonly "--decor-paper": "0 0% 100%";
|
|
162
|
+
readonly "--destructive": "355.49 77.58% 56.27%";
|
|
163
|
+
readonly "--destructive-foreground": "0 0% 100%";
|
|
164
|
+
readonly "--foreground": "0 0% 3.92%";
|
|
165
|
+
readonly "--input": "0 0% 100%";
|
|
166
|
+
readonly "--muted": "0 0% 94.9%";
|
|
167
|
+
readonly "--muted-foreground": "0 0% 36.08%";
|
|
168
|
+
readonly "--popover": "0 0% 98.04%";
|
|
169
|
+
readonly "--popover-foreground": "0 0% 3.92%";
|
|
170
|
+
readonly "--primary": "16.11 100% 65.69%";
|
|
171
|
+
readonly "--primary-foreground": "15.79 50% 14.9%";
|
|
172
|
+
readonly "--primary-hover": "16.47 79.69% 74.9%";
|
|
173
|
+
readonly "--ring": "16.14 94.77% 70%";
|
|
174
|
+
readonly "--secondary": "0 0% 3.92%";
|
|
175
|
+
readonly "--secondary-foreground": "0 0% 100%";
|
|
176
|
+
readonly "--selection": "16.11 100% 65.69%";
|
|
177
|
+
readonly "--selection-foreground": "15.79 50% 14.9%";
|
|
178
|
+
readonly "--semantic-background": "0 0% 55.29%";
|
|
179
|
+
readonly "--semantic-border": "0 0.45% 56.27%";
|
|
180
|
+
readonly "--semantic-foreground": "0 0% 100%";
|
|
181
|
+
readonly "--shadow-color": "0 0% 4.31%";
|
|
182
|
+
readonly "--sidebar": "0 0% 100%";
|
|
183
|
+
readonly "--sidebar-accent": "16.8 49.02% 90%";
|
|
184
|
+
readonly "--sidebar-accent-foreground": "16.8 49.02% 20%";
|
|
185
|
+
readonly "--sidebar-border": "0 0% 0%";
|
|
186
|
+
readonly "--sidebar-foreground": "0 0% 3.92%";
|
|
187
|
+
readonly "--sidebar-primary": "16.11 100% 65.69%";
|
|
188
|
+
readonly "--sidebar-primary-foreground": "15.79 50% 14.9%";
|
|
189
|
+
readonly "--sidebar-ring": "16.14 94.77% 70%";
|
|
190
|
+
readonly "--surface": "0 0% 95.29%";
|
|
191
|
+
readonly "--surface-foreground": "0 0% 3.92%";
|
|
192
|
+
readonly "--success": "142.09 70.56% 45.29%";
|
|
193
|
+
readonly "--success-foreground": "0 0% 3.92%";
|
|
194
|
+
readonly "--color-success-100": "140.63 84.21% 92.55%";
|
|
195
|
+
readonly "--color-success-200": "141 78.95% 85.1%";
|
|
196
|
+
readonly "--color-success-300": "141.71 76.64% 73.14%";
|
|
197
|
+
readonly "--color-success-400": "141.89 69.16% 58.04%";
|
|
198
|
+
readonly "--color-success-500": "142.09 70.56% 45.29%";
|
|
199
|
+
readonly "--info": "217.22 91.22% 59.8%";
|
|
200
|
+
readonly "--info-foreground": "0 0% 3.92%";
|
|
201
|
+
readonly "--color-info-100": "214.29 94.59% 92.75%";
|
|
202
|
+
readonly "--color-info-200": "213.33 96.92% 87.25%";
|
|
203
|
+
readonly "--color-info-300": "211.7 96.36% 78.43%";
|
|
204
|
+
readonly "--color-info-400": "213.12 93.9% 67.84%";
|
|
205
|
+
readonly "--color-info-500": "217.22 91.22% 59.8%";
|
|
206
|
+
readonly "--warning": "26.39 90.22% 63.92%";
|
|
207
|
+
readonly "--warning-foreground": "0 0% 3.92%";
|
|
208
|
+
readonly "--color-warning-100": "28 100% 97.06%";
|
|
209
|
+
readonly "--color-warning-200": "26.51 100% 91.57%";
|
|
210
|
+
readonly "--color-warning-300": "26.84 100% 85.1%";
|
|
211
|
+
readonly "--color-warning-400": "26.55 100% 77.84%";
|
|
212
|
+
readonly "--color-warning-500": "26.39 90.22% 63.92%";
|
|
213
|
+
readonly "--error": "0 75.25% 60.39%";
|
|
214
|
+
readonly "--error-foreground": "0 75.25% 60.39% / 25.1%";
|
|
215
|
+
readonly "--color-error-100": "0 100% 95.88%";
|
|
216
|
+
readonly "--color-error-200": "0 100% 90.78%";
|
|
217
|
+
readonly "--color-error-300": "0 100% 82.75%";
|
|
218
|
+
readonly "--color-error-400": "0 90.14% 72.16%";
|
|
219
|
+
readonly "--color-error-500": "0 75.25% 60.39%";
|
|
220
|
+
};
|
|
221
|
+
readonly dark: {
|
|
222
|
+
readonly "--accent": "16.8 49.02% 20%";
|
|
223
|
+
readonly "--accent-foreground": "16.8 49.02% 90%";
|
|
224
|
+
readonly "--background": "0 0% 12.16%";
|
|
225
|
+
readonly "--background-color": "0 0% 0% / 50.2%";
|
|
226
|
+
readonly "--border": "0 0% 0%";
|
|
227
|
+
readonly "--card": "0 0% 10.2%";
|
|
228
|
+
readonly "--card-foreground": "0 0% 98.04%";
|
|
229
|
+
readonly "--code": "0 0% 14.9%";
|
|
230
|
+
readonly "--code-foreground": "0 0% 98.04%";
|
|
231
|
+
readonly "--decor-accent": "17.42 60.78% 10%";
|
|
232
|
+
readonly "--decor-ink": "0 0% 0%";
|
|
233
|
+
readonly "--decor-paper": "0 0% 100%";
|
|
234
|
+
readonly "--destructive": "0 100% 70.98%";
|
|
235
|
+
readonly "--destructive-foreground": "0 10.64% 9.22%";
|
|
236
|
+
readonly "--foreground": "0 0% 98.04%";
|
|
237
|
+
readonly "--input": "200 8.57% 13.73%";
|
|
238
|
+
readonly "--muted": "0 0% 14.9%";
|
|
239
|
+
readonly "--muted-foreground": "0 0% 63.92%";
|
|
240
|
+
readonly "--popover": "0 0% 10.2%";
|
|
241
|
+
readonly "--popover-foreground": "0 0% 98.04%";
|
|
242
|
+
readonly "--primary": "16.11 100% 65.69%";
|
|
243
|
+
readonly "--primary-foreground": "15.79 50% 14.9%";
|
|
244
|
+
readonly "--primary-hover": "16.47 79.69% 74.9%";
|
|
245
|
+
readonly "--ring": "16.33 96.08% 70%";
|
|
246
|
+
readonly "--secondary": "0 0% 98.04%";
|
|
247
|
+
readonly "--secondary-foreground": "0 0% 5.88%";
|
|
248
|
+
readonly "--selection": "16.11 100% 65.69%";
|
|
249
|
+
readonly "--selection-foreground": "15.79 50% 14.9%";
|
|
250
|
+
readonly "--semantic-background": "30 2.63% 14.9%";
|
|
251
|
+
readonly "--semantic-border": "210 1.22% 32.16%";
|
|
252
|
+
readonly "--semantic-foreground": "0 0% 100%";
|
|
253
|
+
readonly "--shadow-color": "0 0% 23.92%";
|
|
254
|
+
readonly "--sidebar": "0 0% 12.16%";
|
|
255
|
+
readonly "--sidebar-accent": "16.8 49.02% 20%";
|
|
256
|
+
readonly "--sidebar-accent-foreground": "16.8 49.02% 90%";
|
|
257
|
+
readonly "--sidebar-border": "0 0% 0%";
|
|
258
|
+
readonly "--sidebar-foreground": "0 0% 98.04%";
|
|
259
|
+
readonly "--sidebar-primary": "16.11 100% 65.69%";
|
|
260
|
+
readonly "--sidebar-primary-foreground": "15.79 50% 14.9%";
|
|
261
|
+
readonly "--sidebar-ring": "16.33 96.08% 70%";
|
|
262
|
+
readonly "--surface": "0 0% 10.2%";
|
|
263
|
+
readonly "--surface-foreground": "0 0% 98.04%";
|
|
264
|
+
readonly "--success": "142.09 70.56% 45.29%";
|
|
265
|
+
readonly "--success-foreground": "0 0% 98.04%";
|
|
266
|
+
readonly "--color-success-100": "140.63 84.21% 92.55%";
|
|
267
|
+
readonly "--color-success-200": "141 78.95% 85.1%";
|
|
268
|
+
readonly "--color-success-300": "141.71 76.64% 73.14%";
|
|
269
|
+
readonly "--color-success-400": "141.89 69.16% 58.04%";
|
|
270
|
+
readonly "--color-success-500": "142.09 70.56% 45.29%";
|
|
271
|
+
readonly "--info": "217.22 91.22% 59.8%";
|
|
272
|
+
readonly "--info-foreground": "0 0% 98.04%";
|
|
273
|
+
readonly "--color-info-100": "214.29 94.59% 92.75%";
|
|
274
|
+
readonly "--color-info-200": "213.33 96.92% 87.25%";
|
|
275
|
+
readonly "--color-info-300": "211.7 96.36% 78.43%";
|
|
276
|
+
readonly "--color-info-400": "213.12 93.9% 67.84%";
|
|
277
|
+
readonly "--color-info-500": "217.22 91.22% 59.8%";
|
|
278
|
+
readonly "--warning": "26.39 90.22% 63.92%";
|
|
279
|
+
readonly "--warning-foreground": "0 0% 98.04%";
|
|
280
|
+
readonly "--color-warning-100": "28 100% 97.06%";
|
|
281
|
+
readonly "--color-warning-200": "26.51 100% 91.57%";
|
|
282
|
+
readonly "--color-warning-300": "26.84 100% 85.1%";
|
|
283
|
+
readonly "--color-warning-400": "26.55 100% 77.84%";
|
|
284
|
+
readonly "--color-warning-500": "26.39 90.22% 63.92%";
|
|
285
|
+
readonly "--error": "0 75.25% 60.39%";
|
|
286
|
+
readonly "--error-foreground": "0 75.25% 60.39% / 25.1%";
|
|
287
|
+
readonly "--color-error-100": "0 100% 95.88%";
|
|
288
|
+
readonly "--color-error-200": "0 100% 90.78%";
|
|
289
|
+
readonly "--color-error-300": "0 100% 82.75%";
|
|
290
|
+
readonly "--color-error-400": "0 90.14% 72.16%";
|
|
291
|
+
readonly "--color-error-500": "0 75.25% 60.39%";
|
|
292
|
+
};
|
|
293
|
+
};
|
|
294
|
+
};
|
|
295
|
+
//# sourceMappingURL=nativewind-tokens.generated.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"nativewind-tokens.generated.d.ts","sourceRoot":"","sources":["../../../src/theme/nativewind-tokens.generated.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAqS3B,CAAC"}
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { type PropsWithChildren } from 'react';
|
|
2
|
-
import { type Theme, type ThemeMode } from './theme.js';
|
|
2
|
+
import { type Theme, type ThemeMode, type ThemeVariant } from './theme.js';
|
|
3
3
|
export type ThemeProviderProps = PropsWithChildren<{
|
|
4
4
|
mode: ThemeMode;
|
|
5
|
+
variant?: ThemeVariant;
|
|
5
6
|
}>;
|
|
6
|
-
export declare function ThemeProvider({ children, mode }: ThemeProviderProps): import("react").JSX.Element;
|
|
7
|
+
export declare function ThemeProvider({ children, mode, variant }: ThemeProviderProps): import("react").JSX.Element;
|
|
7
8
|
export declare function useTheme(): Theme;
|
|
8
9
|
//# sourceMappingURL=theme-provider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../src/theme/theme-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,OAAO,CAAC;AAEf,OAAO,
|
|
1
|
+
{"version":3,"file":"theme-provider.d.ts","sourceRoot":"","sources":["../../../src/theme/theme-provider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,KAAK,iBAAiB,EACvB,MAAM,OAAO,CAAC;AAEf,OAAO,EAGL,KAAK,KAAK,EACV,KAAK,SAAS,EACd,KAAK,YAAY,EAClB,MAAM,YAAS,CAAC;AAIjB,MAAM,MAAM,kBAAkB,GAAG,iBAAiB,CAAC;IACjD,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,CAAC,EAAE,YAAY,CAAC;CACxB,CAAC,CAAC;AAEH,wBAAgB,aAAa,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAgB,EAAE,EAAE,kBAAkB,+BAMrF;AAED,wBAAgB,QAAQ,IAAI,KAAK,CAEhC"}
|