@workday/canvas-kit-docs 7.4.0 → 7.4.1

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.
@@ -5,7 +5,6 @@ import {HStack} from '@workday/canvas-kit-react/layout';
5
5
  import {plusIcon, caretDownIcon} from '@workday/canvas-system-icons-web';
6
6
  import {space, colors} from '@workday/canvas-kit-react/tokens';
7
7
  import {CanvasProvider} from '@workday/canvas-kit-react/common';
8
- import {customColorTheme} from '../../../../../../utils/storybook';
9
8
  import styled from '@emotion/styled';
10
9
 
11
10
  const getDropdownColors = () => {
@@ -30,6 +29,30 @@ const StyledPrimaryButton = styled(PrimaryButton)({
30
29
  padding: space.xxs,
31
30
  });
32
31
 
32
+ const customColorTheme = {
33
+ palette: {
34
+ primary: {
35
+ main: 'purple',
36
+ contrast: 'turquoise',
37
+ },
38
+ alert: {
39
+ main: 'coral',
40
+ },
41
+ error: {
42
+ main: 'crimson',
43
+ },
44
+ success: {
45
+ main: 'aquamarine',
46
+ },
47
+ neutral: {
48
+ main: 'gray',
49
+ },
50
+ common: {
51
+ focusOutline: 'turquoise',
52
+ },
53
+ },
54
+ };
55
+
33
56
  export default () => (
34
57
  <HStack spacing="s" padding="s">
35
58
  <PrimaryButton
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@workday/canvas-kit-docs",
3
- "version": "7.4.0",
3
+ "version": "7.4.1",
4
4
  "description": "Documentation components of Canvas Kit components",
5
5
  "author": "Workday, Inc. (https://www.workday.com)",
6
6
  "license": "Apache-2.0",
@@ -42,7 +42,7 @@
42
42
  ],
43
43
  "dependencies": {
44
44
  "@storybook/csf": "0.0.1",
45
- "@workday/canvas-kit-react": "^7.4.0"
45
+ "@workday/canvas-kit-react": "^7.4.1"
46
46
  },
47
47
  "devDependencies": {
48
48
  "fs-extra": "^10.0.0",
@@ -50,5 +50,5 @@
50
50
  "mkdirp": "^1.0.3",
51
51
  "typescript": "4.1"
52
52
  },
53
- "gitHead": "1aea6366e8a897e43f27aac00abc7302acecc0c7"
53
+ "gitHead": "e7ec941a539167de0027486cf9a7c03f11c9b0b1"
54
54
  }