@lunit/design-system 2.2.0 → 2.2.3
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/.babelrc.json +1 -1
- package/README.md +22 -21
- package/dist/cjs/components/Alert/index.js +1 -1
- package/dist/cjs/components/Alert/index.js.map +1 -1
- package/dist/cjs/components/Button/index.js +1 -1
- package/dist/cjs/components/Button/index.js.map +1 -1
- package/dist/cjs/components/Checkbox/index.js +1 -1
- package/dist/cjs/components/Checkbox/index.js.map +1 -1
- package/dist/cjs/components/Chip/index.js +1 -1
- package/dist/cjs/components/Chip/index.js.map +1 -1
- package/dist/cjs/components/DataTable/index.js.map +1 -1
- package/dist/cjs/components/DatePicker/index.js.map +1 -1
- package/dist/cjs/components/Dialog/index.js +1 -1
- package/dist/cjs/components/Dialog/index.js.map +1 -1
- package/dist/cjs/components/Dropdown/index.js +1 -1
- package/dist/cjs/components/Dropdown/index.js.map +1 -1
- package/dist/cjs/components/FormLabel/index.js.map +1 -1
- package/dist/cjs/components/Radio/index.js +1 -1
- package/dist/cjs/components/Radio/index.js.map +1 -1
- package/dist/cjs/components/RadioGroup/index.js.map +1 -1
- package/dist/cjs/components/TextField/index.js +1 -1
- package/dist/cjs/components/TextField/index.js.map +1 -1
- package/dist/cjs/components/Toggle/index.js +1 -1
- package/dist/cjs/components/Toggle/index.js.map +1 -1
- package/dist/cjs/components/ToggleButton/index.js +1 -1
- package/dist/cjs/components/ToggleButton/index.js.map +1 -1
- package/dist/cjs/components/Tooltip/index.js.map +1 -1
- package/dist/cjs/components/Typography/index.js.map +1 -1
- package/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/components/Alert/Alert.js +8 -8
- package/dist/components/Alert/Alert.js.map +1 -1
- package/dist/components/Alert/Alert.styled.js +26 -26
- package/dist/components/Alert/Alert.styled.js.map +1 -1
- package/dist/components/Alert/Alert.utils.js +9 -9
- package/dist/components/Alert/Alert.utils.js.map +1 -1
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/Button/Button.js +23 -17
- package/dist/components/Button/Button.js.map +1 -1
- package/dist/components/Button/Button.styled.js +88 -88
- package/dist/components/Button/Button.styled.js.map +1 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/Button/utils/getButtonPaddingBySizeAndKind.js +9 -9
- package/dist/components/Button/utils/getButtonPaddingBySizeAndKind.js.map +1 -1
- package/dist/components/Button/utils/getHoverStyle.js +1 -1
- package/dist/components/Button/utils/getHoverStyle.js.map +1 -1
- package/dist/components/Button/utils/getIconButtonPaddingBySizeAndKind.js +6 -12
- package/dist/components/Button/utils/getIconButtonPaddingBySizeAndKind.js.map +1 -1
- package/dist/components/Checkbox/Checkbox.js +9 -9
- package/dist/components/Checkbox/Checkbox.js.map +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/Chip/Chip.js +29 -26
- package/dist/components/Chip/Chip.js.map +1 -1
- package/dist/components/Chip/Chip.styled.js +52 -52
- package/dist/components/Chip/Chip.styled.js.map +1 -1
- package/dist/components/Chip/consts.js +5 -5
- package/dist/components/Chip/index.js +1 -1
- package/dist/components/DataTable/DataTable.js +1 -1
- package/dist/components/DataTable/index.js +1 -1
- package/dist/components/DatePicker/DatePicker.js +1 -1
- package/dist/components/DatePicker/index.js +1 -1
- package/dist/components/Dialog/Dialog.js +18 -18
- package/dist/components/Dialog/Dialog.js.map +1 -1
- package/dist/components/Dialog/Dialog.styled.js +90 -90
- package/dist/components/Dialog/Dialog.styled.js.map +1 -1
- package/dist/components/Dialog/components/DialogAction.js +6 -6
- package/dist/components/Dialog/index.js +1 -1
- package/dist/components/Dropdown/Dropdown.js +23 -21
- package/dist/components/Dropdown/Dropdown.js.map +1 -1
- package/dist/components/Dropdown/Dropdown.styled.js +85 -86
- package/dist/components/Dropdown/Dropdown.styled.js.map +1 -1
- package/dist/components/Dropdown/DropdownItem.js +14 -14
- package/dist/components/Dropdown/DropdownItem.js.map +1 -1
- package/dist/components/Dropdown/index.js +2 -2
- package/dist/components/Dropdown/index.js.map +1 -1
- package/dist/components/FormLabel/FormLabel.js +1 -1
- package/dist/components/FormLabel/FormLabel.styled.js +2 -2
- package/dist/components/FormLabel/FormLabel.styled.js.map +1 -1
- package/dist/components/FormLabel/index.js +1 -1
- package/dist/components/Radio/Radio.js +8 -8
- package/dist/components/Radio/Radio.js.map +1 -1
- package/dist/components/Radio/index.js +1 -1
- package/dist/components/RadioGroup/index.js +1 -1
- package/dist/components/TextField/TextField.js +8 -8
- package/dist/components/TextField/TextField.js.map +1 -1
- package/dist/components/TextField/TextField.style.js +112 -112
- package/dist/components/TextField/TextField.style.js.map +1 -1
- package/dist/components/TextField/TextFieldIcon.js +2 -2
- package/dist/components/TextField/TextFieldIcon.js.map +1 -1
- package/dist/components/TextField/index.js +1 -1
- package/dist/components/Toast/Toast.js +13 -13
- package/dist/components/Toast/Toast.js.map +1 -1
- package/dist/components/Toast/Toast.styled.js +26 -26
- package/dist/components/Toast/Toast.utils.js +3 -3
- package/dist/components/Toast/Toast.utils.js.map +1 -1
- package/dist/components/Toast/index.js +1 -1
- package/dist/components/Toggle/Toggle.js +3 -4
- package/dist/components/Toggle/Toggle.js.map +1 -1
- package/dist/components/Toggle/Toggle.styled.js +30 -30
- package/dist/components/Toggle/Toggle.styled.js.map +1 -1
- package/dist/components/Toggle/index.js +1 -1
- package/dist/components/ToggleButton/ToggleButton.js +6 -6
- package/dist/components/ToggleButton/ToggleButton.js.map +1 -1
- package/dist/components/ToggleButton/ToggleButton.styled.js +20 -20
- package/dist/components/ToggleButton/ToggleButton.styled.js.map +1 -1
- package/dist/components/ToggleButton/index.js +1 -1
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.js.map +1 -1
- package/dist/components/ToggleButtonGroup/index.js +1 -1
- package/dist/components/Tooltip/Tooltip.js +1 -1
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/components/Typography/Typography.js +1 -1
- package/dist/components/Typography/Typography.js.map +1 -1
- package/dist/components/Typography/index.js +1 -1
- package/dist/foundation/Elevation/index.js +27 -27
- package/dist/foundation/Elevation/utils.js +1 -1
- package/dist/foundation/Elevation/utils.js.map +1 -1
- package/dist/foundation/Typography/index.js +35 -35
- package/dist/foundation/Typography/index.js.map +1 -1
- package/dist/foundation/Typography/tokens.js +136 -136
- package/dist/foundation/Typography/tokens.js.map +1 -1
- package/dist/foundation/colors/base/blue.js +12 -12
- package/dist/foundation/colors/base/green.js +12 -12
- package/dist/foundation/colors/base/grey.js +28 -28
- package/dist/foundation/colors/base/index.js +11 -11
- package/dist/foundation/colors/base/lunitGreen.js +11 -11
- package/dist/foundation/colors/base/lunitTeal.js +12 -12
- package/dist/foundation/colors/base/magenta.js +12 -12
- package/dist/foundation/colors/base/opacity.js +4 -4
- package/dist/foundation/colors/base/orange.js +12 -12
- package/dist/foundation/colors/base/purple.js +12 -12
- package/dist/foundation/colors/base/red.js +12 -12
- package/dist/foundation/colors/base/yellow.js +12 -12
- package/dist/foundation/colors/index.js +119 -121
- package/dist/foundation/colors/index.js.map +1 -1
- package/dist/foundation/colors/token/component.js +184 -212
- package/dist/foundation/colors/token/component.js.map +1 -1
- package/dist/foundation/colors/token/core.js +112 -133
- package/dist/foundation/colors/token/core.js.map +1 -1
- package/dist/foundation/colors/token/index.js +2 -2
- package/dist/foundation/index.js +5 -5
- package/dist/index.js +20 -20
- package/dist/theme.js +6 -6
- package/dist/types/components/Alert/Alert.d.ts +2 -2
- package/dist/types/components/Alert/Alert.styled.d.ts +1 -2
- package/dist/types/components/Alert/Alert.types.d.ts +2 -2
- package/dist/types/components/Alert/Alert.utils.d.ts +1 -1
- package/dist/types/components/Alert/index.d.ts +1 -1
- package/dist/types/components/Button/Button.d.ts +1 -1
- package/dist/types/components/Button/Button.styled.d.ts +226 -227
- package/dist/types/components/Button/Button.types.d.ts +16 -16
- package/dist/types/components/Button/index.d.ts +1 -1
- package/dist/types/components/Button/utils/getButtonPaddingBySizeAndKind.d.ts +4 -4
- package/dist/types/components/Button/utils/getHoverStyle.d.ts +2 -1
- package/dist/types/components/Button/utils/getIconButtonPaddingBySizeAndKind.d.ts +4 -4
- package/dist/types/components/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/components/Checkbox/index.d.ts +1 -1
- package/dist/types/components/Chip/Chip.d.ts +1 -1
- package/dist/types/components/Chip/Chip.styled.d.ts +6 -7
- package/dist/types/components/Chip/Chip.types.d.ts +15 -14
- package/dist/types/components/Chip/index.d.ts +1 -1
- package/dist/types/components/DataTable/index.d.ts +1 -1
- package/dist/types/components/DatePicker/index.d.ts +1 -1
- package/dist/types/components/Dialog/Dialog.d.ts +11 -11
- package/dist/types/components/Dialog/Dialog.styled.d.ts +3 -4
- package/dist/types/components/Dialog/components/DialogAction.d.ts +2 -2
- package/dist/types/components/Dialog/index.d.ts +2 -2
- package/dist/types/components/Dropdown/Dropdown.d.ts +2 -2
- package/dist/types/components/Dropdown/Dropdown.styled.d.ts +3 -4
- package/dist/types/components/Dropdown/Dropdown.types.d.ts +5 -5
- package/dist/types/components/Dropdown/DropdownItem.d.ts +3 -3
- package/dist/types/components/Dropdown/index.d.ts +3 -3
- package/dist/types/components/FormLabel/FormLabel.d.ts +1 -1
- package/dist/types/components/FormLabel/index.d.ts +1 -1
- package/dist/types/components/Radio/Radio.d.ts +1 -1
- package/dist/types/components/Radio/index.d.ts +1 -1
- package/dist/types/components/RadioGroup/index.d.ts +1 -1
- package/dist/types/components/TextField/TextField.d.ts +2 -2
- package/dist/types/components/TextField/TextField.style.d.ts +3 -4
- package/dist/types/components/TextField/TextField.types.d.ts +6 -6
- package/dist/types/components/TextField/TextFieldIcon.d.ts +2 -2
- package/dist/types/components/TextField/index.d.ts +2 -2
- package/dist/types/components/Toast/Toast.d.ts +2 -2
- package/dist/types/components/Toast/Toast.types.d.ts +3 -3
- package/dist/types/components/Toast/Toast.utils.d.ts +1 -1
- package/dist/types/components/Toast/index.d.ts +2 -2
- package/dist/types/components/Toggle/Toggle.d.ts +1 -1
- package/dist/types/components/Toggle/Toggle.styled.d.ts +2 -2
- package/dist/types/components/Toggle/Toggle.types.d.ts +3 -3
- package/dist/types/components/Toggle/index.d.ts +1 -1
- package/dist/types/components/ToggleButton/ToggleButton.d.ts +1 -1
- package/dist/types/components/ToggleButton/ToggleButton.styled.d.ts +2 -3
- package/dist/types/components/ToggleButton/ToggleButton.types.d.ts +10 -10
- package/dist/types/components/ToggleButton/index.d.ts +1 -1
- package/dist/types/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +1 -1
- package/dist/types/components/ToggleButtonGroup/index.d.ts +1 -1
- package/dist/types/components/Tooltip/index.d.ts +1 -1
- package/dist/types/components/Typography/Typography.d.ts +6 -6
- package/dist/types/components/Typography/index.d.ts +1 -1
- package/dist/types/components/index.d.ts +2 -2
- package/dist/types/foundation/Elevation/index.d.ts +22 -22
- package/dist/types/foundation/Typography/index.d.ts +78 -78
- package/dist/types/foundation/Typography/tokens.d.ts +69 -69
- package/dist/types/foundation/colors/base/index.d.ts +11 -11
- package/dist/types/foundation/colors/index.d.ts +13 -20
- package/dist/types/foundation/colors/token/component.d.ts +1 -1
- package/dist/types/foundation/colors/token/core.d.ts +1 -1
- package/dist/types/foundation/colors/token/index.d.ts +2 -2
- package/dist/types/foundation/colors/types.d.ts +0 -7
- package/dist/types/foundation/index.d.ts +4 -11
- package/dist/types/foundation/spacing.d.ts +1 -1
- package/dist/types/index.d.ts +20 -20
- package/dist/types/theme.d.ts +1 -1
- package/package.json +9 -11
- package/src/components/Alert/Alert.styled.ts +39 -49
- package/src/components/Alert/Alert.tsx +10 -16
- package/src/components/Alert/Alert.types.ts +2 -2
- package/src/components/Alert/Alert.utils.ts +13 -22
- package/src/components/Alert/index.ts +1 -1
- package/src/components/Button/Button.styled.ts +98 -101
- package/src/components/Button/Button.tsx +71 -69
- package/src/components/Button/Button.types.ts +19 -21
- package/src/components/Button/index.ts +1 -1
- package/src/components/Button/utils/getButtonPaddingBySizeAndKind.ts +13 -13
- package/src/components/Button/utils/getHoverStyle.ts +4 -2
- package/src/components/Button/utils/getIconButtonPaddingBySizeAndKind.ts +10 -19
- package/src/components/Checkbox/Checkbox.tsx +13 -25
- package/src/components/Checkbox/index.ts +1 -1
- package/src/components/Chip/Chip.styled.ts +69 -72
- package/src/components/Chip/Chip.tsx +33 -55
- package/src/components/Chip/Chip.types.ts +17 -25
- package/src/components/Chip/consts.ts +5 -5
- package/src/components/Chip/index.ts +1 -1
- package/src/components/DataTable/DataTable.tsx +2 -2
- package/src/components/DataTable/index.ts +1 -1
- package/src/components/DatePicker/DatePicker.tsx +2 -2
- package/src/components/DatePicker/index.ts +1 -1
- package/src/components/Dialog/Dialog.styled.ts +112 -114
- package/src/components/Dialog/Dialog.tsx +41 -46
- package/src/components/Dialog/components/DialogAction.tsx +8 -8
- package/src/components/Dialog/index.ts +3 -3
- package/src/components/Dropdown/Dropdown.styled.tsx +88 -89
- package/src/components/Dropdown/Dropdown.tsx +29 -30
- package/src/components/Dropdown/Dropdown.types.ts +5 -6
- package/src/components/Dropdown/DropdownItem.tsx +18 -29
- package/src/components/Dropdown/index.ts +3 -7
- package/src/components/FormLabel/FormLabel.styled.ts +3 -3
- package/src/components/FormLabel/FormLabel.tsx +3 -3
- package/src/components/FormLabel/index.ts +1 -1
- package/src/components/Radio/Radio.tsx +12 -29
- package/src/components/Radio/index.ts +1 -1
- package/src/components/RadioGroup/index.ts +1 -1
- package/src/components/TextField/TextField.style.ts +123 -132
- package/src/components/TextField/TextField.tsx +50 -62
- package/src/components/TextField/TextField.types.ts +6 -9
- package/src/components/TextField/TextFieldIcon.tsx +4 -7
- package/src/components/TextField/index.ts +2 -2
- package/src/components/Toast/Toast.styled.ts +26 -26
- package/src/components/Toast/Toast.tsx +14 -28
- package/src/components/Toast/Toast.types.ts +3 -8
- package/src/components/Toast/Toast.utils.ts +5 -8
- package/src/components/Toast/index.tsx +2 -2
- package/src/components/Toggle/Toggle.styled.ts +31 -32
- package/src/components/Toggle/Toggle.tsx +5 -11
- package/src/components/Toggle/Toggle.types.ts +3 -3
- package/src/components/Toggle/index.ts +1 -1
- package/src/components/ToggleButton/ToggleButton.styled.ts +47 -49
- package/src/components/ToggleButton/ToggleButton.tsx +91 -97
- package/src/components/ToggleButton/ToggleButton.types.ts +10 -10
- package/src/components/ToggleButton/index.ts +1 -1
- package/src/components/ToggleButtonGroup/ToggleButtonGroup.tsx +3 -8
- package/src/components/ToggleButtonGroup/index.tsx +1 -1
- package/src/components/Tooltip/Tooltip.tsx +2 -2
- package/src/components/Tooltip/index.ts +1 -1
- package/src/components/Typography/Typography.tsx +7 -10
- package/src/components/Typography/index.ts +1 -1
- package/src/components/index.ts +2 -2
- package/src/foundation/Elevation/index.ts +27 -27
- package/src/foundation/Elevation/utils.ts +14 -8
- package/src/foundation/Typography/index.ts +58 -57
- package/src/foundation/Typography/tokens.ts +138 -138
- package/src/foundation/colors/base/blue.ts +12 -12
- package/src/foundation/colors/base/green.ts +12 -12
- package/src/foundation/colors/base/grey.ts +28 -28
- package/src/foundation/colors/base/index.ts +11 -11
- package/src/foundation/colors/base/lunitGreen.ts +11 -11
- package/src/foundation/colors/base/lunitTeal.ts +12 -12
- package/src/foundation/colors/base/magenta.ts +12 -12
- package/src/foundation/colors/base/opacity.ts +4 -4
- package/src/foundation/colors/base/orange.ts +12 -12
- package/src/foundation/colors/base/purple.ts +12 -12
- package/src/foundation/colors/base/red.ts +12 -12
- package/src/foundation/colors/base/yellow.ts +12 -12
- package/src/foundation/colors/index.ts +119 -120
- package/src/foundation/colors/token/component.ts +185 -213
- package/src/foundation/colors/token/core.ts +113 -134
- package/src/foundation/colors/token/index.ts +2 -2
- package/src/foundation/colors/types.ts +0 -7
- package/src/foundation/index.ts +8 -8
- package/src/foundation/spacing.ts +1 -1
- package/src/index.ts +20 -20
- package/src/stories/GettingStarted.mdx +6 -6
- package/src/stories/components/Alert/Alert.stories.tsx +38 -45
- package/src/stories/components/Button/BasicButton.stories.tsx +68 -59
- package/src/stories/components/Button/ButtonDocs.mdx +17 -41
- package/src/stories/components/Button/Color.stories.tsx +28 -51
- package/src/stories/components/Button/IconButton.stories.tsx +40 -47
- package/src/stories/components/Button/Kind.stories.tsx +100 -213
- package/src/stories/components/CheckBox/BasicCheckbox.stories.tsx +52 -71
- package/src/stories/components/CheckBox/CheckboxDocs.mdx +6 -6
- package/src/stories/components/Chip/Chip.stories.tsx +75 -75
- package/src/stories/components/Chip/ChipDocs.mdx +12 -13
- package/src/stories/components/DataTable/DataTable.stories.tsx +4 -4
- package/src/stories/components/DatePicker/DatePicker.stories.tsx +4 -4
- package/src/stories/components/Dialog/Dialog.stories.tsx +103 -135
- package/src/stories/components/Dialog/DialogDocs.mdx +7 -13
- package/src/stories/components/Dropdown/Dropdown.stories.tsx +96 -82
- package/src/stories/components/Dropdown/DropdownDocs.mdx +275 -0
- package/src/stories/components/Dropdown/DropdownExamples.stories.tsx +40 -47
- package/src/stories/components/Dropdown/DropdownItem.stories.tsx +113 -98
- package/src/stories/components/SelectControl/RadioGroup.stories.tsx +17 -30
- package/src/stories/components/SelectControl/RadioStatus.stories.tsx +16 -23
- package/src/stories/components/SelectControl/Toggle.stories.tsx +33 -78
- package/src/stories/components/TextField/BasicTextField.stories.tsx +44 -53
- package/src/stories/components/TextField/TextFieldDocs.mdx +8 -12
- package/src/stories/components/TextField/TextFieldMulti.stories.tsx +39 -55
- package/src/stories/components/TextField/TextFieldSingle.stories.tsx +74 -118
- package/src/stories/components/TextField/TextFieldSize.stories.tsx +35 -55
- package/src/stories/components/Toast/Toast.stories.tsx +35 -50
- package/src/stories/components/ToggleButton/Basic.stories.tsx +115 -152
- package/src/stories/components/ToggleButton/ToggleButtonDocs.mdx +10 -14
- package/src/stories/components/ToggleButton/ToggleButtonKind.stories.tsx +141 -200
- package/src/stories/components/ToggleButton/WithIcon.stories.tsx +87 -107
- package/src/stories/components/Tooltip/Tooltip.stories.tsx +4 -4
- package/src/stories/foundation/Elevation/Elevation.stories.tsx +48 -54
- package/src/stories/foundation/Elevation/styled.ts +3 -3
- package/src/stories/foundation/Typography/Typography.mdx +9 -13
- package/src/stories/foundation/Typography/Typography.stories.tsx +25 -41
- package/src/stories/foundation/Typography/TypographyGroup.tsx +14 -25
- package/src/stories/foundation/Typography/const.ts +13 -19
- package/src/stories/foundation/colors/ColorSystem.tsx +42 -40
- package/src/stories/foundation/colors/Colors.stories.tsx +40 -41
- package/src/stories/foundation/colors/Docs.mdx +73 -77
- package/src/stories/foundation/colors/Mui.stories.tsx +6 -8
- package/src/stories/foundation/colors/Token.inComponent.stories.tsx +81 -71
- package/src/stories/foundation/colors/TokenPaletteTable.stories.tsx +7 -7
- package/src/stories/foundation/colors/TokenPaletteTable.tsx +23 -49
- package/src/stories/foundation/colors/styled.ts +26 -26
- package/src/theme.ts +6 -6
- package/src/types.d.ts +1 -1
- package/tsconfig.build.json +1 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ColorTokenValueBySurface } from
|
|
1
|
+
import { ColorTokenValueBySurface } from './types';
|
|
2
2
|
|
|
3
3
|
export interface TokenComponentColorValue {
|
|
4
4
|
[component: string]: {
|
|
@@ -9,326 +9,298 @@ export interface TokenComponentColorValue {
|
|
|
9
9
|
export const tokenComponentColor: TokenComponentColorValue = {
|
|
10
10
|
btn: {
|
|
11
11
|
btn_primary_bg: {
|
|
12
|
-
light1:
|
|
13
|
-
light2:
|
|
14
|
-
dark1:
|
|
15
|
-
dark2:
|
|
12
|
+
light1: '--lunit_teal_30',
|
|
13
|
+
light2: '--lunit_teal_30',
|
|
14
|
+
dark1: '--lunit_teal_40',
|
|
15
|
+
dark2: '--lunit_teal_40',
|
|
16
16
|
},
|
|
17
17
|
btn_secondary_bg: {
|
|
18
|
-
light1:
|
|
19
|
-
light2:
|
|
20
|
-
dark1:
|
|
21
|
-
dark2:
|
|
18
|
+
light1: '--grey_10',
|
|
19
|
+
light2: '--grey_0',
|
|
20
|
+
dark1: '--grey_60',
|
|
21
|
+
dark2: '--grey_60',
|
|
22
22
|
},
|
|
23
23
|
btn_error_bg: {
|
|
24
|
-
light1:
|
|
25
|
-
light2:
|
|
26
|
-
dark1:
|
|
27
|
-
dark2:
|
|
24
|
+
light1: '--red_30',
|
|
25
|
+
light2: '--red_30',
|
|
26
|
+
dark1: '--red_40',
|
|
27
|
+
dark2: '--red_40',
|
|
28
28
|
},
|
|
29
29
|
btn_primary_border: {
|
|
30
|
-
light1:
|
|
31
|
-
light2:
|
|
32
|
-
dark1:
|
|
33
|
-
dark2:
|
|
34
|
-
},
|
|
35
|
-
btn_secondary_border: {
|
|
36
|
-
// Deprecated. Please use core.border_medium instead.
|
|
37
|
-
light1: "--grey_15",
|
|
38
|
-
light2: "--grey_15",
|
|
39
|
-
dark1: "--grey_60",
|
|
40
|
-
dark2: "--grey_60",
|
|
30
|
+
light1: '--lunit_teal_40',
|
|
31
|
+
light2: '--lunit_teal_40',
|
|
32
|
+
dark1: '--lunit_teal_40',
|
|
33
|
+
dark2: '--lunit_teal_40',
|
|
41
34
|
},
|
|
42
35
|
btn_primary_text_1: {
|
|
43
|
-
light1:
|
|
44
|
-
light2:
|
|
45
|
-
dark1:
|
|
46
|
-
dark2:
|
|
36
|
+
light1: '--lunit_teal_50',
|
|
37
|
+
light2: '--lunit_teal_50',
|
|
38
|
+
dark1: '--lunit_teal_40',
|
|
39
|
+
dark2: '--lunit_teal_40',
|
|
47
40
|
},
|
|
48
41
|
btn_primary_text_2: {
|
|
49
|
-
light1:
|
|
50
|
-
light2:
|
|
51
|
-
dark1:
|
|
52
|
-
dark2:
|
|
42
|
+
light1: '--grey_95',
|
|
43
|
+
light2: '--grey_95',
|
|
44
|
+
dark1: '--grey_95',
|
|
45
|
+
dark2: '--grey_95',
|
|
53
46
|
},
|
|
54
47
|
btn_secondary_text: {
|
|
55
|
-
light1:
|
|
56
|
-
light2:
|
|
57
|
-
dark1:
|
|
58
|
-
dark2:
|
|
48
|
+
light1: '--grey_95',
|
|
49
|
+
light2: '--grey_95',
|
|
50
|
+
dark1: '--grey_5',
|
|
51
|
+
dark2: '--grey_5',
|
|
59
52
|
},
|
|
60
53
|
btn_error_text: {
|
|
61
|
-
light1:
|
|
62
|
-
light2:
|
|
63
|
-
dark1:
|
|
64
|
-
dark2:
|
|
54
|
+
light1: '--red_40',
|
|
55
|
+
light2: '--red_40',
|
|
56
|
+
dark1: '--red_40',
|
|
57
|
+
dark2: '--red_30',
|
|
65
58
|
},
|
|
66
59
|
btn_selected_primary_bg: {
|
|
67
|
-
light1:
|
|
68
|
-
light2:
|
|
69
|
-
dark1:
|
|
70
|
-
dark2:
|
|
60
|
+
light1: '--lunit_teal_80',
|
|
61
|
+
light2: '--lunit_teal_80',
|
|
62
|
+
dark1: '--lunit_teal_10',
|
|
63
|
+
dark2: '--lunit_teal_10',
|
|
71
64
|
},
|
|
72
65
|
btn_selected_primary_text: {
|
|
73
|
-
light1:
|
|
74
|
-
light2:
|
|
75
|
-
dark1:
|
|
76
|
-
dark2:
|
|
77
|
-
},
|
|
78
|
-
btn_selected_secondary_bg: {
|
|
79
|
-
// Deprecated. Please use btn_secondary_bg instead.
|
|
80
|
-
light1: "--lunit_teal_10",
|
|
81
|
-
light2: "--lunit_teal_10",
|
|
82
|
-
dark1: "--grey_80",
|
|
83
|
-
dark2: "--grey_80",
|
|
66
|
+
light1: '--lunit_teal_10',
|
|
67
|
+
light2: '--lunit_teal_10',
|
|
68
|
+
dark1: '--lunit_teal_80',
|
|
69
|
+
dark2: '--lunit_teal_80',
|
|
84
70
|
},
|
|
85
71
|
btn_selected_secondary_text: {
|
|
86
|
-
light1:
|
|
87
|
-
light2:
|
|
88
|
-
dark1:
|
|
89
|
-
dark2:
|
|
72
|
+
light1: '--lunit_teal_70',
|
|
73
|
+
light2: '--lunit_teal_70',
|
|
74
|
+
dark1: '--lunit_teal_30',
|
|
75
|
+
dark2: '--lunit_teal_30',
|
|
90
76
|
},
|
|
91
77
|
btn_selected_tertiary_bg: {
|
|
92
|
-
light1:
|
|
93
|
-
light2:
|
|
94
|
-
dark1:
|
|
95
|
-
dark2:
|
|
78
|
+
light1: '--grey_95',
|
|
79
|
+
light2: '--grey_95',
|
|
80
|
+
dark1: '--grey_0',
|
|
81
|
+
dark2: '--grey_0',
|
|
96
82
|
},
|
|
97
83
|
btn_selected_tertiary_text: {
|
|
98
|
-
light1:
|
|
99
|
-
light2:
|
|
100
|
-
dark1:
|
|
101
|
-
dark2:
|
|
84
|
+
light1: '--grey_0',
|
|
85
|
+
light2: '--grey_0',
|
|
86
|
+
dark1: '--grey_100',
|
|
87
|
+
dark2: '--grey_100',
|
|
102
88
|
},
|
|
103
89
|
},
|
|
104
90
|
selectControl: {
|
|
105
91
|
selectcontrol_on: {
|
|
106
|
-
light1:
|
|
107
|
-
light2:
|
|
108
|
-
dark1:
|
|
109
|
-
dark2:
|
|
92
|
+
light1: '--lunit_teal_40',
|
|
93
|
+
light2: '--lunit_teal_40',
|
|
94
|
+
dark1: '--lunit_teal_40',
|
|
95
|
+
dark2: '--lunit_teal_40',
|
|
110
96
|
},
|
|
111
97
|
selectcontrol_off: {
|
|
112
|
-
light1:
|
|
113
|
-
light2:
|
|
114
|
-
dark1:
|
|
115
|
-
dark2:
|
|
98
|
+
light1: '--grey_40',
|
|
99
|
+
light2: '--grey_40',
|
|
100
|
+
dark1: '--grey_40',
|
|
101
|
+
dark2: '--grey_40',
|
|
116
102
|
},
|
|
117
103
|
selectcontrol_handler: {
|
|
118
|
-
light1:
|
|
119
|
-
light2:
|
|
120
|
-
dark1:
|
|
121
|
-
dark2:
|
|
104
|
+
light1: '--grey_0',
|
|
105
|
+
light2: '--grey_0',
|
|
106
|
+
dark1: '--grey_0',
|
|
107
|
+
dark2: '--grey_0',
|
|
122
108
|
},
|
|
123
109
|
selectcontrol_handler_shadow: {
|
|
124
|
-
light1:
|
|
125
|
-
light2:
|
|
126
|
-
dark1:
|
|
127
|
-
dark2:
|
|
110
|
+
light1: 'rgba(0, 0, 0, 0.4)', // "--grey_100 40%",
|
|
111
|
+
light2: 'rgba(0, 0, 0, 0.4)', // "--grey_100 40%",
|
|
112
|
+
dark1: 'rgba(0, 0, 0, 0.4)', // "--grey_100 40%",
|
|
113
|
+
dark2: 'rgba(0, 0, 0, 0.4)', // "--grey_100 40%",
|
|
128
114
|
},
|
|
129
115
|
},
|
|
130
116
|
textFields: {
|
|
131
117
|
textfield_bg: {
|
|
132
|
-
light1:
|
|
133
|
-
light2:
|
|
134
|
-
dark1:
|
|
135
|
-
dark2:
|
|
118
|
+
light1: '--grey_10',
|
|
119
|
+
light2: '--grey_0',
|
|
120
|
+
dark1: '--grey_80',
|
|
121
|
+
dark2: '--grey_70',
|
|
136
122
|
},
|
|
137
123
|
textfield_border_error: {
|
|
138
|
-
light1:
|
|
139
|
-
light2:
|
|
140
|
-
dark1:
|
|
141
|
-
dark2:
|
|
124
|
+
light1: '--red_40',
|
|
125
|
+
light2: '--red_40',
|
|
126
|
+
dark1: '--red_40',
|
|
127
|
+
dark2: '--red_40',
|
|
142
128
|
},
|
|
143
129
|
},
|
|
144
130
|
dropdown: {
|
|
145
131
|
dropdown_divider_border: {
|
|
146
|
-
light1:
|
|
147
|
-
light2:
|
|
148
|
-
dark1:
|
|
149
|
-
dark2:
|
|
132
|
+
light1: '--grey_15',
|
|
133
|
+
light2: '--grey_15',
|
|
134
|
+
dark1: '--grey_60',
|
|
135
|
+
dark2: '--grey_60',
|
|
150
136
|
},
|
|
151
137
|
},
|
|
152
138
|
dataTable: {
|
|
153
|
-
datatable_border_01: {
|
|
154
|
-
// Deprecated. Please use core.border_medium instead.
|
|
155
|
-
light1: "--grey_20",
|
|
156
|
-
light2: "--grey_30",
|
|
157
|
-
dark1: "--grey_50",
|
|
158
|
-
dark2: "--grey_40",
|
|
159
|
-
},
|
|
160
|
-
datatable_border_02: {
|
|
161
|
-
// Deprecated. Please use core.border_light instead.
|
|
162
|
-
light1: "--grey_10",
|
|
163
|
-
light2: "--grey_15",
|
|
164
|
-
dark1: "--grey_80",
|
|
165
|
-
dark2: "--grey_60",
|
|
166
|
-
},
|
|
167
139
|
datatable_zebra: {
|
|
168
|
-
light1:
|
|
169
|
-
light2:
|
|
170
|
-
dark1:
|
|
171
|
-
dark2:
|
|
140
|
+
light1: 'rgba(0, 0, 0, 0.03)', // "--grey_100 3%",
|
|
141
|
+
light2: 'rgba(0, 0, 0, 0.03)', // "--grey_100 3%",
|
|
142
|
+
dark1: 'rgba(255, 255, 255, 0.03)', // "--grey_0 3%",
|
|
143
|
+
dark2: 'rgba(255, 255, 255, 0.03)', // "--grey_0 3%",
|
|
172
144
|
},
|
|
173
145
|
},
|
|
174
146
|
scrollbars: {
|
|
175
147
|
scrollbars_bg: {
|
|
176
|
-
light1:
|
|
177
|
-
light2:
|
|
178
|
-
dark1:
|
|
179
|
-
dark2:
|
|
148
|
+
light1: '--grey_20',
|
|
149
|
+
light2: '--grey_20',
|
|
150
|
+
dark1: '--grey_60',
|
|
151
|
+
dark2: '--grey_50',
|
|
180
152
|
},
|
|
181
153
|
scrollbars_hover: {
|
|
182
|
-
light1:
|
|
183
|
-
light2:
|
|
184
|
-
dark1:
|
|
185
|
-
dark2:
|
|
154
|
+
light1: '--grey_30',
|
|
155
|
+
light2: '--grey_30',
|
|
156
|
+
dark1: '--grey_50',
|
|
157
|
+
dark2: '--grey_40',
|
|
186
158
|
},
|
|
187
159
|
scrollbars_pressed: {
|
|
188
|
-
light1:
|
|
189
|
-
light2:
|
|
190
|
-
dark1:
|
|
191
|
-
dark2:
|
|
160
|
+
light1: '--grey_50',
|
|
161
|
+
light2: '--grey_50',
|
|
162
|
+
dark1: '--grey_30',
|
|
163
|
+
dark2: '--grey_20',
|
|
192
164
|
},
|
|
193
165
|
},
|
|
194
166
|
modal: {
|
|
195
167
|
modal_overlay: {
|
|
196
|
-
light1:
|
|
197
|
-
light2:
|
|
198
|
-
dark1:
|
|
199
|
-
dark2:
|
|
168
|
+
light1: 'rgba(15, 15, 18, 0.7)', // "--grey_95 70%", = #0F0F12 70%
|
|
169
|
+
light2: 'rgba(15, 15, 18, 0.7)', // "--grey_95 70%",
|
|
170
|
+
dark1: 'rgba(15, 15, 18, 0.7)', // "--grey_95 70%",
|
|
171
|
+
dark2: 'rgba(15, 15, 18, 0.7)', // "--grey_95 70%",
|
|
200
172
|
},
|
|
201
173
|
},
|
|
202
174
|
tooltip: {
|
|
203
175
|
tooltip_bg: {
|
|
204
|
-
light1:
|
|
205
|
-
light2:
|
|
206
|
-
dark1:
|
|
207
|
-
dark2:
|
|
176
|
+
light1: '--grey_70',
|
|
177
|
+
light2: '--grey_70',
|
|
178
|
+
dark1: '--grey_70',
|
|
179
|
+
dark2: '--grey_70',
|
|
208
180
|
},
|
|
209
181
|
tooltip_text_normal: {
|
|
210
|
-
light1:
|
|
211
|
-
light2:
|
|
212
|
-
dark1:
|
|
213
|
-
dark2:
|
|
182
|
+
light1: '--grey_5',
|
|
183
|
+
light2: '--grey_5',
|
|
184
|
+
dark1: '--grey_5',
|
|
185
|
+
dark2: '--grey_5',
|
|
214
186
|
},
|
|
215
187
|
tooltip_text_medium: {
|
|
216
|
-
light1:
|
|
217
|
-
light2:
|
|
218
|
-
dark1:
|
|
219
|
-
dark2:
|
|
188
|
+
light1: '--grey_40',
|
|
189
|
+
light2: '--grey_40',
|
|
190
|
+
dark1: '--grey_40',
|
|
191
|
+
dark2: '--grey_40',
|
|
220
192
|
},
|
|
221
193
|
},
|
|
222
194
|
alert: {
|
|
223
195
|
alert_error_bg: {
|
|
224
|
-
light1:
|
|
225
|
-
light2:
|
|
226
|
-
dark1:
|
|
227
|
-
dark2:
|
|
196
|
+
light1: 'rgba(250, 70, 79, 0.16)', // "--red_40 16%",
|
|
197
|
+
light2: 'rgba(250, 70, 79, 0.16)', // "--red_40 16%",
|
|
198
|
+
dark1: 'rgba(255, 112, 119, 0.32)', // "--red_30 32%",
|
|
199
|
+
dark2: 'rgba(255, 112, 119, 0.32)', // "--red_30 32%",
|
|
228
200
|
},
|
|
229
201
|
alert_error_border: {
|
|
230
|
-
light1:
|
|
231
|
-
light2:
|
|
232
|
-
dark1:
|
|
233
|
-
dark2:
|
|
202
|
+
light1: '--red_40',
|
|
203
|
+
light2: '--red_40',
|
|
204
|
+
dark1: '--red_30',
|
|
205
|
+
dark2: '--red_30',
|
|
234
206
|
},
|
|
235
207
|
alert_success_bg: {
|
|
236
|
-
light1:
|
|
237
|
-
light2:
|
|
238
|
-
dark1:
|
|
239
|
-
dark2:
|
|
208
|
+
light1: 'rgba(26, 159, 63, 0.16)', // "--green_40 16%",
|
|
209
|
+
light2: 'rgba(26, 159, 63, 0.16)', // "--green_40 16%",
|
|
210
|
+
dark1: 'rgba(68, 190, 103, 0.32)', // "--green_30 32%",
|
|
211
|
+
dark2: 'rgba(68, 190, 103, 0.32)', // "--green_30 32%",
|
|
240
212
|
},
|
|
241
213
|
alert_success_border: {
|
|
242
|
-
light1:
|
|
243
|
-
light2:
|
|
244
|
-
dark1:
|
|
245
|
-
dark2:
|
|
214
|
+
light1: '--green_30',
|
|
215
|
+
light2: '--green_30',
|
|
216
|
+
dark1: '--green_30',
|
|
217
|
+
dark2: '--green_30',
|
|
246
218
|
},
|
|
247
219
|
alert_info_bg: {
|
|
248
|
-
light1:
|
|
249
|
-
light2:
|
|
250
|
-
dark1:
|
|
251
|
-
dark2:
|
|
220
|
+
light1: 'rgba(61, 136, 250, 0.16)', // "--blue_40 16%",
|
|
221
|
+
light2: 'rgba(61, 136, 250, 0.16)', // "--blue_40 16%",
|
|
222
|
+
dark1: 'rgba(113, 169, 250, 0.32)', // "--blue_30 32%",
|
|
223
|
+
dark2: 'rgba(113, 169, 250, 0.32)', // "--blue_30 32%",
|
|
252
224
|
},
|
|
253
225
|
alert_info_border: {
|
|
254
|
-
light1:
|
|
255
|
-
light2:
|
|
256
|
-
dark1:
|
|
257
|
-
dark2:
|
|
226
|
+
light1: '--blue_40',
|
|
227
|
+
light2: '--blue_40',
|
|
228
|
+
dark1: '--blue_30',
|
|
229
|
+
dark2: '--blue_30',
|
|
258
230
|
},
|
|
259
231
|
alert_warning_bg: {
|
|
260
|
-
light1:
|
|
261
|
-
light2:
|
|
262
|
-
dark1:
|
|
263
|
-
dark2:
|
|
232
|
+
light1: 'rgba(255, 129, 26, 0.16)', // "--orange_40 16%",
|
|
233
|
+
light2: 'rgba(255, 129, 26, 0.16)', // "--orange_40 16%",
|
|
234
|
+
dark1: 'rgba(255, 153, 69, 0.32)', // "--orange_30 32%",
|
|
235
|
+
dark2: 'rgba(255, 153, 69, 0.32)', // "--orange_30 32%",
|
|
264
236
|
},
|
|
265
237
|
alert_warning_border: {
|
|
266
|
-
light1:
|
|
267
|
-
light2:
|
|
268
|
-
dark1:
|
|
269
|
-
dark2:
|
|
238
|
+
light1: '--orange_40',
|
|
239
|
+
light2: '--orange_40',
|
|
240
|
+
dark1: '--orange_30',
|
|
241
|
+
dark2: '--orange_30',
|
|
270
242
|
},
|
|
271
243
|
},
|
|
272
244
|
chip: {
|
|
273
245
|
chip_primary_bg: {
|
|
274
|
-
light1:
|
|
275
|
-
light2:
|
|
276
|
-
dark1:
|
|
277
|
-
dark2:
|
|
246
|
+
light1: '--lunit_teal_20',
|
|
247
|
+
light2: '--lunit_teal_20',
|
|
248
|
+
dark1: '--lunit_teal_60',
|
|
249
|
+
dark2: '--lunit_teal_60',
|
|
278
250
|
},
|
|
279
251
|
chip_primary_text: {
|
|
280
|
-
light1:
|
|
281
|
-
light2:
|
|
282
|
-
dark1:
|
|
283
|
-
dark2:
|
|
252
|
+
light1: '--lunit_teal_50',
|
|
253
|
+
light2: '--lunit_teal_50',
|
|
254
|
+
dark1: '--lunit_teal_40',
|
|
255
|
+
dark2: '--lunit_teal_40',
|
|
284
256
|
},
|
|
285
257
|
chip_secondary_bg: {
|
|
286
|
-
light1:
|
|
287
|
-
light2:
|
|
288
|
-
dark1:
|
|
289
|
-
dark2:
|
|
258
|
+
light1: '--grey_15',
|
|
259
|
+
light2: '--grey_15',
|
|
260
|
+
dark1: '--grey_60',
|
|
261
|
+
dark2: '--grey_60',
|
|
290
262
|
},
|
|
291
263
|
chip_secondary_text: {
|
|
292
|
-
light1:
|
|
293
|
-
light2:
|
|
294
|
-
dark1:
|
|
295
|
-
dark2:
|
|
264
|
+
light1: '--grey_40',
|
|
265
|
+
light2: '--grey_40',
|
|
266
|
+
dark1: '--grey_30',
|
|
267
|
+
dark2: '--grey_30',
|
|
296
268
|
},
|
|
297
269
|
chip_error_bg: {
|
|
298
|
-
light1:
|
|
299
|
-
light2:
|
|
300
|
-
dark1:
|
|
301
|
-
dark2:
|
|
270
|
+
light1: '--red_20',
|
|
271
|
+
light2: '--red_20',
|
|
272
|
+
dark1: '--red_60',
|
|
273
|
+
dark2: '--red_60',
|
|
302
274
|
},
|
|
303
275
|
chip_error_text: {
|
|
304
|
-
light1:
|
|
305
|
-
light2:
|
|
306
|
-
dark1:
|
|
307
|
-
dark2:
|
|
276
|
+
light1: '--red_40',
|
|
277
|
+
light2: '--red_40',
|
|
278
|
+
dark1: '--red_30',
|
|
279
|
+
dark2: '--red_30',
|
|
308
280
|
},
|
|
309
281
|
chip_warning_bg: {
|
|
310
|
-
light1:
|
|
311
|
-
light2:
|
|
312
|
-
dark1:
|
|
313
|
-
dark2:
|
|
282
|
+
light1: '--orange_20',
|
|
283
|
+
light2: '--orange_20',
|
|
284
|
+
dark1: '--orange_60',
|
|
285
|
+
dark2: '--orange_60',
|
|
314
286
|
},
|
|
315
287
|
chip_warning_text: {
|
|
316
|
-
light1:
|
|
317
|
-
light2:
|
|
318
|
-
dark1:
|
|
319
|
-
dark2:
|
|
288
|
+
light1: '--orange_40',
|
|
289
|
+
light2: '--orange_40',
|
|
290
|
+
dark1: '--orange_30',
|
|
291
|
+
dark2: '--orange_30',
|
|
320
292
|
},
|
|
321
293
|
chip_success_bg: {
|
|
322
|
-
light1:
|
|
323
|
-
light2:
|
|
324
|
-
dark1:
|
|
325
|
-
dark2:
|
|
294
|
+
light1: '--green_20',
|
|
295
|
+
light2: '--green_20',
|
|
296
|
+
dark1: '--green_60',
|
|
297
|
+
dark2: '--green_60',
|
|
326
298
|
},
|
|
327
299
|
chip_success_text: {
|
|
328
|
-
light1:
|
|
329
|
-
light2:
|
|
330
|
-
dark1:
|
|
331
|
-
dark2:
|
|
300
|
+
light1: '--green_40',
|
|
301
|
+
light2: '--green_40',
|
|
302
|
+
dark1: '--green_30',
|
|
303
|
+
dark2: '--green_30',
|
|
332
304
|
},
|
|
333
305
|
},
|
|
334
306
|
};
|