@codecademy/gamut-styles 17.9.1-alpha.2ea313.0 → 17.9.1-alpha.3e8b72.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/package.json +3 -3
- package/dist/AssetProvider.d.ts +0 -2
- package/dist/AssetProvider.js +0 -20
- package/dist/Background.d.ts +0 -6
- package/dist/Background.js +0 -66
- package/dist/ColorMode.d.ts +0 -1312
- package/dist/ColorMode.js +0 -134
- package/dist/GamutProvider.d.ts +0 -23
- package/dist/GamutProvider.js +0 -64
- package/dist/cache/createEmotionCache.d.ts +0 -4
- package/dist/cache/createEmotionCache.js +0 -25
- package/dist/cache/index.d.ts +0 -1
- package/dist/cache/index.js +0 -1
- package/dist/cache/stylisPlugins/focusVisible.d.ts +0 -2
- package/dist/cache/stylisPlugins/focusVisible.js +0 -10
- package/dist/cache/stylisPlugins/index.d.ts +0 -1
- package/dist/cache/stylisPlugins/index.js +0 -1
- package/dist/globals/Reboot.d.ts +0 -1
- package/dist/globals/Reboot.js +0 -7
- package/dist/globals/Typography.d.ts +0 -1
- package/dist/globals/Typography.js +0 -20
- package/dist/globals/Variables.d.ts +0 -5
- package/dist/globals/Variables.js +0 -15
- package/dist/globals/index.d.ts +0 -2
- package/dist/globals/index.js +0 -2
- package/dist/index.d.ts +0 -13
- package/dist/index.js +0 -13
- package/dist/remoteAssets/fonts.d.ts +0 -26
- package/dist/remoteAssets/fonts.js +0 -34
- package/dist/styles/boxShadow.d.ts +0 -26
- package/dist/styles/boxShadow.js +0 -34
- package/dist/styles/fontSmoothing.d.ts +0 -29
- package/dist/styles/fontSmoothing.js +0 -27
- package/dist/styles/index.d.ts +0 -7
- package/dist/styles/index.js +0 -7
- package/dist/styles/noSelect.d.ts +0 -1
- package/dist/styles/noSelect.js +0 -11
- package/dist/styles/pxRem.d.ts +0 -1
- package/dist/styles/pxRem.js +0 -4
- package/dist/styles/responsive.d.ts +0 -6
- package/dist/styles/responsive.js +0 -12
- package/dist/styles/screenReaderOnly.d.ts +0 -2
- package/dist/styles/screenReaderOnly.js +0 -20
- package/dist/styles/transitionConcat.d.ts +0 -3
- package/dist/styles/transitionConcat.js +0 -6
- package/dist/themes/admin.d.ts +0 -966
- package/dist/themes/admin.js +0 -15
- package/dist/themes/core.d.ts +0 -519
- package/dist/themes/core.js +0 -132
- package/dist/themes/index.d.ts +0 -4
- package/dist/themes/index.js +0 -4
- package/dist/themes/lxStudio.d.ts +0 -1080
- package/dist/themes/lxStudio.js +0 -54
- package/dist/themes/platform.d.ts +0 -1157
- package/dist/themes/platform.js +0 -78
- package/dist/typings/theme.d.ts +0 -6
- package/dist/utilities/index.d.ts +0 -1
- package/dist/utilities/index.js +0 -1
- package/dist/utilities/themed.d.ts +0 -14
- package/dist/utilities/themed.js +0 -16
- package/dist/variables/borderRadii.d.ts +0 -8
- package/dist/variables/borderRadii.js +0 -8
- package/dist/variables/colors.d.ts +0 -310
- package/dist/variables/colors.js +0 -170
- package/dist/variables/deprecated-colors.d.ts +0 -156
- package/dist/variables/deprecated-colors.js +0 -156
- package/dist/variables/elements.d.ts +0 -11
- package/dist/variables/elements.js +0 -11
- package/dist/variables/index.d.ts +0 -8
- package/dist/variables/index.js +0 -9
- package/dist/variables/responsive.d.ts +0 -28
- package/dist/variables/responsive.js +0 -28
- package/dist/variables/spacing.d.ts +0 -13
- package/dist/variables/spacing.js +0 -14
- package/dist/variables/timing.d.ts +0 -12
- package/dist/variables/timing.js +0 -12
- package/dist/variables/typography.d.ts +0 -32
- package/dist/variables/typography.js +0 -39
- package/dist/variance/config.d.ts +0 -1052
- package/dist/variance/config.js +0 -514
- package/dist/variance/index.d.ts +0 -3
- package/dist/variance/index.js +0 -3
- package/dist/variance/props.d.ts +0 -1963
- package/dist/variance/props.js +0 -24
- package/dist/variance/utils.d.ts +0 -29
- package/dist/variance/utils.js +0 -34
package/dist/themes/lxStudio.js
DELETED
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import { createTheme } from '@codecademy/variance';
|
|
2
|
-
import { fontBase, fontMonospace, fontSystem, lxStudioPalette } from '../variables';
|
|
3
|
-
import { coreTheme } from './core';
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* @description This is an extended theme for the lx studio with an expanded set of tokens
|
|
7
|
-
* That are not needed for the rest of the application.
|
|
8
|
-
*/
|
|
9
|
-
|
|
10
|
-
const lxStudioFontFamily = {
|
|
11
|
-
accent: fontBase,
|
|
12
|
-
base: fontBase,
|
|
13
|
-
monospace: fontMonospace,
|
|
14
|
-
system: fontSystem
|
|
15
|
-
};
|
|
16
|
-
export const lxStudioBorderRadii = {
|
|
17
|
-
none: '0px',
|
|
18
|
-
sm: '4px',
|
|
19
|
-
md: '8px',
|
|
20
|
-
lg: '12px',
|
|
21
|
-
xl: '16px',
|
|
22
|
-
full: '999px'
|
|
23
|
-
};
|
|
24
|
-
export const lxStudioTheme = createTheme({
|
|
25
|
-
...coreTheme,
|
|
26
|
-
borderRadii: lxStudioBorderRadii,
|
|
27
|
-
fontFamily: lxStudioFontFamily
|
|
28
|
-
}).addColors(lxStudioPalette).addColorModes('light', {
|
|
29
|
-
// these are just the overrides, the rest of the tokens are inherited from coreTheme
|
|
30
|
-
light: {
|
|
31
|
-
feedback: {
|
|
32
|
-
success: 'lxStudioSuccess'
|
|
33
|
-
},
|
|
34
|
-
background: {
|
|
35
|
-
primary: 'lxStudioBgPrimary'
|
|
36
|
-
},
|
|
37
|
-
shadow: {
|
|
38
|
-
primary: 'navy-200'
|
|
39
|
-
},
|
|
40
|
-
primary: {
|
|
41
|
-
_: 'lxStudioPurple',
|
|
42
|
-
hover: 'lxStudioPurpleHover'
|
|
43
|
-
},
|
|
44
|
-
interface: {
|
|
45
|
-
_: 'hyper-500',
|
|
46
|
-
hover: 'hyper-400'
|
|
47
|
-
},
|
|
48
|
-
border: {
|
|
49
|
-
primary: 'navy-400',
|
|
50
|
-
tertiary: 'navy-800',
|
|
51
|
-
disabled: 'navy-300'
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
}).build();
|