@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.
Files changed (48) hide show
  1. package/dist/AssetProvider.d.ts +2 -3
  2. package/dist/AssetProvider.js +15 -18
  3. package/dist/Background.d.ts +1 -1
  4. package/dist/Background.js +28 -45
  5. package/dist/ColorMode.d.ts +21 -23
  6. package/dist/ColorMode.js +70 -77
  7. package/dist/GamutProvider.js +20 -22
  8. package/dist/cache/createEmotionCache.js +11 -26
  9. package/dist/cache/stylisPlugins/focusVisible.js +4 -4
  10. package/dist/globals/Reboot.d.ts +1 -2
  11. package/dist/globals/Reboot.js +4 -6
  12. package/dist/globals/Typography.d.ts +1 -2
  13. package/dist/globals/Typography.js +18 -20
  14. package/dist/globals/Variables.js +12 -21
  15. package/dist/remoteAssets/fonts.js +8 -8
  16. package/dist/styles/boxShadow.js +10 -20
  17. package/dist/styles/fontSmoothing.js +5 -7
  18. package/dist/styles/noSelect.js +1 -1
  19. package/dist/styles/pxRem.js +3 -3
  20. package/dist/styles/responsive.js +4 -6
  21. package/dist/styles/screenReaderOnly.js +2 -2
  22. package/dist/styles/transitionConcat.js +4 -4
  23. package/dist/themes/admin.d.ts +2 -2
  24. package/dist/themes/admin.js +1 -1
  25. package/dist/themes/core.js +14 -12
  26. package/dist/themes/index.d.ts +0 -1
  27. package/dist/themes/index.js +1 -2
  28. package/dist/themes/platform.d.ts +2 -2
  29. package/dist/themes/platform.js +1 -1
  30. package/dist/utilities/themed.js +4 -2
  31. package/dist/variables/borderRadii.js +1 -1
  32. package/dist/variables/colors.d.ts +0 -100
  33. package/dist/variables/colors.js +19 -89
  34. package/dist/variables/deprecated-colors.d.ts +1 -1
  35. package/dist/variables/deprecated-colors.js +17 -16
  36. package/dist/variables/elements.js +1 -1
  37. package/dist/variables/responsive.js +4 -6
  38. package/dist/variables/spacing.js +1 -1
  39. package/dist/variables/timing.js +6 -6
  40. package/dist/variables/typography.js +14 -8
  41. package/dist/variance/config.js +49 -32
  42. package/dist/variance/index.js +1 -2
  43. package/dist/variance/props.js +16 -16
  44. package/dist/variance/utils.d.ts +3 -3
  45. package/dist/variance/utils.js +6 -14
  46. package/package.json +3 -3
  47. package/dist/themes/enterprise.d.ts +0 -1002
  48. 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();