@veracity/vui 2.3.0 → 2.4.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 (139) hide show
  1. package/dist/cjs/avatar/theme.js +4 -4
  2. package/dist/cjs/badge/theme.js +1 -1
  3. package/dist/cjs/button/theme.js +7 -7
  4. package/dist/cjs/dialog/useDialog.js +1 -1
  5. package/dist/cjs/dragAndDrop/theme.js +1 -1
  6. package/dist/cjs/heading/theme.d.ts.map +1 -1
  7. package/dist/cjs/heading/theme.js +7 -3
  8. package/dist/cjs/icons/baseIcons/fab/fabMarkdown.d.ts +4 -0
  9. package/dist/cjs/icons/baseIcons/fab/fabMarkdown.d.ts.map +1 -0
  10. package/dist/cjs/icons/baseIcons/fab/fabMarkdown.js +7 -0
  11. package/dist/cjs/icons/baseIcons/icons.d.ts +14 -13
  12. package/dist/cjs/icons/baseIcons/icons.d.ts.map +1 -1
  13. package/dist/cjs/icons/baseIcons/icons.js +36 -34
  14. package/dist/cjs/icons/baseIcons/types.d.ts +1 -1
  15. package/dist/cjs/icons/baseIcons/types.d.ts.map +1 -1
  16. package/dist/cjs/input/consts.js +2 -2
  17. package/dist/cjs/link/theme.js +4 -4
  18. package/dist/cjs/list/listItem.js +2 -2
  19. package/dist/cjs/message/consts.js +1 -1
  20. package/dist/cjs/notification/theme.js +2 -2
  21. package/dist/cjs/pagination/theme.js +2 -2
  22. package/dist/cjs/progress/progress.js +1 -1
  23. package/dist/cjs/select/selectButton.js +2 -2
  24. package/dist/cjs/select/selectOption.js +1 -1
  25. package/dist/cjs/spinner/theme.js +2 -2
  26. package/dist/cjs/table/tableSortIcon.d.ts.map +1 -1
  27. package/dist/cjs/table/tableSortIcon.js +1 -2
  28. package/dist/cjs/table/tbody.d.ts.map +1 -1
  29. package/dist/cjs/table/tbody.js +7 -3
  30. package/dist/cjs/table/th.d.ts.map +1 -1
  31. package/dist/cjs/table/th.js +3 -2
  32. package/dist/cjs/table/thead.d.ts +0 -1
  33. package/dist/cjs/table/thead.d.ts.map +1 -1
  34. package/dist/cjs/table/thead.js +7 -11
  35. package/dist/cjs/table/theme.d.ts +7 -1
  36. package/dist/cjs/table/theme.d.ts.map +1 -1
  37. package/dist/cjs/table/theme.js +9 -3
  38. package/dist/cjs/table/tr.js +1 -1
  39. package/dist/cjs/tabs/tabsNavBar.js +2 -2
  40. package/dist/cjs/tag/theme.js +4 -4
  41. package/dist/cjs/theme/components.d.ts +7 -1
  42. package/dist/cjs/theme/components.d.ts.map +1 -1
  43. package/dist/cjs/theme/defaultTheme.d.ts +11 -1
  44. package/dist/cjs/theme/defaultTheme.d.ts.map +1 -1
  45. package/dist/cjs/theme/foundations/colors.d.ts +6 -0
  46. package/dist/cjs/theme/foundations/colors.d.ts.map +1 -1
  47. package/dist/cjs/theme/foundations/colors.js +8 -5
  48. package/dist/cjs/theme/foundations/fonts.d.ts +1 -0
  49. package/dist/cjs/theme/foundations/fonts.d.ts.map +1 -1
  50. package/dist/cjs/theme/foundations/fonts.js +2 -1
  51. package/dist/cjs/theme/foundations/index.d.ts +4 -0
  52. package/dist/cjs/theme/foundations/index.d.ts.map +1 -1
  53. package/dist/cjs/toast/toast.d.ts.map +1 -1
  54. package/dist/cjs/toast/toast.js +3 -2
  55. package/dist/esm/avatar/theme.js +4 -4
  56. package/dist/esm/badge/theme.js +1 -1
  57. package/dist/esm/button/theme.js +7 -7
  58. package/dist/esm/dialog/useDialog.js +1 -1
  59. package/dist/esm/dragAndDrop/theme.js +1 -1
  60. package/dist/esm/heading/theme.d.ts.map +1 -1
  61. package/dist/esm/heading/theme.js +4 -3
  62. package/dist/esm/icons/baseIcons/fab/fabMarkdown.d.ts +4 -0
  63. package/dist/esm/icons/baseIcons/fab/fabMarkdown.d.ts.map +1 -0
  64. package/dist/esm/icons/baseIcons/fab/fabMarkdown.js +5 -0
  65. package/dist/esm/icons/baseIcons/icons.d.ts +14 -13
  66. package/dist/esm/icons/baseIcons/icons.d.ts.map +1 -1
  67. package/dist/esm/icons/baseIcons/icons.js +14 -13
  68. package/dist/esm/icons/baseIcons/types.d.ts +1 -1
  69. package/dist/esm/icons/baseIcons/types.d.ts.map +1 -1
  70. package/dist/esm/input/consts.js +2 -2
  71. package/dist/esm/link/theme.js +4 -4
  72. package/dist/esm/list/listItem.js +2 -2
  73. package/dist/esm/message/consts.js +1 -1
  74. package/dist/esm/notification/theme.js +2 -2
  75. package/dist/esm/pagination/theme.js +3 -3
  76. package/dist/esm/progress/progress.js +1 -1
  77. package/dist/esm/select/selectButton.js +2 -2
  78. package/dist/esm/select/selectOption.js +1 -1
  79. package/dist/esm/spinner/theme.js +2 -2
  80. package/dist/esm/table/tableSortIcon.d.ts.map +1 -1
  81. package/dist/esm/table/tableSortIcon.js +1 -2
  82. package/dist/esm/table/tbody.d.ts.map +1 -1
  83. package/dist/esm/table/tbody.js +7 -3
  84. package/dist/esm/table/th.d.ts.map +1 -1
  85. package/dist/esm/table/th.js +3 -2
  86. package/dist/esm/table/thead.d.ts +0 -1
  87. package/dist/esm/table/thead.d.ts.map +1 -1
  88. package/dist/esm/table/thead.js +5 -9
  89. package/dist/esm/table/theme.d.ts +7 -1
  90. package/dist/esm/table/theme.d.ts.map +1 -1
  91. package/dist/esm/table/theme.js +9 -3
  92. package/dist/esm/table/tr.js +1 -1
  93. package/dist/esm/tabs/tabsNavBar.js +2 -2
  94. package/dist/esm/tag/theme.js +4 -4
  95. package/dist/esm/theme/components.d.ts +7 -1
  96. package/dist/esm/theme/components.d.ts.map +1 -1
  97. package/dist/esm/theme/defaultTheme.d.ts +11 -1
  98. package/dist/esm/theme/defaultTheme.d.ts.map +1 -1
  99. package/dist/esm/theme/foundations/colors.d.ts +6 -0
  100. package/dist/esm/theme/foundations/colors.d.ts.map +1 -1
  101. package/dist/esm/theme/foundations/colors.js +8 -5
  102. package/dist/esm/theme/foundations/fonts.d.ts +1 -0
  103. package/dist/esm/theme/foundations/fonts.d.ts.map +1 -1
  104. package/dist/esm/theme/foundations/fonts.js +2 -1
  105. package/dist/esm/theme/foundations/index.d.ts +4 -0
  106. package/dist/esm/theme/foundations/index.d.ts.map +1 -1
  107. package/dist/esm/toast/toast.d.ts.map +1 -1
  108. package/dist/esm/toast/toast.js +3 -2
  109. package/package.json +1 -1
  110. package/src/avatar/theme.ts +4 -4
  111. package/src/badge/theme.ts +1 -1
  112. package/src/button/theme.ts +7 -7
  113. package/src/dialog/useDialog.tsx +1 -1
  114. package/src/dragAndDrop/theme.ts +1 -1
  115. package/src/heading/theme.ts +5 -3
  116. package/src/icons/baseIcons/fab/fabMarkdown.ts +8 -0
  117. package/src/icons/baseIcons/icons.ts +14 -13
  118. package/src/icons/baseIcons/types.ts +9 -8
  119. package/src/input/consts.ts +2 -2
  120. package/src/link/theme.ts +4 -4
  121. package/src/list/listItem.tsx +2 -2
  122. package/src/message/consts.ts +1 -1
  123. package/src/notification/theme.ts +2 -2
  124. package/src/pagination/theme.ts +3 -3
  125. package/src/progress/progress.tsx +1 -1
  126. package/src/select/selectButton.tsx +2 -2
  127. package/src/select/selectOption.tsx +3 -3
  128. package/src/spinner/theme.ts +2 -2
  129. package/src/table/tableSortIcon.tsx +1 -3
  130. package/src/table/tbody.tsx +7 -3
  131. package/src/table/th.tsx +3 -2
  132. package/src/table/thead.tsx +6 -10
  133. package/src/table/theme.ts +9 -3
  134. package/src/table/tr.tsx +1 -1
  135. package/src/tabs/tabsNavBar.tsx +2 -2
  136. package/src/tag/theme.ts +4 -4
  137. package/src/theme/foundations/colors.ts +10 -7
  138. package/src/theme/foundations/fonts.ts +2 -1
  139. package/src/toast/toast.tsx +3 -2
@@ -1,10 +1,10 @@
1
1
  export type BaseIcon =
2
2
  | 'conCertificate'
3
3
  | 'conCreateDataset'
4
- | 'conDataSearchAlt'
5
- | 'conDataSearchPlus'
6
4
  | 'conDatabase'
7
5
  | 'conDatabasePlus'
6
+ | 'conDataSearchAlt'
7
+ | 'conDataSearchPlus'
8
8
  | 'conDataset'
9
9
  | 'conFolderPlus'
10
10
  | 'conInsightSearchAlt'
@@ -82,6 +82,7 @@ export type BaseIcon =
82
82
  | 'fabGoogle'
83
83
  | 'fabGoogleDrive'
84
84
  | 'fabLinkedinIn'
85
+ | 'fabMarkdown'
85
86
  | 'fabMedium'
86
87
  | 'fabOsi'
87
88
  | 'fabSlack'
@@ -119,14 +120,14 @@ export type BaseIcon =
119
120
  | 'falArrowFromTop'
120
121
  | 'falArrowLeft'
121
122
  | 'falArrowRight'
123
+ | 'falArrows'
124
+ | 'falArrowsLeftRight'
125
+ | 'falArrowsUpDown'
122
126
  | 'falArrowToBottom'
123
127
  | 'falArrowToLeft'
124
128
  | 'falArrowToRight'
125
129
  | 'falArrowToTop'
126
130
  | 'falArrowUp'
127
- | 'falArrows'
128
- | 'falArrowsLeftRight'
129
- | 'falArrowsUpDown'
130
131
  | 'falAward'
131
132
  | 'falBalanceScale'
132
133
  | 'falBan'
@@ -135,8 +136,8 @@ export type BaseIcon =
135
136
  | 'falBinoculars'
136
137
  | 'falBold'
137
138
  | 'falBolt'
138
- | 'falBookOpen'
139
139
  | 'falBookmark'
140
+ | 'falBookOpen'
140
141
  | 'falBrainCircuit'
141
142
  | 'falBroadcastTower'
142
143
  | 'falBroom'
@@ -344,10 +345,10 @@ export type BaseIcon =
344
345
  | 'falUserFriends'
345
346
  | 'falUserHeadset'
346
347
  | 'falUserPlus'
347
- | 'falUserShield'
348
- | 'falUserTimes'
349
348
  | 'falUsers'
350
349
  | 'falUsersClass'
350
+ | 'falUserShield'
351
+ | 'falUserTimes'
351
352
  | 'falWater'
352
353
  | 'falWind'
353
354
  | 'falWindTurbine'
@@ -5,9 +5,9 @@ export const inputColors = {
5
5
  placeholder: 'sandstone.55',
6
6
  inputText: 'sandstone.10',
7
7
  helpText: 'sandstone.30',
8
- icons: 'seaBlue.28',
8
+ icons: 'seaBlue.main',
9
9
  disabled: 'sandstone.95',
10
- focus: 'seaBlue.28',
10
+ focus: 'seaBlue.main',
11
11
  error: 'energyRed.45',
12
12
  loading: 'seaBlue.80',
13
13
  success: 'landGreen.41'
package/src/link/theme.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  function variantDefault() {
2
2
  const container = {
3
- color: `seaBlue.28`,
4
- hoverColor: `seaBlue.28`
3
+ color: `seaBlue.main`,
4
+ hoverColor: `seaBlue.main`
5
5
  }
6
6
 
7
7
  return { container }
@@ -18,8 +18,8 @@ function variantWhite() {
18
18
 
19
19
  function variantLight() {
20
20
  const container = {
21
- color: `seaBlue.28`,
22
- hoverColor: `seaBlue.28`
21
+ color: `seaBlue.main`,
22
+ hoverColor: `seaBlue.main`
23
23
  }
24
24
 
25
25
  return { container }
@@ -29,8 +29,8 @@ export const ListItemBase = styled.liBox`
29
29
  transition-duration: fast;
30
30
 
31
31
  &[aria-disabled='true'] {
32
- background-color: sandstone.95;
33
- color: sandstone.10;
32
+ background-color: disabled.bg;
33
+ color: disabled.color;
34
34
  cursor: not-allowed;
35
35
  user-select: none;
36
36
  }
@@ -13,7 +13,7 @@ export const spacingDictionary = {
13
13
  }
14
14
 
15
15
  export const messageColors = {
16
- info: 'seaBlue.28',
16
+ info: 'seaBlue.main',
17
17
  warning: 'terracotta.30',
18
18
  error: 'energyRed.45',
19
19
  success: 'landGreen.35'
@@ -12,8 +12,8 @@ const variants = {
12
12
  subtleBlue: {
13
13
  container: {
14
14
  bg: 'skyBlue.95',
15
- borderColor: 'seaBlue.28',
16
- color: 'seaBlue.28'
15
+ borderColor: 'seaBlue.main',
16
+ color: 'seaBlue.main'
17
17
  },
18
18
  button: {
19
19
  borderColor: 'transparent'
@@ -1,14 +1,14 @@
1
1
  const base = {
2
2
  bg: 'transparent',
3
3
  border: 'none',
4
- color: 'darkBlue.18'
4
+ color: 'darkBlue.main'
5
5
  }
6
6
 
7
7
  const baseStyle = {
8
8
  button: {
9
9
  ...base,
10
- color: 'seaBlue.28',
11
- hoverBg: 'skyBlue.80',
10
+ color: 'seaBlue.main',
11
+ hoverBg: 'skyBlue.main',
12
12
  minW: 24
13
13
  },
14
14
  ellipsis: { ...base },
@@ -36,7 +36,7 @@ export const Progress = vui<'div', ProgressProps>((props, ref) => {
36
36
  h={1}
37
37
  >
38
38
  <Box
39
- bg="seaBlue.28"
39
+ bg="seaBlue.main"
40
40
  borderRadius="sm"
41
41
  position="relative"
42
42
  textAlign="right"
@@ -19,13 +19,13 @@ export const SelectButton = vui<'button', SelectButtonProps>((props, ref) => {
19
19
 
20
20
  const text = valueText || placeholder
21
21
  const textColor = disabled ? 'sandstone.10' : !valueText ? 'sandstone.10' : undefined
22
- const iconColor = disabled ? 'sandstone.10' : 'seaBlue.28'
22
+ const iconColor = disabled ? 'sandstone.10' : 'seaBlue.main'
23
23
 
24
24
  const readOnlyProps = readOnly
25
25
  ? {
26
26
  activeBg: 'sandstone.95',
27
27
  bg: 'sandstone.95',
28
- color: 'seaBlue.28',
28
+ color: 'seaBlue.main',
29
29
  cursor: 'auto',
30
30
  disabled: true,
31
31
  hoverBg: 'sandstone.95',
@@ -39,15 +39,15 @@ export const SelectOption = vui<'li', SelectOptionProps>((props, ref) => {
39
39
 
40
40
  return (
41
41
  <ListItem
42
- activeBg="skyBlue.95"
42
+ activeBg="skyBlue.active"
43
43
  className={cs('vui-selectOption', className)}
44
44
  disabled={disabled}
45
- hoverBg="skyBlue.90"
45
+ hoverBg="skyBlue.hover"
46
46
  isInteractive
47
47
  isSelected={isSelected}
48
48
  onClick={onClick}
49
49
  ref={ref}
50
- selectedBg="skyBlue.95"
50
+ selectedBg="skyBlue.selected"
51
51
  title={title}
52
52
  value={valueProp}
53
53
  {...styles.item}
@@ -56,10 +56,10 @@ const variants = {
56
56
  lightBackground: {
57
57
  circle: {
58
58
  borderColor: 'seaBlue.80',
59
- borderTopColor: 'seaBlue.28'
59
+ borderTopColor: 'seaBlue.main'
60
60
  },
61
61
  text: {
62
- color: 'seaBlue.28'
62
+ color: 'seaBlue.main'
63
63
  }
64
64
  },
65
65
  darkBackground: {
@@ -10,10 +10,8 @@ import { TableSortIconProps } from './table.types'
10
10
  export const TableSortIcon = vui<'svg', TableSortIconProps>((props, ref) => {
11
11
  const { className, order, ...rest } = props
12
12
  const styles = useStyleConfig('Table', useTableContext())
13
-
14
- // Rotating 1 icon is works better than switching multiple
15
13
  const rotate = order === 'asc' ? 180 : 0
16
- const pathFill = order !== undefined ? ['blue.80', 'grey.40'] : 'grey.40'
14
+ const pathFill = order !== undefined ? ['seaBlue.main', 'sandstone.main'] : 'sandstone.main'
17
15
 
18
16
  return (
19
17
  <Icon
@@ -10,15 +10,19 @@ import Tr from './tr'
10
10
  export const TbodyBase = styled.tbodyBox`
11
11
  tr {
12
12
  :hover td {
13
- background-color: grey.20;
13
+ background-color: skyBlue.hover;
14
14
  }
15
15
 
16
16
  &[data-selected='true']:hover td {
17
- background-color: blue.20;
17
+ background-color: skyBlue.hover;
18
+ }
19
+
20
+ &[data-selected='true'] td {
21
+ border-bottom-color: sandstone.main;
18
22
  }
19
23
 
20
24
  &[data-variant='striped'][data-selected='false']:nth-of-type(odd):not(:hover) td {
21
- background-color: grey.10;
25
+ background-color: sandstone.95;
22
26
  }
23
27
 
24
28
  &[data-variant='basic']:hover td {
package/src/table/th.tsx CHANGED
@@ -40,9 +40,9 @@ export const Th = vui<'th', ThProps>((props, ref) => {
40
40
  const sortOrder = isActive ? sort.order : undefined
41
41
  const isInteractive = isInteractiveProp ?? onClick !== undefined
42
42
 
43
- const activeProps = isActive ? { bg: 'blue.10' } : {}
44
-
43
+ const activeProps = isActive ? { bg: 'skyBlue.active' } : {}
45
44
  const disabledProps = disabled ? { bg: 'disabled.bg', color: 'disabled.color', cursor: 'not-allowed' } : {}
45
+ const hoverBg = isSortable ? 'skyBlue.hover' : undefined
46
46
 
47
47
  const interactiveProps =
48
48
  !disabled && isInteractive
@@ -59,6 +59,7 @@ export const Th = vui<'th', ThProps>((props, ref) => {
59
59
  className={cs('vui-th', className)}
60
60
  data-active={isActive}
61
61
  data-disabled={disabled}
62
+ hoverBg={hoverBg}
62
63
  px={2}
63
64
  ref={ref}
64
65
  {...styles.th}
@@ -7,16 +7,6 @@ import { TheadProps } from './table.types'
7
7
  import Th from './th'
8
8
  import Tr from './tr'
9
9
 
10
- export const TheadBase = styled.theadBox`
11
- tr:not(:last-of-type) th {
12
- border-bottom: 1px solid grey.20;
13
- }
14
-
15
- tr:last-of-type th {
16
- border-bottom: 1px solid grey.40;
17
- }
18
- `
19
-
20
10
  /** Displays Table head with support for columns and sticky. */
21
11
  export const Thead = vui<'thead', TheadProps>((props, ref) => {
22
12
  const { children, className, ...rest } = props
@@ -32,6 +22,12 @@ export const Thead = vui<'thead', TheadProps>((props, ref) => {
32
22
  }
33
23
  : {}
34
24
 
25
+ const TheadBase = styled.theadBox`
26
+ tr th {
27
+ border-bottom: ${rest.borderBottom || '1px solid sandstone.main'};
28
+ }
29
+ `
30
+
35
31
  return (
36
32
  <TheadBase className={cs('vui-thead', className)} ref={ref} {...stickyProps} {...styles.thead} {...rest}>
37
33
  {children ?? (
@@ -1,4 +1,10 @@
1
- const baseStyle = {}
1
+ const baseStyle = {
2
+ th: {
3
+ fontSize: 14,
4
+ fontWeight: 500,
5
+ color: 'darkBlue.main'
6
+ }
7
+ }
2
8
 
3
9
  const defaultProps = {
4
10
  size: 'lg',
@@ -28,13 +34,13 @@ const sizes = {
28
34
  const variants = {
29
35
  bordered: {
30
36
  td: {
31
- borderBottom: '1px solid grey.20'
37
+ borderBottom: '1px solid sandstone.90'
32
38
  }
33
39
  },
34
40
  striped: {},
35
41
  basic: {
36
42
  td: {
37
- borderBottom: '1px solid grey.20'
43
+ borderBottom: '1px solid sandstone.90'
38
44
  }
39
45
  }
40
46
  }
package/src/table/tr.tsx CHANGED
@@ -15,7 +15,7 @@ export const Tr = vui<'tr', TrProps>((props, ref) => {
15
15
  const { variant } = useTableContext() ?? {}
16
16
  const styles = useStyleConfig('Table', useTableContext())
17
17
 
18
- const selectedProps = isSelected ? { bg: 'blue.10' } : {}
18
+ const selectedProps = isSelected ? { bg: 'skyBlue.selected' } : {}
19
19
 
20
20
  return (
21
21
  <TrBase
@@ -42,7 +42,7 @@ export const TabsNavBar = vui<'div', TabNavBarProps>((props, ref) => {
42
42
  <ListItem
43
43
  activeBg="skyBlue.90"
44
44
  className={`vui-tabsNavBarItem vui-tabsNavBarItem-${tab?.id}`}
45
- color="seaBlue.28"
45
+ color="seaBlue.main"
46
46
  disabled={tab.disabled}
47
47
  display="inline-flex"
48
48
  fontSize={fontSize}
@@ -61,7 +61,7 @@ export const TabsNavBar = vui<'div', TabNavBarProps>((props, ref) => {
61
61
  {!tab.disabled && tab.id === activeNavItem && (
62
62
  <Box
63
63
  animation={animationDirection}
64
- bg="seaBlue.28"
64
+ bg="seaBlue.main"
65
65
  bottom="-1px"
66
66
  h={borderWidth}
67
67
  left={0}
package/src/tag/theme.ts CHANGED
@@ -87,14 +87,14 @@ const variants = {
87
87
  hoverBg: 'skyBlue.90',
88
88
  activeBg: 'skyBlue.85',
89
89
  borderColor: 'skyBlue.95',
90
- color: 'seaBlue.28'
90
+ color: 'seaBlue.main'
91
91
  },
92
92
  button: {
93
93
  bg: 'transparent',
94
94
  hoverBg: 'skyBlue.90',
95
95
  activeBg: 'skyBlue.85',
96
96
  hoverBorderColor: 'transparent',
97
- color: 'seaBlue.28'
97
+ color: 'seaBlue.main'
98
98
  }
99
99
  },
100
100
  subtleRed: {
@@ -149,10 +149,10 @@ const variants = {
149
149
  /** solids next */
150
150
  solidBlue: {
151
151
  container: {
152
- bg: 'seaBlue.28',
152
+ bg: 'seaBlue.main',
153
153
  hoverBg: 'seaBlue.35',
154
154
  activeBg: 'seaBlue.40',
155
- borderColor: 'seaBlue.28',
155
+ borderColor: 'seaBlue.main',
156
156
  color: 'white'
157
157
  },
158
158
  button: {
@@ -164,7 +164,7 @@ export const energyRed = {
164
164
  70: 'hsl(357, 83%, 70%)',
165
165
  65: 'hsl(357, 83%, 65%)',
166
166
  60: 'hsl(357, 83%, 60%)',
167
- 54: 'hsl(357,83%, 54%)', //main
167
+ 54: 'hsl(357, 83%, 54%)', //main
168
168
  50: 'hsl(357, 83%, 50%)',
169
169
  45: 'hsl(357, 83%, 45%)',
170
170
  40: 'hsl(357, 83%, 40%)',
@@ -249,8 +249,8 @@ export const sandstone = {
249
249
 
250
250
  export const skyBlue = {
251
251
  97: 'hsl(196, 74%, 97%)',
252
- 95: 'hsl(196, 74%, 95%)',
253
- 90: 'hsl(196, 74%, 90%)',
252
+ 95: 'hsl(196, 74%, 95%)', // active, selected
253
+ 90: 'hsl(196, 74%, 90%)', // hover
254
254
  85: 'hsl(196, 74%, 85%)',
255
255
  80: 'hsl(196, 74%, 80%)',
256
256
  77: 'hsl(196, 74%, 77%)', // main
@@ -267,7 +267,10 @@ export const skyBlue = {
267
267
  15: 'hsl(196, 74%, 15%)',
268
268
  10: 'hsl(196, 74%, 10%)',
269
269
  5: 'hsl(196, 74%, 5%)',
270
- main: 'hsl(196, 74%, 77%)'
270
+ main: 'hsl(196, 74%, 77%)', // skyBlue.77
271
+ active: 'hsl(196, 74%, 95%)', // skyBlue.95
272
+ hover: 'hsl(196, 74%, 90%)', // skyBlue.90
273
+ selected: 'hsl(196, 74%, 95%)' // skyBlue.95
271
274
  }
272
275
 
273
276
  export const sunflower = {
@@ -431,9 +434,9 @@ export const yellow = {
431
434
  }
432
435
 
433
436
  export const disabled = {
434
- bg: grey[10],
435
- border: grey[50],
436
- color: grey[50]
437
+ bg: sandstone[95],
438
+ border: sandstone[10],
439
+ color: sandstone[10]
437
440
  }
438
441
 
439
442
  export default {
@@ -1,3 +1,4 @@
1
1
  export default {
2
- avenir: `'Avenir Next', Verdana, Geneva, Tahoma, sans-serif`
2
+ avenir: `'Avenir Next', Verdana, Geneva, Tahoma, sans-serif`,
3
+ dnvDisplay: `'DNV Display'`
3
4
  }
@@ -10,13 +10,14 @@ export const toasterWidth = 420
10
10
  const Toaster = () => {
11
11
  const { toasts } = useVuiContext()
12
12
 
13
- const padding = toasts?.list?.length ? { md: '16px', sm: '4px', xs: '2px' } : 0
13
+ const padding = { md: '16px', sm: '4px', xs: '2px' }
14
14
  const right = { md: '1rem', sm: 0, xs: 0 }
15
15
  const width = { md: toasterWidth, sm: toasterWidth, xs: '100%' }
16
+ const bottom = toasts?.list?.length ? '1rem' : '-2rem'
16
17
 
17
18
  return (
18
19
  <Box
19
- bottom="1rem"
20
+ bottom={bottom}
20
21
  className="vui-toaster"
21
22
  display="block"
22
23
  maxW={width}