@carbon/themes 11.74.0 → 11.75.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/es/index.js +68 -101
- package/lib/component-tokens/button/index.d.ts +7 -0
- package/lib/component-tokens/button/tokens.d.ts +98 -0
- package/{src/component-tokens/content-switcher/index.js → lib/component-tokens/content-switcher/index.d.ts} +1 -1
- package/lib/component-tokens/content-switcher/tokens.d.ts +24 -0
- package/lib/component-tokens/notification/index.d.ts +7 -0
- package/lib/component-tokens/notification/tokens.d.ts +64 -0
- package/lib/component-tokens/status/index.d.ts +7 -0
- package/lib/component-tokens/status/tokens.d.ts +62 -0
- package/lib/component-tokens/tag/index.d.ts +7 -0
- package/lib/component-tokens/tag/tokens.d.ts +246 -0
- package/lib/g10.d.ts +242 -0
- package/lib/g100.d.ts +242 -0
- package/lib/g90.d.ts +242 -0
- package/lib/index.d.ts +26 -0
- package/lib/index.js +68 -101
- package/lib/tokens/Token.d.ts +20 -0
- package/lib/tokens/TokenFormat.d.ts +15 -0
- package/lib/tokens/TokenGroup.d.ts +57 -0
- package/lib/tokens/TokenSet.d.ts +30 -0
- package/lib/tokens/components.d.ts +12 -0
- package/lib/tokens/index.d.ts +21 -0
- package/lib/tokens/layout.d.ts +8 -0
- package/lib/tokens/type.d.ts +8 -0
- package/lib/tokens/types.d.ts +23 -0
- package/lib/tokens/v10.d.ts +10 -0
- package/lib/tokens/v11TokenGroup.d.ts +21 -0
- package/lib/tokens/v11TokenSet.d.ts +8 -0
- package/lib/tools.d.ts +17 -0
- package/lib/v10/g10.d.ts +154 -0
- package/lib/v10/g100.d.ts +154 -0
- package/lib/v10/g90.d.ts +154 -0
- package/lib/v10/index.d.ts +19 -0
- package/lib/v10/tokens.d.ts +18 -0
- package/lib/v10/white.d.ts +155 -0
- package/lib/white.d.ts +243 -0
- package/package.json +10 -5
- package/src/component-tokens/button/{index.js → index.ts} +1 -1
- package/src/component-tokens/button/{tokens.js → tokens.ts} +1 -1
- package/src/component-tokens/content-switcher/index.ts +7 -0
- package/src/component-tokens/content-switcher/{tokens.js → tokens.ts} +1 -1
- package/src/component-tokens/notification/{index.js → index.ts} +1 -1
- package/src/component-tokens/notification/{tokens.js → tokens.ts} +1 -1
- package/src/component-tokens/status/{index.js → index.ts} +1 -1
- package/src/component-tokens/status/{tokens.js → tokens.ts} +1 -1
- package/src/component-tokens/tag/{index.js → index.ts} +1 -1
- package/src/component-tokens/tag/{tokens.js → tokens.ts} +1 -1
- package/src/{g10.js → g10.ts} +1 -1
- package/src/{g100.js → g100.ts} +1 -1
- package/src/{g90.js → g90.ts} +1 -1
- package/src/{index.js → index.ts} +1 -1
- package/src/tokens/{Token.js → Token.ts} +10 -4
- package/src/tokens/{TokenFormat.js → TokenFormat.ts} +12 -7
- package/src/tokens/{TokenGroup.js → TokenGroup.ts} +38 -16
- package/src/tokens/{TokenSet.js → TokenSet.ts} +22 -8
- package/src/tokens/{components.js → components.ts} +1 -1
- package/src/tokens/{index.js → index.ts} +13 -22
- package/src/tokens/{layout.js → layout.ts} +1 -1
- package/src/tokens/{type.js → type.ts} +1 -1
- package/src/tokens/types.ts +28 -0
- package/src/tokens/{v10.js → v10.ts} +1 -1
- package/src/tokens/{v11TokenGroup.js → v11TokenGroup.ts} +1 -1
- package/src/tokens/v11TokenSet.ts +93 -0
- package/src/{tools.js → tools.ts} +7 -15
- package/src/v10/{g10.js → g10.ts} +1 -1
- package/src/v10/{g100.js → g100.ts} +1 -1
- package/src/v10/{g90.js → g90.ts} +1 -1
- package/src/v10/{index.js → index.ts} +1 -1
- package/src/v10/{tokens.js → tokens.ts} +1 -1
- package/src/v10/{white.js → white.ts} +1 -1
- package/src/{white.js → white.ts} +1 -1
- package/tsconfig.json +8 -0
- package/tsconfig.types.json +9 -0
- package/umd/index.js +68 -101
- package/src/tokens/v11TokenSet.js +0 -94
package/lib/tools.d.ts
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Adjust a given token's lightness by a specified percentage
|
|
3
|
+
* Example: token = hsl(10, 10, 10);
|
|
4
|
+
* adjustLightness(token, 5) === hsl(10, 10, 15);
|
|
5
|
+
* adjustLightness(token, -5) === hsl(10, 10, 5);
|
|
6
|
+
*/
|
|
7
|
+
export declare const adjustLightness: (token: string, shift: number) => string;
|
|
8
|
+
/**
|
|
9
|
+
* Adjust a given token's alpha by a specified amount
|
|
10
|
+
* Example: token = rgba(10, 10, 10, 1.0);
|
|
11
|
+
* adjustAlpha(token, 0.3) === rgba(10, 10, 10, 0.3);
|
|
12
|
+
*/
|
|
13
|
+
export declare const adjustAlpha: (token: string, alpha: number) => string;
|
|
14
|
+
/**
|
|
15
|
+
* Format a given token into the format expected in CSS/SCSS-based projects.
|
|
16
|
+
*/
|
|
17
|
+
export declare const formatTokenName: (token: string) => string;
|
package/lib/v10/g10.d.ts
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2018, 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
export declare const interactive01 = "#0f62fe";
|
|
8
|
+
export declare const interactive02 = "#393939";
|
|
9
|
+
export declare const interactive03 = "#0f62fe";
|
|
10
|
+
export declare const interactive04 = "#0f62fe";
|
|
11
|
+
export declare const uiBackground = "#f4f4f4";
|
|
12
|
+
export declare const ui01 = "#ffffff";
|
|
13
|
+
export declare const ui02 = "#f4f4f4";
|
|
14
|
+
export declare const ui03 = "#e0e0e0";
|
|
15
|
+
export declare const ui04 = "#8d8d8d";
|
|
16
|
+
export declare const ui05 = "#161616";
|
|
17
|
+
export declare const text01 = "#161616";
|
|
18
|
+
export declare const text02 = "#525252";
|
|
19
|
+
export declare const text03 = "#a8a8a8";
|
|
20
|
+
export declare const text04 = "#ffffff";
|
|
21
|
+
export declare const text05 = "#6f6f6f";
|
|
22
|
+
export declare const textError = "#da1e28";
|
|
23
|
+
export declare const icon01 = "#161616";
|
|
24
|
+
export declare const icon02 = "#525252";
|
|
25
|
+
export declare const icon03 = "#ffffff";
|
|
26
|
+
export declare const link01 = "#0f62fe";
|
|
27
|
+
export declare const link02 = "#0043ce";
|
|
28
|
+
export declare const inverseLink = "#78a9ff";
|
|
29
|
+
export declare const field01 = "#ffffff";
|
|
30
|
+
export declare const field02 = "#f4f4f4";
|
|
31
|
+
export declare const inverse01 = "#ffffff";
|
|
32
|
+
export declare const inverse02 = "#393939";
|
|
33
|
+
export declare const support01 = "#da1e28";
|
|
34
|
+
export declare const support02 = "#198038";
|
|
35
|
+
export declare const support03 = "#f1c21b";
|
|
36
|
+
export declare const support04 = "#0043ce";
|
|
37
|
+
export declare const inverseSupport01 = "#fa4d56";
|
|
38
|
+
export declare const inverseSupport02 = "#42be65";
|
|
39
|
+
export declare const inverseSupport03 = "#f1c21b";
|
|
40
|
+
export declare const inverseSupport04 = "#4589ff";
|
|
41
|
+
export declare const overlay01: string;
|
|
42
|
+
export declare const danger01 = "#da1e28";
|
|
43
|
+
export declare const danger02 = "#da1e28";
|
|
44
|
+
export declare const focus = "#0f62fe";
|
|
45
|
+
export declare const inverseFocusUi = "#ffffff";
|
|
46
|
+
export declare const hoverPrimary = "#0353e9";
|
|
47
|
+
export declare const activePrimary = "#002d9c";
|
|
48
|
+
export declare const hoverPrimaryText = "#0043ce";
|
|
49
|
+
export declare const hoverSecondary = "#4c4c4c";
|
|
50
|
+
export declare const activeSecondary = "#6f6f6f";
|
|
51
|
+
export declare const hoverTertiary = "#0353e9";
|
|
52
|
+
export declare const activeTertiary = "#002d9c";
|
|
53
|
+
export declare const hoverUI = "#e5e5e5";
|
|
54
|
+
export declare const hoverLightUI = "#e5e5e5";
|
|
55
|
+
export declare const activeUI = "#c6c6c6";
|
|
56
|
+
export declare const activeLightUI = "#c6c6c6";
|
|
57
|
+
export declare const selectedUI = "#e0e0e0";
|
|
58
|
+
export declare const selectedLightUI = "#e0e0e0";
|
|
59
|
+
export declare const inverseHoverUI = "#4c4c4c";
|
|
60
|
+
export declare const hoverSelectedUI = "#cacaca";
|
|
61
|
+
export declare const hoverDanger: string;
|
|
62
|
+
export declare const activeDanger = "#750e13";
|
|
63
|
+
export declare const hoverRow = "#e5e5e5";
|
|
64
|
+
export declare const visitedLink = "#8a3ffc";
|
|
65
|
+
export declare const disabled01 = "#ffffff";
|
|
66
|
+
export declare const disabled02 = "#c6c6c6";
|
|
67
|
+
export declare const disabled03 = "#8d8d8d";
|
|
68
|
+
export declare const highlight = "#d0e2ff";
|
|
69
|
+
export declare const decorative01 = "#e0e0e0";
|
|
70
|
+
export declare const buttonSeparator = "#e0e0e0";
|
|
71
|
+
export declare const skeleton01 = "#e5e5e5";
|
|
72
|
+
export declare const skeleton02 = "#c6c6c6";
|
|
73
|
+
export declare const background = "#f4f4f4";
|
|
74
|
+
export declare const layer = "#ffffff";
|
|
75
|
+
export declare const layerAccent = "#e0e0e0";
|
|
76
|
+
export declare const layerAccentActive = "#a8a8a8";
|
|
77
|
+
export declare const layerAccentHover: string;
|
|
78
|
+
export declare const field = "#ffffff";
|
|
79
|
+
export declare const backgroundInverse = "#393939";
|
|
80
|
+
export declare const backgroundBrand = "#0f62fe";
|
|
81
|
+
export declare const interactive = "#0f62fe";
|
|
82
|
+
export declare const borderSubtle = "#e0e0e0";
|
|
83
|
+
export declare const borderStrong = "#8d8d8d";
|
|
84
|
+
export declare const borderInverse = "#161616";
|
|
85
|
+
export declare const borderInteractive = "#0f62fe";
|
|
86
|
+
export declare const textPrimary = "#161616";
|
|
87
|
+
export declare const textSecondary = "#525252";
|
|
88
|
+
export declare const textPlaceholder = "#a8a8a8";
|
|
89
|
+
export declare const textHelper = "#6f6f6f";
|
|
90
|
+
export declare const textOnColor = "#ffffff";
|
|
91
|
+
export declare const textInverse = "#ffffff";
|
|
92
|
+
export declare const linkPrimary = "#0f62fe";
|
|
93
|
+
export declare const linkSecondary = "#0043ce";
|
|
94
|
+
export declare const linkVisited = "#8a3ffc";
|
|
95
|
+
export declare const linkInverse = "#78a9ff";
|
|
96
|
+
export declare const iconPrimary = "#161616";
|
|
97
|
+
export declare const iconSecondary = "#525252";
|
|
98
|
+
export declare const iconOnColor = "#ffffff";
|
|
99
|
+
export declare const iconInverse = "#ffffff";
|
|
100
|
+
export declare const supportError = "#da1e28";
|
|
101
|
+
export declare const supportSuccess = "#198038";
|
|
102
|
+
export declare const supportWarning = "#f1c21b";
|
|
103
|
+
export declare const supportInfo = "#0043ce";
|
|
104
|
+
export declare const supportErrorInverse = "#fa4d56";
|
|
105
|
+
export declare const supportSuccessInverse = "#42be65";
|
|
106
|
+
export declare const supportWarningInverse = "#f1c21b";
|
|
107
|
+
export declare const supportInfoInverse = "#4589ff";
|
|
108
|
+
export declare const overlay: string;
|
|
109
|
+
export declare const toggleOff = "#8d8d8d";
|
|
110
|
+
export declare const shadow: string;
|
|
111
|
+
export declare const buttonPrimary = "#0f62fe";
|
|
112
|
+
export declare const buttonSecondary = "#393939";
|
|
113
|
+
export declare const buttonTertiary = "#0f62fe";
|
|
114
|
+
export declare const buttonDangerPrimary = "#da1e28";
|
|
115
|
+
export declare const buttonDangerSecondary = "#da1e28";
|
|
116
|
+
export declare const backgroundActive = "#c6c6c6";
|
|
117
|
+
export declare const layerActive = "#c6c6c6";
|
|
118
|
+
export declare const buttonDangerActive = "#750e13";
|
|
119
|
+
export declare const buttonPrimaryActive = "#002d9c";
|
|
120
|
+
export declare const buttonSecondaryActive = "#6f6f6f";
|
|
121
|
+
export declare const buttonTertiaryActive = "#002d9c";
|
|
122
|
+
export declare const focusInset = "#ffffff";
|
|
123
|
+
export declare const focusInverse = "#ffffff";
|
|
124
|
+
export declare const backgroundHover = "#e5e5e5";
|
|
125
|
+
export declare const layerHover = "#e5e5e5";
|
|
126
|
+
export declare const fieldHover = "#e5e5e5";
|
|
127
|
+
export declare const backgroundInverseHover = "#4c4c4c";
|
|
128
|
+
export declare const linkPrimaryHover = "#0043ce";
|
|
129
|
+
export declare const buttonDangerHover: string;
|
|
130
|
+
export declare const buttonPrimaryHover = "#0353e9";
|
|
131
|
+
export declare const buttonSecondaryHover = "#4c4c4c";
|
|
132
|
+
export declare const buttonTertiaryHover = "#0353e9";
|
|
133
|
+
export declare const backgroundSelected = "#e0e0e0";
|
|
134
|
+
export declare const backgroundSelectedHover = "#cacaca";
|
|
135
|
+
export declare const layerSelected = "#e0e0e0";
|
|
136
|
+
export declare const layerSelectedHover = "#cacaca";
|
|
137
|
+
export declare const layerSelectedInverse = "#161616";
|
|
138
|
+
export declare const borderSubtleSelected = "#c6c6c6";
|
|
139
|
+
export declare const borderDisabled = "#ffffff";
|
|
140
|
+
export declare const textDisabled = "#c6c6c6";
|
|
141
|
+
export declare const buttonDisabled = "#c6c6c6";
|
|
142
|
+
export declare const iconDisabled = "#c6c6c6";
|
|
143
|
+
export declare const textOnColorDisabled = "#8d8d8d";
|
|
144
|
+
export declare const iconOnColorDisabled = "#8d8d8d";
|
|
145
|
+
export declare const layerSelectedDisabled = "#8d8d8d";
|
|
146
|
+
export declare const skeletonBackground = "#e5e5e5";
|
|
147
|
+
export declare const skeletonElement = "#c6c6c6";
|
|
148
|
+
export { caption01, caption02, label01, label02, helperText01, helperText02, bodyShort01, bodyLong01, bodyShort02, bodyLong02, code01, code02, heading01, productiveHeading01, heading02, productiveHeading02, productiveHeading03, productiveHeading04, productiveHeading05, productiveHeading06, productiveHeading07, expressiveHeading01, expressiveHeading02, expressiveHeading03, expressiveHeading04, expressiveHeading05, expressiveHeading06, expressiveParagraph01, quotation01, quotation02, display01, display02, display03, display04, legal01, legal02, bodyCompact01, bodyCompact02, body01, body02, headingCompact01, headingCompact02, heading03, heading04, heading05, heading06, heading07, fluidHeading03, fluidHeading04, fluidHeading05, fluidHeading06, fluidParagraph01, fluidQuotation01, fluidQuotation02, fluidDisplay01, fluidDisplay02, fluidDisplay03, fluidDisplay04, spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09, spacing10, spacing11, spacing12, spacing13, fluidSpacing01, fluidSpacing02, fluidSpacing03, fluidSpacing04, container01, container02, container03, container04, container05, sizeXSmall, sizeSmall, sizeMedium, sizeLarge, sizeXLarge, size2XLarge, iconSize01, iconSize02, layout01, layout02, layout03, layout04, layout05, layout06, layout07, } from './white';
|
|
149
|
+
export declare const brand01 = "#0f62fe";
|
|
150
|
+
export declare const brand02 = "#393939";
|
|
151
|
+
export declare const brand03 = "#0f62fe";
|
|
152
|
+
export declare const active01 = "#c6c6c6";
|
|
153
|
+
export declare const hoverField = "#e5e5e5";
|
|
154
|
+
export declare const danger = "#da1e28";
|
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2018, 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
export declare const interactive01 = "#0f62fe";
|
|
8
|
+
export declare const interactive02 = "#6f6f6f";
|
|
9
|
+
export declare const interactive03 = "#ffffff";
|
|
10
|
+
export declare const interactive04 = "#4589ff";
|
|
11
|
+
export declare const uiBackground = "#161616";
|
|
12
|
+
export declare const ui01 = "#262626";
|
|
13
|
+
export declare const ui02 = "#393939";
|
|
14
|
+
export declare const ui03 = "#393939";
|
|
15
|
+
export declare const ui04 = "#6f6f6f";
|
|
16
|
+
export declare const ui05 = "#f4f4f4";
|
|
17
|
+
export declare const text01 = "#f4f4f4";
|
|
18
|
+
export declare const text02 = "#c6c6c6";
|
|
19
|
+
export declare const text03 = "#6f6f6f";
|
|
20
|
+
export declare const text04 = "#ffffff";
|
|
21
|
+
export declare const text05 = "#8d8d8d";
|
|
22
|
+
export declare const textError = "#ff8389";
|
|
23
|
+
export declare const icon01 = "#f4f4f4";
|
|
24
|
+
export declare const icon02 = "#c6c6c6";
|
|
25
|
+
export declare const icon03 = "#ffffff";
|
|
26
|
+
export declare const link01 = "#78a9ff";
|
|
27
|
+
export declare const link02 = "#a6c8ff";
|
|
28
|
+
export declare const inverseLink = "#0f62fe";
|
|
29
|
+
export declare const field01 = "#262626";
|
|
30
|
+
export declare const field02 = "#393939";
|
|
31
|
+
export declare const inverse01 = "#161616";
|
|
32
|
+
export declare const inverse02 = "#f4f4f4";
|
|
33
|
+
export declare const support01 = "#fa4d56";
|
|
34
|
+
export declare const support02 = "#42be65";
|
|
35
|
+
export declare const support03 = "#f1c21b";
|
|
36
|
+
export declare const support04 = "#4589ff";
|
|
37
|
+
export declare const inverseSupport01 = "#da1e28";
|
|
38
|
+
export declare const inverseSupport02 = "#24a148";
|
|
39
|
+
export declare const inverseSupport03 = "#f1c21b";
|
|
40
|
+
export declare const inverseSupport04 = "#0f62fe";
|
|
41
|
+
export declare const overlay01: string;
|
|
42
|
+
export declare const danger01 = "#da1e28";
|
|
43
|
+
export declare const danger02 = "#fa4d56";
|
|
44
|
+
export declare const focus = "#ffffff";
|
|
45
|
+
export declare const inverseFocusUi = "#0f62fe";
|
|
46
|
+
export declare const hoverPrimary = "#0353e9";
|
|
47
|
+
export declare const activePrimary = "#002d9c";
|
|
48
|
+
export declare const hoverPrimaryText = "#a6c8ff";
|
|
49
|
+
export declare const hoverSecondary = "#606060";
|
|
50
|
+
export declare const activeSecondary = "#393939";
|
|
51
|
+
export declare const hoverTertiary = "#f4f4f4";
|
|
52
|
+
export declare const activeTertiary = "#c6c6c6";
|
|
53
|
+
export declare const hoverUI = "#353535";
|
|
54
|
+
export declare const hoverLightUI = "#4c4c4c";
|
|
55
|
+
export declare const activeUI = "#525252";
|
|
56
|
+
export declare const activeLightUI = "#6f6f6f";
|
|
57
|
+
export declare const selectedUI = "#393939";
|
|
58
|
+
export declare const selectedLightUI = "#525252";
|
|
59
|
+
export declare const inverseHoverUI = "#e5e5e5";
|
|
60
|
+
export declare const hoverSelectedUI = "#4c4c4c";
|
|
61
|
+
export declare const hoverDanger: string;
|
|
62
|
+
export declare const activeDanger = "#750e13";
|
|
63
|
+
export declare const hoverRow = "#353535";
|
|
64
|
+
export declare const visitedLink = "#be95ff";
|
|
65
|
+
export declare const disabled01 = "#262626";
|
|
66
|
+
export declare const disabled02 = "#525252";
|
|
67
|
+
export declare const disabled03 = "#8d8d8d";
|
|
68
|
+
export declare const highlight = "#002d9c";
|
|
69
|
+
export declare const decorative01 = "#525252";
|
|
70
|
+
export declare const buttonSeparator = "#161616";
|
|
71
|
+
export declare const skeleton01 = "#353535";
|
|
72
|
+
export declare const skeleton02 = "#525252";
|
|
73
|
+
export declare const background = "#161616";
|
|
74
|
+
export declare const layer = "#262626";
|
|
75
|
+
export declare const layerAccent = "#393939";
|
|
76
|
+
export declare const layerAccentActive = "#6f6f6f";
|
|
77
|
+
export declare const layerAccentHover: string;
|
|
78
|
+
export declare const field = "#262626";
|
|
79
|
+
export declare const backgroundInverse = "#f4f4f4";
|
|
80
|
+
export declare const backgroundBrand = "#0f62fe";
|
|
81
|
+
export declare const interactive = "#4589ff";
|
|
82
|
+
export declare const borderSubtle = "#393939";
|
|
83
|
+
export declare const borderStrong = "#6f6f6f";
|
|
84
|
+
export declare const borderInverse = "#f4f4f4";
|
|
85
|
+
export declare const borderInteractive = "#4589ff";
|
|
86
|
+
export declare const textPrimary = "#f4f4f4";
|
|
87
|
+
export declare const textSecondary = "#c6c6c6";
|
|
88
|
+
export declare const textPlaceholder = "#6f6f6f";
|
|
89
|
+
export declare const textHelper = "#8d8d8d";
|
|
90
|
+
export declare const textOnColor = "#ffffff";
|
|
91
|
+
export declare const textInverse = "#161616";
|
|
92
|
+
export declare const linkPrimary = "#78a9ff";
|
|
93
|
+
export declare const linkSecondary = "#a6c8ff";
|
|
94
|
+
export declare const linkVisited = "#be95ff";
|
|
95
|
+
export declare const linkInverse = "#0f62fe";
|
|
96
|
+
export declare const iconPrimary = "#f4f4f4";
|
|
97
|
+
export declare const iconSecondary = "#c6c6c6";
|
|
98
|
+
export declare const iconOnColor = "#ffffff";
|
|
99
|
+
export declare const iconInverse = "#161616";
|
|
100
|
+
export declare const supportError = "#fa4d56";
|
|
101
|
+
export declare const supportSuccess = "#42be65";
|
|
102
|
+
export declare const supportWarning = "#f1c21b";
|
|
103
|
+
export declare const supportInfo = "#4589ff";
|
|
104
|
+
export declare const supportErrorInverse = "#da1e28";
|
|
105
|
+
export declare const supportSuccessInverse = "#24a148";
|
|
106
|
+
export declare const supportWarningInverse = "#f1c21b";
|
|
107
|
+
export declare const supportInfoInverse = "#0f62fe";
|
|
108
|
+
export declare const overlay: string;
|
|
109
|
+
export declare const toggleOff = "#6f6f6f";
|
|
110
|
+
export declare const shadow: string;
|
|
111
|
+
export declare const buttonPrimary = "#0f62fe";
|
|
112
|
+
export declare const buttonSecondary = "#6f6f6f";
|
|
113
|
+
export declare const buttonTertiary = "#ffffff";
|
|
114
|
+
export declare const buttonDangerPrimary = "#da1e28";
|
|
115
|
+
export declare const buttonDangerSecondary = "#fa4d56";
|
|
116
|
+
export declare const backgroundActive = "#525252";
|
|
117
|
+
export declare const layerActive = "#525252";
|
|
118
|
+
export declare const buttonDangerActive = "#750e13";
|
|
119
|
+
export declare const buttonPrimaryActive = "#002d9c";
|
|
120
|
+
export declare const buttonSecondaryActive = "#393939";
|
|
121
|
+
export declare const buttonTertiaryActive = "#c6c6c6";
|
|
122
|
+
export declare const focusInset = "#161616";
|
|
123
|
+
export declare const focusInverse = "#0f62fe";
|
|
124
|
+
export declare const backgroundHover = "#353535";
|
|
125
|
+
export declare const layerHover = "#353535";
|
|
126
|
+
export declare const fieldHover = "#353535";
|
|
127
|
+
export declare const backgroundInverseHover = "#e5e5e5";
|
|
128
|
+
export declare const linkPrimaryHover = "#a6c8ff";
|
|
129
|
+
export declare const buttonDangerHover: string;
|
|
130
|
+
export declare const buttonPrimaryHover = "#0353e9";
|
|
131
|
+
export declare const buttonSecondaryHover = "#606060";
|
|
132
|
+
export declare const buttonTertiaryHover = "#f4f4f4";
|
|
133
|
+
export declare const backgroundSelected = "#393939";
|
|
134
|
+
export declare const backgroundSelectedHover = "#4c4c4c";
|
|
135
|
+
export declare const layerSelected = "#393939";
|
|
136
|
+
export declare const layerSelectedHover = "#4c4c4c";
|
|
137
|
+
export declare const layerSelectedInverse = "#f4f4f4";
|
|
138
|
+
export declare const borderSubtleSelected = "#525252";
|
|
139
|
+
export declare const borderDisabled = "#262626";
|
|
140
|
+
export declare const textDisabled = "#525252";
|
|
141
|
+
export declare const buttonDisabled = "#525252";
|
|
142
|
+
export declare const iconDisabled = "#525252";
|
|
143
|
+
export declare const textOnColorDisabled = "#8d8d8d";
|
|
144
|
+
export declare const iconOnColorDisabled = "#8d8d8d";
|
|
145
|
+
export declare const layerSelectedDisabled = "#8d8d8d";
|
|
146
|
+
export declare const skeletonBackground = "#353535";
|
|
147
|
+
export declare const skeletonElement = "#525252";
|
|
148
|
+
export { caption01, caption02, label01, label02, helperText01, helperText02, bodyShort01, bodyLong01, bodyShort02, bodyLong02, code01, code02, heading01, productiveHeading01, heading02, productiveHeading02, productiveHeading03, productiveHeading04, productiveHeading05, productiveHeading06, productiveHeading07, expressiveHeading01, expressiveHeading02, expressiveHeading03, expressiveHeading04, expressiveHeading05, expressiveHeading06, expressiveParagraph01, quotation01, quotation02, display01, display02, display03, display04, legal01, legal02, bodyCompact01, bodyCompact02, body01, body02, headingCompact01, headingCompact02, heading03, heading04, heading05, heading06, heading07, fluidHeading03, fluidHeading04, fluidHeading05, fluidHeading06, fluidParagraph01, fluidQuotation01, fluidQuotation02, fluidDisplay01, fluidDisplay02, fluidDisplay03, fluidDisplay04, spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09, spacing10, spacing11, spacing12, spacing13, fluidSpacing01, fluidSpacing02, fluidSpacing03, fluidSpacing04, container01, container02, container03, container04, container05, sizeXSmall, sizeSmall, sizeMedium, sizeLarge, sizeXLarge, size2XLarge, iconSize01, iconSize02, layout01, layout02, layout03, layout04, layout05, layout06, layout07, } from './white';
|
|
149
|
+
export declare const brand01 = "#0f62fe";
|
|
150
|
+
export declare const brand02 = "#6f6f6f";
|
|
151
|
+
export declare const brand03 = "#ffffff";
|
|
152
|
+
export declare const active01 = "#525252";
|
|
153
|
+
export declare const hoverField = "#353535";
|
|
154
|
+
export declare const danger = "#da1e28";
|
package/lib/v10/g90.d.ts
ADDED
|
@@ -0,0 +1,154 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2018, 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
export declare const interactive01 = "#0f62fe";
|
|
8
|
+
export declare const interactive02 = "#6f6f6f";
|
|
9
|
+
export declare const interactive03 = "#ffffff";
|
|
10
|
+
export declare const interactive04 = "#4589ff";
|
|
11
|
+
export declare const uiBackground = "#262626";
|
|
12
|
+
export declare const ui01 = "#393939";
|
|
13
|
+
export declare const ui02 = "#525252";
|
|
14
|
+
export declare const ui03 = "#525252";
|
|
15
|
+
export declare const ui04 = "#8d8d8d";
|
|
16
|
+
export declare const ui05 = "#f4f4f4";
|
|
17
|
+
export declare const text01 = "#f4f4f4";
|
|
18
|
+
export declare const text02 = "#c6c6c6";
|
|
19
|
+
export declare const text03 = "#6f6f6f";
|
|
20
|
+
export declare const text04 = "#ffffff";
|
|
21
|
+
export declare const text05 = "#8d8d8d";
|
|
22
|
+
export declare const textError = "#ffb3b8";
|
|
23
|
+
export declare const icon01 = "#f4f4f4";
|
|
24
|
+
export declare const icon02 = "#c6c6c6";
|
|
25
|
+
export declare const icon03 = "#ffffff";
|
|
26
|
+
export declare const link01 = "#78a9ff";
|
|
27
|
+
export declare const link02 = "#a6c8ff";
|
|
28
|
+
export declare const inverseLink = "#0f62fe";
|
|
29
|
+
export declare const field01 = "#393939";
|
|
30
|
+
export declare const field02 = "#525252";
|
|
31
|
+
export declare const inverse01 = "#161616";
|
|
32
|
+
export declare const inverse02 = "#f4f4f4";
|
|
33
|
+
export declare const support01 = "#ff8389";
|
|
34
|
+
export declare const support02 = "#42be65";
|
|
35
|
+
export declare const support03 = "#f1c21b";
|
|
36
|
+
export declare const support04 = "#4589ff";
|
|
37
|
+
export declare const inverseSupport01 = "#da1e28";
|
|
38
|
+
export declare const inverseSupport02 = "#24a148";
|
|
39
|
+
export declare const inverseSupport03 = "#f1c21b";
|
|
40
|
+
export declare const inverseSupport04 = "#0f62fe";
|
|
41
|
+
export declare const overlay01: string;
|
|
42
|
+
export declare const danger01 = "#da1e28";
|
|
43
|
+
export declare const danger02 = "#ff8389";
|
|
44
|
+
export declare const focus = "#ffffff";
|
|
45
|
+
export declare const inverseFocusUi = "#0f62fe";
|
|
46
|
+
export declare const hoverPrimary = "#0353e9";
|
|
47
|
+
export declare const activePrimary = "#002d9c";
|
|
48
|
+
export declare const hoverPrimaryText = "#a6c8ff";
|
|
49
|
+
export declare const hoverSecondary = "#606060";
|
|
50
|
+
export declare const activeSecondary = "#393939";
|
|
51
|
+
export declare const hoverTertiary = "#f4f4f4";
|
|
52
|
+
export declare const activeTertiary = "#c6c6c6";
|
|
53
|
+
export declare const hoverUI = "#4c4c4c";
|
|
54
|
+
export declare const hoverLightUI = "#656565";
|
|
55
|
+
export declare const activeUI = "#6f6f6f";
|
|
56
|
+
export declare const activeLightUI = "#8d8d8d";
|
|
57
|
+
export declare const selectedUI = "#525252";
|
|
58
|
+
export declare const selectedLightUI = "#6f6f6f";
|
|
59
|
+
export declare const inverseHoverUI = "#e5e5e5";
|
|
60
|
+
export declare const hoverSelectedUI = "#656565";
|
|
61
|
+
export declare const hoverDanger: string;
|
|
62
|
+
export declare const activeDanger = "#750e13";
|
|
63
|
+
export declare const hoverRow = "#4c4c4c";
|
|
64
|
+
export declare const visitedLink = "#be95ff";
|
|
65
|
+
export declare const disabled01 = "#393939";
|
|
66
|
+
export declare const disabled02 = "#6f6f6f";
|
|
67
|
+
export declare const disabled03 = "#a8a8a8";
|
|
68
|
+
export declare const highlight = "#0043ce";
|
|
69
|
+
export declare const decorative01 = "#6f6f6f";
|
|
70
|
+
export declare const buttonSeparator = "#161616";
|
|
71
|
+
export declare const skeleton01 = "#353535";
|
|
72
|
+
export declare const skeleton02 = "#525252";
|
|
73
|
+
export declare const background = "#262626";
|
|
74
|
+
export declare const layer = "#393939";
|
|
75
|
+
export declare const layerAccent = "#525252";
|
|
76
|
+
export declare const layerAccentActive = "#8d8d8d";
|
|
77
|
+
export declare const layerAccentHover: string;
|
|
78
|
+
export declare const field = "#393939";
|
|
79
|
+
export declare const backgroundInverse = "#f4f4f4";
|
|
80
|
+
export declare const backgroundBrand = "#0f62fe";
|
|
81
|
+
export declare const interactive = "#4589ff";
|
|
82
|
+
export declare const borderSubtle = "#525252";
|
|
83
|
+
export declare const borderStrong = "#8d8d8d";
|
|
84
|
+
export declare const borderInverse = "#f4f4f4";
|
|
85
|
+
export declare const borderInteractive = "#4589ff";
|
|
86
|
+
export declare const textPrimary = "#f4f4f4";
|
|
87
|
+
export declare const textSecondary = "#c6c6c6";
|
|
88
|
+
export declare const textPlaceholder = "#6f6f6f";
|
|
89
|
+
export declare const textHelper = "#8d8d8d";
|
|
90
|
+
export declare const textOnColor = "#ffffff";
|
|
91
|
+
export declare const textInverse = "#161616";
|
|
92
|
+
export declare const linkPrimary = "#78a9ff";
|
|
93
|
+
export declare const linkSecondary = "#a6c8ff";
|
|
94
|
+
export declare const linkVisited = "#be95ff";
|
|
95
|
+
export declare const linkInverse = "#0f62fe";
|
|
96
|
+
export declare const iconPrimary = "#f4f4f4";
|
|
97
|
+
export declare const iconSecondary = "#c6c6c6";
|
|
98
|
+
export declare const iconOnColor = "#ffffff";
|
|
99
|
+
export declare const iconInverse = "#161616";
|
|
100
|
+
export declare const supportError = "#ff8389";
|
|
101
|
+
export declare const supportSuccess = "#42be65";
|
|
102
|
+
export declare const supportWarning = "#f1c21b";
|
|
103
|
+
export declare const supportInfo = "#4589ff";
|
|
104
|
+
export declare const supportErrorInverse = "#da1e28";
|
|
105
|
+
export declare const supportSuccessInverse = "#24a148";
|
|
106
|
+
export declare const supportWarningInverse = "#f1c21b";
|
|
107
|
+
export declare const supportInfoInverse = "#0f62fe";
|
|
108
|
+
export declare const overlay: string;
|
|
109
|
+
export declare const toggleOff = "#8d8d8d";
|
|
110
|
+
export declare const shadow: string;
|
|
111
|
+
export declare const buttonPrimary = "#0f62fe";
|
|
112
|
+
export declare const buttonSecondary = "#6f6f6f";
|
|
113
|
+
export declare const buttonTertiary = "#ffffff";
|
|
114
|
+
export declare const buttonDangerPrimary = "#da1e28";
|
|
115
|
+
export declare const buttonDangerSecondary = "#ff8389";
|
|
116
|
+
export declare const backgroundActive = "#6f6f6f";
|
|
117
|
+
export declare const layerActive = "#6f6f6f";
|
|
118
|
+
export declare const buttonDangerActive = "#750e13";
|
|
119
|
+
export declare const buttonPrimaryActive = "#002d9c";
|
|
120
|
+
export declare const buttonSecondaryActive = "#393939";
|
|
121
|
+
export declare const buttonTertiaryActive = "#c6c6c6";
|
|
122
|
+
export declare const focusInset = "#161616";
|
|
123
|
+
export declare const focusInverse = "#0f62fe";
|
|
124
|
+
export declare const backgroundHover = "#4c4c4c";
|
|
125
|
+
export declare const layerHover = "#4c4c4c";
|
|
126
|
+
export declare const fieldHover = "#4c4c4c";
|
|
127
|
+
export declare const backgroundInverseHover = "#e5e5e5";
|
|
128
|
+
export declare const linkPrimaryHover = "#a6c8ff";
|
|
129
|
+
export declare const buttonDangerHover: string;
|
|
130
|
+
export declare const buttonPrimaryHover = "#0353e9";
|
|
131
|
+
export declare const buttonSecondaryHover = "#606060";
|
|
132
|
+
export declare const buttonTertiaryHover = "#f4f4f4";
|
|
133
|
+
export declare const backgroundSelected = "#525252";
|
|
134
|
+
export declare const backgroundSelectedHover = "#656565";
|
|
135
|
+
export declare const layerSelected = "#525252";
|
|
136
|
+
export declare const layerSelectedHover = "#656565";
|
|
137
|
+
export declare const layerSelectedInverse = "#f4f4f4";
|
|
138
|
+
export declare const borderSubtleSelected = "#6f6f6f";
|
|
139
|
+
export declare const borderDisabled = "#393939";
|
|
140
|
+
export declare const textDisabled = "#6f6f6f";
|
|
141
|
+
export declare const buttonDisabled = "#6f6f6f";
|
|
142
|
+
export declare const iconDisabled = "#6f6f6f";
|
|
143
|
+
export declare const textOnColorDisabled = "#a8a8a8";
|
|
144
|
+
export declare const iconOnColorDisabled = "#a8a8a8";
|
|
145
|
+
export declare const layerSelectedDisabled = "#a8a8a8";
|
|
146
|
+
export declare const skeletonBackground = "#353535";
|
|
147
|
+
export declare const skeletonElement = "#525252";
|
|
148
|
+
export { caption01, caption02, label01, label02, helperText01, helperText02, bodyShort01, bodyLong01, bodyShort02, bodyLong02, code01, code02, heading01, productiveHeading01, heading02, productiveHeading02, productiveHeading03, productiveHeading04, productiveHeading05, productiveHeading06, productiveHeading07, expressiveHeading01, expressiveHeading02, expressiveHeading03, expressiveHeading04, expressiveHeading05, expressiveHeading06, expressiveParagraph01, quotation01, quotation02, display01, display02, display03, display04, legal01, legal02, bodyCompact01, bodyCompact02, body01, body02, headingCompact01, headingCompact02, heading03, heading04, heading05, heading06, heading07, fluidHeading03, fluidHeading04, fluidHeading05, fluidHeading06, fluidParagraph01, fluidQuotation01, fluidQuotation02, fluidDisplay01, fluidDisplay02, fluidDisplay03, fluidDisplay04, spacing01, spacing02, spacing03, spacing04, spacing05, spacing06, spacing07, spacing08, spacing09, spacing10, spacing11, spacing12, spacing13, fluidSpacing01, fluidSpacing02, fluidSpacing03, fluidSpacing04, container01, container02, container03, container04, container05, sizeXSmall, sizeSmall, sizeMedium, sizeLarge, sizeXLarge, size2XLarge, iconSize01, iconSize02, layout01, layout02, layout03, layout04, layout05, layout06, layout07, } from './white';
|
|
149
|
+
export declare const brand01 = "#0f62fe";
|
|
150
|
+
export declare const brand02 = "#6f6f6f";
|
|
151
|
+
export declare const brand03 = "#ffffff";
|
|
152
|
+
export declare const active01 = "#6f6f6f";
|
|
153
|
+
export declare const hoverField = "#4c4c4c";
|
|
154
|
+
export declare const danger = "#da1e28";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2018, 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
import * as white from './white';
|
|
8
|
+
import * as g10 from './g10';
|
|
9
|
+
import * as g90 from './g90';
|
|
10
|
+
import * as g100 from './g100';
|
|
11
|
+
import { tokens } from './tokens';
|
|
12
|
+
declare const themes: {
|
|
13
|
+
white: typeof white;
|
|
14
|
+
g10: typeof g10;
|
|
15
|
+
g90: typeof g90;
|
|
16
|
+
g100: typeof g100;
|
|
17
|
+
};
|
|
18
|
+
export * from './white';
|
|
19
|
+
export { white, g10, g90, g100, themes, tokens };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright IBM Corp. 2018, 2026
|
|
3
|
+
*
|
|
4
|
+
* This source code is licensed under the Apache-2.0 license found in the
|
|
5
|
+
* LICENSE file in the root directory of this source tree.
|
|
6
|
+
*/
|
|
7
|
+
export declare const tokens: {
|
|
8
|
+
colors: string[];
|
|
9
|
+
type: string[];
|
|
10
|
+
layout: readonly ["spacing01", "spacing02", "spacing03", "spacing04", "spacing05", "spacing06", "spacing07", "spacing08", "spacing09", "spacing10", "spacing11", "spacing12", "spacing13", "fluidSpacing01", "fluidSpacing02", "fluidSpacing03", "fluidSpacing04", "container01", "container02", "container03", "container04", "container05", "sizeXSmall", "sizeSmall", "sizeMedium", "sizeLarge", "sizeXLarge", "size2XLarge", "iconSize01", "iconSize02", "layout01", "layout02", "layout03", "layout04", "layout05", "layout06", "layout07"];
|
|
11
|
+
};
|
|
12
|
+
export declare const unstable__meta: {
|
|
13
|
+
colors: {
|
|
14
|
+
type: string;
|
|
15
|
+
tokens: string[];
|
|
16
|
+
}[];
|
|
17
|
+
deprecated: string[];
|
|
18
|
+
};
|