@elastic/eui-theme-common 0.0.8 → 0.0.10
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/global_styling/functions/index.d.ts +1 -0
- package/lib/cjs/global_styling/functions/index.d.ts.map +1 -1
- package/lib/cjs/global_styling/functions/index.js +11 -0
- package/lib/cjs/global_styling/functions/index.js.map +1 -1
- package/lib/cjs/global_styling/functions/shadows.d.ts +3 -0
- package/lib/cjs/global_styling/functions/shadows.d.ts.map +1 -0
- package/lib/cjs/global_styling/functions/shadows.js +25 -0
- package/lib/cjs/global_styling/functions/shadows.js.map +1 -0
- package/lib/cjs/global_styling/index.d.ts +2 -1
- package/lib/cjs/global_styling/index.d.ts.map +1 -1
- package/lib/cjs/global_styling/index.js +12 -1
- package/lib/cjs/global_styling/index.js.map +1 -1
- package/lib/cjs/global_styling/mixins/index.d.ts +2 -0
- package/lib/cjs/global_styling/mixins/index.d.ts.map +1 -0
- package/lib/cjs/global_styling/mixins/index.js +17 -0
- package/lib/cjs/global_styling/mixins/index.js.map +1 -0
- package/lib/cjs/global_styling/mixins/shadow.d.ts +41 -0
- package/lib/cjs/global_styling/mixins/shadow.d.ts.map +1 -0
- package/lib/cjs/global_styling/mixins/shadow.js +140 -0
- package/lib/cjs/global_styling/mixins/shadow.js.map +1 -0
- package/lib/cjs/global_styling/variables/_breakpoint.d.ts +3 -0
- package/lib/cjs/global_styling/variables/_breakpoint.d.ts.map +1 -0
- package/lib/cjs/global_styling/variables/_breakpoint.js +22 -0
- package/lib/cjs/global_styling/variables/_breakpoint.js.map +1 -0
- package/lib/cjs/global_styling/variables/borders.d.ts +1 -1
- package/lib/cjs/global_styling/variables/borders.d.ts.map +1 -1
- package/lib/cjs/global_styling/variables/borders.js.map +1 -1
- package/lib/cjs/global_styling/variables/buttons.d.ts +1 -1
- package/lib/cjs/global_styling/variables/buttons.d.ts.map +1 -1
- package/lib/cjs/global_styling/variables/buttons.js.map +1 -1
- package/lib/cjs/global_styling/variables/colors.d.ts +5 -1
- package/lib/cjs/global_styling/variables/colors.d.ts.map +1 -1
- package/lib/cjs/global_styling/variables/colors.js.map +1 -1
- package/lib/cjs/global_styling/variables/components.d.ts +4 -1
- package/lib/cjs/global_styling/variables/components.d.ts.map +1 -1
- package/lib/cjs/global_styling/variables/components.js.map +1 -1
- package/lib/cjs/global_styling/variables/forms.d.ts +1 -1
- package/lib/cjs/global_styling/variables/forms.d.ts.map +1 -1
- package/lib/cjs/global_styling/variables/forms.js.map +1 -1
- package/lib/cjs/global_styling/variables/index.d.ts +2 -0
- package/lib/cjs/global_styling/variables/index.d.ts.map +1 -1
- package/lib/cjs/global_styling/variables/index.js +11 -0
- package/lib/cjs/global_styling/variables/index.js.map +1 -1
- package/lib/cjs/global_styling/variables/states.d.ts +1 -1
- package/lib/cjs/global_styling/variables/states.d.ts.map +1 -1
- package/lib/cjs/global_styling/variables/states.js.map +1 -1
- package/lib/{esm/global_styling → cjs/services/theme}/types.d.ts +17 -11
- package/lib/cjs/services/theme/types.d.ts.map +1 -0
- package/lib/cjs/services/theme/types.js.map +1 -0
- package/lib/esm/global_styling/functions/index.d.ts +1 -0
- package/lib/esm/global_styling/functions/index.js +1 -0
- package/lib/esm/global_styling/functions/index.js.map +1 -1
- package/lib/esm/global_styling/functions/shadows.d.ts +2 -0
- package/lib/esm/global_styling/functions/shadows.js +17 -0
- package/lib/esm/global_styling/functions/shadows.js.map +1 -0
- package/lib/esm/global_styling/index.d.ts +2 -1
- package/lib/esm/global_styling/index.js +2 -1
- package/lib/esm/global_styling/index.js.map +1 -1
- package/lib/esm/global_styling/mixins/index.d.ts +1 -0
- package/lib/esm/global_styling/mixins/index.js +9 -0
- package/lib/esm/global_styling/mixins/index.js.map +1 -0
- package/lib/esm/global_styling/mixins/shadow.d.ts +40 -0
- package/lib/esm/global_styling/mixins/shadow.js +117 -0
- package/lib/esm/global_styling/mixins/shadow.js.map +1 -0
- package/lib/esm/global_styling/variables/_breakpoint.d.ts +2 -0
- package/lib/esm/global_styling/variables/_breakpoint.js +15 -0
- package/lib/esm/global_styling/variables/_breakpoint.js.map +1 -0
- package/lib/esm/global_styling/variables/borders.d.ts +1 -1
- package/lib/esm/global_styling/variables/buttons.d.ts +1 -1
- package/lib/esm/global_styling/variables/colors.d.ts +5 -1
- package/lib/esm/global_styling/variables/components.d.ts +4 -1
- package/lib/esm/global_styling/variables/forms.d.ts +1 -1
- package/lib/esm/global_styling/variables/index.d.ts +2 -0
- package/lib/esm/global_styling/variables/index.js +2 -0
- package/lib/esm/global_styling/variables/index.js.map +1 -1
- package/lib/esm/global_styling/variables/states.d.ts +1 -1
- package/lib/{cjs/global_styling → esm/services/theme}/types.d.ts +16 -12
- package/lib/esm/services/theme/types.js.map +1 -0
- package/package.json +3 -1
- package/src/global_styling/functions/_colors.scss +3 -3
- package/src/global_styling/mixins/_form.scss +3 -3
- package/src/global_styling/mixins/_shadow.scss +1 -1
- package/src/global_styling/mixins/_typography.scss +2 -2
- package/lib/cjs/global_styling/types.d.ts.map +0 -1
- package/lib/cjs/global_styling/types.js.map +0 -1
- package/lib/esm/global_styling/types.js.map +0 -1
- /package/lib/cjs/{global_styling → services/theme}/types.js +0 -0
- /package/lib/esm/{global_styling → services/theme}/types.js +0 -0
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { CSSProperties } from 'react';
|
|
2
|
-
import { ColorModeSwitch } from '
|
|
2
|
+
import { ColorModeSwitch } from '../../services/theme/types';
|
|
3
3
|
export interface _EuiThemeFocus {
|
|
4
4
|
/**
|
|
5
5
|
* Default color of the focus ring, some components may override this property
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import type { CSSObject } from '@emotion/react';
|
|
2
|
-
import type { RecursivePartial, ValueOf } from '
|
|
3
|
-
import { _EuiThemeAnimation } from '
|
|
4
|
-
import { _EuiThemeBreakpoints } from '
|
|
5
|
-
import { _EuiThemeBorder } from '
|
|
6
|
-
import { _EuiThemeColors } from '
|
|
7
|
-
import { _EuiThemeBase, _EuiThemeSizes } from '
|
|
8
|
-
import { _EuiThemeFont } from '
|
|
9
|
-
import { _EuiThemeFocus } from '
|
|
10
|
-
import { _EuiThemeLevels } from '
|
|
11
|
-
import { _EuiThemeComponents } from '
|
|
12
|
-
import { _EuiThemeFlags } from '
|
|
2
|
+
import type { RecursivePartial, ValueOf } from '../../types';
|
|
3
|
+
import { _EuiThemeAnimation } from '../../global_styling/variables/animations';
|
|
4
|
+
import { _EuiThemeBreakpoints } from '../../global_styling/variables/breakpoint';
|
|
5
|
+
import { _EuiThemeBorder } from '../../global_styling/variables/borders';
|
|
6
|
+
import { _EuiThemeColors } from '../../global_styling/variables/colors';
|
|
7
|
+
import { _EuiThemeBase, _EuiThemeSizes } from '../../global_styling/variables/size';
|
|
8
|
+
import { _EuiThemeFont } from '../../global_styling/variables/typography';
|
|
9
|
+
import { _EuiThemeFocus } from '../../global_styling/variables/states';
|
|
10
|
+
import { _EuiThemeLevels } from '../../global_styling/variables/levels';
|
|
11
|
+
import { _EuiThemeComponents } from '../../global_styling/variables/components';
|
|
12
|
+
import { _EuiThemeFlags } from '../../global_styling/variables';
|
|
13
13
|
export declare const COLOR_MODES_STANDARD: {
|
|
14
14
|
readonly light: "LIGHT";
|
|
15
15
|
readonly dark: "DARK";
|
|
@@ -65,4 +65,8 @@ export declare type EuiThemeNested = {
|
|
|
65
65
|
setNearestThemeCSSVariables: Function;
|
|
66
66
|
themeCSSVariables?: CSSObject;
|
|
67
67
|
};
|
|
68
|
-
|
|
68
|
+
export interface UseEuiTheme<T extends {} = {}> {
|
|
69
|
+
euiTheme: EuiThemeComputed<T>;
|
|
70
|
+
colorMode: EuiThemeColorModeStandard;
|
|
71
|
+
modifications: EuiThemeModifications<T>;
|
|
72
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../../src/services/theme/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAoBH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAC;AACX,MAAM,CAAC,MAAM,mBAAmB,GAAG,SAAkB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elastic/eui-theme-common",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.10",
|
|
4
4
|
"description": "EUI theme common",
|
|
5
5
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
6
6
|
"scripts": {
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
25
|
"@types/lodash": "^4.14.202",
|
|
26
|
+
"chroma-js": "^2.4.2",
|
|
26
27
|
"lodash": "^4.17.21"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
@@ -32,6 +33,7 @@
|
|
|
32
33
|
"@babel/preset-react": "^7.18.6",
|
|
33
34
|
"@babel/preset-typescript": "^7.21.5",
|
|
34
35
|
"@emotion/react": "^11.11.0",
|
|
36
|
+
"@types/chroma-js": "^2.4.0",
|
|
35
37
|
"@types/jest": "^29.5.12",
|
|
36
38
|
"@types/prettier": "2.7.3",
|
|
37
39
|
"@types/react": "^16.9 || ^17.0 || ^18.0",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
// For theming. Checks the text color and tells us whether it's light or dark.
|
|
17
17
|
// Based on that we either tint (add white) or shade (add black).
|
|
18
18
|
@function tintOrShade($color, $tint, $shade) {
|
|
19
|
-
@if (lightness($
|
|
19
|
+
@if (lightness($euiColorTextParagraph) > 50) {
|
|
20
20
|
@return shade($color, $shade);
|
|
21
21
|
} @else {
|
|
22
22
|
@return tint($color, $tint);
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
|
|
26
26
|
// The reverse of the above
|
|
27
27
|
@function shadeOrTint($color, $shade, $tint) {
|
|
28
|
-
@if (lightness($
|
|
28
|
+
@if (lightness($euiColorTextParagraph) < 50) {
|
|
29
29
|
@return shade($color, $shade);
|
|
30
30
|
} @else {
|
|
31
31
|
@return tint($color, $tint);
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
// Similar to above, but uses the light or dark color based
|
|
36
36
|
// on whether it's the light or dark theme
|
|
37
37
|
@function lightOrDarkTheme($lightColor, $darkColor) {
|
|
38
|
-
@if (lightness($
|
|
38
|
+
@if (lightness($euiColorTextParagraph) < 50) {
|
|
39
39
|
@return $lightColor;
|
|
40
40
|
} @else {
|
|
41
41
|
@return $darkColor;
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
@mixin euiFormControlText {
|
|
41
41
|
@include euiFont;
|
|
42
42
|
font-size: $euiFontSizeS;
|
|
43
|
-
color: $
|
|
43
|
+
color: $euiColorTextParagraph;
|
|
44
44
|
|
|
45
45
|
@include euiPlaceholderPerBrowser {
|
|
46
46
|
color: $euiFormControlPlaceholderText;
|
|
@@ -168,8 +168,8 @@
|
|
|
168
168
|
|
|
169
169
|
@mixin euiFormControlReadOnlyStyle {
|
|
170
170
|
cursor: default;
|
|
171
|
-
color: $
|
|
172
|
-
-webkit-text-fill-color: $
|
|
171
|
+
color: $euiColorTextParagraph;
|
|
172
|
+
-webkit-text-fill-color: $euiColorTextParagraph; // Required for Safari
|
|
173
173
|
// Use transparency since there is no border and in case form is on a non-white background
|
|
174
174
|
background: $euiFormBackgroundReadOnlyColor;
|
|
175
175
|
border-color: transparent;
|
|
@@ -53,13 +53,13 @@
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
@mixin euiText {
|
|
56
|
-
color: $
|
|
56
|
+
color: $euiColorTextParagraph;
|
|
57
57
|
font-weight: $euiFontWeightRegular;
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
@mixin euiTitle($size: 'm') {
|
|
61
61
|
@include euiTextBreakWord;
|
|
62
|
-
color: $
|
|
62
|
+
color: $euiColorTextHeading;
|
|
63
63
|
|
|
64
64
|
@if (map-has-key($euiTitles, $size)) {
|
|
65
65
|
@each $property, $value in map-get($euiTitles, $size) {
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/global_styling/types.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAEhD,OAAO,KAAK,EAAE,gBAAgB,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AAE1D,OAAO,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAC5D,OAAO,EAAE,oBAAoB,EAAE,MAAM,wBAAwB,CAAC;AAC9D,OAAO,EAAE,eAAe,EAAE,MAAM,qBAAqB,CAAC;AACtD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,eAAe,EAAE,MAAM,oBAAoB,CAAC;AACrD,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAE7C,eAAO,MAAM,oBAAoB;;;CAGvB,CAAC;AACX,eAAO,MAAM,mBAAmB,WAAqB,CAAC;AAEtD,oBAAY,wBAAwB,GAAG,OAAO,mBAAmB,CAAC;AAClE,oBAAY,yBAAyB,GAAG,OAAO,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAC7E,oBAAY,iBAAiB,GACzB,OAAO,GACP,MAAM,GACN,yBAAyB,GACzB,SAAS,GACT,wBAAwB,CAAC;AAE7B,oBAAY,eAAe,CAAC,CAAC,GAAG,MAAM,IAClC;KACG,GAAG,IAAI,yBAAyB,GAAG,CAAC;CACtC,GACD,CAAC,CAAC;AAEN,oBAAY,qBAAqB,CAAC,CAAC,GAAG,MAAM,IAAI;KAC7C,GAAG,IAAI,yBAAyB,GAAG,CAAC;CACtC,CAAC;AAEF,oBAAY,aAAa,GAAG;IAC1B,MAAM,EAAE,eAAe,CAAC;IACxB,0BAA0B;IAC1B,IAAI,EAAE,aAAa,CAAC;IACpB;;OAEG;IACH,IAAI,EAAE,cAAc,CAAC;IACrB,IAAI,EAAE,aAAa,CAAC;IACpB,MAAM,EAAE,eAAe,CAAC;IACxB,KAAK,EAAE,cAAc,CAAC;IACtB,SAAS,EAAE,kBAAkB,CAAC;IAC9B,UAAU,EAAE,oBAAoB,CAAC;IACjC,MAAM,EAAE,eAAe,CAAC;IACxB,UAAU,EAAE,mBAAmB,CAAC;IAChC,KAAK,EAAE,cAAc,CAAC;CACvB,CAAC;AAEF,oBAAY,cAAc,CAAC,CAAC,GAAG,EAAE,IAAI;IACnC,IAAI,EAAE,aAAa,GAAG,CAAC,CAAC;IACxB,KAAK,EAAE,aAAa,GAAG,CAAC,CAAC;IACzB,GAAG,EAAE,MAAM,CAAC;CACb,CAAC;AAEF,oBAAY,qBAAqB,CAAC,CAAC,GAAG,EAAE,IAAI,gBAAgB,CAAC,aAAa,GAAG,CAAC,CAAC,CAAC;AAEhF,oBAAY,kBAAkB,CAC5B,CAAC,EACD,CAAC,GAAG,MAAM,GAAG,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,IAAI,GAAG,SAAS,IACvD,CAAC,SAAS,CAAC,GAAG,eAAe,CAAC,MAAM,CAAC,CAAC,GACtC,CAAC,SAAS,eAAe,CAAC,CAAC,CAAC,GAC1B,CAAC,SAAS,CAAC,GACT,CAAC,GACD;KACG,CAAC,IAAI,MAAM,CAAC,CAAC,GACZ,OAAO,CACL,CAAC,EACD,MAAM,CAAC,GAAG,MAAM,qBAAqB,CACtC,CAAC,GAAG,kBAAkB,CACvB,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,EAAE,MAAM,CAAC,GAAG,MAAM,qBAAqB,CAAC,CAAC,CAAC,CAAC,CAAC,EAC1D,CAAC,CACF;CACF,GACH,CAAC,GACH;KACG,CAAC,IAAI,MAAM,CAAC,GAAG,kBAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;CAC5C,CAAC;AAEN,oBAAY,gBAAgB,CAAC,CAAC,GAAG,EAAE,IAAI,kBAAkB,CAAC,aAAa,GAAG,CAAC,CAAC,GAAG;IAC7E,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,oBAAY,cAAc,GAAG;IAC3B,aAAa,EAAE,OAAO,CAAC;IACvB,gCAAgC,EAAE,OAAO,CAAC;IAC1C,SAAS,EAAE,MAAM,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;IACvB,qBAAqB,EAAE,QAAQ,CAAC;IAChC,kBAAkB,CAAC,EAAE,SAAS,CAAC;IAC/B,2BAA2B,EAAE,QAAQ,CAAC;IACtC,iBAAiB,CAAC,EAAE,SAAS,CAAC;CAC/B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","names":["COLOR_MODES_STANDARD","exports","light","dark","COLOR_MODES_INVERSE"],"sources":["../../../src/global_styling/types.ts"],"sourcesContent":["/*\n * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one\n * or more contributor license agreements. Licensed under the Elastic License\n * 2.0 and the Server Side Public License, v 1; you may not use this file except\n * in compliance with, at your election, the Elastic License 2.0 or the Server\n * Side Public License, v 1.\n */\n\nimport type { CSSObject } from '@emotion/react';\n\nimport type { RecursivePartial, ValueOf } from '../types';\n\nimport { _EuiThemeAnimation } from './variables/animations';\nimport { _EuiThemeBreakpoints } from './variables/breakpoint';\nimport { _EuiThemeBorder } from './variables/borders';\nimport { _EuiThemeColors } from './variables/colors';\nimport { _EuiThemeBase, _EuiThemeSizes } from './variables/size';\nimport { _EuiThemeFont } from './variables/typography';\nimport { _EuiThemeFocus } from './variables/states';\nimport { _EuiThemeLevels } from './variables/levels';\nimport { _EuiThemeComponents } from './variables/components';\nimport { _EuiThemeFlags } from './variables';\n\nexport const COLOR_MODES_STANDARD = {\n light: 'LIGHT',\n dark: 'DARK',\n} as const;\nexport const COLOR_MODES_INVERSE = 'INVERSE' as const;\n\nexport type EuiThemeColorModeInverse = typeof COLOR_MODES_INVERSE;\nexport type EuiThemeColorModeStandard = ValueOf<typeof COLOR_MODES_STANDARD>;\nexport type EuiThemeColorMode =\n | 'light'\n | 'dark'\n | EuiThemeColorModeStandard\n | 'inverse'\n | EuiThemeColorModeInverse;\n\nexport type ColorModeSwitch<T = string> =\n | {\n [key in EuiThemeColorModeStandard]: T;\n }\n | T;\n\nexport type StrictColorModeSwitch<T = string> = {\n [key in EuiThemeColorModeStandard]: T;\n};\n\nexport type EuiThemeShape = {\n colors: _EuiThemeColors;\n /** - Default value: 16 */\n base: _EuiThemeBase;\n /**\n * @see {@link https://eui.elastic.co/#/theming/sizing | Reference} for more information\n */\n size: _EuiThemeSizes;\n font: _EuiThemeFont;\n border: _EuiThemeBorder;\n focus: _EuiThemeFocus;\n animation: _EuiThemeAnimation;\n breakpoint: _EuiThemeBreakpoints;\n levels: _EuiThemeLevels;\n components: _EuiThemeComponents;\n flags: _EuiThemeFlags;\n};\n\nexport type EuiThemeSystem<T = {}> = {\n root: EuiThemeShape & T;\n model: EuiThemeShape & T;\n key: string;\n};\n\nexport type EuiThemeModifications<T = {}> = RecursivePartial<EuiThemeShape & T>;\n\nexport type ComputedThemeShape<\n T,\n P = string | number | bigint | boolean | null | undefined\n> = T extends P | ColorModeSwitch<infer X>\n ? T extends ColorModeSwitch<X>\n ? X extends P\n ? X\n : {\n [K in keyof (X &\n Exclude<\n T,\n keyof X | keyof StrictColorModeSwitch\n >)]: ComputedThemeShape<\n (X & Exclude<T, keyof X | keyof StrictColorModeSwitch>)[K],\n P\n >;\n }\n : T\n : {\n [K in keyof T]: ComputedThemeShape<T[K], P>;\n };\n\nexport type EuiThemeComputed<T = {}> = ComputedThemeShape<EuiThemeShape & T> & {\n themeName: string;\n};\n\nexport type EuiThemeNested = {\n isGlobalTheme: boolean;\n hasDifferentColorFromGlobalTheme: boolean;\n bodyColor: string;\n colorClassName: string;\n setGlobalCSSVariables: Function;\n globalCSSVariables?: CSSObject;\n setNearestThemeCSSVariables: Function;\n themeCSSVariables?: CSSObject;\n};\n"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AACA;AACA;AACA;;AAiBO,IAAMA,oBAAoB,GAAAC,OAAA,CAAAD,oBAAA,GAAG;EAClCE,KAAK,EAAE,OAAO;EACdC,IAAI,EAAE;AACR,CAAU;AACH,IAAMC,mBAAmB,GAAAH,OAAA,CAAAG,mBAAA,GAAG,SAAkB","ignoreList":[]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.js","sourceRoot":"","sources":["../../../src/global_styling/types.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAiBH,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,KAAK,EAAE,OAAO;IACd,IAAI,EAAE,MAAM;CACJ,CAAC;AACX,MAAM,CAAC,MAAM,mBAAmB,GAAG,SAAkB,CAAC"}
|
|
File without changes
|
|
File without changes
|