@elastic/eui-theme-borealis 0.0.1 → 0.0.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.
- package/lib/cjs/eui_theme_borealis_dark.json.d.js +2 -0
- package/lib/cjs/eui_theme_borealis_dark.json.d.js.map +1 -0
- package/lib/cjs/eui_theme_borealis_light.json.d.js +2 -0
- package/lib/cjs/eui_theme_borealis_light.json.d.js.map +1 -0
- package/lib/cjs/index.d.ts +9 -0
- package/lib/cjs/index.d.ts.map +1 -0
- package/lib/cjs/index.js +43 -0
- package/lib/cjs/index.js.map +1 -0
- package/lib/cjs/variables/_animation.d.ts +5 -0
- package/lib/cjs/variables/_animation.d.ts.map +1 -0
- package/lib/cjs/variables/_animation.js +33 -0
- package/lib/cjs/variables/_animation.js.map +1 -0
- package/lib/cjs/variables/_borders.d.ts +3 -0
- package/lib/cjs/variables/_borders.d.ts.map +1 -0
- package/lib/cjs/variables/_borders.js +53 -0
- package/lib/cjs/variables/_borders.js.map +1 -0
- package/lib/cjs/variables/_breakpoint.d.ts +3 -0
- package/lib/cjs/variables/_breakpoint.d.ts.map +1 -0
- package/lib/{variables/_colors.js → cjs/variables/_breakpoint.js} +14 -8
- package/lib/cjs/variables/_breakpoint.js.map +1 -0
- package/lib/cjs/variables/_buttons.d.ts +3 -0
- package/lib/cjs/variables/_buttons.d.ts.map +1 -0
- package/lib/cjs/variables/_buttons.js +105 -0
- package/lib/cjs/variables/_buttons.js.map +1 -0
- package/lib/cjs/variables/_components.d.ts +3 -0
- package/lib/cjs/variables/_components.d.ts.map +1 -0
- package/lib/cjs/variables/_components.js +192 -0
- package/lib/cjs/variables/_components.js.map +1 -0
- package/lib/cjs/variables/_forms.d.ts +41 -0
- package/lib/cjs/variables/_forms.d.ts.map +1 -0
- package/lib/cjs/variables/_forms.js +63 -0
- package/lib/cjs/variables/_forms.js.map +1 -0
- package/lib/cjs/variables/_levels.d.ts +3 -0
- package/lib/cjs/variables/_levels.d.ts.map +1 -0
- package/lib/cjs/variables/_levels.js +26 -0
- package/lib/cjs/variables/_levels.js.map +1 -0
- package/lib/cjs/variables/_size.d.ts +4 -0
- package/lib/cjs/variables/_size.d.ts.map +1 -0
- package/lib/cjs/variables/_size.js +29 -0
- package/lib/cjs/variables/_size.js.map +1 -0
- package/lib/cjs/variables/_states.d.ts +3 -0
- package/lib/cjs/variables/_states.d.ts.map +1 -0
- package/lib/cjs/variables/_states.js +39 -0
- package/lib/cjs/variables/_states.js.map +1 -0
- package/lib/cjs/variables/_typography.d.ts +6 -0
- package/lib/cjs/variables/_typography.d.ts.map +1 -0
- package/lib/cjs/variables/_typography.js +78 -0
- package/lib/cjs/variables/_typography.js.map +1 -0
- package/lib/cjs/variables/colors/_colors_dark.d.ts +16 -0
- package/lib/cjs/variables/colors/_colors_dark.d.ts.map +1 -0
- package/lib/cjs/variables/colors/_colors_dark.js +147 -0
- package/lib/cjs/variables/colors/_colors_dark.js.map +1 -0
- package/lib/cjs/variables/colors/_colors_light.d.ts +16 -0
- package/lib/cjs/variables/colors/_colors_light.d.ts.map +1 -0
- package/lib/cjs/variables/colors/_colors_light.js +147 -0
- package/lib/cjs/variables/colors/_colors_light.js.map +1 -0
- package/lib/cjs/variables/colors/_colors_vis.d.ts +3 -0
- package/lib/cjs/variables/colors/_colors_vis.d.ts.map +1 -0
- package/lib/cjs/variables/colors/_colors_vis.js +96 -0
- package/lib/cjs/variables/colors/_colors_vis.js.map +1 -0
- package/lib/cjs/variables/colors/_primitive_colors.d.ts +206 -0
- package/lib/cjs/variables/colors/_primitive_colors.d.ts.map +1 -0
- package/lib/cjs/variables/colors/_primitive_colors.js +220 -0
- package/lib/cjs/variables/colors/_primitive_colors.js.map +1 -0
- package/lib/cjs/variables/colors/_semantic_colors.d.ts +145 -0
- package/lib/cjs/variables/colors/_semantic_colors.d.ts.map +1 -0
- package/lib/cjs/variables/colors/_semantic_colors.js +160 -0
- package/lib/cjs/variables/colors/_semantic_colors.js.map +1 -0
- package/lib/{variables/_colors.d.ts → cjs/variables/colors/index.d.ts} +1 -0
- package/lib/cjs/variables/colors/index.d.ts.map +1 -0
- package/lib/cjs/variables/colors/index.js +26 -0
- package/lib/cjs/variables/colors/index.js.map +1 -0
- package/lib/{index.js → esm/index.js} +4 -0
- package/lib/esm/index.js.map +1 -0
- package/lib/esm/variables/_animation.js.map +1 -0
- package/lib/{variables → esm/variables}/_borders.js +1 -1
- package/lib/esm/variables/_borders.js.map +1 -0
- package/lib/esm/variables/_breakpoint.js.map +1 -0
- package/lib/esm/variables/_buttons.js.map +1 -0
- package/lib/{variables → esm/variables}/_components.js +64 -7
- package/lib/esm/variables/_components.js.map +1 -0
- package/lib/{variables → esm/variables}/_forms.d.ts +2 -0
- package/lib/{variables → esm/variables}/_forms.js +2 -0
- package/lib/esm/variables/_forms.js.map +1 -0
- package/lib/esm/variables/_levels.js.map +1 -0
- package/lib/esm/variables/_size.js.map +1 -0
- package/lib/{variables → esm/variables}/_states.js +1 -1
- package/lib/esm/variables/_states.js.map +1 -0
- package/lib/esm/variables/_typography.js.map +1 -0
- package/lib/{variables → esm/variables}/colors/_colors_dark.js +10 -10
- package/lib/esm/variables/colors/_colors_dark.js.map +1 -0
- package/lib/{variables → esm/variables}/colors/_colors_light.js +1 -1
- package/lib/esm/variables/colors/_colors_light.js.map +1 -0
- package/lib/esm/variables/colors/_colors_vis.d.ts +2 -0
- package/lib/esm/variables/colors/_colors_vis.js +89 -0
- package/lib/esm/variables/colors/_colors_vis.js.map +1 -0
- package/lib/esm/variables/colors/_primitive_colors.js.map +1 -0
- package/lib/esm/variables/colors/_semantic_colors.js.map +1 -0
- package/lib/{variables → esm/variables}/colors/index.js +2 -0
- package/lib/esm/variables/colors/index.js.map +1 -0
- package/lib/eui_theme_borealis_dark.json +314 -0
- package/lib/eui_theme_borealis_dark.json.d.ts +317 -0
- package/lib/eui_theme_borealis_light.json +314 -0
- package/lib/eui_theme_borealis_light.json.d.ts +317 -0
- package/package.json +23 -9
- package/src/variables/_index.scss +1 -0
- package/src/variables/_typography.scss +1 -1
- package/src/variables/colors/_colors_dark.scss +7 -7
- package/src/variables/colors/_colors_light.scss +1 -1
- package/src/variables/colors/_colors_vis.scss +72 -0
- package/lib/.tsbuildinfo +0 -1
- package/lib/index.js.map +0 -1
- package/lib/variables/_animation.js.map +0 -1
- package/lib/variables/_borders.js.map +0 -1
- package/lib/variables/_breakpoint.js.map +0 -1
- package/lib/variables/_buttons.js.map +0 -1
- package/lib/variables/_colors.js.map +0 -1
- package/lib/variables/_colors_dark.d.ts +0 -7
- package/lib/variables/_colors_dark.js +0 -58
- package/lib/variables/_colors_dark.js.map +0 -1
- package/lib/variables/_colors_light.d.ts +0 -7
- package/lib/variables/_colors_light.js +0 -59
- package/lib/variables/_colors_light.js.map +0 -1
- package/lib/variables/_components.js.map +0 -1
- package/lib/variables/_forms.js.map +0 -1
- package/lib/variables/_levels.js.map +0 -1
- package/lib/variables/_size.js.map +0 -1
- package/lib/variables/_states.js.map +0 -1
- package/lib/variables/_typography.js.map +0 -1
- package/lib/variables/colors/_colors_dark.js.map +0 -1
- package/lib/variables/colors/_colors_light.js.map +0 -1
- package/lib/variables/colors/_primitive_colors.js.map +0 -1
- package/lib/variables/colors/_semantic_colors.js.map +0 -1
- package/lib/variables/colors/index.js.map +0 -1
- /package/lib/{index.d.ts → esm/index.d.ts} +0 -0
- /package/lib/{variables → esm/variables}/_animation.d.ts +0 -0
- /package/lib/{variables → esm/variables}/_animation.js +0 -0
- /package/lib/{variables → esm/variables}/_borders.d.ts +0 -0
- /package/lib/{variables → esm/variables}/_breakpoint.d.ts +0 -0
- /package/lib/{variables → esm/variables}/_breakpoint.js +0 -0
- /package/lib/{variables → esm/variables}/_buttons.d.ts +0 -0
- /package/lib/{variables → esm/variables}/_buttons.js +0 -0
- /package/lib/{variables → esm/variables}/_components.d.ts +0 -0
- /package/lib/{variables → esm/variables}/_levels.d.ts +0 -0
- /package/lib/{variables → esm/variables}/_levels.js +0 -0
- /package/lib/{variables → esm/variables}/_size.d.ts +0 -0
- /package/lib/{variables → esm/variables}/_size.js +0 -0
- /package/lib/{variables → esm/variables}/_states.d.ts +0 -0
- /package/lib/{variables → esm/variables}/_typography.d.ts +0 -0
- /package/lib/{variables → esm/variables}/_typography.js +0 -0
- /package/lib/{variables → esm/variables}/colors/_colors_dark.d.ts +0 -0
- /package/lib/{variables → esm/variables}/colors/_colors_light.d.ts +0 -0
- /package/lib/{variables → esm/variables}/colors/_primitive_colors.d.ts +0 -0
- /package/lib/{variables → esm/variables}/colors/_primitive_colors.js +0 -0
- /package/lib/{variables → esm/variables}/colors/_semantic_colors.d.ts +0 -0
- /package/lib/{variables → esm/variables}/colors/_semantic_colors.js +0 -0
- /package/lib/{variables → esm/variables}/colors/index.d.ts +0 -0
|
@@ -0,0 +1,317 @@
|
|
|
1
|
+
declare module '@elastic/eui-theme-borealis/lib/eui_theme_borealis_light.json' {
|
|
2
|
+
const sassVariables: {
|
|
3
|
+
euiZDataGrid: number;
|
|
4
|
+
euiZHeaderBelowDataGrid: number;
|
|
5
|
+
euiZDataGridCellPopover: number;
|
|
6
|
+
euiDataGridCellPaddingS: string;
|
|
7
|
+
euiDataGridCellPaddingM: string;
|
|
8
|
+
euiDataGridCellPaddingL: string;
|
|
9
|
+
euiTableHoverColor: string;
|
|
10
|
+
euiTableSelectedColor: string;
|
|
11
|
+
euiTableHoverSelectedColor: string;
|
|
12
|
+
euiTableActionsBorderColor: string;
|
|
13
|
+
euiTableHoverClickableColor: string;
|
|
14
|
+
euiTableFocusClickableColor: string;
|
|
15
|
+
euiContrastRatioText: number;
|
|
16
|
+
euiContrastRatioGraphic: number;
|
|
17
|
+
euiContrastRatioDisabled: number;
|
|
18
|
+
euiAnimSlightBounce: string;
|
|
19
|
+
euiAnimSlightResistance: string;
|
|
20
|
+
euiAnimSpeedExtraFast: string;
|
|
21
|
+
euiAnimSpeedFast: string;
|
|
22
|
+
euiAnimSpeedNormal: string;
|
|
23
|
+
euiAnimSpeedSlow: string;
|
|
24
|
+
euiAnimSpeedExtraSlow: string;
|
|
25
|
+
euiBorderWidthThin: string;
|
|
26
|
+
euiBorderWidthThick: string;
|
|
27
|
+
euiBorderColor: string;
|
|
28
|
+
euiBorderRadius: string;
|
|
29
|
+
euiBorderRadiusSmall: string;
|
|
30
|
+
euiBorderThick: string;
|
|
31
|
+
euiBorderThin: string;
|
|
32
|
+
euiBorderEditable: string;
|
|
33
|
+
euiButtonHeight: string;
|
|
34
|
+
euiButtonHeightSmall: string;
|
|
35
|
+
euiButtonHeightXSmall: string;
|
|
36
|
+
euiButtonColorDisabled: string;
|
|
37
|
+
euiButtonColorDisabledText: string;
|
|
38
|
+
euiButtonColorGhostDisabled: string;
|
|
39
|
+
euiButtonTypes: {
|
|
40
|
+
primary: string;
|
|
41
|
+
accent: string;
|
|
42
|
+
accentSecondary: string;
|
|
43
|
+
success: string;
|
|
44
|
+
warning: string;
|
|
45
|
+
danger: string;
|
|
46
|
+
ghost: string;
|
|
47
|
+
text: string;
|
|
48
|
+
};
|
|
49
|
+
euiPaletteColorBlind: {
|
|
50
|
+
euiColorVis0: {
|
|
51
|
+
graphic: string;
|
|
52
|
+
behindText: string;
|
|
53
|
+
};
|
|
54
|
+
euiColorVis1: {
|
|
55
|
+
graphic: string;
|
|
56
|
+
behindText: string;
|
|
57
|
+
};
|
|
58
|
+
euiColorVis2: {
|
|
59
|
+
graphic: string;
|
|
60
|
+
behindText: string;
|
|
61
|
+
};
|
|
62
|
+
euiColorVis3: {
|
|
63
|
+
graphic: string;
|
|
64
|
+
behindText: string;
|
|
65
|
+
};
|
|
66
|
+
euiColorVis4: {
|
|
67
|
+
graphic: string;
|
|
68
|
+
behindText: string;
|
|
69
|
+
};
|
|
70
|
+
euiColorVis5: {
|
|
71
|
+
graphic: string;
|
|
72
|
+
behindText: string;
|
|
73
|
+
};
|
|
74
|
+
euiColorVis6: {
|
|
75
|
+
graphic: string;
|
|
76
|
+
behindText: string;
|
|
77
|
+
};
|
|
78
|
+
euiColorVis7: {
|
|
79
|
+
graphic: string;
|
|
80
|
+
behindText: string;
|
|
81
|
+
};
|
|
82
|
+
euiColorVis8: {
|
|
83
|
+
graphic: string;
|
|
84
|
+
behindText: string;
|
|
85
|
+
};
|
|
86
|
+
euiColorVis9: {
|
|
87
|
+
graphic: string;
|
|
88
|
+
behindText: string;
|
|
89
|
+
};
|
|
90
|
+
};
|
|
91
|
+
euiPaletteColorBlindKeys: string;
|
|
92
|
+
euiColorVis0: string;
|
|
93
|
+
euiColorVis1: string;
|
|
94
|
+
euiColorVis2: string;
|
|
95
|
+
euiColorVis3: string;
|
|
96
|
+
euiColorVis4: string;
|
|
97
|
+
euiColorVis5: string;
|
|
98
|
+
euiColorVis6: string;
|
|
99
|
+
euiColorVis7: string;
|
|
100
|
+
euiColorVis8: string;
|
|
101
|
+
euiColorVis9: string;
|
|
102
|
+
euiColorVis0_behindText: string;
|
|
103
|
+
euiColorVis1_behindText: string;
|
|
104
|
+
euiColorVis2_behindText: string;
|
|
105
|
+
euiColorVis3_behindText: string;
|
|
106
|
+
euiColorVis4_behindText: string;
|
|
107
|
+
euiColorVis5_behindText: string;
|
|
108
|
+
euiColorVis6_behindText: string;
|
|
109
|
+
euiColorVis7_behindText: string;
|
|
110
|
+
euiColorVis8_behindText: string;
|
|
111
|
+
euiColorVis9_behindText: string;
|
|
112
|
+
euiFontWeightLight: number;
|
|
113
|
+
euiFontWeightRegular: number;
|
|
114
|
+
euiFontWeightMedium: number;
|
|
115
|
+
euiFontWeightSemiBold: number;
|
|
116
|
+
euiFontWeightBold: number;
|
|
117
|
+
euiCodeFontWeightRegular: number;
|
|
118
|
+
euiCodeFontWeightBold: number;
|
|
119
|
+
euiFormMaxWidth: string;
|
|
120
|
+
euiFormControlHeight: string;
|
|
121
|
+
euiFormControlCompressedHeight: string;
|
|
122
|
+
euiFormControlPadding: string;
|
|
123
|
+
euiFormControlCompressedPadding: string;
|
|
124
|
+
euiFormControlBorderRadius: string;
|
|
125
|
+
euiFormControlCompressedBorderRadius: string;
|
|
126
|
+
euiRadioSize: string;
|
|
127
|
+
euiCheckBoxSize: string;
|
|
128
|
+
euiCheckboxBorderRadius: string;
|
|
129
|
+
euiSwitchHeight: string;
|
|
130
|
+
euiSwitchWidth: string;
|
|
131
|
+
euiSwitchThumbSize: string;
|
|
132
|
+
euiSwitchIconHeight: string;
|
|
133
|
+
euiSwitchHeightCompressed: string;
|
|
134
|
+
euiSwitchWidthCompressed: string;
|
|
135
|
+
euiSwitchThumbSizeCompressed: string;
|
|
136
|
+
euiSwitchHeightMini: string;
|
|
137
|
+
euiSwitchWidthMini: string;
|
|
138
|
+
euiSwitchThumbSizeMini: string;
|
|
139
|
+
euiFormBackgroundColor: string;
|
|
140
|
+
euiFormBackgroundDisabledColor: string;
|
|
141
|
+
euiFormBackgroundReadOnlyColor: string;
|
|
142
|
+
euiFormBorderOpaqueColor: string;
|
|
143
|
+
euiFormBorderColor: string;
|
|
144
|
+
euiFormBorderDisabledColor: string;
|
|
145
|
+
euiFormCustomControlDisabledIconColor: string;
|
|
146
|
+
euiFormCustomControlBorderColor: string;
|
|
147
|
+
euiFormControlDisabledColor: string;
|
|
148
|
+
euiFormControlBoxShadow: string;
|
|
149
|
+
euiFormControlPlaceholderText: string;
|
|
150
|
+
euiFormInputGroupLabelBackground: string;
|
|
151
|
+
euiFormInputGroupBorder: string;
|
|
152
|
+
euiSwitchOffColor: string;
|
|
153
|
+
euiFormControlIconSizes: {
|
|
154
|
+
small: string;
|
|
155
|
+
medium: string;
|
|
156
|
+
large: string;
|
|
157
|
+
xLarge: string;
|
|
158
|
+
xxLarge: string;
|
|
159
|
+
};
|
|
160
|
+
euiFormControlLayoutGroupInputHeight: string;
|
|
161
|
+
euiFormControlLayoutGroupInputCompressedHeight: string;
|
|
162
|
+
euiFormControlLayoutGroupInputCompressedBorderRadius: string;
|
|
163
|
+
euiHeaderBackgroundColor: string;
|
|
164
|
+
euiHeaderDarkBackgroundColor: string;
|
|
165
|
+
euiHeaderBorderColor: string;
|
|
166
|
+
euiHeaderBreadcrumbColor: string;
|
|
167
|
+
euiHeaderHeight: string;
|
|
168
|
+
euiHeaderChildSize: string;
|
|
169
|
+
euiHeaderHeightCompensation: string;
|
|
170
|
+
euiPageDefaultMaxWidth: string;
|
|
171
|
+
euiPageSidebarMinWidth: string;
|
|
172
|
+
euiPanelPaddingModifiers: {
|
|
173
|
+
paddingSmall: string;
|
|
174
|
+
paddingMedium: string;
|
|
175
|
+
paddingLarge: string;
|
|
176
|
+
};
|
|
177
|
+
euiPanelBorderRadiusModifiers: {
|
|
178
|
+
borderRadiusNone: number;
|
|
179
|
+
borderRadiusMedium: string;
|
|
180
|
+
};
|
|
181
|
+
euiPanelBackgroundColorModifiers: {
|
|
182
|
+
transparent: string;
|
|
183
|
+
plain: string;
|
|
184
|
+
subdued: string;
|
|
185
|
+
accent: string;
|
|
186
|
+
accentSecondary: string;
|
|
187
|
+
primary: string;
|
|
188
|
+
success: string;
|
|
189
|
+
warning: string;
|
|
190
|
+
danger: string;
|
|
191
|
+
};
|
|
192
|
+
euiBreakpoints: {
|
|
193
|
+
xs: number;
|
|
194
|
+
s: string;
|
|
195
|
+
m: string;
|
|
196
|
+
l: string;
|
|
197
|
+
xl: string;
|
|
198
|
+
};
|
|
199
|
+
euiBreakpointKeys: string;
|
|
200
|
+
euiShadowColor: string;
|
|
201
|
+
euiSize: string;
|
|
202
|
+
euiSizeXS: string;
|
|
203
|
+
euiSizeS: string;
|
|
204
|
+
euiSizeM: string;
|
|
205
|
+
euiSizeL: string;
|
|
206
|
+
euiSizeXL: string;
|
|
207
|
+
euiSizeXXL: string;
|
|
208
|
+
euiScrollBar: string;
|
|
209
|
+
euiScrollBarCorner: string;
|
|
210
|
+
euiScrollBarCornerThin: string;
|
|
211
|
+
euiFocusRingColor: string;
|
|
212
|
+
euiFocusRingAnimStartColor: string;
|
|
213
|
+
euiFocusRingAnimStartSize: string;
|
|
214
|
+
euiFocusRingAnimStartSizeLarge: string;
|
|
215
|
+
euiFocusRingSizeLarge: string;
|
|
216
|
+
euiFocusRingSize: string;
|
|
217
|
+
euiFocusTransparency: number;
|
|
218
|
+
euiFocusTransparencyPercent: string;
|
|
219
|
+
euiFocusBackgroundColor: string;
|
|
220
|
+
euiFontFamily: string;
|
|
221
|
+
euiCodeFontFamily: string;
|
|
222
|
+
euiFontFeatureSettings: string;
|
|
223
|
+
euiTextScale: string;
|
|
224
|
+
euiFontSize: string;
|
|
225
|
+
euiFontSizeXS: string;
|
|
226
|
+
euiFontSizeS: string;
|
|
227
|
+
euiFontSizeM: string;
|
|
228
|
+
euiFontSizeL: string;
|
|
229
|
+
euiFontSizeXL: string;
|
|
230
|
+
euiFontSizeXXL: string;
|
|
231
|
+
euiLineHeight: number;
|
|
232
|
+
euiBodyLineHeight: number;
|
|
233
|
+
euiTitles: {
|
|
234
|
+
xxxs: {
|
|
235
|
+
'font-size': string;
|
|
236
|
+
'line-height': string;
|
|
237
|
+
'font-weight': number;
|
|
238
|
+
};
|
|
239
|
+
xxs: {
|
|
240
|
+
'font-size': string;
|
|
241
|
+
'line-height': string;
|
|
242
|
+
'font-weight': number;
|
|
243
|
+
};
|
|
244
|
+
xs: {
|
|
245
|
+
'font-size': string;
|
|
246
|
+
'line-height': string;
|
|
247
|
+
'font-weight': number;
|
|
248
|
+
};
|
|
249
|
+
s: {
|
|
250
|
+
'font-size': string;
|
|
251
|
+
'line-height': string;
|
|
252
|
+
'font-weight': number;
|
|
253
|
+
};
|
|
254
|
+
m: {
|
|
255
|
+
'font-size': string;
|
|
256
|
+
'line-height': string;
|
|
257
|
+
'font-weight': number;
|
|
258
|
+
};
|
|
259
|
+
l: {
|
|
260
|
+
'font-size': string;
|
|
261
|
+
'line-height': string;
|
|
262
|
+
'font-weight': number;
|
|
263
|
+
};
|
|
264
|
+
};
|
|
265
|
+
euiZLevel0: number;
|
|
266
|
+
euiZLevel1: number;
|
|
267
|
+
euiZLevel2: number;
|
|
268
|
+
euiZLevel3: number;
|
|
269
|
+
euiZLevel4: number;
|
|
270
|
+
euiZLevel5: number;
|
|
271
|
+
euiZLevel6: number;
|
|
272
|
+
euiZLevel7: number;
|
|
273
|
+
euiZLevel8: number;
|
|
274
|
+
euiZLevel9: number;
|
|
275
|
+
euiZToastList: number;
|
|
276
|
+
euiZModal: number;
|
|
277
|
+
euiZMask: number;
|
|
278
|
+
euiZNavigation: number;
|
|
279
|
+
euiZContentMenu: number;
|
|
280
|
+
euiZHeader: number;
|
|
281
|
+
euiZFlyout: number;
|
|
282
|
+
euiZMaskBelowHeader: number;
|
|
283
|
+
euiZContent: number;
|
|
284
|
+
euiColorGhost: string;
|
|
285
|
+
euiColorInk: string;
|
|
286
|
+
euiColorPrimary: string;
|
|
287
|
+
euiColorAccent: string;
|
|
288
|
+
euiColorAccentSecondary: string;
|
|
289
|
+
euiColorSuccess: string;
|
|
290
|
+
euiColorWarning: string;
|
|
291
|
+
euiColorDanger: string;
|
|
292
|
+
euiColorEmptyShade: string;
|
|
293
|
+
euiColorLightestShade: string;
|
|
294
|
+
euiColorLightShade: string;
|
|
295
|
+
euiColorMediumShade: string;
|
|
296
|
+
euiColorDarkShade: string;
|
|
297
|
+
euiColorDarkestShade: string;
|
|
298
|
+
euiColorFullShade: string;
|
|
299
|
+
euiPageBackgroundColor: string;
|
|
300
|
+
euiColorHighlight: string;
|
|
301
|
+
euiTextColor: string;
|
|
302
|
+
euiTitleColor: string;
|
|
303
|
+
euiTextSubduedColor: string;
|
|
304
|
+
euiColorDisabled: string;
|
|
305
|
+
euiColorPrimaryText: string;
|
|
306
|
+
euiColorSuccessText: string;
|
|
307
|
+
euiColorAccentText: string;
|
|
308
|
+
euiColorAccentSecondaryText: string;
|
|
309
|
+
euiColorWarningText: string;
|
|
310
|
+
euiColorDangerText: string;
|
|
311
|
+
euiColorDisabledText: string;
|
|
312
|
+
euiLinkColor: string;
|
|
313
|
+
euiColorChartLines: string;
|
|
314
|
+
euiColorChartBand: string;
|
|
315
|
+
};
|
|
316
|
+
export default sassVariables;
|
|
317
|
+
}
|
package/package.json
CHANGED
|
@@ -1,12 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elastic/eui-theme-borealis",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.2",
|
|
4
4
|
"description": "A visual theme for EUI",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build:workspaces": "yarn workspaces foreach -Rti --from @elastic/eui-theme-borealis --exclude @elastic/eui-theme-borealis run build",
|
|
8
|
-
"build": "
|
|
8
|
+
"build:clean": "rimraf lib/",
|
|
9
|
+
"build": "yarn build:clean && yarn build:compile && yarn build:compile:cjs && yarn build:types && yarn copy-files",
|
|
10
|
+
"build:compile": "tsc --project ./tsconfig.json",
|
|
11
|
+
"build:compile:cjs": "NODE_ENV=production NO_COREJS_POLYFILL=true babel src --out-dir=lib/cjs --extensions .js,.ts,.tsx --source-maps=true",
|
|
12
|
+
"build:types": "NODE_ENV=production tsc --project tsconfig.types.json",
|
|
9
13
|
"build-pack": "yarn build && npm pack",
|
|
14
|
+
"copy-files": "node ./scripts/copy-json-files.js",
|
|
10
15
|
"lint": "yarn tsc --noEmit && yarn lint-es && yarn lint-sass",
|
|
11
16
|
"lint-es": "eslint --cache src/**/*.ts --max-warnings 0",
|
|
12
17
|
"lint-sass": "yarn stylelint \"**/*.scss\" --quiet-deprecation-warnings",
|
|
@@ -19,7 +24,12 @@
|
|
|
19
24
|
"directory": "packages/eui-theme-borealis"
|
|
20
25
|
},
|
|
21
26
|
"devDependencies": {
|
|
22
|
-
"@
|
|
27
|
+
"@babel/cli": "^7.21.5",
|
|
28
|
+
"@babel/core": "^7.21.8",
|
|
29
|
+
"@babel/preset-env": "^7.21.5",
|
|
30
|
+
"@babel/preset-react": "^7.18.6",
|
|
31
|
+
"@babel/preset-typescript": "^7.21.5",
|
|
32
|
+
"@elastic/eui-theme-common": "0.0.2",
|
|
23
33
|
"@types/jest": "^29.5.12",
|
|
24
34
|
"@types/prettier": "2.7.3",
|
|
25
35
|
"@typescript-eslint/eslint-plugin": "^5.59.7",
|
|
@@ -32,6 +42,7 @@
|
|
|
32
42
|
"eslint-plugin-prettier": "^4.2.1",
|
|
33
43
|
"jest": "^29.7.0",
|
|
34
44
|
"prettier": "^2.8.8",
|
|
45
|
+
"rimraf": "^6.0.1",
|
|
35
46
|
"stylelint": "^15.7.0",
|
|
36
47
|
"stylelint-config-prettier-scss": "^1.0.0",
|
|
37
48
|
"stylelint-config-standard": "^33.0.0",
|
|
@@ -39,20 +50,23 @@
|
|
|
39
50
|
"typescript": "^5.6.2"
|
|
40
51
|
},
|
|
41
52
|
"peerDependencies": {
|
|
42
|
-
"@elastic/eui-theme-common": "0.0.
|
|
53
|
+
"@elastic/eui-theme-common": "0.0.2"
|
|
43
54
|
},
|
|
44
|
-
"main": "lib/index.js",
|
|
55
|
+
"main": "lib/cjs/index.js",
|
|
45
56
|
"exports": {
|
|
46
57
|
"./lib/*": "./lib/*",
|
|
47
58
|
".": {
|
|
48
|
-
"
|
|
59
|
+
"require": "./lib/cjs/index.js",
|
|
60
|
+
"import": "./lib/esm/index.js",
|
|
61
|
+
"default": "./lib/cjs/index.js"
|
|
49
62
|
}
|
|
50
63
|
},
|
|
51
64
|
"files": [
|
|
52
|
-
"lib",
|
|
53
|
-
"licenses",
|
|
65
|
+
"lib/",
|
|
54
66
|
"src/**/*.scss",
|
|
55
|
-
"README.md"
|
|
67
|
+
"README.md",
|
|
68
|
+
"licenses",
|
|
69
|
+
"!lib/**/*.tsbuildinfo"
|
|
56
70
|
],
|
|
57
71
|
"installConfig": {
|
|
58
72
|
"hoistingLimits": "workspaces"
|
|
@@ -3,7 +3,7 @@ $euiFontFamily: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetic
|
|
|
3
3
|
|
|
4
4
|
// Font sizes -- scale is loosely based on Minor Third (1.200) with a base of 14px
|
|
5
5
|
// Base list is an altered scale based on 16px to match the resulted values below
|
|
6
|
-
$euiTextScale:
|
|
6
|
+
$euiTextScale: 1,875, 1.5, 1.25, 1, .875, .75 !default;
|
|
7
7
|
|
|
8
8
|
$euiFontSize: $euiSize - 2; // 14px
|
|
9
9
|
|
|
@@ -43,7 +43,7 @@ $euiColorBackgroundBaseFormsPrepend: $euiColorShade125 !default;
|
|
|
43
43
|
$euiColorBackgroundBaseFormsControlDisabled: $euiColorShade120 !default;
|
|
44
44
|
|
|
45
45
|
$euiColorBackgroundBaseInteractiveHover: $euiColorTransparentWhite10 !default;
|
|
46
|
-
$euiColorBackgroundBaseInteractiveSelect: $
|
|
46
|
+
$euiColorBackgroundBaseInteractiveSelect: $euiColorShade125 !default;
|
|
47
47
|
$euiColorBackgroundBaseInteractiveOverlay: $euiColorShadeTransparent80 !default;
|
|
48
48
|
$euiColorBackgroundBaseSkeletonEdge: $euiColorTransparentWhite10 !default;
|
|
49
49
|
$euiColorBackgroundBaseSkeletonMiddle: $euiColorTransparentWhite30 !default;
|
|
@@ -67,16 +67,16 @@ $euiColorBackgroundFilledText: $euiColorShade60 !default;
|
|
|
67
67
|
// Texts (legacy)
|
|
68
68
|
$euiTextColor: $euiColorShade20 !default;
|
|
69
69
|
$euiTitleColor: $euiColorShade15 !default;
|
|
70
|
-
$euiTextSubduedColor: $
|
|
70
|
+
$euiTextSubduedColor: $euiColorShade60 !default;
|
|
71
71
|
$euiColorDisabled: $euiColorBackgroundBaseDisabled !default;
|
|
72
|
-
$euiColorDisabledText: $
|
|
72
|
+
$euiColorDisabledText: $euiColorShade80 !default;
|
|
73
73
|
$euiLinkColor: $euiColorPrimary60 !default;
|
|
74
74
|
|
|
75
75
|
// Texts
|
|
76
76
|
$euiColorTextParagraph: $euiColorShade20 !default;
|
|
77
77
|
$euiColorTextHeading: $euiColorShade15 !default;
|
|
78
|
-
$euiColorTextSubdued: $
|
|
79
|
-
$euiColorTextDisabled: $
|
|
78
|
+
$euiColorTextSubdued: $euiColorShade60 !default;
|
|
79
|
+
$euiColorTextDisabled: $euiColorShade80 !default;
|
|
80
80
|
$euiColorTextInverse: $euiColorPlainDark !default;
|
|
81
81
|
|
|
82
82
|
// Brand texts (legacy)
|
|
@@ -102,9 +102,9 @@ $euiColorBorderBaseSuccess: $euiColorSuccess120;
|
|
|
102
102
|
$euiColorBorderBaseWarning: $euiColorWarning120;
|
|
103
103
|
$euiColorBorderBaseDanger: $euiColorDanger120;
|
|
104
104
|
|
|
105
|
-
$euiColorBorderBasePlain: $
|
|
105
|
+
$euiColorBorderBasePlain: $euiColorShade100;
|
|
106
106
|
$euiColorBorderBaseSubdued: $euiColorShade120;
|
|
107
|
-
$euiColorBorderBaseDisabled: $
|
|
107
|
+
$euiColorBorderBaseDisabled: $euiColorShade100;
|
|
108
108
|
$euiColorBorderBaseFloating: $euiColorShade120;
|
|
109
109
|
$euiColorBorderBaseFormsColorSwatch: $euiColorTransparentWhite30;
|
|
110
110
|
$euiColorBorderBaseFormsControl: $euiColorShade80;
|
|
@@ -20,7 +20,7 @@ $euiColorDanger: $euiColorDanger90 !default;
|
|
|
20
20
|
|
|
21
21
|
// Shades
|
|
22
22
|
$euiColorEmptyShade: $euiColorPlainLight !default;
|
|
23
|
-
$euiColorLightestShade: $
|
|
23
|
+
$euiColorLightestShade: $euiColorShade15 !default;
|
|
24
24
|
$euiColorLightShade: $euiColorShade30 !default;
|
|
25
25
|
$euiColorMediumShade: $euiColorShade60 !default;
|
|
26
26
|
$euiColorDarkShade: $euiColorShade90 !default;
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
// Visualization colors
|
|
2
|
+
// stylelint-disable color-no-hex
|
|
3
|
+
|
|
4
|
+
// Maps allow for easier JSON usage
|
|
5
|
+
// Use map_merge($euiColorVisColors, $yourMap) to change individual colors after importing ths file
|
|
6
|
+
// The `behindText` variant is a direct copy of the hex output by the JS euiPaletteColorBlindBehindText() function
|
|
7
|
+
$euiPaletteColorBlind: (
|
|
8
|
+
euiColorVis0: (
|
|
9
|
+
graphic: #00BEB8,
|
|
10
|
+
behindText: #00BEB8,
|
|
11
|
+
),
|
|
12
|
+
euiColorVis1: (
|
|
13
|
+
graphic: #93E5E0,
|
|
14
|
+
behindText: #93E5E0,
|
|
15
|
+
),
|
|
16
|
+
euiColorVis2: (
|
|
17
|
+
graphic: #599DFF,
|
|
18
|
+
behindText: #599DFF,
|
|
19
|
+
),
|
|
20
|
+
euiColorVis3: (
|
|
21
|
+
graphic: #B4D5FF,
|
|
22
|
+
behindText: #B4D5FF,
|
|
23
|
+
),
|
|
24
|
+
euiColorVis4: (
|
|
25
|
+
graphic: #ED6BA2,
|
|
26
|
+
behindText: #ED6BA2,
|
|
27
|
+
),
|
|
28
|
+
euiColorVis5: (
|
|
29
|
+
graphic: #FFBED5,
|
|
30
|
+
behindText: #FFBED5,
|
|
31
|
+
),
|
|
32
|
+
euiColorVis6: (
|
|
33
|
+
graphic: #F66D64,
|
|
34
|
+
behindText: #F66D64,
|
|
35
|
+
),
|
|
36
|
+
euiColorVis7: (
|
|
37
|
+
graphic: #FFC0B8,
|
|
38
|
+
behindText: #FFC0B8,
|
|
39
|
+
),
|
|
40
|
+
euiColorVis8: (
|
|
41
|
+
graphic: #ED9E00,
|
|
42
|
+
behindText: #ED9E00,
|
|
43
|
+
),
|
|
44
|
+
euiColorVis9: (
|
|
45
|
+
graphic: #FFD569,
|
|
46
|
+
behindText: #FFD569,
|
|
47
|
+
)
|
|
48
|
+
) !default;
|
|
49
|
+
|
|
50
|
+
$euiPaletteColorBlindKeys: map-keys($euiPaletteColorBlind);
|
|
51
|
+
|
|
52
|
+
$euiColorVis0: map-get(map-get($euiPaletteColorBlind, 'euiColorVis0'), 'graphic') !default;
|
|
53
|
+
$euiColorVis1: map-get(map-get($euiPaletteColorBlind, 'euiColorVis1'), 'graphic') !default;
|
|
54
|
+
$euiColorVis2: map-get(map-get($euiPaletteColorBlind, 'euiColorVis2'), 'graphic') !default;
|
|
55
|
+
$euiColorVis3: map-get(map-get($euiPaletteColorBlind, 'euiColorVis3'), 'graphic') !default;
|
|
56
|
+
$euiColorVis4: map-get(map-get($euiPaletteColorBlind, 'euiColorVis4'), 'graphic') !default;
|
|
57
|
+
$euiColorVis5: map-get(map-get($euiPaletteColorBlind, 'euiColorVis5'), 'graphic') !default;
|
|
58
|
+
$euiColorVis6: map-get(map-get($euiPaletteColorBlind, 'euiColorVis6'), 'graphic') !default;
|
|
59
|
+
$euiColorVis7: map-get(map-get($euiPaletteColorBlind, 'euiColorVis7'), 'graphic') !default;
|
|
60
|
+
$euiColorVis8: map-get(map-get($euiPaletteColorBlind, 'euiColorVis8'), 'graphic') !default;
|
|
61
|
+
$euiColorVis9: map-get(map-get($euiPaletteColorBlind, 'euiColorVis9'), 'graphic') !default;
|
|
62
|
+
|
|
63
|
+
$euiColorVis0_behindText: map-get(map-get($euiPaletteColorBlind, 'euiColorVis0'), 'behindText') !default;
|
|
64
|
+
$euiColorVis1_behindText: map-get(map-get($euiPaletteColorBlind, 'euiColorVis1'), 'behindText') !default;
|
|
65
|
+
$euiColorVis2_behindText: map-get(map-get($euiPaletteColorBlind, 'euiColorVis2'), 'behindText') !default;
|
|
66
|
+
$euiColorVis3_behindText: map-get(map-get($euiPaletteColorBlind, 'euiColorVis3'), 'behindText') !default;
|
|
67
|
+
$euiColorVis4_behindText: map-get(map-get($euiPaletteColorBlind, 'euiColorVis4'), 'behindText') !default;
|
|
68
|
+
$euiColorVis5_behindText: map-get(map-get($euiPaletteColorBlind, 'euiColorVis5'), 'behindText') !default;
|
|
69
|
+
$euiColorVis6_behindText: map-get(map-get($euiPaletteColorBlind, 'euiColorVis6'), 'behindText') !default;
|
|
70
|
+
$euiColorVis7_behindText: map-get(map-get($euiPaletteColorBlind, 'euiColorVis7'), 'behindText') !default;
|
|
71
|
+
$euiColorVis8_behindText: map-get(map-get($euiPaletteColorBlind, 'euiColorVis8'), 'behindText') !default;
|
|
72
|
+
$euiColorVis9_behindText: map-get(map-get($euiPaletteColorBlind, 'euiColorVis9'), 'behindText') !default;
|