@fastwork/xosmoz-theme 0.72.1 → 0.72.2

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.
Binary file
@@ -2,154 +2,154 @@
2
2
  * Theme type definitions
3
3
  */
4
4
  interface ColorToken {
5
- value: string
5
+ value: string;
6
6
  }
7
7
  interface TypographyScale {
8
- 50: string
9
- 100: string
10
- 200: string
11
- 300: string
12
- 400: string
13
- 500: string
14
- 600: string
15
- 700: string
16
- 800: string
17
- 900: string
18
- 1000: string
19
- 1100: string
20
- 1200: string
21
- 1300: string
22
- 1400: string
23
- 1500: string
24
- 1600: string
8
+ 50: string;
9
+ 100: string;
10
+ 200: string;
11
+ 300: string;
12
+ 400: string;
13
+ 500: string;
14
+ 600: string;
15
+ 700: string;
16
+ 800: string;
17
+ 900: string;
18
+ 1000: string;
19
+ 1100: string;
20
+ 1200: string;
21
+ 1300: string;
22
+ 1400: string;
23
+ 1500: string;
24
+ 1600: string;
25
25
  }
26
26
  interface FontWeights {
27
- 100: number
28
- 200: number
29
- 300: number
30
- 400: number
31
- 500: number
32
- 600: number
33
- 700: number
34
- 800: number
35
- 900: number
27
+ 100: number;
28
+ 200: number;
29
+ 300: number;
30
+ 400: number;
31
+ 500: number;
32
+ 600: number;
33
+ 700: number;
34
+ 800: number;
35
+ 900: number;
36
36
  }
37
37
  interface TypographyToken {
38
- fontFamily: string
39
- fontSize: {
40
- desktop: string
41
- mobile: string
42
- }
43
- fontWeight: number
44
- lineHeight: string
38
+ fontFamily: string;
39
+ fontSize: {
40
+ desktop: string;
41
+ mobile: string;
42
+ };
43
+ fontWeight: number;
44
+ lineHeight: string;
45
45
  }
46
46
  interface HeadingTokens {
47
- heading1: TypographyToken
48
- heading2: TypographyToken
49
- heading3: TypographyToken
50
- heading4: TypographyToken
51
- heading5: TypographyToken
52
- heading6: TypographyToken
47
+ heading1: TypographyToken;
48
+ heading2: TypographyToken;
49
+ heading3: TypographyToken;
50
+ heading4: TypographyToken;
51
+ heading5: TypographyToken;
52
+ heading6: TypographyToken;
53
53
  }
54
54
  interface TitleTokens {
55
- title1: TypographyToken
56
- title2: TypographyToken
57
- title3: TypographyToken
58
- title4: TypographyToken
55
+ title1: TypographyToken;
56
+ title2: TypographyToken;
57
+ title3: TypographyToken;
58
+ title4: TypographyToken;
59
59
  }
60
60
  interface SubtitleTokens {
61
- subtitle1Bold: TypographyToken
62
- subtitle1Regular: TypographyToken
63
- subtitle2Bold: TypographyToken
64
- subtitle2Regular: TypographyToken
65
- subtitle3Bold: TypographyToken
66
- subtitle3Regular: TypographyToken
61
+ subtitle1Bold: TypographyToken;
62
+ subtitle1Regular: TypographyToken;
63
+ subtitle2Bold: TypographyToken;
64
+ subtitle2Regular: TypographyToken;
65
+ subtitle3Bold: TypographyToken;
66
+ subtitle3Regular: TypographyToken;
67
67
  }
68
68
  interface BodyTokens {
69
- body1: TypographyToken
70
- body2: TypographyToken
71
- body3: TypographyToken
72
- body4: TypographyToken
69
+ body1: TypographyToken;
70
+ body2: TypographyToken;
71
+ body3: TypographyToken;
72
+ body4: TypographyToken;
73
73
  }
74
74
  interface SpacingScale {
75
- 0: string
76
- px: string
77
- 0.5: string
78
- 1: string
79
- 1.5: string
80
- 2: string
81
- 2.5: string
82
- 3: string
83
- 3.5: string
84
- 4: string
85
- 5: string
86
- 6: string
87
- 7: string
88
- 8: string
89
- 9: string
90
- 10: string
91
- 11: string
92
- 12: string
93
- 14: string
94
- 16: string
95
- 20: string
96
- 24: string
97
- 28: string
98
- 32: string
99
- 36: string
100
- 40: string
101
- 44: string
102
- 48: string
103
- 52: string
104
- 56: string
105
- 60: string
106
- 64: string
107
- 72: string
108
- 80: string
109
- 96: string
75
+ 0: string;
76
+ px: string;
77
+ 0.5: string;
78
+ 1: string;
79
+ 1.5: string;
80
+ 2: string;
81
+ 2.5: string;
82
+ 3: string;
83
+ 3.5: string;
84
+ 4: string;
85
+ 5: string;
86
+ 6: string;
87
+ 7: string;
88
+ 8: string;
89
+ 9: string;
90
+ 10: string;
91
+ 11: string;
92
+ 12: string;
93
+ 14: string;
94
+ 16: string;
95
+ 20: string;
96
+ 24: string;
97
+ 28: string;
98
+ 32: string;
99
+ 36: string;
100
+ 40: string;
101
+ 44: string;
102
+ 48: string;
103
+ 52: string;
104
+ 56: string;
105
+ 60: string;
106
+ 64: string;
107
+ 72: string;
108
+ 80: string;
109
+ 96: string;
110
110
  }
111
111
  interface BorderRadius {
112
- none: string
113
- sm: string
114
- base: string
115
- md: string
116
- lg: string
117
- xl: string
118
- '2xl': string
119
- '3xl': string
120
- full: string
112
+ none: string;
113
+ sm: string;
114
+ base: string;
115
+ md: string;
116
+ lg: string;
117
+ xl: string;
118
+ '2xl': string;
119
+ '3xl': string;
120
+ full: string;
121
121
  }
122
122
  interface Shadows {
123
- 100: string
124
- 200: string
125
- 300: string
126
- 400: string
123
+ 100: string;
124
+ 200: string;
125
+ 300: string;
126
+ 400: string;
127
127
  }
128
128
  interface Theme {
129
- colors: Record<string, ColorToken>
130
- typography: {
131
- fontSize: TypographyScale
132
- fontWeight: FontWeights
133
- fontFamily: {
134
- primary: string
135
- secondary: string
136
- }
137
- lineHeight: {
138
- '100pct': string
139
- '125pct': string
140
- '135pct': string
141
- '150pct': string
142
- '165pct': string
143
- '200pct': string
144
- }
145
- headings: HeadingTokens
146
- titles: TitleTokens
147
- subtitles: SubtitleTokens
148
- body: BodyTokens
149
- }
150
- spacing: SpacingScale
151
- borderRadius: BorderRadius
152
- shadows: Shadows
129
+ colors: Record<string, ColorToken>;
130
+ typography: {
131
+ fontSize: TypographyScale;
132
+ fontWeight: FontWeights;
133
+ fontFamily: {
134
+ primary: string;
135
+ secondary: string;
136
+ };
137
+ lineHeight: {
138
+ '100pct': string;
139
+ '125pct': string;
140
+ '135pct': string;
141
+ '150pct': string;
142
+ '165pct': string;
143
+ '200pct': string;
144
+ };
145
+ headings: HeadingTokens;
146
+ titles: TitleTokens;
147
+ subtitles: SubtitleTokens;
148
+ body: BodyTokens;
149
+ };
150
+ spacing: SpacingScale;
151
+ borderRadius: BorderRadius;
152
+ shadows: Shadows;
153
153
  }
154
154
 
155
155
  declare const fontSize: TypographyScale;
@@ -2,154 +2,154 @@
2
2
  * Theme type definitions
3
3
  */
4
4
  interface ColorToken {
5
- value: string
5
+ value: string;
6
6
  }
7
7
  interface TypographyScale {
8
- 50: string
9
- 100: string
10
- 200: string
11
- 300: string
12
- 400: string
13
- 500: string
14
- 600: string
15
- 700: string
16
- 800: string
17
- 900: string
18
- 1000: string
19
- 1100: string
20
- 1200: string
21
- 1300: string
22
- 1400: string
23
- 1500: string
24
- 1600: string
8
+ 50: string;
9
+ 100: string;
10
+ 200: string;
11
+ 300: string;
12
+ 400: string;
13
+ 500: string;
14
+ 600: string;
15
+ 700: string;
16
+ 800: string;
17
+ 900: string;
18
+ 1000: string;
19
+ 1100: string;
20
+ 1200: string;
21
+ 1300: string;
22
+ 1400: string;
23
+ 1500: string;
24
+ 1600: string;
25
25
  }
26
26
  interface FontWeights {
27
- 100: number
28
- 200: number
29
- 300: number
30
- 400: number
31
- 500: number
32
- 600: number
33
- 700: number
34
- 800: number
35
- 900: number
27
+ 100: number;
28
+ 200: number;
29
+ 300: number;
30
+ 400: number;
31
+ 500: number;
32
+ 600: number;
33
+ 700: number;
34
+ 800: number;
35
+ 900: number;
36
36
  }
37
37
  interface TypographyToken {
38
- fontFamily: string
39
- fontSize: {
40
- desktop: string
41
- mobile: string
42
- }
43
- fontWeight: number
44
- lineHeight: string
38
+ fontFamily: string;
39
+ fontSize: {
40
+ desktop: string;
41
+ mobile: string;
42
+ };
43
+ fontWeight: number;
44
+ lineHeight: string;
45
45
  }
46
46
  interface HeadingTokens {
47
- heading1: TypographyToken
48
- heading2: TypographyToken
49
- heading3: TypographyToken
50
- heading4: TypographyToken
51
- heading5: TypographyToken
52
- heading6: TypographyToken
47
+ heading1: TypographyToken;
48
+ heading2: TypographyToken;
49
+ heading3: TypographyToken;
50
+ heading4: TypographyToken;
51
+ heading5: TypographyToken;
52
+ heading6: TypographyToken;
53
53
  }
54
54
  interface TitleTokens {
55
- title1: TypographyToken
56
- title2: TypographyToken
57
- title3: TypographyToken
58
- title4: TypographyToken
55
+ title1: TypographyToken;
56
+ title2: TypographyToken;
57
+ title3: TypographyToken;
58
+ title4: TypographyToken;
59
59
  }
60
60
  interface SubtitleTokens {
61
- subtitle1Bold: TypographyToken
62
- subtitle1Regular: TypographyToken
63
- subtitle2Bold: TypographyToken
64
- subtitle2Regular: TypographyToken
65
- subtitle3Bold: TypographyToken
66
- subtitle3Regular: TypographyToken
61
+ subtitle1Bold: TypographyToken;
62
+ subtitle1Regular: TypographyToken;
63
+ subtitle2Bold: TypographyToken;
64
+ subtitle2Regular: TypographyToken;
65
+ subtitle3Bold: TypographyToken;
66
+ subtitle3Regular: TypographyToken;
67
67
  }
68
68
  interface BodyTokens {
69
- body1: TypographyToken
70
- body2: TypographyToken
71
- body3: TypographyToken
72
- body4: TypographyToken
69
+ body1: TypographyToken;
70
+ body2: TypographyToken;
71
+ body3: TypographyToken;
72
+ body4: TypographyToken;
73
73
  }
74
74
  interface SpacingScale {
75
- 0: string
76
- px: string
77
- 0.5: string
78
- 1: string
79
- 1.5: string
80
- 2: string
81
- 2.5: string
82
- 3: string
83
- 3.5: string
84
- 4: string
85
- 5: string
86
- 6: string
87
- 7: string
88
- 8: string
89
- 9: string
90
- 10: string
91
- 11: string
92
- 12: string
93
- 14: string
94
- 16: string
95
- 20: string
96
- 24: string
97
- 28: string
98
- 32: string
99
- 36: string
100
- 40: string
101
- 44: string
102
- 48: string
103
- 52: string
104
- 56: string
105
- 60: string
106
- 64: string
107
- 72: string
108
- 80: string
109
- 96: string
75
+ 0: string;
76
+ px: string;
77
+ 0.5: string;
78
+ 1: string;
79
+ 1.5: string;
80
+ 2: string;
81
+ 2.5: string;
82
+ 3: string;
83
+ 3.5: string;
84
+ 4: string;
85
+ 5: string;
86
+ 6: string;
87
+ 7: string;
88
+ 8: string;
89
+ 9: string;
90
+ 10: string;
91
+ 11: string;
92
+ 12: string;
93
+ 14: string;
94
+ 16: string;
95
+ 20: string;
96
+ 24: string;
97
+ 28: string;
98
+ 32: string;
99
+ 36: string;
100
+ 40: string;
101
+ 44: string;
102
+ 48: string;
103
+ 52: string;
104
+ 56: string;
105
+ 60: string;
106
+ 64: string;
107
+ 72: string;
108
+ 80: string;
109
+ 96: string;
110
110
  }
111
111
  interface BorderRadius {
112
- none: string
113
- sm: string
114
- base: string
115
- md: string
116
- lg: string
117
- xl: string
118
- '2xl': string
119
- '3xl': string
120
- full: string
112
+ none: string;
113
+ sm: string;
114
+ base: string;
115
+ md: string;
116
+ lg: string;
117
+ xl: string;
118
+ '2xl': string;
119
+ '3xl': string;
120
+ full: string;
121
121
  }
122
122
  interface Shadows {
123
- 100: string
124
- 200: string
125
- 300: string
126
- 400: string
123
+ 100: string;
124
+ 200: string;
125
+ 300: string;
126
+ 400: string;
127
127
  }
128
128
  interface Theme {
129
- colors: Record<string, ColorToken>
130
- typography: {
131
- fontSize: TypographyScale
132
- fontWeight: FontWeights
133
- fontFamily: {
134
- primary: string
135
- secondary: string
136
- }
137
- lineHeight: {
138
- '100pct': string
139
- '125pct': string
140
- '135pct': string
141
- '150pct': string
142
- '165pct': string
143
- '200pct': string
144
- }
145
- headings: HeadingTokens
146
- titles: TitleTokens
147
- subtitles: SubtitleTokens
148
- body: BodyTokens
149
- }
150
- spacing: SpacingScale
151
- borderRadius: BorderRadius
152
- shadows: Shadows
129
+ colors: Record<string, ColorToken>;
130
+ typography: {
131
+ fontSize: TypographyScale;
132
+ fontWeight: FontWeights;
133
+ fontFamily: {
134
+ primary: string;
135
+ secondary: string;
136
+ };
137
+ lineHeight: {
138
+ '100pct': string;
139
+ '125pct': string;
140
+ '135pct': string;
141
+ '150pct': string;
142
+ '165pct': string;
143
+ '200pct': string;
144
+ };
145
+ headings: HeadingTokens;
146
+ titles: TitleTokens;
147
+ subtitles: SubtitleTokens;
148
+ body: BodyTokens;
149
+ };
150
+ spacing: SpacingScale;
151
+ borderRadius: BorderRadius;
152
+ shadows: Shadows;
153
153
  }
154
154
 
155
155
  declare const fontSize: TypographyScale;
package/dist/index.d.mts CHANGED
@@ -1,85 +1,98 @@
1
- import { C as ColorToken } from './index-kwy2YQdL.mjs';
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.mjs';
1
+ import { C as ColorToken } from './index-Cr0GqN7q.mjs';
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-Cr0GqN7q.mjs';
3
3
 
4
4
  /**
5
5
  * Theme configuration types
6
6
  */
7
7
 
8
+ type AlphaScale = {
9
+ 100: string;
10
+ 200: string;
11
+ 300: string;
12
+ 400: string;
13
+ 500: string;
14
+ 600: string;
15
+ 700: string;
16
+ 800: string;
17
+ 900: string;
18
+ 1000: string;
19
+ };
8
20
  type ThemeColorShape = {
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
- text: {
23
- fg: string
24
- 100: string
25
- }
26
- }
21
+ soft: {
22
+ 100: string;
23
+ 200: string;
24
+ };
25
+ softSolid: {
26
+ 100: string;
27
+ 200: string;
28
+ };
29
+ line: {
30
+ 100: string;
31
+ 200: string;
32
+ 300: string;
33
+ };
34
+ bg: {
35
+ 100: string;
36
+ 200: string;
37
+ };
38
+ text: {
39
+ fg: string;
40
+ 100: string;
41
+ 200: string;
42
+ };
43
+ };
27
44
  type BoxShadowToken = {
28
- 100: string
29
- 200: string
30
- 300: string
31
- 400: string
32
- }
45
+ 100: string;
46
+ 200: string;
47
+ 300: string;
48
+ 400: string;
49
+ };
33
50
  interface ThemeConfig {
34
- name: string
35
- boxShadows: BoxShadowToken
36
- palette: Record<string, ColorToken>
37
- colors: {
38
- bg: {
39
- 100: string
40
- 200: string
41
- }
42
- surface: {
43
- 50: string
44
- 100: string
45
- 200: string
46
- 300: string
47
- 400: string
48
- }
49
- text: {
50
- fg: string
51
- 100: string
52
- 200: string
53
- 300: string
54
- }
55
- line: {
56
- 100: string
57
- 200: string
58
- 300: string
59
- }
60
- primary: ThemeColorShape
61
- danger: ThemeColorShape
62
- success: ThemeColorShape
63
- warning: ThemeColorShape
64
- info: ThemeColorShape
65
- neutral: ThemeColorShape
66
- orange: ThemeColorShape
67
- purple: ThemeColorShape
68
- }
51
+ name: string;
52
+ boxShadows: BoxShadowToken;
53
+ palette: Record<string, ColorToken>;
54
+ colors: {
55
+ bg: {
56
+ 100: string;
57
+ 200: string;
58
+ };
59
+ surface: {
60
+ 50: string;
61
+ 100: string;
62
+ 200: string;
63
+ 300: string;
64
+ 400: string;
65
+ };
66
+ text: {
67
+ fg: string;
68
+ 100: string;
69
+ 200: string;
70
+ 300: string;
71
+ };
72
+ line: {
73
+ 50: string;
74
+ 100: string;
75
+ 200: string;
76
+ 300: string;
77
+ };
78
+ primary: ThemeColorShape;
79
+ danger: ThemeColorShape;
80
+ success: ThemeColorShape;
81
+ warning: ThemeColorShape;
82
+ info: ThemeColorShape;
83
+ neutral: ThemeColorShape;
84
+ orange: ThemeColorShape;
85
+ purple: ThemeColorShape;
86
+ blackAlpha: AlphaScale;
87
+ whiteAlpha: AlphaScale;
88
+ overlay: AlphaScale;
89
+ };
69
90
  }
70
- type ThemeName = 'light' | 'dark'
71
- type ThemeRegistry = Record<ThemeName, ThemeConfig>
91
+ type ThemeName = 'light' | 'dark';
92
+ type ThemeRegistry = Record<ThemeName, ThemeConfig>;
72
93
 
73
94
  declare const lightTheme: ThemeConfig;
74
95
 
75
- /**
76
- * Dark theme configuration
77
- * Leveraging OKLCH for optimal color management:
78
- * - Uses inverted lightness (1-L) from light theme via CSS relative color syntax
79
- * - Maintains same chroma and hue values for consistency
80
- * - Ensures WCAG AA contrast ratios in dark environments
81
- */
82
-
83
96
  declare const darkTheme: ThemeConfig;
84
97
 
85
98
  /**
package/dist/index.d.ts CHANGED
@@ -1,85 +1,98 @@
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';
1
+ import { C as ColorToken } from './index-Cr0GqN7q.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-Cr0GqN7q.js';
3
3
 
4
4
  /**
5
5
  * Theme configuration types
6
6
  */
7
7
 
8
+ type AlphaScale = {
9
+ 100: string;
10
+ 200: string;
11
+ 300: string;
12
+ 400: string;
13
+ 500: string;
14
+ 600: string;
15
+ 700: string;
16
+ 800: string;
17
+ 900: string;
18
+ 1000: string;
19
+ };
8
20
  type ThemeColorShape = {
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
- text: {
23
- fg: string
24
- 100: string
25
- }
26
- }
21
+ soft: {
22
+ 100: string;
23
+ 200: string;
24
+ };
25
+ softSolid: {
26
+ 100: string;
27
+ 200: string;
28
+ };
29
+ line: {
30
+ 100: string;
31
+ 200: string;
32
+ 300: string;
33
+ };
34
+ bg: {
35
+ 100: string;
36
+ 200: string;
37
+ };
38
+ text: {
39
+ fg: string;
40
+ 100: string;
41
+ 200: string;
42
+ };
43
+ };
27
44
  type BoxShadowToken = {
28
- 100: string
29
- 200: string
30
- 300: string
31
- 400: string
32
- }
45
+ 100: string;
46
+ 200: string;
47
+ 300: string;
48
+ 400: string;
49
+ };
33
50
  interface ThemeConfig {
34
- name: string
35
- boxShadows: BoxShadowToken
36
- palette: Record<string, ColorToken>
37
- colors: {
38
- bg: {
39
- 100: string
40
- 200: string
41
- }
42
- surface: {
43
- 50: string
44
- 100: string
45
- 200: string
46
- 300: string
47
- 400: string
48
- }
49
- text: {
50
- fg: string
51
- 100: string
52
- 200: string
53
- 300: string
54
- }
55
- line: {
56
- 100: string
57
- 200: string
58
- 300: string
59
- }
60
- primary: ThemeColorShape
61
- danger: ThemeColorShape
62
- success: ThemeColorShape
63
- warning: ThemeColorShape
64
- info: ThemeColorShape
65
- neutral: ThemeColorShape
66
- orange: ThemeColorShape
67
- purple: ThemeColorShape
68
- }
51
+ name: string;
52
+ boxShadows: BoxShadowToken;
53
+ palette: Record<string, ColorToken>;
54
+ colors: {
55
+ bg: {
56
+ 100: string;
57
+ 200: string;
58
+ };
59
+ surface: {
60
+ 50: string;
61
+ 100: string;
62
+ 200: string;
63
+ 300: string;
64
+ 400: string;
65
+ };
66
+ text: {
67
+ fg: string;
68
+ 100: string;
69
+ 200: string;
70
+ 300: string;
71
+ };
72
+ line: {
73
+ 50: string;
74
+ 100: string;
75
+ 200: string;
76
+ 300: string;
77
+ };
78
+ primary: ThemeColorShape;
79
+ danger: ThemeColorShape;
80
+ success: ThemeColorShape;
81
+ warning: ThemeColorShape;
82
+ info: ThemeColorShape;
83
+ neutral: ThemeColorShape;
84
+ orange: ThemeColorShape;
85
+ purple: ThemeColorShape;
86
+ blackAlpha: AlphaScale;
87
+ whiteAlpha: AlphaScale;
88
+ overlay: AlphaScale;
89
+ };
69
90
  }
70
- type ThemeName = 'light' | 'dark'
71
- type ThemeRegistry = Record<ThemeName, ThemeConfig>
91
+ type ThemeName = 'light' | 'dark';
92
+ type ThemeRegistry = Record<ThemeName, ThemeConfig>;
72
93
 
73
94
  declare const lightTheme: ThemeConfig;
74
95
 
75
- /**
76
- * Dark theme configuration
77
- * Leveraging OKLCH for optimal color management:
78
- * - Uses inverted lightness (1-L) from light theme via CSS relative color syntax
79
- * - Maintains same chroma and hue values for consistency
80
- * - Ensures WCAG AA contrast ratios in dark environments
81
- */
82
-
83
96
  declare const darkTheme: ThemeConfig;
84
97
 
85
98
  /**
package/dist/tokens.d.mts CHANGED
@@ -1 +1 @@
1
- export { c as font, b as fontFamily, f as fontSize, a as fontWeight, l as lineHeight, t as typography } from './index-kwy2YQdL.mjs';
1
+ export { c as font, b as fontFamily, f as fontSize, a as fontWeight, l as lineHeight, t as typography } from './index-Cr0GqN7q.mjs';
package/dist/tokens.d.ts CHANGED
@@ -1 +1 @@
1
- export { c as font, b as fontFamily, f as fontSize, a as fontWeight, l as lineHeight, t as typography } from './index-kwy2YQdL.js';
1
+ export { c as font, b as fontFamily, f as fontSize, a as fontWeight, l as lineHeight, t as typography } from './index-Cr0GqN7q.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fastwork/xosmoz-theme",
3
- "version": "0.72.1",
3
+ "version": "0.72.2",
4
4
  "description": "Xosmoz Theme - Design tokens and theming system for Xosmoz",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",