creactive 0.0.180 → 0.0.182
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/build/classic.js +38 -18
- package/build/components/atoms/index.d.ts +2 -0
- package/build/components/atoms/text/constants/color.d.ts +1 -2
- package/build/components/atoms/text/constants/font.d.ts +1 -1
- package/build/components/atoms/text/text.types.d.ts +3 -3
- package/build/components/atoms/transition/constants/duration.d.ts +5 -0
- package/build/components/atoms/transition/constants/index.d.ts +1 -0
- package/build/components/atoms/transition/index.d.ts +3 -0
- package/build/components/atoms/transition/transition.types.d.ts +58 -0
- package/build/components/atoms/view/constants/color.d.ts +10 -1
- package/build/components/atoms/view/view.types.d.ts +3 -3
- package/build/components/index.d.ts +2 -2
- package/build/contexts/theme/constants/color.d.ts +9 -0
- package/build/contexts/theme/constants/font.d.ts +1 -1
- package/build/contexts/theme/constants/index.d.ts +2 -2
- package/build/contexts/theme/hooks/use-theme-style-sheet.d.ts +28 -1
- package/build/contexts/theme/theme.types.d.ts +74 -29
- package/build/default.js +1 -1
- package/build/helpers/dimension/dimension.d.ts +6 -4
- package/build/helpers/dimension/dimension.types.d.ts +3 -1
- package/build/helpers/dimension/index.d.ts +4 -3
- package/build/helpers/index.d.ts +1 -1
- package/build/index.d.ts +2 -2
- package/package.json +1 -1
|
@@ -2,5 +2,7 @@ export { Gradient } from './gradient';
|
|
|
2
2
|
export type { GradientLinearComponent, GradientLinearProperties, GradientObject, GradientStopComponent, GradientStopProperties, } from './gradient';
|
|
3
3
|
export { Text } from './text';
|
|
4
4
|
export type { TextComponent, TextMeasureCallback, TextProperties, TextReference, } from './text';
|
|
5
|
+
export { Transition } from './transition';
|
|
6
|
+
export type { TransitionComponent, TransitionProperties } from './transition';
|
|
5
7
|
export { View } from './view';
|
|
6
8
|
export type { ViewComponent, ViewLayoutEvent, ViewProperties } from './view';
|
|
@@ -43,7 +43,7 @@ export interface TextProperties extends PropsWithChildren {
|
|
|
43
43
|
/**
|
|
44
44
|
* Themed font family.
|
|
45
45
|
* @see Text.FontFamily
|
|
46
|
-
* @default Text.FontFamily.
|
|
46
|
+
* @default Text.FontFamily.DEFAULT
|
|
47
47
|
*/
|
|
48
48
|
fontFamily?: TextFontFamily;
|
|
49
49
|
/**
|
|
@@ -70,11 +70,11 @@ export interface TextProperties extends PropsWithChildren {
|
|
|
70
70
|
*/
|
|
71
71
|
maxLines?: number;
|
|
72
72
|
/**
|
|
73
|
-
* Themed or
|
|
73
|
+
* Themed, transparent, or custom color value.
|
|
74
74
|
* @see Text.Color
|
|
75
75
|
* @default Text.Color.BASE_800
|
|
76
76
|
*/
|
|
77
|
-
color?: TextColor;
|
|
77
|
+
color?: TextColor | Color;
|
|
78
78
|
/**
|
|
79
79
|
* Themed background color.
|
|
80
80
|
* @see Text.BackgroundColor
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { TransitionDuration } from './duration';
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import type { Fraction, FractionValue, PixelDimension } from '../../../helpers';
|
|
2
|
+
import type { FunctionComponent, PropsWithChildren } from 'react';
|
|
3
|
+
import type { TransitionDuration } from './constants';
|
|
4
|
+
export interface TransitionProperties extends PropsWithChildren {
|
|
5
|
+
/**
|
|
6
|
+
* Allows to select transition in tests.
|
|
7
|
+
* @default undefined
|
|
8
|
+
*/
|
|
9
|
+
testId?: string;
|
|
10
|
+
/**
|
|
11
|
+
* Target opacity of the transition.
|
|
12
|
+
* Animates from the previous value to the new one.
|
|
13
|
+
* @see Fraction
|
|
14
|
+
* @default undefined
|
|
15
|
+
*/
|
|
16
|
+
opacity?: Fraction;
|
|
17
|
+
/**
|
|
18
|
+
* Target scale of the transition.
|
|
19
|
+
* Animates from the previous value to the new one.
|
|
20
|
+
* @see Fraction
|
|
21
|
+
* @default undefined
|
|
22
|
+
*/
|
|
23
|
+
scale?: Fraction;
|
|
24
|
+
/**
|
|
25
|
+
* Target horizontal translation of the transition.
|
|
26
|
+
* Animates from the previous value to the new one.
|
|
27
|
+
* @see Dimension
|
|
28
|
+
* @default undefined
|
|
29
|
+
*/
|
|
30
|
+
translateX?: PixelDimension;
|
|
31
|
+
/**
|
|
32
|
+
* Target vertical translation of the transition.
|
|
33
|
+
* Animates from the previous value to the new one.
|
|
34
|
+
* @see Dimension
|
|
35
|
+
* @default undefined
|
|
36
|
+
*/
|
|
37
|
+
translateY?: PixelDimension;
|
|
38
|
+
/**
|
|
39
|
+
* Duration of the transition animation.
|
|
40
|
+
* @see Transition.Duration
|
|
41
|
+
* @default Transition.Duration.MD
|
|
42
|
+
*/
|
|
43
|
+
duration?: TransitionDuration;
|
|
44
|
+
}
|
|
45
|
+
export type TransitionComponent = FunctionComponent<TransitionProperties> & {
|
|
46
|
+
Duration: Record<keyof typeof TransitionDuration, TransitionDuration>;
|
|
47
|
+
};
|
|
48
|
+
/**
|
|
49
|
+
* Styled transition properties type.
|
|
50
|
+
* Used to render transition component on web.
|
|
51
|
+
*/
|
|
52
|
+
export type TransitionStyledProperties = {
|
|
53
|
+
css: {
|
|
54
|
+
opacity?: FractionValue;
|
|
55
|
+
transform?: string;
|
|
56
|
+
transition: string;
|
|
57
|
+
};
|
|
58
|
+
};
|
|
@@ -30,5 +30,14 @@ export declare enum ViewBackgroundColor {
|
|
|
30
30
|
ACCENT_600 = 23,
|
|
31
31
|
ACCENT_700 = 24,
|
|
32
32
|
ACCENT_800 = 25,
|
|
33
|
-
ACCENT_900 = 26
|
|
33
|
+
ACCENT_900 = 26,
|
|
34
|
+
SUBACCENT_100 = 27,
|
|
35
|
+
SUBACCENT_200 = 28,
|
|
36
|
+
SUBACCENT_300 = 29,
|
|
37
|
+
SUBACCENT_400 = 30,
|
|
38
|
+
SUBACCENT_500 = 31,
|
|
39
|
+
SUBACCENT_600 = 32,
|
|
40
|
+
SUBACCENT_700 = 33,
|
|
41
|
+
SUBACCENT_800 = 34,
|
|
42
|
+
SUBACCENT_900 = 35
|
|
34
43
|
}
|
|
@@ -297,11 +297,11 @@ export interface ViewProperties extends PropsWithChildren {
|
|
|
297
297
|
*/
|
|
298
298
|
borderRadiusBottomRight?: ViewBorderRadius;
|
|
299
299
|
/**
|
|
300
|
-
*
|
|
300
|
+
* Themed or custom background color.
|
|
301
301
|
* @see View.BackgroundColor
|
|
302
|
-
* @default
|
|
302
|
+
* @default undefined
|
|
303
303
|
*/
|
|
304
|
-
backgroundColor?: ViewBackgroundColor;
|
|
304
|
+
backgroundColor?: ViewBackgroundColor | Color;
|
|
305
305
|
/**
|
|
306
306
|
* Callback function that is called when the layout of the view changes.
|
|
307
307
|
* @param event Event containing the width and height of the view.
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { Gradient, Text, View } from './atoms';
|
|
2
|
-
export type { GradientLinearComponent, GradientLinearProperties, GradientObject, GradientStopComponent, GradientStopProperties, TextComponent, TextMeasureCallback, TextProperties, TextReference, ViewComponent, ViewLayoutEvent, ViewProperties, } from './atoms';
|
|
1
|
+
export { Gradient, Text, Transition, View } from './atoms';
|
|
2
|
+
export type { GradientLinearComponent, GradientLinearProperties, GradientObject, GradientStopComponent, GradientStopProperties, TextComponent, TextMeasureCallback, TextProperties, TextReference, TransitionComponent, TransitionProperties, ViewComponent, ViewLayoutEvent, ViewProperties, } from './atoms';
|
|
@@ -25,6 +25,15 @@ export declare const COLOR_BACKGROUND_ACCENT_600 = "rgb(115,180,238)";
|
|
|
25
25
|
export declare const COLOR_BACKGROUND_ACCENT_700 = "rgb(95,168,233)";
|
|
26
26
|
export declare const COLOR_BACKGROUND_ACCENT_800 = "rgb(75,155,225)";
|
|
27
27
|
export declare const COLOR_BACKGROUND_ACCENT_900 = "rgb(50,130,200)";
|
|
28
|
+
export declare const COLOR_BACKGROUND_SUBACCENT_100 = "rgb(215,245,235)";
|
|
29
|
+
export declare const COLOR_BACKGROUND_SUBACCENT_200 = "rgb(200,240,225)";
|
|
30
|
+
export declare const COLOR_BACKGROUND_SUBACCENT_300 = "rgb(185,235,215)";
|
|
31
|
+
export declare const COLOR_BACKGROUND_SUBACCENT_400 = "rgb(170,230,205)";
|
|
32
|
+
export declare const COLOR_BACKGROUND_SUBACCENT_500 = "rgb(155,225,195)";
|
|
33
|
+
export declare const COLOR_BACKGROUND_SUBACCENT_600 = "rgb(145,222,190)";
|
|
34
|
+
export declare const COLOR_BACKGROUND_SUBACCENT_700 = "rgb(135,218,185)";
|
|
35
|
+
export declare const COLOR_BACKGROUND_SUBACCENT_800 = "rgb(125,215,180)";
|
|
36
|
+
export declare const COLOR_BACKGROUND_SUBACCENT_900 = "rgb(100,195,160)";
|
|
28
37
|
export declare const COLOR_BORDER_BASE_100 = "rgb(235,235,240)";
|
|
29
38
|
export declare const COLOR_BORDER_BASE_200 = "rgb(230,230,235)";
|
|
30
39
|
export declare const COLOR_BORDER_BASE_300 = "rgb(225,225,230)";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { BORDER_RADIUS_BASE_LG, BORDER_RADIUS_BASE_MD, BORDER_RADIUS_BASE_SM, BORDER_RADIUS_BASE_X2L, BORDER_RADIUS_BASE_X3L, BORDER_RADIUS_BASE_X4L, BORDER_RADIUS_BASE_X5L, BORDER_RADIUS_BASE_X6L, 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_BACKGROUND_PRIMARY_100, COLOR_BACKGROUND_PRIMARY_200, COLOR_BACKGROUND_PRIMARY_300, COLOR_BACKGROUND_PRIMARY_400, COLOR_BACKGROUND_PRIMARY_500, COLOR_BACKGROUND_PRIMARY_600, COLOR_BACKGROUND_PRIMARY_700, COLOR_BACKGROUND_PRIMARY_800, COLOR_BACKGROUND_PRIMARY_900, COLOR_BACKGROUND_ACCENT_100, COLOR_BACKGROUND_ACCENT_200, COLOR_BACKGROUND_ACCENT_300, COLOR_BACKGROUND_ACCENT_400, COLOR_BACKGROUND_ACCENT_500, COLOR_BACKGROUND_ACCENT_600, COLOR_BACKGROUND_ACCENT_700, COLOR_BACKGROUND_ACCENT_800, COLOR_BACKGROUND_ACCENT_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_FAILURE_100, COLOR_FOREGROUND_FAILURE_200, COLOR_FOREGROUND_FAILURE_300, COLOR_FOREGROUND_FAILURE_400, COLOR_FOREGROUND_FAILURE_500, COLOR_FOREGROUND_FAILURE_600, COLOR_FOREGROUND_FAILURE_700, COLOR_FOREGROUND_FAILURE_800, COLOR_FOREGROUND_FAILURE_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_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_BACKGROUND_PRIMARY_100, COLOR_BACKGROUND_PRIMARY_200, COLOR_BACKGROUND_PRIMARY_300, COLOR_BACKGROUND_PRIMARY_400, COLOR_BACKGROUND_PRIMARY_500, COLOR_BACKGROUND_PRIMARY_600, COLOR_BACKGROUND_PRIMARY_700, COLOR_BACKGROUND_PRIMARY_800, COLOR_BACKGROUND_PRIMARY_900, COLOR_BACKGROUND_ACCENT_100, COLOR_BACKGROUND_ACCENT_200, COLOR_BACKGROUND_ACCENT_300, COLOR_BACKGROUND_ACCENT_400, COLOR_BACKGROUND_ACCENT_500, COLOR_BACKGROUND_ACCENT_600, COLOR_BACKGROUND_ACCENT_700, COLOR_BACKGROUND_ACCENT_800, COLOR_BACKGROUND_ACCENT_900, COLOR_BACKGROUND_SUBACCENT_100, COLOR_BACKGROUND_SUBACCENT_200, COLOR_BACKGROUND_SUBACCENT_300, COLOR_BACKGROUND_SUBACCENT_400, COLOR_BACKGROUND_SUBACCENT_500, COLOR_BACKGROUND_SUBACCENT_600, COLOR_BACKGROUND_SUBACCENT_700, COLOR_BACKGROUND_SUBACCENT_800, COLOR_BACKGROUND_SUBACCENT_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_FAILURE_100, COLOR_FOREGROUND_FAILURE_200, COLOR_FOREGROUND_FAILURE_300, COLOR_FOREGROUND_FAILURE_400, COLOR_FOREGROUND_FAILURE_500, COLOR_FOREGROUND_FAILURE_600, COLOR_FOREGROUND_FAILURE_700, COLOR_FOREGROUND_FAILURE_800, COLOR_FOREGROUND_FAILURE_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 { DURATION_BASE_LG, DURATION_BASE_MD, DURATION_BASE_SM, } from './duration';
|
|
4
|
-
export {
|
|
4
|
+
export { FONT_FAMILY_DEFAULT, FONT_FAMILY_TYPOGRAPHIC, 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_X6L, 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';
|
|
5
5
|
export { ICON_SIZE_BASE_LG, ICON_SIZE_BASE_MD, ICON_SIZE_BASE_SM } from './icon';
|
|
6
6
|
export { SPACING_BASE_LG, SPACING_BASE_MD, SPACING_BASE_SM, SPACING_BASE_X2L, SPACING_BASE_X2S, SPACING_BASE_X3L, SPACING_BASE_X3S, SPACING_BASE_X4L, SPACING_BASE_X4S, SPACING_BASE_X5L, SPACING_BASE_X5S, SPACING_BASE_X6L, SPACING_BASE_X6S, SPACING_BASE_XL, SPACING_BASE_XS, } from './spacing';
|
|
7
7
|
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';
|
|
@@ -80,6 +80,33 @@ export declare const useThemeStyleSheet: () => {
|
|
|
80
80
|
colorBackgroundAccent900: {
|
|
81
81
|
backgroundColor: import("../../..").Color;
|
|
82
82
|
};
|
|
83
|
+
colorBackgroundSubaccent100: {
|
|
84
|
+
backgroundColor: import("../../..").Color;
|
|
85
|
+
};
|
|
86
|
+
colorBackgroundSubaccent200: {
|
|
87
|
+
backgroundColor: import("../../..").Color;
|
|
88
|
+
};
|
|
89
|
+
colorBackgroundSubaccent300: {
|
|
90
|
+
backgroundColor: import("../../..").Color;
|
|
91
|
+
};
|
|
92
|
+
colorBackgroundSubaccent400: {
|
|
93
|
+
backgroundColor: import("../../..").Color;
|
|
94
|
+
};
|
|
95
|
+
colorBackgroundSubaccent500: {
|
|
96
|
+
backgroundColor: import("../../..").Color;
|
|
97
|
+
};
|
|
98
|
+
colorBackgroundSubaccent600: {
|
|
99
|
+
backgroundColor: import("../../..").Color;
|
|
100
|
+
};
|
|
101
|
+
colorBackgroundSubaccent700: {
|
|
102
|
+
backgroundColor: import("../../..").Color;
|
|
103
|
+
};
|
|
104
|
+
colorBackgroundSubaccent800: {
|
|
105
|
+
backgroundColor: import("../../..").Color;
|
|
106
|
+
};
|
|
107
|
+
colorBackgroundSubaccent900: {
|
|
108
|
+
backgroundColor: import("../../..").Color;
|
|
109
|
+
};
|
|
83
110
|
colorBorderBase100: {
|
|
84
111
|
borderColor: import("../../..").Color;
|
|
85
112
|
};
|
|
@@ -188,7 +215,7 @@ export declare const useThemeStyleSheet: () => {
|
|
|
188
215
|
colorForegroundFailure900: {
|
|
189
216
|
color: import("../../..").Color;
|
|
190
217
|
};
|
|
191
|
-
|
|
218
|
+
fontFamilyDefault: {
|
|
192
219
|
fontFamily: string;
|
|
193
220
|
};
|
|
194
221
|
fontFamilyTypographic: {
|
|
@@ -9,92 +9,92 @@ import type { FunctionComponent, PropsWithChildren } from 'react';
|
|
|
9
9
|
export interface ThemeContextValue {
|
|
10
10
|
/**
|
|
11
11
|
* Least contrast base background color.
|
|
12
|
-
* @default rgb(
|
|
12
|
+
* @default rgb(215,215,220)
|
|
13
13
|
*/
|
|
14
14
|
colorBackgroundBase100: Color;
|
|
15
15
|
/**
|
|
16
16
|
* Dim base background color.
|
|
17
|
-
* @default rgb(
|
|
17
|
+
* @default rgb(220,220,225)
|
|
18
18
|
*/
|
|
19
19
|
colorBackgroundBase200: Color;
|
|
20
20
|
/**
|
|
21
21
|
* Mix of dim and muted base background color.
|
|
22
|
-
* @default rgb(
|
|
22
|
+
* @default rgb(225,225,230)
|
|
23
23
|
*/
|
|
24
24
|
colorBackgroundBase300: Color;
|
|
25
25
|
/**
|
|
26
26
|
* Muted base background color.
|
|
27
|
-
* @default rgb(
|
|
27
|
+
* @default rgb(230,230,235)
|
|
28
28
|
*/
|
|
29
29
|
colorBackgroundBase400: Color;
|
|
30
30
|
/**
|
|
31
31
|
* Mix of muted and subtle base background color.
|
|
32
|
-
* @default rgb(
|
|
32
|
+
* @default rgb(235,235,240)
|
|
33
33
|
*/
|
|
34
34
|
colorBackgroundBase500: Color;
|
|
35
35
|
/**
|
|
36
36
|
* Subtle base background color.
|
|
37
|
-
* @default rgb(
|
|
37
|
+
* @default rgb(240,240,245)
|
|
38
38
|
*/
|
|
39
39
|
colorBackgroundBase600: Color;
|
|
40
40
|
/**
|
|
41
41
|
* Mix of subtle and default base background color.
|
|
42
|
-
* @default rgb(
|
|
42
|
+
* @default rgb(245,245,250)
|
|
43
43
|
*/
|
|
44
44
|
colorBackgroundBase700: Color;
|
|
45
45
|
/**
|
|
46
46
|
* Base default interface background color.
|
|
47
|
-
* @default rgb(
|
|
47
|
+
* @default rgb(250,250,255)
|
|
48
48
|
*/
|
|
49
49
|
colorBackgroundBase800: Color;
|
|
50
50
|
/**
|
|
51
51
|
* Most contrast base background color.
|
|
52
|
-
* @default rgb(
|
|
52
|
+
* @default rgb(255,255,255)
|
|
53
53
|
*/
|
|
54
54
|
colorBackgroundBase900: Color;
|
|
55
55
|
/**
|
|
56
56
|
* Least contrast primary background color.
|
|
57
|
-
* @default rgb(
|
|
57
|
+
* @default rgb(40,40,45)
|
|
58
58
|
*/
|
|
59
59
|
colorBackgroundPrimary100: Color;
|
|
60
60
|
/**
|
|
61
61
|
* Dim primary background color.
|
|
62
|
-
* @default rgb(
|
|
62
|
+
* @default rgb(35,35,40)
|
|
63
63
|
*/
|
|
64
64
|
colorBackgroundPrimary200: Color;
|
|
65
65
|
/**
|
|
66
66
|
* Mix of dim and muted primary background color.
|
|
67
|
-
* @default rgb(
|
|
67
|
+
* @default rgb(30,30,35)
|
|
68
68
|
*/
|
|
69
69
|
colorBackgroundPrimary300: Color;
|
|
70
70
|
/**
|
|
71
71
|
* Muted primary background color.
|
|
72
|
-
* @default rgb(
|
|
72
|
+
* @default rgb(25,25,30)
|
|
73
73
|
*/
|
|
74
74
|
colorBackgroundPrimary400: Color;
|
|
75
75
|
/**
|
|
76
76
|
* Mix of muted and subtle primary background color.
|
|
77
|
-
* @default rgb(
|
|
77
|
+
* @default rgb(20,20,25)
|
|
78
78
|
*/
|
|
79
79
|
colorBackgroundPrimary500: Color;
|
|
80
80
|
/**
|
|
81
81
|
* Subtle primary background color.
|
|
82
|
-
* @default rgb(
|
|
82
|
+
* @default rgb(15,15,20)
|
|
83
83
|
*/
|
|
84
84
|
colorBackgroundPrimary600: Color;
|
|
85
85
|
/**
|
|
86
86
|
* Mix of subtle and default primary background color.
|
|
87
|
-
* @default rgb(
|
|
87
|
+
* @default rgb(10,10,15)
|
|
88
88
|
*/
|
|
89
89
|
colorBackgroundPrimary700: Color;
|
|
90
90
|
/**
|
|
91
91
|
* Primary default background color.
|
|
92
|
-
* @default rgb(
|
|
92
|
+
* @default rgb(5,5,10)
|
|
93
93
|
*/
|
|
94
94
|
colorBackgroundPrimary800: Color;
|
|
95
95
|
/**
|
|
96
96
|
* Most contrast primary background color.
|
|
97
|
-
* @default rgb(
|
|
97
|
+
* @default rgb(0,0,5)
|
|
98
98
|
*/
|
|
99
99
|
colorBackgroundPrimary900: Color;
|
|
100
100
|
/**
|
|
@@ -142,49 +142,94 @@ export interface ThemeContextValue {
|
|
|
142
142
|
* @default rgb(50,130,200)
|
|
143
143
|
*/
|
|
144
144
|
colorBackgroundAccent900: Color;
|
|
145
|
+
/**
|
|
146
|
+
* Least contrast subaccent background color.
|
|
147
|
+
* @default rgb(215,245,235)
|
|
148
|
+
*/
|
|
149
|
+
colorBackgroundSubaccent100: Color;
|
|
150
|
+
/**
|
|
151
|
+
* Dim subaccent background color.
|
|
152
|
+
* @default rgb(200,240,225)
|
|
153
|
+
*/
|
|
154
|
+
colorBackgroundSubaccent200: Color;
|
|
155
|
+
/**
|
|
156
|
+
* Mix of dim and muted subaccent background color.
|
|
157
|
+
* @default rgb(185,235,215)
|
|
158
|
+
*/
|
|
159
|
+
colorBackgroundSubaccent300: Color;
|
|
160
|
+
/**
|
|
161
|
+
* Muted subaccent background color.
|
|
162
|
+
* @default rgb(170,230,205)
|
|
163
|
+
*/
|
|
164
|
+
colorBackgroundSubaccent400: Color;
|
|
165
|
+
/**
|
|
166
|
+
* Mix of muted and subtle subaccent background color.
|
|
167
|
+
* @default rgb(155,225,195)
|
|
168
|
+
*/
|
|
169
|
+
colorBackgroundSubaccent500: Color;
|
|
170
|
+
/**
|
|
171
|
+
* Subtle subaccent background color.
|
|
172
|
+
* @default rgb(145,222,190)
|
|
173
|
+
*/
|
|
174
|
+
colorBackgroundSubaccent600: Color;
|
|
175
|
+
/**
|
|
176
|
+
* Mix of subtle and default subaccent background color.
|
|
177
|
+
* @default rgb(135,218,185)
|
|
178
|
+
*/
|
|
179
|
+
colorBackgroundSubaccent700: Color;
|
|
180
|
+
/**
|
|
181
|
+
* Subaccent default background color.
|
|
182
|
+
* @default rgb(125,215,180)
|
|
183
|
+
*/
|
|
184
|
+
colorBackgroundSubaccent800: Color;
|
|
185
|
+
/**
|
|
186
|
+
* Most contrast subaccent background color.
|
|
187
|
+
* @default rgb(100,195,160)
|
|
188
|
+
*/
|
|
189
|
+
colorBackgroundSubaccent900: Color;
|
|
145
190
|
/**
|
|
146
191
|
* Least contrast base border color.
|
|
147
|
-
* @default rgb(
|
|
192
|
+
* @default rgb(235,235,240)
|
|
148
193
|
*/
|
|
149
194
|
colorBorderBase100: Color;
|
|
150
195
|
/**
|
|
151
196
|
* Dim base border color.
|
|
152
|
-
* @default rgb(
|
|
197
|
+
* @default rgb(230,230,235)
|
|
153
198
|
*/
|
|
154
199
|
colorBorderBase200: Color;
|
|
155
200
|
/**
|
|
156
201
|
* Mix of dim and muted base border color.
|
|
157
|
-
* @default rgb(
|
|
202
|
+
* @default rgb(225,225,230)
|
|
158
203
|
*/
|
|
159
204
|
colorBorderBase300: Color;
|
|
160
205
|
/**
|
|
161
206
|
* Muted base border color.
|
|
162
|
-
* @default rgb(
|
|
207
|
+
* @default rgb(220,220,225)
|
|
163
208
|
*/
|
|
164
209
|
colorBorderBase400: Color;
|
|
165
210
|
/**
|
|
166
211
|
* Mix of muted and subtle base border color.
|
|
167
|
-
* @default rgb(
|
|
212
|
+
* @default rgb(215,215,220)
|
|
168
213
|
*/
|
|
169
214
|
colorBorderBase500: Color;
|
|
170
215
|
/**
|
|
171
216
|
* Subtle base border color.
|
|
172
|
-
* @default rgb(
|
|
217
|
+
* @default rgb(210,210,215)
|
|
173
218
|
*/
|
|
174
219
|
colorBorderBase600: Color;
|
|
175
220
|
/**
|
|
176
221
|
* Mix of subtle and default base border color.
|
|
177
|
-
* @default rgb(
|
|
222
|
+
* @default rgb(205,205,210)
|
|
178
223
|
*/
|
|
179
224
|
colorBorderBase700: Color;
|
|
180
225
|
/**
|
|
181
226
|
* Base default border color.
|
|
182
|
-
* @default rgb(
|
|
227
|
+
* @default rgb(200,200,205)
|
|
183
228
|
*/
|
|
184
229
|
colorBorderBase800: Color;
|
|
185
230
|
/**
|
|
186
231
|
* Most contrast base border color.
|
|
187
|
-
* @default rgb(
|
|
232
|
+
* @default rgb(195,195,200)
|
|
188
233
|
*/
|
|
189
234
|
colorBorderBase900: Color;
|
|
190
235
|
/**
|
|
@@ -324,9 +369,9 @@ export interface ThemeContextValue {
|
|
|
324
369
|
colorForegroundFailure900: Color;
|
|
325
370
|
/**
|
|
326
371
|
* Base font family.
|
|
327
|
-
* @see
|
|
372
|
+
* @see FONT_FAMILY_DEFAULT
|
|
328
373
|
*/
|
|
329
|
-
|
|
374
|
+
fontFamilyDefault: string;
|
|
330
375
|
/**
|
|
331
376
|
* Typographic font family.
|
|
332
377
|
* @see FONT_FAMILY_TYPOGRAPHIC
|