creactive 0.0.91 → 0.0.93

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.
@@ -1,3 +1,7 @@
1
+ /**
2
+ * View border color enumerated constants.
3
+ * Should be used to controle view border color with properties.
4
+ */
1
5
  export declare enum ViewBorderColor {
2
6
  BASE_100 = 0,
3
7
  BASE_200 = 1,
@@ -31,6 +35,10 @@ export declare const ViewBorderColorThemeTokenKey: {
31
35
  7: "colorBorderBase800";
32
36
  8: "colorBorderBase900";
33
37
  };
38
+ /**
39
+ * View themed background color enumerated constants.
40
+ * Allows to pass theme background colors as component property.
41
+ */
34
42
  export declare enum ViewBackgroundColor {
35
43
  BASE_100 = 0,
36
44
  BASE_200 = 1,
@@ -3,5 +3,6 @@ export { ViewBackgroundColor, ViewBackgroundColorStyleSheetKey, ViewBackgroundCo
3
3
  export { ViewAlignContent, ViewAlignItems, ViewAlignSelf, ViewFlexDirection, ViewJustifyContent, } from './flex';
4
4
  export { ViewOverflow } from './overflow';
5
5
  export { ViewPosition } from './position';
6
+ export { ViewBoxShadow } from './shadow';
6
7
  export { ViewMarginBottomThemeStyleSheetKey, ViewMarginLeftThemeStyleSheetKey, ViewMarginRightThemeStyleSheetKey, ViewMarginTopThemeStyleSheetKey, ViewPaddingBottomThemeStyleSheetKey, ViewPaddingLeftThemeStyleSheetKey, ViewPaddingRightThemeStyleSheetKey, ViewPaddingTopThemeStyleSheetKey, ViewSpacing, ViewSpacingThemeTokenKey, } from './spacing';
7
8
  export { ViewHTMLTag, ViewTag } from './tag';
@@ -0,0 +1,9 @@
1
+ /**
2
+ * Supported box shadow enumerated constants.
3
+ * Should be used to control view component box shadow.
4
+ */
5
+ export declare enum ViewBoxShadow {
6
+ SM = 0,
7
+ MD = 1,
8
+ LG = 2
9
+ }
@@ -1,7 +1,7 @@
1
- import type { Position, PositionValue, Size, SizeValue } from '../../helpers';
1
+ import type { Opacity, Position, PositionValue, Size, SizeValue } from '../../helpers';
2
2
  import type { Color } from '../../types';
3
3
  import type { FunctionComponent, PropsWithChildren } from 'react';
4
- import type { ViewAlignContent, ViewAlignItems, ViewAlignSelf, ViewBackgroundColor, ViewBorderColor, ViewBorderRadius, ViewBorderWidth, ViewFlexDirection, ViewJustifyContent, ViewOverflow, ViewPosition, ViewSpacing, ViewTag } from './constants';
4
+ import type { ViewAlignContent, ViewAlignItems, ViewAlignSelf, ViewBackgroundColor, ViewBorderColor, ViewBorderRadius, ViewBorderWidth, ViewBoxShadow, ViewFlexDirection, ViewJustifyContent, ViewOverflow, ViewPosition, ViewSpacing, ViewTag } from './constants';
5
5
  export interface ViewProps extends PropsWithChildren {
6
6
  /**
7
7
  * Allows to control HTML tag to render.
@@ -41,6 +41,13 @@ export interface ViewProps extends PropsWithChildren {
41
41
  * @default undefined
42
42
  */
43
43
  bottom?: Position;
44
+ /**
45
+ * View opacity.
46
+ * Controls the transparency of the view.
47
+ * @see Opacity
48
+ * @default undefined
49
+ */
50
+ opacity?: Opacity;
44
51
  /**
45
52
  * View overflow behavior.
46
53
  * Controls how children are measured and displayed.
@@ -167,6 +174,12 @@ export interface ViewProps extends PropsWithChildren {
167
174
  * @default undefined
168
175
  */
169
176
  maxHeight?: Size;
177
+ /**
178
+ * View box shadow.
179
+ * @see View.BoxShadow
180
+ * @default undefined
181
+ */
182
+ boxShadow?: ViewBoxShadow;
170
183
  /**
171
184
  * View border color.
172
185
  * @see View.BorderColor
@@ -202,6 +215,7 @@ export type ViewComponent = FunctionComponent<ViewProps> & {
202
215
  AlignSelf: Record<keyof typeof ViewAlignSelf, ViewAlignSelf>;
203
216
  AlignContent: Record<keyof typeof ViewAlignContent, ViewAlignContent>;
204
217
  Spacing: Record<keyof typeof ViewSpacing, ViewSpacing>;
218
+ BoxShadow: Record<keyof typeof ViewBoxShadow, ViewBoxShadow>;
205
219
  BorderColor: Record<keyof typeof ViewBorderColor, ViewBorderColor>;
206
220
  BorderWidth: Record<keyof typeof ViewBorderWidth, ViewBorderWidth>;
207
221
  BorderRadius: Record<keyof typeof ViewBorderRadius, ViewBorderRadius>;
@@ -212,6 +226,7 @@ export type StyledViewProps = Pick<ViewProps, 'position' | 'overflow' | 'flexDir
212
226
  left?: PositionValue;
213
227
  right?: PositionValue;
214
228
  bottom?: PositionValue;
229
+ opacity?: number;
215
230
  marginTop?: number;
216
231
  paddingTop?: number;
217
232
  marginLeft?: number;
@@ -226,6 +241,7 @@ export type StyledViewProps = Pick<ViewProps, 'position' | 'overflow' | 'flexDir
226
241
  minHeight?: SizeValue;
227
242
  height?: SizeValue;
228
243
  maxHeight?: SizeValue;
244
+ boxShadow?: string;
229
245
  borderColor?: Color;
230
246
  borderWidth?: number;
231
247
  borderRadius?: `${number}px` | '50%';
@@ -1,4 +1,4 @@
1
1
  export { Dimension } from '../constants/dimension';
2
- export { POSITION_MAX, POSITION_ZERO } from '../constants/position';
2
+ export { POSITION_MAX, POSITION_MIN } from '../constants/position';
3
3
  export { SIZE_FULL } from '../constants/size';
4
- export { BORDER_RADIUS_BASE_LG, BORDER_RADIUS_BASE_MD, BORDER_RADIUS_BASE_SM, BORDER_RADIUS_BASE_XL, BORDER_RADIUS_BASE_XS, BORDER_WIDTH_BASE_LG, BORDER_WIDTH_BASE_MD, BORDER_WIDTH_BASE_SM, COLOR_BACKGROUND_BASE_100, COLOR_BACKGROUND_BASE_200, COLOR_BACKGROUND_BASE_300, COLOR_BACKGROUND_BASE_400, COLOR_BACKGROUND_BASE_500, COLOR_BACKGROUND_BASE_600, COLOR_BACKGROUND_BASE_700, COLOR_BACKGROUND_BASE_800, COLOR_BACKGROUND_BASE_900, COLOR_BORDER_BASE_100, COLOR_BORDER_BASE_200, COLOR_BORDER_BASE_300, COLOR_BORDER_BASE_400, COLOR_BORDER_BASE_500, COLOR_BORDER_BASE_600, COLOR_BORDER_BASE_700, COLOR_BORDER_BASE_800, COLOR_BORDER_BASE_900, COLOR_FOREGROUND_BASE_100, COLOR_FOREGROUND_BASE_200, COLOR_FOREGROUND_BASE_300, COLOR_FOREGROUND_BASE_400, COLOR_FOREGROUND_BASE_500, COLOR_FOREGROUND_BASE_600, COLOR_FOREGROUND_BASE_700, COLOR_FOREGROUND_BASE_800, COLOR_FOREGROUND_BASE_900, COLOR_FOREGROUND_INVERSE_100, COLOR_FOREGROUND_INVERSE_200, COLOR_FOREGROUND_INVERSE_300, COLOR_FOREGROUND_INVERSE_400, COLOR_FOREGROUND_INVERSE_500, COLOR_FOREGROUND_INVERSE_600, COLOR_FOREGROUND_INVERSE_700, COLOR_FOREGROUND_INVERSE_800, COLOR_FOREGROUND_INVERSE_900, FONT_FAMILY_BASE, FONT_SIZE_BASE_LG, FONT_SIZE_BASE_MD, FONT_SIZE_BASE_SM, FONT_SIZE_BASE_X2L, FONT_SIZE_BASE_X2S, FONT_SIZE_BASE_X3L, FONT_SIZE_BASE_X4L, FONT_SIZE_BASE_X5L, FONT_SIZE_BASE_XL, FONT_SIZE_BASE_XS, FONT_WEIGHT_BASE_BLACK, FONT_WEIGHT_BASE_BOLD, FONT_WEIGHT_BASE_EXTRABOLD, FONT_WEIGHT_BASE_EXTRALIGHT, FONT_WEIGHT_BASE_LIGHT, FONT_WEIGHT_BASE_MEDIUM, FONT_WEIGHT_BASE_REGULAR, FONT_WEIGHT_BASE_SEMIBOLD, FONT_WEIGHT_BASE_THIN, LINE_HEIGHT_BASE_LOOSE, LINE_HEIGHT_BASE_NONE, LINE_HEIGHT_BASE_NORMAL, LINE_HEIGHT_BASE_RELAXED, LINE_HEIGHT_BASE_SNUG, LINE_HEIGHT_BASE_TIGHT, SPACING_BASE_LG, SPACING_BASE_MD, SPACING_BASE_SM, SPACING_BASE_X2L, SPACING_BASE_X2S, SPACING_BASE_X3L, SPACING_BASE_X4L, SPACING_BASE_X5L, SPACING_BASE_X6L, SPACING_BASE_X7L, SPACING_BASE_XL, SPACING_BASE_XS, } from '../constants/theme';
4
+ export { BORDER_RADIUS_BASE_LG, BORDER_RADIUS_BASE_MD, BORDER_RADIUS_BASE_SM, BORDER_RADIUS_BASE_XL, BORDER_RADIUS_BASE_XS, BORDER_WIDTH_BASE_LG, BORDER_WIDTH_BASE_MD, BORDER_WIDTH_BASE_SM, COLOR_FOREGROUND_BASE_100, COLOR_FOREGROUND_BASE_200, COLOR_FOREGROUND_BASE_300, COLOR_FOREGROUND_BASE_400, COLOR_FOREGROUND_BASE_500, COLOR_FOREGROUND_BASE_600, COLOR_FOREGROUND_BASE_700, COLOR_FOREGROUND_BASE_800, COLOR_FOREGROUND_BASE_900, COLOR_FOREGROUND_INVERSE_100, COLOR_FOREGROUND_INVERSE_200, COLOR_FOREGROUND_INVERSE_300, COLOR_FOREGROUND_INVERSE_400, COLOR_FOREGROUND_INVERSE_500, COLOR_FOREGROUND_INVERSE_600, COLOR_FOREGROUND_INVERSE_700, COLOR_FOREGROUND_INVERSE_800, COLOR_FOREGROUND_INVERSE_900, FONT_FAMILY_BASE, FONT_SIZE_BASE_LG, FONT_SIZE_BASE_MD, FONT_SIZE_BASE_SM, FONT_SIZE_BASE_X2L, FONT_SIZE_BASE_X2S, FONT_SIZE_BASE_X3L, FONT_SIZE_BASE_X4L, FONT_SIZE_BASE_X5L, FONT_SIZE_BASE_XL, FONT_SIZE_BASE_XS, FONT_WEIGHT_BASE_BLACK, FONT_WEIGHT_BASE_BOLD, FONT_WEIGHT_BASE_EXTRABOLD, FONT_WEIGHT_BASE_EXTRALIGHT, FONT_WEIGHT_BASE_LIGHT, FONT_WEIGHT_BASE_MEDIUM, FONT_WEIGHT_BASE_REGULAR, FONT_WEIGHT_BASE_SEMIBOLD, FONT_WEIGHT_BASE_THIN, LINE_HEIGHT_BASE_LOOSE, LINE_HEIGHT_BASE_NONE, LINE_HEIGHT_BASE_NORMAL, LINE_HEIGHT_BASE_RELAXED, LINE_HEIGHT_BASE_SNUG, LINE_HEIGHT_BASE_TIGHT, SPACING_BASE_LG, SPACING_BASE_MD, SPACING_BASE_SM, SPACING_BASE_X2L, SPACING_BASE_X2S, SPACING_BASE_X3L, SPACING_BASE_X4L, SPACING_BASE_X5L, SPACING_BASE_X6L, SPACING_BASE_X7L, SPACING_BASE_XL, SPACING_BASE_XS, } from '../constants/theme';
@@ -1,3 +1,3 @@
1
1
  import { Position } from '../helpers/position';
2
2
  export declare const POSITION_MAX: Position;
3
- export declare const POSITION_ZERO: Position;
3
+ export declare const POSITION_MIN: Position;
@@ -1,21 +1,3 @@
1
- export declare const COLOR_BACKGROUND_BASE_100 = "rgb(24,24,27)";
2
- export declare const COLOR_BACKGROUND_BASE_200 = "rgb(39,39,42)";
3
- export declare const COLOR_BACKGROUND_BASE_300 = "rgb(63,63,70)";
4
- export declare const COLOR_BACKGROUND_BASE_400 = "rgb(82,82,92)";
5
- export declare const COLOR_BACKGROUND_BASE_500 = "rgb(113,113,123)";
6
- export declare const COLOR_BACKGROUND_BASE_600 = "rgb(159,159,169)";
7
- export declare const COLOR_BACKGROUND_BASE_700 = "rgb(212,212,216)";
8
- export declare const COLOR_BACKGROUND_BASE_800 = "rgb(228,228,231)";
9
- export declare const COLOR_BACKGROUND_BASE_900 = "rgb(244,244,245)";
10
- export declare const COLOR_BORDER_BASE_100 = "rgb(253,252,254)";
11
- export declare const COLOR_BORDER_BASE_200 = "rgb(249,249,250)";
12
- export declare const COLOR_BORDER_BASE_300 = "rgb(247,247,249)";
13
- export declare const COLOR_BORDER_BASE_400 = "rgb(244,244,245)";
14
- export declare const COLOR_BORDER_BASE_500 = "rgb(224,224,238)";
15
- export declare const COLOR_BORDER_BASE_600 = "rgb(216,216,228)";
16
- export declare const COLOR_BORDER_BASE_700 = "rgb(216,216,228)";
17
- export declare const COLOR_BORDER_BASE_800 = "rgb(212,212,216)";
18
- export declare const COLOR_BORDER_BASE_900 = "rgb(198,198,202)";
19
1
  export declare const COLOR_FOREGROUND_BASE_100 = "rgb(244,244,245)";
20
2
  export declare const COLOR_FOREGROUND_BASE_200 = "rgb(228,228,231)";
21
3
  export declare const COLOR_FOREGROUND_BASE_300 = "rgb(212,212,216)";
@@ -1,5 +1,5 @@
1
1
  export { BORDER_RADIUS_BASE_LG, BORDER_RADIUS_BASE_MD, BORDER_RADIUS_BASE_SM, BORDER_RADIUS_BASE_XL, BORDER_RADIUS_BASE_XS, BORDER_WIDTH_BASE_LG, BORDER_WIDTH_BASE_MD, BORDER_WIDTH_BASE_SM, } from './border';
2
- export { COLOR_BACKGROUND_BASE_100, COLOR_BACKGROUND_BASE_200, COLOR_BACKGROUND_BASE_300, COLOR_BACKGROUND_BASE_400, COLOR_BACKGROUND_BASE_500, COLOR_BACKGROUND_BASE_600, COLOR_BACKGROUND_BASE_700, COLOR_BACKGROUND_BASE_800, COLOR_BACKGROUND_BASE_900, COLOR_BORDER_BASE_100, COLOR_BORDER_BASE_200, COLOR_BORDER_BASE_300, COLOR_BORDER_BASE_400, COLOR_BORDER_BASE_500, COLOR_BORDER_BASE_600, COLOR_BORDER_BASE_700, COLOR_BORDER_BASE_800, COLOR_BORDER_BASE_900, COLOR_FOREGROUND_BASE_100, COLOR_FOREGROUND_BASE_200, COLOR_FOREGROUND_BASE_300, COLOR_FOREGROUND_BASE_400, COLOR_FOREGROUND_BASE_500, COLOR_FOREGROUND_BASE_600, COLOR_FOREGROUND_BASE_700, COLOR_FOREGROUND_BASE_800, COLOR_FOREGROUND_BASE_900, COLOR_FOREGROUND_INVERSE_100, COLOR_FOREGROUND_INVERSE_200, COLOR_FOREGROUND_INVERSE_300, COLOR_FOREGROUND_INVERSE_400, COLOR_FOREGROUND_INVERSE_500, COLOR_FOREGROUND_INVERSE_600, COLOR_FOREGROUND_INVERSE_700, COLOR_FOREGROUND_INVERSE_800, COLOR_FOREGROUND_INVERSE_900, } from './color';
2
+ export { COLOR_FOREGROUND_BASE_100, COLOR_FOREGROUND_BASE_200, COLOR_FOREGROUND_BASE_300, COLOR_FOREGROUND_BASE_400, COLOR_FOREGROUND_BASE_500, COLOR_FOREGROUND_BASE_600, COLOR_FOREGROUND_BASE_700, COLOR_FOREGROUND_BASE_800, COLOR_FOREGROUND_BASE_900, COLOR_FOREGROUND_INVERSE_100, COLOR_FOREGROUND_INVERSE_200, COLOR_FOREGROUND_INVERSE_300, COLOR_FOREGROUND_INVERSE_400, COLOR_FOREGROUND_INVERSE_500, COLOR_FOREGROUND_INVERSE_600, COLOR_FOREGROUND_INVERSE_700, COLOR_FOREGROUND_INVERSE_800, COLOR_FOREGROUND_INVERSE_900, } from './color';
3
3
  export { FONT_FAMILY_BASE, FONT_SIZE_BASE_LG, FONT_SIZE_BASE_MD, FONT_SIZE_BASE_SM, FONT_SIZE_BASE_X2L, FONT_SIZE_BASE_X2S, FONT_SIZE_BASE_X3L, FONT_SIZE_BASE_X4L, FONT_SIZE_BASE_X5L, FONT_SIZE_BASE_XL, FONT_SIZE_BASE_XS, FONT_WEIGHT_BASE_BLACK, FONT_WEIGHT_BASE_BOLD, FONT_WEIGHT_BASE_EXTRABOLD, FONT_WEIGHT_BASE_EXTRALIGHT, FONT_WEIGHT_BASE_LIGHT, FONT_WEIGHT_BASE_MEDIUM, FONT_WEIGHT_BASE_REGULAR, FONT_WEIGHT_BASE_SEMIBOLD, FONT_WEIGHT_BASE_THIN, } from './font';
4
4
  export { SPACING_BASE_LG, SPACING_BASE_MD, SPACING_BASE_SM, SPACING_BASE_X2L, SPACING_BASE_X2S, SPACING_BASE_X3L, SPACING_BASE_X4L, SPACING_BASE_X5L, SPACING_BASE_X6L, SPACING_BASE_X7L, SPACING_BASE_XL, SPACING_BASE_XS, } from './spacing';
5
5
  export { LINE_HEIGHT_BASE_LOOSE, LINE_HEIGHT_BASE_NONE, LINE_HEIGHT_BASE_NORMAL, LINE_HEIGHT_BASE_RELAXED, LINE_HEIGHT_BASE_SNUG, LINE_HEIGHT_BASE_TIGHT, } from './text';
@@ -1,4 +1,4 @@
1
1
  export { Media, MediaContextProvider, useMediaContext } from '../contexts/media';
2
2
  export type { MediaComponent, MediaContextProviderComponent, MediaContextValue, MediaProps, } from '../contexts/media';
3
3
  export { ThemeContextProvider, useThemeContext } from '../contexts/theme';
4
- export type { ThemeContextProviderComponent, ThemeContextProviderProps, ThemeContextValue, ThemeFontWeight, } from '../contexts/theme';
4
+ export type { ThemeContextProviderComponent, ThemeContextProviderProps, ThemeContextValue, } from '../contexts/theme';
@@ -0,0 +1,18 @@
1
+ export declare const COLOR_BACKGROUND_BASE_100 = "rgb(198,198,202)";
2
+ export declare const COLOR_BACKGROUND_BASE_200 = "rgb(212,212,216)";
3
+ export declare const COLOR_BACKGROUND_BASE_300 = "rgb(216,216,228)";
4
+ export declare const COLOR_BACKGROUND_BASE_400 = "rgb(218,218,234)";
5
+ export declare const COLOR_BACKGROUND_BASE_500 = "rgb(224,224,238)";
6
+ export declare const COLOR_BACKGROUND_BASE_600 = "rgb(244,244,245)";
7
+ export declare const COLOR_BACKGROUND_BASE_700 = "rgb(247,247,249)";
8
+ export declare const COLOR_BACKGROUND_BASE_800 = "rgb(249,249,250)";
9
+ export declare const COLOR_BACKGROUND_BASE_900 = "rgb(254,254,255)";
10
+ export declare const COLOR_BORDER_BASE_100 = "rgb(253,252,254)";
11
+ export declare const COLOR_BORDER_BASE_200 = "rgb(249,249,250)";
12
+ export declare const COLOR_BORDER_BASE_300 = "rgb(247,247,249)";
13
+ export declare const COLOR_BORDER_BASE_400 = "rgb(244,244,245)";
14
+ export declare const COLOR_BORDER_BASE_500 = "rgb(224,224,238)";
15
+ export declare const COLOR_BORDER_BASE_600 = "rgb(218,218,234)";
16
+ export declare const COLOR_BORDER_BASE_700 = "rgb(216,216,228)";
17
+ export declare const COLOR_BORDER_BASE_800 = "rgb(212,212,216)";
18
+ export declare const COLOR_BORDER_BASE_900 = "rgb(198,198,202)";
@@ -0,0 +1 @@
1
+ export { COLOR_BACKGROUND_BASE_100, COLOR_BACKGROUND_BASE_200, COLOR_BACKGROUND_BASE_300, COLOR_BACKGROUND_BASE_400, COLOR_BACKGROUND_BASE_500, COLOR_BACKGROUND_BASE_600, COLOR_BACKGROUND_BASE_700, COLOR_BACKGROUND_BASE_800, COLOR_BACKGROUND_BASE_900, COLOR_BORDER_BASE_100, COLOR_BORDER_BASE_200, COLOR_BORDER_BASE_300, COLOR_BORDER_BASE_400, COLOR_BORDER_BASE_500, COLOR_BORDER_BASE_600, COLOR_BORDER_BASE_700, COLOR_BORDER_BASE_800, COLOR_BORDER_BASE_900, } from './color';
@@ -1,2 +1,2 @@
1
1
  export { ThemeContextProvider, useThemeContext } from './theme';
2
- export type { ThemeContextProviderComponent, ThemeContextProviderProps, ThemeContextValue, ThemeFontWeight, } from './theme.types';
2
+ export type { ThemeContextProviderComponent, ThemeContextProviderProps, ThemeContextValue, } from './theme.types';
@@ -1,108 +1,100 @@
1
- import type { Color } from '../../types';
1
+ import type { Color, FontWeight } from '../../types';
2
2
  import type { FunctionComponent, PropsWithChildren } from 'react';
3
- /**
4
- * Theme font weight type.
5
- * Should be used to specify theme font weight.
6
- */
7
- export type ThemeFontWeight = 100 | 200 | 300 | 400 | 500 | 600 | 700 | 800 | 900;
8
3
  /**
9
4
  * Theme context value interface.
10
- * Contains all theme tokens you may need.
11
- * This tokens are used inside components for styling.
12
- * This tokens can be also accesed via theme context outside.
5
+ * Provides access to all themable tokens.
6
+ * Library components use this tokens for styling.
7
+ * Can be accessed via theme context outside when need.
13
8
  */
14
9
  export interface ThemeContextValue {
15
10
  /**
16
- * Base background 100 color token.
17
- * Least contrast color in the background palette.
11
+ * Least contrast base background color.
12
+ * @default rgb(198,198,202)
18
13
  */
19
14
  colorBackgroundBase100: Color;
20
15
  /**
21
- * Base background 200 color token.
22
- * Almost non-contrasting base background color.
16
+ * Dim base background color.
17
+ * @default rgb(212,212,216)
23
18
  */
24
19
  colorBackgroundBase200: Color;
25
20
  /**
26
- * Base background 300 color token.
27
- * Slightly more contrasting, useful for subtle depth or layering.
21
+ * Mix of dim and muted base background color.
22
+ * @default rgb(216,216,228)
28
23
  */
29
24
  colorBackgroundBase300: Color;
30
25
  /**
31
- * Base background 400 color token.
32
- * Even less contrasting background color.
26
+ * Muted base background color.
27
+ * @default rgb(218,218,234)
33
28
  */
34
29
  colorBackgroundBase400: Color;
35
30
  /**
36
- * Base background 500 color token.
37
- * When you need some layering between less contrast backgrounds.
31
+ * Mix of muted and subtle base background color.
32
+ * @default rgb(224,224,238)
38
33
  */
39
34
  colorBackgroundBase500: Color;
40
35
  /**
41
- * Base background 600 color token.
42
- * A kind of secondary base background color.
43
- * It is also less contrast than default background.
36
+ * Subtle base background color.
37
+ * @default rgb(244,244,245)
44
38
  */
45
39
  colorBackgroundBase600: Color;
46
40
  /**
47
- * Base background 700 color token.
48
- * Less contrast than default background color shade.
41
+ * Mix of subtle and default base background color.
42
+ * @default rgb(247,247,249)
49
43
  */
50
44
  colorBackgroundBase700: Color;
51
45
  /**
52
- * Base background 800 color token.
53
- * Supposed to be default interface background color.
46
+ * Base default interface background color.
47
+ * @default rgb(249,249,250)
54
48
  */
55
49
  colorBackgroundBase800: Color;
56
50
  /**
57
- * Base background 900 color token.
58
- * More contrast than default background color shade.
51
+ * Most contrast base background color.
52
+ * @default rgb(254,254,255)
59
53
  */
60
54
  colorBackgroundBase900: Color;
61
55
  /**
62
- * Base border 100 color token.
63
- * The lightest shade for borders.
64
- * Useful for subtle dividers or low-emphasis elements.
56
+ * Least contrast base border color.
57
+ * @default rgb(253,252,254)
65
58
  */
66
59
  colorBorderBase100: Color;
67
60
  /**
68
- * Base border 200 color token.
69
- * Slightly more visible than 100.
70
- * Suitable for very soft separators or outlines.
61
+ * Dim base border color.
62
+ * @default rgb(249,249,250)
71
63
  */
72
64
  colorBorderBase200: Color;
73
65
  /**
74
- * Base border 300 color token.
75
- * A light neutral border color for gentle outlines.
66
+ * Mix of dim and muted base border color.
67
+ * @default rgb(247,247,249)
76
68
  */
77
69
  colorBorderBase300: Color;
78
70
  /**
79
- * Base border 400 color token.
80
- * Can be used for low-contrast interface borders or containers.
71
+ * Muted base border color.
72
+ * @default rgb(244,244,245)
81
73
  */
82
74
  colorBorderBase400: Color;
83
75
  /**
84
- * Base border 500 color token.
85
- * A medium-light border tone for secondary elements.
76
+ * Mix of muted and subtle base border color.
77
+ * @default rgb(224,224,238)
86
78
  */
87
79
  colorBorderBase500: Color;
88
80
  /**
89
- * Base border 600 color token.
90
- * A neutral border tone with moderate contrast.
81
+ * Subtle base border color.
82
+ * @default rgb(218,218,234)
91
83
  */
92
84
  colorBorderBase600: Color;
93
85
  /**
94
- * Base border 700 color token.
95
- * Little bit less contrast background color.
86
+ * Mix of subtle and default base border color.
87
+ * @default rgb(216,216,228)
96
88
  */
97
89
  colorBorderBase700: Color;
98
90
  /**
99
- * Base border 800 color token.
100
- * Supposed to be default border color.
91
+ * Base default border color.
92
+ * @default rgb(212,212,216)
101
93
  */
102
94
  colorBorderBase800: Color;
103
95
  /**
104
- * Base border 900 color token.
105
- * More contrast than default border color shade.
96
+ * Most contrast base border color.
97
+ * @default rgb(198,198,202)
106
98
  */
107
99
  colorBorderBase900: Color;
108
100
  /**
@@ -215,53 +207,53 @@ export interface ThemeContextValue {
215
207
  * Base thin font weight token.
216
208
  * Ideal for very delicate and decorative, large, elegant hero text.
217
209
  */
218
- fontWeightBaseThin: ThemeFontWeight;
210
+ fontWeightBaseThin: FontWeight;
219
211
  /**
220
212
  * Base extra-light font weight token.
221
213
  * Use for large, airy headings or subtle interface elements.
222
214
  * Slightly more readable than extra-thin, but still decorative.
223
215
  */
224
- fontWeightBaseExtraLight: ThemeFontWeight;
216
+ fontWeightBaseExtraLight: FontWeight;
225
217
  /**
226
218
  * Base light font weight token.
227
219
  * Suitable for subheadings, muted captions, and soft labels.
228
220
  */
229
- fontWeightBaseLight: ThemeFontWeight;
221
+ fontWeightBaseLight: FontWeight;
230
222
  /**
231
223
  * Base regular font weight token.
232
224
  * For the most common text elements in your interface.
233
225
  * When unsure about font weight, this is the default option.
234
226
  */
235
- fontWeightBaseRegular: ThemeFontWeight;
227
+ fontWeightBaseRegular: FontWeight;
236
228
  /**
237
229
  * Base medium font weight token.
238
230
  * Suitable for labels, buttons, and small subheadings.
239
231
  * Slightly emphasized, providing better readability.
240
232
  */
241
- fontWeightBaseMedium: ThemeFontWeight;
233
+ fontWeightBaseMedium: FontWeight;
242
234
  /**
243
235
  * Base semi-bold font weight token.
244
236
  * Provides stronger emphasis without being overwhelming.
245
237
  * Ideal for section headers, emphasized text, and card titles.
246
238
  */
247
- fontWeightBaseSemibold: ThemeFontWeight;
239
+ fontWeightBaseSemibold: FontWeight;
248
240
  /**
249
241
  * Base bold font weight token.
250
242
  * For high emphasis on important elements.
251
243
  * Use for main headings and strong call-to-action buttons.
252
244
  */
253
- fontWeightBaseBold: ThemeFontWeight;
245
+ fontWeightBaseBold: FontWeight;
254
246
  /**
255
247
  * Extra-bold font weight token.
256
248
  * Perfect for promo banners and large impactful headings.
257
249
  */
258
- fontWeightBaseExtraBold: ThemeFontWeight;
250
+ fontWeightBaseExtraBold: FontWeight;
259
251
  /**
260
252
  * Base black font weight token.
261
253
  * Extreme emphasis for rare, dramatic cases.
262
254
  * Great for headlines in posters and highly attention-grabbing elements.
263
255
  */
264
- fontWeightBaseBlack: ThemeFontWeight;
256
+ fontWeightBaseBlack: FontWeight;
265
257
  /**
266
258
  * Base 2 times extra-small font size token.
267
259
  * Use this size for tiny text elements like captions.