@codecademy/gamut-styles 17.1.3-alpha.8efe7d.0 → 17.1.3-alpha.97f052.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/dist/AssetProvider.d.ts +2 -3
- package/dist/AssetProvider.js +15 -18
- package/dist/Background.d.ts +1 -1
- package/dist/Background.js +28 -45
- package/dist/ColorMode.d.ts +21 -23
- package/dist/ColorMode.js +70 -77
- package/dist/GamutProvider.js +20 -22
- package/dist/cache/createEmotionCache.js +11 -26
- package/dist/cache/stylisPlugins/focusVisible.js +4 -4
- package/dist/globals/Reboot.d.ts +1 -2
- package/dist/globals/Reboot.js +4 -6
- package/dist/globals/Typography.d.ts +1 -2
- package/dist/globals/Typography.js +18 -20
- package/dist/globals/Variables.js +12 -21
- package/dist/remoteAssets/fonts.js +8 -8
- package/dist/styles/boxShadow.js +10 -20
- package/dist/styles/fontSmoothing.js +5 -7
- package/dist/styles/noSelect.js +1 -1
- package/dist/styles/pxRem.js +3 -3
- package/dist/styles/responsive.js +4 -6
- package/dist/styles/screenReaderOnly.js +2 -2
- package/dist/styles/transitionConcat.js +4 -4
- package/dist/themes/admin.d.ts +2 -2
- package/dist/themes/admin.js +1 -1
- package/dist/themes/core.js +14 -12
- package/dist/themes/index.d.ts +0 -1
- package/dist/themes/index.js +1 -2
- package/dist/themes/platform.d.ts +2 -2
- package/dist/themes/platform.js +1 -1
- package/dist/utilities/themed.js +4 -2
- package/dist/variables/borderRadii.js +1 -1
- package/dist/variables/colors.d.ts +0 -100
- package/dist/variables/colors.js +19 -89
- package/dist/variables/deprecated-colors.d.ts +1 -1
- package/dist/variables/deprecated-colors.js +17 -16
- package/dist/variables/elements.js +1 -1
- package/dist/variables/responsive.js +4 -6
- package/dist/variables/spacing.js +1 -1
- package/dist/variables/timing.js +6 -6
- package/dist/variables/typography.js +14 -8
- package/dist/variance/config.js +49 -32
- package/dist/variance/index.js +1 -2
- package/dist/variance/props.js +16 -16
- package/dist/variance/utils.d.ts +3 -3
- package/dist/variance/utils.js +6 -14
- package/package.json +3 -3
- package/dist/themes/enterprise.d.ts +0 -1002
- package/dist/themes/enterprise.js +0 -68
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { createTheme } from '@codecademy/variance';
|
|
2
|
-
import { enterprisePalette } from '../variables';
|
|
3
|
-
import { coreTheme } from './core';
|
|
4
|
-
export var enterpriseTheme = createTheme(coreTheme).addColors(enterprisePalette).addColorModes('light', {
|
|
5
|
-
light: {
|
|
6
|
-
text: {
|
|
7
|
-
_: 'gray-900',
|
|
8
|
-
accent: 'blue',
|
|
9
|
-
disabled: 'gray-500',
|
|
10
|
-
secondary: 'gray-500'
|
|
11
|
-
},
|
|
12
|
-
background: {
|
|
13
|
-
_: 'white',
|
|
14
|
-
contrast: 'white',
|
|
15
|
-
current: 'white',
|
|
16
|
-
primary: 'beige',
|
|
17
|
-
selected: 'blue-50',
|
|
18
|
-
disabled: 'gray-100',
|
|
19
|
-
hover: 'gray-200'
|
|
20
|
-
},
|
|
21
|
-
primary: {
|
|
22
|
-
_: 'blue',
|
|
23
|
-
hover: 'blue-400',
|
|
24
|
-
inverse: 'white'
|
|
25
|
-
},
|
|
26
|
-
secondary: {
|
|
27
|
-
_: 'gray-900',
|
|
28
|
-
hover: 'gray-800'
|
|
29
|
-
},
|
|
30
|
-
interface: {
|
|
31
|
-
_: 'blue',
|
|
32
|
-
hover: 'blue-400'
|
|
33
|
-
},
|
|
34
|
-
danger: {
|
|
35
|
-
_: 'red',
|
|
36
|
-
hover: 'red-600'
|
|
37
|
-
}
|
|
38
|
-
},
|
|
39
|
-
dark: {
|
|
40
|
-
text: {
|
|
41
|
-
_: 'white',
|
|
42
|
-
accent: 'blue',
|
|
43
|
-
disabled: 'gray-100',
|
|
44
|
-
secondary: 'gray-200'
|
|
45
|
-
},
|
|
46
|
-
background: {
|
|
47
|
-
_: 'gray-900',
|
|
48
|
-
current: 'gray-800',
|
|
49
|
-
primary: 'gray-900',
|
|
50
|
-
selected: 'gray-700',
|
|
51
|
-
disabled: 'gray-500',
|
|
52
|
-
hover: 'gray-600'
|
|
53
|
-
},
|
|
54
|
-
primary: {
|
|
55
|
-
_: 'skyBlue',
|
|
56
|
-
hover: 'skyBlue-100',
|
|
57
|
-
inverse: 'blue'
|
|
58
|
-
},
|
|
59
|
-
secondary: {
|
|
60
|
-
_: 'white',
|
|
61
|
-
hover: 'blue-50'
|
|
62
|
-
},
|
|
63
|
-
interface: {
|
|
64
|
-
_: 'white',
|
|
65
|
-
hover: 'blue-50'
|
|
66
|
-
}
|
|
67
|
-
}
|
|
68
|
-
}).build();
|