@fastwork/xosmoz-theme 0.40.0 → 0.41.0
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 +7 -9
- package/dist/dart/xz_colors.generated.dart +57 -242
- package/dist/figma-plugin.zip +0 -0
- package/dist/figma-tokens/Dark.json +399 -1423
- package/dist/figma-tokens/Light.json +391 -1415
- package/dist/index-kwy2YQdL.d.mts +230 -0
- package/dist/index-kwy2YQdL.d.ts +230 -0
- package/dist/index.d.mts +71 -58
- package/dist/index.d.ts +71 -58
- package/dist/index.js +373 -321
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +373 -321
- package/dist/index.mjs.map +1 -1
- package/dist/themes/dark.css +129 -147
- package/dist/themes/light.css +128 -146
- package/dist/themes.css +257 -293
- package/dist/tokens.d.mts +1 -1
- package/dist/tokens.d.ts +1 -1
- package/package.json +1 -1
- package/dist/index-BTIknlZD.d.mts +0 -250
- package/dist/index-BTIknlZD.d.ts +0 -250
package/dist/index.d.ts
CHANGED
|
@@ -1,69 +1,82 @@
|
|
|
1
|
-
import { C as ColorToken } from './index-
|
|
2
|
-
export { B as BodyTokens,
|
|
1
|
+
import { C as ColorToken } from './index-kwy2YQdL.js';
|
|
2
|
+
export { B as BodyTokens, h as BorderRadius, F as FontWeights, H as HeadingTokens, i as Shadows, g as SpacingScale, S as SubtitleTokens, j as Theme, e as TitleTokens, T as TypographyScale, d as TypographyToken, c as font, b as fontFamily, f as fontSize, a as fontWeight, l as lineHeight, t as typography } from './index-kwy2YQdL.js';
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* Theme configuration types
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
type ThemeColorShape = {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
}
|
|
9
|
+
soft: {
|
|
10
|
+
100: string
|
|
11
|
+
200: string
|
|
12
|
+
}
|
|
13
|
+
line: {
|
|
14
|
+
100: string
|
|
15
|
+
200: string
|
|
16
|
+
300: string
|
|
17
|
+
}
|
|
18
|
+
bg: {
|
|
19
|
+
100: string
|
|
20
|
+
200: string
|
|
21
|
+
}
|
|
22
|
+
fg: {
|
|
23
|
+
100: string
|
|
24
|
+
}
|
|
25
|
+
text: {
|
|
26
|
+
100: string
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
type BoxShadowToken = {
|
|
30
|
+
100: string
|
|
31
|
+
200: string
|
|
32
|
+
300: string
|
|
33
|
+
400: string
|
|
34
|
+
}
|
|
29
35
|
interface ThemeConfig {
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
36
|
+
name: string
|
|
37
|
+
boxShadows: BoxShadowToken
|
|
38
|
+
palette: Record<string, ColorToken>
|
|
39
|
+
colors: {
|
|
40
|
+
bg: {
|
|
41
|
+
100: string
|
|
42
|
+
200: string
|
|
43
|
+
}
|
|
44
|
+
surface: {
|
|
45
|
+
50: string
|
|
46
|
+
100: string
|
|
47
|
+
200: string
|
|
48
|
+
300: string
|
|
49
|
+
400: string
|
|
50
|
+
}
|
|
51
|
+
fg: {
|
|
52
|
+
100: string
|
|
53
|
+
}
|
|
54
|
+
soft: {
|
|
55
|
+
100: string
|
|
56
|
+
200: string
|
|
57
|
+
}
|
|
58
|
+
text: {
|
|
59
|
+
100: string
|
|
60
|
+
200: string
|
|
61
|
+
300: string
|
|
62
|
+
}
|
|
63
|
+
line: {
|
|
64
|
+
100: string
|
|
65
|
+
200: string
|
|
66
|
+
300: string
|
|
67
|
+
}
|
|
68
|
+
primary: ThemeColorShape
|
|
69
|
+
danger: ThemeColorShape
|
|
70
|
+
success: ThemeColorShape
|
|
71
|
+
warning: ThemeColorShape
|
|
72
|
+
info: ThemeColorShape
|
|
73
|
+
neutral: ThemeColorShape
|
|
74
|
+
orange: ThemeColorShape
|
|
75
|
+
purple: ThemeColorShape
|
|
76
|
+
}
|
|
64
77
|
}
|
|
65
|
-
type ThemeName = 'light' | 'dark'
|
|
66
|
-
type ThemeRegistry = Record<ThemeName, ThemeConfig
|
|
78
|
+
type ThemeName = 'light' | 'dark'
|
|
79
|
+
type ThemeRegistry = Record<ThemeName, ThemeConfig>
|
|
67
80
|
|
|
68
81
|
declare const lightTheme: ThemeConfig;
|
|
69
82
|
|