@redis-ui/styles 18.0.0 → 19.0.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.
- package/dist/index.js +2259 -7510
- package/dist/index.umd.cjs +14 -14
- package/dist/themes/index.d.ts +1 -2
- package/dist/themes/index.js +1 -5
- package/dist/themes/themeDark/theme/components/actionIconButton.js +12 -12
- package/dist/themes/themeDark/theme/components/appBar.js +10 -10
- package/dist/themes/themeDark/theme/components/appSelectionMenu.js +7 -7
- package/dist/themes/themeDark/theme/components/badge.js +39 -39
- package/dist/themes/themeDark/theme/components/boxSelectionGroup.js +22 -13
- package/dist/themes/themeDark/theme/components/breadcrumbs.js +4 -4
- package/dist/themes/themeDark/theme/components/button.js +59 -42
- package/dist/themes/themeDark/theme/components/buttonGroup.js +26 -13
- package/dist/themes/themeDark/theme/components/card.js +15 -15
- package/dist/themes/themeDark/theme/components/checkbox.js +21 -21
- package/dist/themes/themeDark/theme/components/chip.js +10 -10
- package/dist/themes/themeDark/theme/components/chipList.js +3 -3
- package/dist/themes/themeDark/theme/components/countryFlag.js +1 -1
- package/dist/themes/themeDark/theme/components/drawer.js +9 -7
- package/dist/themes/themeDark/theme/components/filters.js +4 -4
- package/dist/themes/themeDark/theme/components/formField.js +2 -2
- package/dist/themes/themeDark/theme/components/highlightedIcon.js +13 -13
- package/dist/themes/themeDark/theme/components/icon.js +2 -2
- package/dist/themes/themeDark/theme/components/iconButton.js +6 -4
- package/dist/themes/themeDark/theme/components/input.js +22 -19
- package/dist/themes/themeDark/theme/components/keyValueList.js +7 -7
- package/dist/themes/themeDark/theme/components/label.js +4 -4
- package/dist/themes/themeDark/theme/components/layouts.js +1 -1
- package/dist/themes/themeDark/theme/components/link.js +10 -11
- package/dist/themes/themeDark/theme/components/loader.js +10 -9
- package/dist/themes/themeDark/theme/components/menu.js +15 -15
- package/dist/themes/themeDark/theme/components/modal.js +9 -6
- package/dist/themes/themeDark/theme/components/moreInfoIcon.js +1 -1
- package/dist/themes/themeDark/theme/components/popover.js +3 -3
- package/dist/themes/themeDark/theme/components/popupCard.js +2 -2
- package/dist/themes/themeDark/theme/components/profileIcon.js +26 -6
- package/dist/themes/themeDark/theme/components/progressBar.js +9 -9
- package/dist/themes/themeDark/theme/components/radio.js +11 -11
- package/dist/themes/themeDark/theme/components/searchBar.js +7 -5
- package/dist/themes/themeDark/theme/components/section.js +16 -12
- package/dist/themes/themeDark/theme/components/select.js +23 -22
- package/dist/themes/themeDark/theme/components/semanticButton.js +117 -70
- package/dist/themes/themeDark/theme/components/semanticContainer.js +15 -15
- package/dist/themes/themeDark/theme/components/sideBar.js +19 -19
- package/dist/themes/themeDark/theme/components/stepper.js +8 -8
- package/dist/themes/themeDark/theme/components/switch.js +24 -24
- package/dist/themes/themeDark/theme/components/table.js +19 -19
- package/dist/themes/themeDark/theme/components/tableHeading.js +2 -2
- package/dist/themes/themeDark/theme/components/tabs.js +13 -13
- package/dist/themes/themeDark/theme/components/textButton.js +30 -23
- package/dist/themes/themeDark/theme/components/themeModeSwitch.js +2 -2
- package/dist/themes/themeDark/theme/components/toggleButton.js +17 -19
- package/dist/themes/themeDark/theme/components/tooltip.js +2 -2
- package/dist/themes/themeDark/theme/components/typography.js +2 -2
- package/dist/themes/themeDark/theme/globals/body.js +2 -2
- package/dist/themes/themeDark/theme.js +1 -1
- package/dist/themes/themeDark/tokens.js +96 -96
- package/dist/themes/themeLight/theme/components/actionIconButton.js +11 -11
- package/dist/themes/themeLight/theme/components/appBar.js +10 -10
- package/dist/themes/themeLight/theme/components/appSelectionMenu.js +7 -7
- package/dist/themes/themeLight/theme/components/badge.js +28 -28
- package/dist/themes/themeLight/theme/components/boxSelectionGroup.js +23 -14
- package/dist/themes/themeLight/theme/components/breadcrumbs.js +6 -6
- package/dist/themes/themeLight/theme/components/button.js +57 -37
- package/dist/themes/themeLight/theme/components/buttonGroup.js +27 -14
- package/dist/themes/themeLight/theme/components/card.js +14 -14
- package/dist/themes/themeLight/theme/components/checkbox.js +20 -20
- package/dist/themes/themeLight/theme/components/chip.js +10 -10
- package/dist/themes/themeLight/theme/components/chipList.js +3 -3
- package/dist/themes/themeLight/theme/components/countryFlag.js +1 -1
- package/dist/themes/themeLight/theme/components/drawer.js +8 -6
- package/dist/themes/themeLight/theme/components/filters.js +4 -4
- package/dist/themes/themeLight/theme/components/formField.js +2 -2
- package/dist/themes/themeLight/theme/components/highlightedIcon.js +9 -9
- package/dist/themes/themeLight/theme/components/icon.js +2 -2
- package/dist/themes/themeLight/theme/components/iconButton.js +6 -4
- package/dist/themes/themeLight/theme/components/input.js +19 -16
- package/dist/themes/themeLight/theme/components/keyValueList.js +7 -7
- package/dist/themes/themeLight/theme/components/label.js +4 -4
- package/dist/themes/themeLight/theme/components/layouts.js +1 -1
- package/dist/themes/themeLight/theme/components/link.js +10 -12
- package/dist/themes/themeLight/theme/components/loader.js +10 -9
- package/dist/themes/themeLight/theme/components/menu.js +10 -10
- package/dist/themes/themeLight/theme/components/modal.js +8 -5
- package/dist/themes/themeLight/theme/components/moreInfoIcon.js +1 -1
- package/dist/themes/themeLight/theme/components/profileIcon.js +6 -6
- package/dist/themes/themeLight/theme/components/progressBar.js +9 -9
- package/dist/themes/themeLight/theme/components/radio.js +11 -11
- package/dist/themes/themeLight/theme/components/searchBar.js +7 -5
- package/dist/themes/themeLight/theme/components/section.js +14 -10
- package/dist/themes/themeLight/theme/components/select.js +18 -18
- package/dist/themes/themeLight/theme/components/semanticButton.js +113 -66
- package/dist/themes/themeLight/theme/components/semanticContainer.js +8 -8
- package/dist/themes/themeLight/theme/components/sideBar.js +19 -19
- package/dist/themes/themeLight/theme/components/stepper.js +7 -7
- package/dist/themes/themeLight/theme/components/switch.js +22 -22
- package/dist/themes/themeLight/theme/components/table.js +19 -19
- package/dist/themes/themeLight/theme/components/tableHeading.js +2 -2
- package/dist/themes/themeLight/theme/components/tabs.js +11 -11
- package/dist/themes/themeLight/theme/components/textButton.js +27 -20
- package/dist/themes/themeLight/theme/components/themeModeSwitch.js +2 -2
- package/dist/themes/themeLight/theme/components/toggleButton.js +17 -19
- package/dist/themes/themeLight/theme/components/tooltip.js +2 -2
- package/dist/themes/themeLight/theme/components/typography.js +2 -2
- package/dist/themes/themeLight/theme/globals/body.js +2 -2
- package/dist/themes/themeLight/tokens.js +95 -95
- package/package.json +2 -2
- package/dist/themes/themeDark2/theme/components/actionIconButton.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/actionIconButton.js +0 -56
- package/dist/themes/themeDark2/theme/components/appBar.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/appBar.js +0 -25
- package/dist/themes/themeDark2/theme/components/appSelectionMenu.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/appSelectionMenu.js +0 -46
- package/dist/themes/themeDark2/theme/components/autoComplete.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/autoComplete.js +0 -7
- package/dist/themes/themeDark2/theme/components/badge.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/badge.js +0 -73
- package/dist/themes/themeDark2/theme/components/banner.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/banner.js +0 -14
- package/dist/themes/themeDark2/theme/components/boxSelectionGroup.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/boxSelectionGroup.js +0 -58
- package/dist/themes/themeDark2/theme/components/breadcrumbs.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/breadcrumbs.js +0 -28
- package/dist/themes/themeDark2/theme/components/button.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/button.js +0 -202
- package/dist/themes/themeDark2/theme/components/buttonGroup.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/buttonGroup.js +0 -65
- package/dist/themes/themeDark2/theme/components/card.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/card.js +0 -40
- package/dist/themes/themeDark2/theme/components/checkbox.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/checkbox.js +0 -67
- package/dist/themes/themeDark2/theme/components/chip.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/chip.js +0 -60
- package/dist/themes/themeDark2/theme/components/chipList.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/chipList.js +0 -21
- package/dist/themes/themeDark2/theme/components/countryFlag.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/countryFlag.js +0 -9
- package/dist/themes/themeDark2/theme/components/drawer.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/drawer.js +0 -30
- package/dist/themes/themeDark2/theme/components/filters.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/filters.js +0 -36
- package/dist/themes/themeDark2/theme/components/formField.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/formField.js +0 -17
- package/dist/themes/themeDark2/theme/components/highlightedIcon.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/highlightedIcon.js +0 -42
- package/dist/themes/themeDark2/theme/components/icon.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/icon.js +0 -14
- package/dist/themes/themeDark2/theme/components/iconButton.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/iconButton.js +0 -49
- package/dist/themes/themeDark2/theme/components/input.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/input.js +0 -97
- package/dist/themes/themeDark2/theme/components/keyValueList.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/keyValueList.js +0 -30
- package/dist/themes/themeDark2/theme/components/label.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/label.js +0 -24
- package/dist/themes/themeDark2/theme/components/layouts.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/layouts.js +0 -39
- package/dist/themes/themeDark2/theme/components/link.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/link.js +0 -72
- package/dist/themes/themeDark2/theme/components/loader.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/loader.js +0 -30
- package/dist/themes/themeDark2/theme/components/menu.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/menu.js +0 -79
- package/dist/themes/themeDark2/theme/components/midBar.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/midBar.js +0 -14
- package/dist/themes/themeDark2/theme/components/modal.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/modal.js +0 -34
- package/dist/themes/themeDark2/theme/components/moreInfoIcon.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/moreInfoIcon.js +0 -5
- package/dist/themes/themeDark2/theme/components/popover.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/popover.js +0 -16
- package/dist/themes/themeDark2/theme/components/popupCard.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/popupCard.js +0 -22
- package/dist/themes/themeDark2/theme/components/profileIcon.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/profileIcon.js +0 -39
- package/dist/themes/themeDark2/theme/components/progressBar.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/progressBar.js +0 -57
- package/dist/themes/themeDark2/theme/components/radio.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/radio.js +0 -51
- package/dist/themes/themeDark2/theme/components/searchBar.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/searchBar.js +0 -25
- package/dist/themes/themeDark2/theme/components/section.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/section.js +0 -52
- package/dist/themes/themeDark2/theme/components/select.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/select.js +0 -104
- package/dist/themes/themeDark2/theme/components/semanticButton.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/semanticButton.js +0 -250
- package/dist/themes/themeDark2/theme/components/semanticContainer.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/semanticContainer.js +0 -43
- package/dist/themes/themeDark2/theme/components/semanticIcon.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/semanticIcon.js +0 -11
- package/dist/themes/themeDark2/theme/components/sideBar.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/sideBar.js +0 -81
- package/dist/themes/themeDark2/theme/components/skeleton.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/skeleton.js +0 -30
- package/dist/themes/themeDark2/theme/components/slider.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/slider.js +0 -68
- package/dist/themes/themeDark2/theme/components/stepper.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/stepper.js +0 -62
- package/dist/themes/themeDark2/theme/components/switch.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/switch.js +0 -55
- package/dist/themes/themeDark2/theme/components/table.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/table.js +0 -91
- package/dist/themes/themeDark2/theme/components/tableHeading.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/tableHeading.js +0 -26
- package/dist/themes/themeDark2/theme/components/tabs.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/tabs.js +0 -89
- package/dist/themes/themeDark2/theme/components/textButton.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/textButton.js +0 -202
- package/dist/themes/themeDark2/theme/components/themeModeSwitch.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/themeModeSwitch.js +0 -18
- package/dist/themes/themeDark2/theme/components/toast.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/toast.js +0 -9
- package/dist/themes/themeDark2/theme/components/toggleButton.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/toggleButton.js +0 -57
- package/dist/themes/themeDark2/theme/components/tooltip.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/tooltip.js +0 -17
- package/dist/themes/themeDark2/theme/components/treeView.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/treeView.js +0 -16
- package/dist/themes/themeDark2/theme/components/typography.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/typography.js +0 -79
- package/dist/themes/themeDark2/theme/components/windowBar.d.ts +0 -3
- package/dist/themes/themeDark2/theme/components/windowBar.js +0 -55
- package/dist/themes/themeDark2/theme/globals/body.d.ts +0 -3
- package/dist/themes/themeDark2/theme/globals/body.js +0 -9
- package/dist/themes/themeDark2/theme/globals/scrollbar.d.ts +0 -3
- package/dist/themes/themeDark2/theme/globals/scrollbar.js +0 -12
- package/dist/themes/themeDark2/theme.d.ts +0 -2
- package/dist/themes/themeDark2/theme.js +0 -132
- package/dist/themes/themeDark2/tokens.d.ts +0 -2
- package/dist/themes/themeDark2/tokens.js +0 -200
- package/dist/themes/themeLight2/theme/components/actionIconButton.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/actionIconButton.js +0 -56
- package/dist/themes/themeLight2/theme/components/appBar.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/appBar.js +0 -25
- package/dist/themes/themeLight2/theme/components/appSelectionMenu.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/appSelectionMenu.js +0 -46
- package/dist/themes/themeLight2/theme/components/autoComplete.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/autoComplete.js +0 -7
- package/dist/themes/themeLight2/theme/components/badge.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/badge.js +0 -73
- package/dist/themes/themeLight2/theme/components/banner.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/banner.js +0 -14
- package/dist/themes/themeLight2/theme/components/boxSelectionGroup.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/boxSelectionGroup.js +0 -58
- package/dist/themes/themeLight2/theme/components/breadcrumbs.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/breadcrumbs.js +0 -28
- package/dist/themes/themeLight2/theme/components/button.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/button.js +0 -202
- package/dist/themes/themeLight2/theme/components/buttonGroup.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/buttonGroup.js +0 -65
- package/dist/themes/themeLight2/theme/components/card.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/card.js +0 -40
- package/dist/themes/themeLight2/theme/components/checkbox.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/checkbox.js +0 -67
- package/dist/themes/themeLight2/theme/components/chip.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/chip.js +0 -60
- package/dist/themes/themeLight2/theme/components/chipList.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/chipList.js +0 -21
- package/dist/themes/themeLight2/theme/components/countryFlag.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/countryFlag.js +0 -9
- package/dist/themes/themeLight2/theme/components/drawer.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/drawer.js +0 -30
- package/dist/themes/themeLight2/theme/components/filters.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/filters.js +0 -36
- package/dist/themes/themeLight2/theme/components/formField.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/formField.js +0 -17
- package/dist/themes/themeLight2/theme/components/highlightedIcon.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/highlightedIcon.js +0 -42
- package/dist/themes/themeLight2/theme/components/icon.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/icon.js +0 -14
- package/dist/themes/themeLight2/theme/components/iconButton.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/iconButton.js +0 -49
- package/dist/themes/themeLight2/theme/components/input.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/input.js +0 -97
- package/dist/themes/themeLight2/theme/components/keyValueList.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/keyValueList.js +0 -30
- package/dist/themes/themeLight2/theme/components/label.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/label.js +0 -24
- package/dist/themes/themeLight2/theme/components/layouts.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/layouts.js +0 -39
- package/dist/themes/themeLight2/theme/components/link.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/link.js +0 -72
- package/dist/themes/themeLight2/theme/components/loader.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/loader.js +0 -30
- package/dist/themes/themeLight2/theme/components/menu.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/menu.js +0 -79
- package/dist/themes/themeLight2/theme/components/midBar.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/midBar.js +0 -14
- package/dist/themes/themeLight2/theme/components/modal.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/modal.js +0 -34
- package/dist/themes/themeLight2/theme/components/moreInfoIcon.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/moreInfoIcon.js +0 -5
- package/dist/themes/themeLight2/theme/components/popover.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/popover.js +0 -16
- package/dist/themes/themeLight2/theme/components/popupCard.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/popupCard.js +0 -22
- package/dist/themes/themeLight2/theme/components/profileIcon.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/profileIcon.js +0 -39
- package/dist/themes/themeLight2/theme/components/progressBar.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/progressBar.js +0 -57
- package/dist/themes/themeLight2/theme/components/radio.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/radio.js +0 -51
- package/dist/themes/themeLight2/theme/components/searchBar.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/searchBar.js +0 -25
- package/dist/themes/themeLight2/theme/components/section.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/section.js +0 -52
- package/dist/themes/themeLight2/theme/components/select.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/select.js +0 -103
- package/dist/themes/themeLight2/theme/components/semanticButton.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/semanticButton.js +0 -250
- package/dist/themes/themeLight2/theme/components/semanticContainer.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/semanticContainer.js +0 -43
- package/dist/themes/themeLight2/theme/components/semanticIcon.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/semanticIcon.js +0 -11
- package/dist/themes/themeLight2/theme/components/sideBar.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/sideBar.js +0 -81
- package/dist/themes/themeLight2/theme/components/skeleton.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/skeleton.js +0 -30
- package/dist/themes/themeLight2/theme/components/slider.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/slider.js +0 -68
- package/dist/themes/themeLight2/theme/components/stepper.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/stepper.js +0 -62
- package/dist/themes/themeLight2/theme/components/switch.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/switch.js +0 -55
- package/dist/themes/themeLight2/theme/components/table.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/table.js +0 -91
- package/dist/themes/themeLight2/theme/components/tableHeading.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/tableHeading.js +0 -26
- package/dist/themes/themeLight2/theme/components/tabs.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/tabs.js +0 -86
- package/dist/themes/themeLight2/theme/components/textButton.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/textButton.js +0 -203
- package/dist/themes/themeLight2/theme/components/themeModeSwitch.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/themeModeSwitch.js +0 -18
- package/dist/themes/themeLight2/theme/components/toast.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/toast.js +0 -9
- package/dist/themes/themeLight2/theme/components/toggleButton.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/toggleButton.js +0 -57
- package/dist/themes/themeLight2/theme/components/tooltip.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/tooltip.js +0 -17
- package/dist/themes/themeLight2/theme/components/treeView.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/treeView.js +0 -16
- package/dist/themes/themeLight2/theme/components/typography.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/typography.js +0 -79
- package/dist/themes/themeLight2/theme/components/windowBar.d.ts +0 -3
- package/dist/themes/themeLight2/theme/components/windowBar.js +0 -55
- package/dist/themes/themeLight2/theme/globals/body.d.ts +0 -3
- package/dist/themes/themeLight2/theme/globals/body.js +0 -9
- package/dist/themes/themeLight2/theme/globals/scrollbar.d.ts +0 -3
- package/dist/themes/themeLight2/theme/globals/scrollbar.js +0 -12
- package/dist/themes/themeLight2/theme.d.ts +0 -2
- package/dist/themes/themeLight2/theme.js +0 -132
- package/dist/themes/themeLight2/tokens.d.ts +0 -2
- package/dist/themes/themeLight2/tokens.js +0 -200
package/dist/themes/index.d.ts
CHANGED
package/dist/themes/index.js
CHANGED
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { theme as themeLight } from './themeLight/theme';
|
|
2
2
|
import { theme as themeDark } from './themeDark/theme';
|
|
3
|
-
import { theme as themeLight2 } from './themeLight2/theme';
|
|
4
|
-
import { theme as themeDark2 } from './themeDark2/theme';
|
|
5
3
|
export * from './types';
|
|
6
|
-
// Change following when rebranding themes
|
|
7
4
|
export const theme = themeLight; // default theme (for tests, etc.), DO NOT use in app
|
|
8
|
-
export const
|
|
9
|
-
export const themesRebrand = { light: themeLight2, dark: themeDark2 };
|
|
5
|
+
export const themes = { light: themeLight, dark: themeDark };
|
|
@@ -21,34 +21,34 @@ const theme = {
|
|
|
21
21
|
variants: {
|
|
22
22
|
primary: {
|
|
23
23
|
normal: {
|
|
24
|
-
bgColor: tokens.semantic.color.background.
|
|
25
|
-
textColor: tokens.semantic.color.text.
|
|
24
|
+
bgColor: tokens.semantic.color.background.primary400,
|
|
25
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
26
26
|
},
|
|
27
27
|
hover: {
|
|
28
|
-
bgColor: tokens.semantic.color.background.
|
|
28
|
+
bgColor: tokens.semantic.color.background.neutral300
|
|
29
29
|
},
|
|
30
30
|
active: {
|
|
31
|
-
bgColor: tokens.semantic.color.background.
|
|
31
|
+
bgColor: tokens.semantic.color.background.primary400
|
|
32
32
|
},
|
|
33
33
|
disabled: {
|
|
34
|
-
bgColor: tokens.semantic.color.background.
|
|
35
|
-
textColor: tokens.semantic.color.text.
|
|
34
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
35
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
36
36
|
}
|
|
37
37
|
},
|
|
38
38
|
secondary: {
|
|
39
39
|
normal: {
|
|
40
|
-
bgColor: tokens.semantic.color.background.
|
|
41
|
-
textColor: tokens.semantic.color.text.
|
|
40
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
41
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
42
42
|
},
|
|
43
43
|
hover: {
|
|
44
|
-
bgColor: tokens.semantic.color.background.
|
|
44
|
+
bgColor: tokens.semantic.color.background.secondary700
|
|
45
45
|
},
|
|
46
46
|
active: {
|
|
47
|
-
bgColor: tokens.semantic.color.background.
|
|
47
|
+
bgColor: tokens.semantic.color.background.secondary800
|
|
48
48
|
},
|
|
49
49
|
disabled: {
|
|
50
|
-
bgColor: tokens.semantic.color.background.
|
|
51
|
-
textColor: tokens.semantic.color.text.
|
|
50
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
51
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
52
52
|
}
|
|
53
53
|
}
|
|
54
54
|
}
|
|
@@ -2,23 +2,23 @@ import { tokens } from '../../tokens';
|
|
|
2
2
|
const theme = {
|
|
3
3
|
height: '7rem',
|
|
4
4
|
padding: '1.4rem 1.4rem 1.4rem 2.4rem',
|
|
5
|
-
separator: `1px solid ${tokens.semantic.color.border.
|
|
6
|
-
boxShadow: `0px 1px 0px 0px ${tokens.semantic.color.border.
|
|
5
|
+
separator: `1px solid ${tokens.semantic.color.border.secondary800}`,
|
|
6
|
+
boxShadow: `0px 1px 0px 0px ${tokens.semantic.color.border.secondary800}`,
|
|
7
7
|
group: {
|
|
8
8
|
gap: '1.6rem'
|
|
9
9
|
},
|
|
10
10
|
variants: {
|
|
11
11
|
default: {
|
|
12
|
-
bgColor: tokens.semantic.color.background.
|
|
13
|
-
color: tokens.semantic.color.background.
|
|
14
|
-
userNameColor: tokens.semantic.color.background.
|
|
15
|
-
accountNameColor: tokens.semantic.color.background.
|
|
12
|
+
bgColor: tokens.semantic.color.background.secondary950,
|
|
13
|
+
color: tokens.semantic.color.background.secondary50,
|
|
14
|
+
userNameColor: tokens.semantic.color.background.secondary400,
|
|
15
|
+
accountNameColor: tokens.semantic.color.background.secondary50
|
|
16
16
|
},
|
|
17
17
|
alert: {
|
|
18
|
-
bgColor: tokens.semantic.color.background.
|
|
19
|
-
color: tokens.semantic.color.text.
|
|
20
|
-
userNameColor: tokens.semantic.color.text.
|
|
21
|
-
accountNameColor: tokens.semantic.color.text.
|
|
18
|
+
bgColor: tokens.semantic.color.background.danger200,
|
|
19
|
+
color: tokens.semantic.color.text.secondary950,
|
|
20
|
+
userNameColor: tokens.semantic.color.text.secondary950,
|
|
21
|
+
accountNameColor: tokens.semantic.color.text.secondary950
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
24
|
};
|
|
@@ -8,21 +8,21 @@ const theme = {
|
|
|
8
8
|
toggleStates: {
|
|
9
9
|
on: {
|
|
10
10
|
normal: {
|
|
11
|
-
bgColor:
|
|
12
|
-
borderColor:
|
|
13
|
-
textColor: tokens.semantic.color.text.
|
|
11
|
+
bgColor: 'transparent',
|
|
12
|
+
borderColor: 'transparent',
|
|
13
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
14
14
|
}
|
|
15
15
|
},
|
|
16
16
|
off: {
|
|
17
17
|
normal: {
|
|
18
18
|
bgColor: 'transparent',
|
|
19
19
|
borderColor: 'transparent',
|
|
20
|
-
textColor: tokens.semantic.color.text.
|
|
20
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
21
21
|
},
|
|
22
22
|
hover: {
|
|
23
|
-
bgColor: tokens.semantic.color.background.
|
|
24
|
-
borderColor: tokens.semantic.color.border.
|
|
25
|
-
textColor: tokens.semantic.color.text.
|
|
23
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
24
|
+
borderColor: tokens.semantic.color.border.secondary800,
|
|
25
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
26
26
|
}
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -9,64 +9,64 @@ const theme = {
|
|
|
9
9
|
borderStyle: 'solid',
|
|
10
10
|
variants: {
|
|
11
11
|
white: {
|
|
12
|
-
backgroundColor: tokens.semantic.color.background.
|
|
13
|
-
color: tokens.semantic.color.text.
|
|
14
|
-
borderColor: tokens.semantic.color.border.
|
|
15
|
-
iconColor:
|
|
12
|
+
backgroundColor: tokens.semantic.color.background.secondary300,
|
|
13
|
+
color: tokens.semantic.color.text.secondary900,
|
|
14
|
+
borderColor: tokens.semantic.color.border.secondary400,
|
|
15
|
+
iconColor: tokens.semantic.color.text.secondary700
|
|
16
16
|
},
|
|
17
17
|
light: {
|
|
18
|
-
backgroundColor: tokens.semantic.color.background.
|
|
19
|
-
color: tokens.semantic.color.text.
|
|
20
|
-
borderColor: tokens.semantic.color.border.
|
|
21
|
-
iconColor:
|
|
18
|
+
backgroundColor: tokens.semantic.color.background.secondary600,
|
|
19
|
+
color: tokens.semantic.color.text.secondary0,
|
|
20
|
+
borderColor: tokens.semantic.color.border.secondary500,
|
|
21
|
+
iconColor: tokens.semantic.color.text.secondary300
|
|
22
22
|
},
|
|
23
23
|
default: {
|
|
24
|
-
backgroundColor: tokens.semantic.color.background.
|
|
25
|
-
color: tokens.semantic.color.text.
|
|
26
|
-
borderColor: tokens.semantic.color.border.
|
|
27
|
-
iconColor:
|
|
24
|
+
backgroundColor: tokens.semantic.color.background.informative900,
|
|
25
|
+
color: tokens.semantic.color.text.informative0,
|
|
26
|
+
borderColor: tokens.semantic.color.border.informative700,
|
|
27
|
+
iconColor: tokens.semantic.color.text.primary500
|
|
28
28
|
},
|
|
29
29
|
informative: {
|
|
30
|
-
backgroundColor: tokens.semantic.color.background.
|
|
31
|
-
color: tokens.semantic.color.text.
|
|
32
|
-
borderColor: tokens.semantic.color.border.
|
|
33
|
-
iconColor:
|
|
30
|
+
backgroundColor: tokens.semantic.color.background.informative900,
|
|
31
|
+
color: tokens.semantic.color.text.primary0,
|
|
32
|
+
borderColor: tokens.semantic.color.border.informative500,
|
|
33
|
+
iconColor: tokens.semantic.color.text.primary300
|
|
34
34
|
},
|
|
35
35
|
success: {
|
|
36
|
-
backgroundColor: tokens.semantic.color.background.
|
|
37
|
-
color: tokens.semantic.color.text.
|
|
38
|
-
borderColor: tokens.semantic.color.border.
|
|
39
|
-
iconColor: tokens.semantic.color.text.
|
|
36
|
+
backgroundColor: tokens.semantic.color.background.success900,
|
|
37
|
+
color: tokens.semantic.color.text.success50,
|
|
38
|
+
borderColor: tokens.semantic.color.border.success700,
|
|
39
|
+
iconColor: tokens.semantic.color.text.success500
|
|
40
40
|
},
|
|
41
41
|
notice: {
|
|
42
|
-
backgroundColor: tokens.semantic.color.background.
|
|
43
|
-
color: tokens.semantic.color.text.
|
|
44
|
-
borderColor: tokens.semantic.color.border.
|
|
45
|
-
iconColor: tokens.semantic.color.text.
|
|
42
|
+
backgroundColor: tokens.semantic.color.background.notice900,
|
|
43
|
+
color: tokens.semantic.color.text.notice50,
|
|
44
|
+
borderColor: tokens.semantic.color.border.notice600,
|
|
45
|
+
iconColor: tokens.semantic.color.text.notice300
|
|
46
46
|
},
|
|
47
47
|
danger: {
|
|
48
|
-
backgroundColor: tokens.semantic.color.background.
|
|
49
|
-
color: tokens.semantic.color.text.
|
|
50
|
-
borderColor: tokens.semantic.color.border.
|
|
51
|
-
iconColor: tokens.semantic.color.text.
|
|
48
|
+
backgroundColor: tokens.semantic.color.background.danger900,
|
|
49
|
+
color: tokens.semantic.color.text.danger0,
|
|
50
|
+
borderColor: tokens.semantic.color.border.danger700,
|
|
51
|
+
iconColor: tokens.semantic.color.text.danger400
|
|
52
52
|
},
|
|
53
53
|
attention: {
|
|
54
|
-
backgroundColor: tokens.semantic.color.background.
|
|
55
|
-
color: tokens.semantic.color.text.
|
|
56
|
-
borderColor: tokens.semantic.color.border.
|
|
57
|
-
iconColor: tokens.semantic.color.text.
|
|
54
|
+
backgroundColor: tokens.semantic.color.background.attention900,
|
|
55
|
+
color: tokens.semantic.color.text.attention0,
|
|
56
|
+
borderColor: tokens.semantic.color.border.attention600,
|
|
57
|
+
iconColor: tokens.semantic.color.text.attention400
|
|
58
58
|
},
|
|
59
59
|
upsell: {
|
|
60
|
-
backgroundColor: tokens.semantic.color.background.
|
|
61
|
-
color: tokens.semantic.color.text.
|
|
62
|
-
borderColor: tokens.semantic.color.border.
|
|
60
|
+
backgroundColor: tokens.semantic.color.background.discovery700,
|
|
61
|
+
color: tokens.semantic.color.text.discovery0,
|
|
62
|
+
borderColor: tokens.semantic.color.border.discovery600,
|
|
63
63
|
iconColor: tokens.semantic.color.text.discovery400
|
|
64
64
|
},
|
|
65
65
|
disabled: {
|
|
66
|
-
backgroundColor: tokens.semantic.color.background.
|
|
67
|
-
color: tokens.semantic.color.text.
|
|
68
|
-
borderColor: tokens.semantic.color.border.
|
|
69
|
-
iconColor: tokens.semantic.color.text.
|
|
66
|
+
backgroundColor: tokens.semantic.color.background.secondary950,
|
|
67
|
+
color: tokens.semantic.color.text.secondary700,
|
|
68
|
+
borderColor: tokens.semantic.color.border.secondary800,
|
|
69
|
+
iconColor: tokens.semantic.color.text.secondary700
|
|
70
70
|
}
|
|
71
71
|
}
|
|
72
72
|
};
|
|
@@ -10,33 +10,42 @@ const theme = {
|
|
|
10
10
|
states: {
|
|
11
11
|
default: {
|
|
12
12
|
normal: {
|
|
13
|
-
bgColor: tokens.semantic.color.background.
|
|
14
|
-
borderColor: tokens.semantic.color.border.
|
|
13
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
14
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
15
15
|
markerColor: 'transparent',
|
|
16
|
-
textColor: tokens.semantic.color.text.
|
|
17
|
-
iconColor: tokens.semantic.color.icon.
|
|
16
|
+
textColor: tokens.semantic.color.text.secondary200,
|
|
17
|
+
iconColor: tokens.semantic.color.icon.secondary200
|
|
18
18
|
},
|
|
19
19
|
hover: {
|
|
20
|
-
|
|
21
|
-
|
|
20
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
21
|
+
borderColor: tokens.semantic.color.border.primary400,
|
|
22
|
+
markerColor: tokens.semantic.color.border.primary400,
|
|
23
|
+
textColor: tokens.semantic.color.text.secondary200,
|
|
24
|
+
iconColor: tokens.semantic.color.icon.secondary200
|
|
22
25
|
},
|
|
23
26
|
disabled: {
|
|
24
|
-
|
|
27
|
+
bgColor: tokens.semantic.color.background.neutral900,
|
|
28
|
+
borderColor: tokens.semantic.color.border.neutral800,
|
|
29
|
+
markerColor: 'transparent',
|
|
30
|
+
textColor: tokens.semantic.color.text.secondary800,
|
|
31
|
+
iconColor: tokens.semantic.color.icon.secondary800,
|
|
25
32
|
opacity: '0.5'
|
|
26
33
|
}
|
|
27
34
|
},
|
|
28
35
|
checked: {
|
|
29
36
|
normal: {
|
|
30
|
-
bgColor: tokens.semantic.color.background.
|
|
37
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
31
38
|
borderColor: tokens.semantic.color.border.primary300,
|
|
32
39
|
markerColor: tokens.semantic.color.border.primary300,
|
|
33
|
-
textColor: tokens.semantic.color.text.
|
|
34
|
-
iconColor: tokens.semantic.color.icon.
|
|
40
|
+
textColor: tokens.semantic.color.text.secondary200,
|
|
41
|
+
iconColor: tokens.semantic.color.icon.secondary200
|
|
35
42
|
},
|
|
36
43
|
disabled: {
|
|
37
|
-
bgColor: tokens.semantic.color.background.
|
|
38
|
-
borderColor: tokens.semantic.color.border.
|
|
39
|
-
markerColor: tokens.semantic.color.border.
|
|
44
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
45
|
+
borderColor: tokens.semantic.color.border.secondary900,
|
|
46
|
+
markerColor: tokens.semantic.color.border.secondary800,
|
|
47
|
+
textColor: tokens.semantic.color.text.secondary800,
|
|
48
|
+
iconColor: tokens.semantic.color.icon.secondary800,
|
|
40
49
|
opacity: '0.5'
|
|
41
50
|
}
|
|
42
51
|
}
|
|
@@ -7,18 +7,18 @@ const theme = {
|
|
|
7
7
|
textColor: tokens.semantic.color.text.secondary500
|
|
8
8
|
},
|
|
9
9
|
hover: {
|
|
10
|
-
textColor: tokens.semantic.color.text.
|
|
10
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
11
11
|
},
|
|
12
12
|
active: {
|
|
13
|
-
textColor: tokens.semantic.color.text.
|
|
13
|
+
textColor: tokens.semantic.color.text.secondary200
|
|
14
14
|
},
|
|
15
15
|
disabled: {
|
|
16
|
-
textColor: tokens.semantic.color.text.
|
|
16
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
current: {
|
|
21
|
-
textColor: tokens.semantic.color.text.
|
|
21
|
+
textColor: tokens.semantic.color.text.secondary200,
|
|
22
22
|
fontWeight: tokens.core.font.fontWeight.semiBold
|
|
23
23
|
},
|
|
24
24
|
separator: {
|
|
@@ -9,7 +9,7 @@ const theme = {
|
|
|
9
9
|
lineHeight: '1.64rem'
|
|
10
10
|
},
|
|
11
11
|
medium: {
|
|
12
|
-
borderRadius: '0.
|
|
12
|
+
borderRadius: '0.5rem',
|
|
13
13
|
padding: '0.55rem 1.2rem',
|
|
14
14
|
height: '3rem',
|
|
15
15
|
lineHeight: '1.91rem'
|
|
@@ -24,101 +24,118 @@ const theme = {
|
|
|
24
24
|
variants: {
|
|
25
25
|
primary: {
|
|
26
26
|
normal: {
|
|
27
|
-
bgColor: tokens.semantic.color.background.
|
|
28
|
-
|
|
27
|
+
bgColor: tokens.semantic.color.background.primary400,
|
|
28
|
+
borderColor: tokens.semantic.color.border.primary600,
|
|
29
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
29
30
|
},
|
|
30
31
|
hover: {
|
|
31
|
-
bgColor: tokens.semantic.color.background.
|
|
32
|
+
bgColor: tokens.semantic.color.background.primary500,
|
|
33
|
+
borderColor: tokens.semantic.color.border.primary600,
|
|
34
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
32
35
|
},
|
|
33
36
|
active: {
|
|
34
|
-
bgColor: tokens.semantic.color.background.
|
|
37
|
+
bgColor: tokens.semantic.color.background.primary600,
|
|
38
|
+
borderColor: tokens.semantic.color.border.primary800,
|
|
39
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
35
40
|
},
|
|
36
41
|
disabled: {
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
textColor: tokens.semantic.color.text.
|
|
42
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
43
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
44
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
40
45
|
}
|
|
41
46
|
},
|
|
42
47
|
destructive: {
|
|
43
48
|
normal: {
|
|
44
49
|
bgColor: tokens.semantic.color.background.danger500,
|
|
45
|
-
|
|
50
|
+
borderColor: tokens.semantic.color.border.danger700,
|
|
51
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
46
52
|
},
|
|
47
53
|
hover: {
|
|
48
|
-
bgColor: tokens.semantic.color.background.
|
|
54
|
+
bgColor: tokens.semantic.color.background.danger600,
|
|
55
|
+
borderColor: tokens.semantic.color.border.danger700,
|
|
56
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
49
57
|
},
|
|
50
58
|
active: {
|
|
51
|
-
bgColor: tokens.semantic.color.background.
|
|
59
|
+
bgColor: tokens.semantic.color.background.danger700,
|
|
60
|
+
borderColor: tokens.semantic.color.border.danger800,
|
|
61
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
52
62
|
},
|
|
53
63
|
disabled: {
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
textColor: tokens.semantic.color.text.
|
|
64
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
65
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
66
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
57
67
|
}
|
|
58
68
|
},
|
|
59
69
|
'secondary-fill': {
|
|
60
70
|
normal: {
|
|
61
|
-
bgColor: tokens.semantic.color.background.
|
|
62
|
-
|
|
71
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
72
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
73
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
63
74
|
},
|
|
64
75
|
hover: {
|
|
65
|
-
bgColor: tokens.semantic.color.background.secondary700
|
|
76
|
+
bgColor: tokens.semantic.color.background.secondary700,
|
|
77
|
+
borderColor: tokens.semantic.color.border.secondary600,
|
|
78
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
66
79
|
},
|
|
67
80
|
active: {
|
|
68
|
-
bgColor: tokens.semantic.color.background.
|
|
81
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
82
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
83
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
69
84
|
},
|
|
70
85
|
disabled: {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
textColor: tokens.semantic.color.text.
|
|
86
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
87
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
88
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
74
89
|
}
|
|
75
90
|
},
|
|
76
91
|
'secondary-invert': {
|
|
77
92
|
normal: {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
textColor: tokens.semantic.color.text.
|
|
93
|
+
bgColor: tokens.semantic.color.background.primary800,
|
|
94
|
+
borderColor: tokens.semantic.color.border.primary400,
|
|
95
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
81
96
|
},
|
|
82
97
|
hover: {
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
textColor: tokens.semantic.color.text.
|
|
98
|
+
bgColor: tokens.semantic.color.background.primary600,
|
|
99
|
+
borderColor: tokens.semantic.color.border.primary300,
|
|
100
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
86
101
|
},
|
|
87
102
|
active: {
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
textColor: tokens.semantic.color.text.
|
|
103
|
+
bgColor: tokens.semantic.color.background.primary800,
|
|
104
|
+
borderColor: tokens.semantic.color.border.primary400,
|
|
105
|
+
textColor: tokens.semantic.color.text.secondary0
|
|
91
106
|
},
|
|
92
107
|
disabled: {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
textColor: tokens.semantic.color.text.
|
|
108
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
109
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
110
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
96
111
|
}
|
|
97
112
|
},
|
|
98
113
|
'secondary-ghost': {
|
|
99
114
|
normal: {
|
|
100
|
-
borderColor: tokens.semantic.color.border.neutral700,
|
|
101
115
|
bgColor: 'transparent',
|
|
102
|
-
|
|
116
|
+
borderColor: tokens.semantic.color.border.primary300,
|
|
117
|
+
textColor: tokens.semantic.color.text.primary300
|
|
103
118
|
},
|
|
104
119
|
hover: {
|
|
105
|
-
|
|
106
|
-
|
|
120
|
+
bgColor: 'transparent',
|
|
121
|
+
borderColor: tokens.semantic.color.border.primary200,
|
|
122
|
+
textColor: tokens.semantic.color.text.primary200
|
|
107
123
|
},
|
|
108
124
|
active: {
|
|
109
|
-
|
|
110
|
-
|
|
125
|
+
bgColor: 'transparent',
|
|
126
|
+
borderColor: tokens.semantic.color.border.primary300,
|
|
127
|
+
textColor: tokens.semantic.color.text.primary300
|
|
111
128
|
},
|
|
112
129
|
disabled: {
|
|
113
130
|
bgColor: 'transparent',
|
|
114
|
-
borderColor: tokens.semantic.color.border.
|
|
115
|
-
textColor: tokens.semantic.color.text.
|
|
131
|
+
borderColor: tokens.semantic.color.border.secondary700,
|
|
132
|
+
textColor: tokens.semantic.color.text.secondary600
|
|
116
133
|
}
|
|
117
134
|
},
|
|
118
135
|
upsell: {
|
|
119
136
|
normal: {
|
|
120
137
|
bgGradient: `linear-gradient(316deg, ${tokens.semantic.color.background.discovery500} 0%, ${tokens.semantic.color.background.discovery400} 78%)`,
|
|
121
|
-
textColor: tokens.semantic.color.text.
|
|
138
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
122
139
|
borderColor: tokens.semantic.color.border.discovery600
|
|
123
140
|
},
|
|
124
141
|
hover: {
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { tokens } from '../../tokens';
|
|
2
2
|
const theme = {
|
|
3
3
|
borderRadius: '0.4rem',
|
|
4
|
-
border: `1px solid ${tokens.semantic.color.border.
|
|
5
|
-
bgColor: tokens.semantic.color.background.
|
|
4
|
+
border: `1px solid ${tokens.semantic.color.border.transparent}`,
|
|
5
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
6
6
|
fontSize: '1.4rem',
|
|
7
7
|
fontWeight: tokens.core.font.fontWeight.normal,
|
|
8
8
|
fontStyle: 'normal',
|
|
@@ -12,37 +12,50 @@ const theme = {
|
|
|
12
12
|
padding: `${tokens.core.space.space050} ${tokens.core.space.space200}`,
|
|
13
13
|
gap: tokens.core.space.space050,
|
|
14
14
|
minWidth: '6rem',
|
|
15
|
-
borderRadius: '0.
|
|
15
|
+
borderRadius: '0.3rem',
|
|
16
|
+
borderWidth: '1px',
|
|
16
17
|
toggleStates: {
|
|
17
18
|
on: {
|
|
18
19
|
normal: {
|
|
19
20
|
bgColor: tokens.semantic.color.background.primary400,
|
|
20
|
-
textColor: tokens.semantic.color.text.
|
|
21
|
-
borderColor:
|
|
21
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
22
|
+
borderColor: tokens.semantic.color.border.primary600
|
|
23
|
+
},
|
|
24
|
+
hover: {
|
|
25
|
+
bgColor: tokens.semantic.color.background.primary400,
|
|
26
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
27
|
+
borderColor: tokens.semantic.color.border.primary600
|
|
28
|
+
},
|
|
29
|
+
active: {
|
|
30
|
+
bgColor: tokens.semantic.color.background.primary400,
|
|
31
|
+
textColor: tokens.semantic.color.text.secondary0,
|
|
32
|
+
borderColor: tokens.semantic.color.border.primary600
|
|
22
33
|
},
|
|
23
34
|
disabled: {
|
|
24
|
-
bgColor: tokens.semantic.color.background.
|
|
25
|
-
textColor: tokens.semantic.color.text.
|
|
35
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
36
|
+
textColor: tokens.semantic.color.text.secondary600,
|
|
26
37
|
borderColor: 'transparent'
|
|
27
38
|
}
|
|
28
39
|
},
|
|
29
40
|
off: {
|
|
30
41
|
normal: {
|
|
31
|
-
bgColor: tokens.semantic.color.background.
|
|
32
|
-
textColor: tokens.semantic.color.text.
|
|
42
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
43
|
+
textColor: tokens.semantic.color.text.secondary300,
|
|
33
44
|
borderColor: 'transparent'
|
|
34
45
|
},
|
|
35
46
|
hover: {
|
|
36
|
-
bgColor: tokens.semantic.color.background.
|
|
47
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
48
|
+
textColor: tokens.semantic.color.text.secondary200,
|
|
37
49
|
borderColor: 'transparent'
|
|
38
50
|
},
|
|
39
51
|
active: {
|
|
40
|
-
bgColor: tokens.semantic.color.background.
|
|
52
|
+
bgColor: tokens.semantic.color.background.secondary700,
|
|
53
|
+
textColor: tokens.semantic.color.text.secondary200,
|
|
41
54
|
borderColor: 'transparent'
|
|
42
55
|
},
|
|
43
56
|
disabled: {
|
|
44
|
-
bgColor: tokens.semantic.color.background.
|
|
45
|
-
textColor: tokens.semantic.color.text.
|
|
57
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
58
|
+
textColor: tokens.semantic.color.text.secondary600,
|
|
46
59
|
borderColor: 'transparent'
|
|
47
60
|
}
|
|
48
61
|
}
|
|
@@ -4,36 +4,36 @@ const theme = {
|
|
|
4
4
|
height: 'fit-content',
|
|
5
5
|
variants: {
|
|
6
6
|
primary: {
|
|
7
|
-
bgColor: tokens.semantic.color.background.
|
|
8
|
-
borderColor: tokens.semantic.color.border.
|
|
7
|
+
bgColor: tokens.semantic.color.background.secondary900,
|
|
8
|
+
borderColor: tokens.semantic.color.border.secondary800
|
|
9
9
|
},
|
|
10
10
|
secondary: {
|
|
11
|
-
bgColor: tokens.semantic.color.background.
|
|
12
|
-
borderColor: tokens.semantic.color.border.
|
|
11
|
+
bgColor: tokens.semantic.color.background.secondary800,
|
|
12
|
+
borderColor: tokens.semantic.color.border.secondary700
|
|
13
13
|
},
|
|
14
14
|
informative: {
|
|
15
|
-
bgColor: tokens.semantic.color.background.
|
|
16
|
-
borderColor: tokens.semantic.color.border.
|
|
15
|
+
bgColor: tokens.semantic.color.background.informative900,
|
|
16
|
+
borderColor: tokens.semantic.color.border.primary500
|
|
17
17
|
},
|
|
18
18
|
success: {
|
|
19
|
-
bgColor: tokens.semantic.color.background.
|
|
20
|
-
borderColor: tokens.semantic.color.border.
|
|
19
|
+
bgColor: tokens.semantic.color.background.success900,
|
|
20
|
+
borderColor: tokens.semantic.color.border.success500
|
|
21
21
|
},
|
|
22
22
|
notice: {
|
|
23
|
-
bgColor: tokens.semantic.color.background.
|
|
24
|
-
borderColor: tokens.semantic.color.border.
|
|
23
|
+
bgColor: tokens.semantic.color.background.notice900,
|
|
24
|
+
borderColor: tokens.semantic.color.border.notice500
|
|
25
25
|
},
|
|
26
26
|
attention: {
|
|
27
|
-
bgColor: tokens.semantic.color.background.
|
|
28
|
-
borderColor: tokens.semantic.color.border.
|
|
27
|
+
bgColor: tokens.semantic.color.background.attention900,
|
|
28
|
+
borderColor: tokens.semantic.color.border.attention500
|
|
29
29
|
},
|
|
30
30
|
danger: {
|
|
31
|
-
bgColor: tokens.semantic.color.background.
|
|
32
|
-
borderColor: tokens.semantic.color.border.
|
|
31
|
+
bgColor: tokens.semantic.color.background.danger900,
|
|
32
|
+
borderColor: tokens.semantic.color.border.danger500
|
|
33
33
|
},
|
|
34
34
|
upsell: {
|
|
35
35
|
bgColor: tokens.semantic.color.background.discovery900,
|
|
36
|
-
borderColor: tokens.semantic.color.border.
|
|
36
|
+
borderColor: tokens.semantic.color.border.discovery500
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
};
|