@fastwork/xosmoz-theme 0.40.0 → 0.42.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/dist/index.d.ts CHANGED
@@ -1,69 +1,82 @@
1
- import { C as ColorToken } from './index-BTIknlZD.js';
2
- export { B as BodyTokens, i as BorderRadius, F as FontWeights, H as HeadingTokens, j as Shadows, h as SpacingScale, S as SubtitleTokens, k as Theme, T as ThemeColors, g as TitleTokens, d as TypographyScale, e as TypographyToken, c as font, b as fontFamily, f as fontSize, a as fontWeight, l as lineHeight, t as typography } from './index-BTIknlZD.js';
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
- soft: {
10
- 100: string;
11
- 200: string;
12
- 300: string;
13
- };
14
- line: {
15
- 100: string;
16
- 200: string;
17
- 300: string;
18
- };
19
- bg: {
20
- 100: string;
21
- 200: string;
22
- };
23
- fg: {
24
- 50: string;
25
- 100: string;
26
- 200: string;
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
- name: string;
31
- colors: {
32
- bg: {
33
- 100: string;
34
- 200: string;
35
- 300: string;
36
- 400: string;
37
- };
38
- fg: {
39
- 100: string;
40
- 200: string;
41
- 300: string;
42
- };
43
- line: {
44
- 100: string;
45
- 200: string;
46
- 300: string;
47
- };
48
- primary: ThemeColorShape;
49
- danger: ThemeColorShape;
50
- success: ThemeColorShape;
51
- warning: ThemeColorShape;
52
- info: ThemeColorShape;
53
- neutral: ThemeColorShape;
54
- fastwork: ColorToken;
55
- gray: ColorToken;
56
- green: ColorToken;
57
- mint: ColorToken;
58
- amber: ColorToken;
59
- red: ColorToken;
60
- orange: ColorToken;
61
- purple: ColorToken;
62
- cyan: ColorToken;
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