@sanity/ui 3.3.2 → 3.3.4
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.d.mts +8 -8
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +8 -8
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +16 -16
- package/dist/index.mjs +16 -16
- package/dist/index.mjs.map +1 -1
- package/dist/tabList.js +2 -2
- package/dist/tabList.mjs +2 -2
- package/dist/tabList.mjs.map +1 -1
- package/dist/useTheme.d.mts +3 -3
- package/dist/useTheme.d.mts.map +1 -1
- package/dist/useTheme.d.ts +3 -3
- package/dist/useTheme.d.ts.map +1 -1
- package/package.json +8 -13
- package/exports/_visual-editing.ts +0 -32
- package/exports/index.ts +0 -1
- package/exports/theme.ts +0 -1
- package/src/core/_compat.ts +0 -294
- package/src/core/components/autocomplete/autocomplete.styles.tsx +0 -39
- package/src/core/components/autocomplete/autocomplete.tsx +0 -775
- package/src/core/components/autocomplete/autocompleteOption.tsx +0 -46
- package/src/core/components/autocomplete/autocompleteReducer.ts +0 -47
- package/src/core/components/autocomplete/constants.ts +0 -28
- package/src/core/components/autocomplete/index.ts +0 -2
- package/src/core/components/autocomplete/types.ts +0 -108
- package/src/core/components/breadcrumbs/breadcrumbs.styles.ts +0 -18
- package/src/core/components/breadcrumbs/breadcrumbs.test.tsx +0 -54
- package/src/core/components/breadcrumbs/breadcrumbs.tsx +0 -136
- package/src/core/components/breadcrumbs/index.ts +0 -1
- package/src/core/components/dialog/dialog.tsx +0 -433
- package/src/core/components/dialog/dialogContext.ts +0 -20
- package/src/core/components/dialog/dialogProvider.tsx +0 -35
- package/src/core/components/dialog/index.ts +0 -4
- package/src/core/components/dialog/styles.ts +0 -77
- package/src/core/components/dialog/useDialog.ts +0 -11
- package/src/core/components/hotkeys/hotkeys.test.tsx +0 -47
- package/src/core/components/hotkeys/hotkeys.tsx +0 -68
- package/src/core/components/hotkeys/index.ts +0 -1
- package/src/core/components/index.ts +0 -9
- package/src/core/components/menu/helpers.ts +0 -82
- package/src/core/components/menu/index.ts +0 -5
- package/src/core/components/menu/menu.spacing.test.tsx +0 -68
- package/src/core/components/menu/menu.test.tsx +0 -128
- package/src/core/components/menu/menu.tsx +0 -180
- package/src/core/components/menu/menuButton.tsx +0 -276
- package/src/core/components/menu/menuContext.ts +0 -18
- package/src/core/components/menu/menuDivider.ts +0 -24
- package/src/core/components/menu/menuGroup.spacing.test.tsx +0 -66
- package/src/core/components/menu/menuGroup.tsx +0 -237
- package/src/core/components/menu/menuItem.spacing.test.tsx +0 -62
- package/src/core/components/menu/menuItem.tsx +0 -201
- package/src/core/components/menu/useMenu.ts +0 -21
- package/src/core/components/menu/useMenuController.ts +0 -233
- package/src/core/components/skeleton/index.ts +0 -2
- package/src/core/components/skeleton/skeleton.tsx +0 -58
- package/src/core/components/skeleton/styles.ts +0 -50
- package/src/core/components/skeleton/textSkeleton.tsx +0 -122
- package/src/core/components/tab/index.ts +0 -3
- package/src/core/components/tab/tab.tsx +0 -102
- package/src/core/components/tab/tabList.test.tsx +0 -50
- package/src/core/components/tab/tabList.tsx +0 -71
- package/src/core/components/tab/tabPanel.tsx +0 -39
- package/src/core/components/toast/index.ts +0 -4
- package/src/core/components/toast/styles.ts +0 -77
- package/src/core/components/toast/toast.test.tsx +0 -106
- package/src/core/components/toast/toast.tsx +0 -199
- package/src/core/components/toast/toastContext.ts +0 -7
- package/src/core/components/toast/toastLayer.tsx +0 -52
- package/src/core/components/toast/toastProvider.tsx +0 -113
- package/src/core/components/toast/toastState.ts +0 -6
- package/src/core/components/toast/types.ts +0 -26
- package/src/core/components/toast/useToast.ts +0 -25
- package/src/core/components/tree/helpers.ts +0 -105
- package/src/core/components/tree/index.ts +0 -4
- package/src/core/components/tree/style.ts +0 -105
- package/src/core/components/tree/tree.test.tsx +0 -60
- package/src/core/components/tree/tree.tsx +0 -242
- package/src/core/components/tree/treeContext.ts +0 -10
- package/src/core/components/tree/treeGroup.tsx +0 -29
- package/src/core/components/tree/treeItem.test.tsx +0 -70
- package/src/core/components/tree/treeItem.tsx +0 -225
- package/src/core/components/tree/types.ts +0 -25
- package/src/core/components/tree/useTree.ts +0 -17
- package/src/core/constants.ts +0 -79
- package/src/core/helpers/animation.ts +0 -27
- package/src/core/helpers/element.ts +0 -55
- package/src/core/helpers/focus.ts +0 -100
- package/src/core/helpers/index.ts +0 -4
- package/src/core/helpers/scroll.ts +0 -15
- package/src/core/hooks/index.ts +0 -13
- package/src/core/hooks/useArrayProp.ts +0 -17
- package/src/core/hooks/useClickOutside.test.tsx +0 -510
- package/src/core/hooks/useClickOutside.ts +0 -118
- package/src/core/hooks/useClickOutsideEvent.test.tsx +0 -119
- package/src/core/hooks/useClickOutsideEvent.ts +0 -73
- package/src/core/hooks/useCustomValidity.ts +0 -13
- package/src/core/hooks/useDelayed.test.ts +0 -89
- package/src/core/hooks/useDelayedState.ts +0 -36
- package/src/core/hooks/useElementRect/index.ts +0 -1
- package/src/core/hooks/useElementRect/useElementRect.ts +0 -14
- package/src/core/hooks/useElementSize.ts +0 -19
- package/src/core/hooks/useForwardedRef.ts +0 -20
- package/src/core/hooks/useGlobalKeyDown.ts +0 -24
- package/src/core/hooks/useIsomorphicEffect.ts +0 -7
- package/src/core/hooks/useMatchMedia.ts +0 -28
- package/src/core/hooks/useMediaIndex/index.ts +0 -1
- package/src/core/hooks/useMediaIndex/useMediaIndex.test.tsx +0 -37
- package/src/core/hooks/useMediaIndex/useMediaIndex.ts +0 -102
- package/src/core/hooks/useMounted.ts +0 -15
- package/src/core/hooks/usePrefersDark.hydration.test.tsx +0 -58
- package/src/core/hooks/usePrefersDark.test.tsx +0 -21
- package/src/core/hooks/usePrefersDark.ts +0 -16
- package/src/core/hooks/usePrefersReducedMotion.hydration.test.tsx +0 -58
- package/src/core/hooks/usePrefersReducedMotion.test.tsx +0 -21
- package/src/core/hooks/usePrefersReducedMotion.ts +0 -16
- package/src/core/index.ts +0 -10
- package/src/core/lib/createGlobalScopedContext.ts +0 -37
- package/src/core/lib/globalScope.ts +0 -20
- package/src/core/lib/isRecord.ts +0 -3
- package/src/core/middleware/origin.ts +0 -47
- package/src/core/observers/elementSizeObserver.ts +0 -117
- package/src/core/observers/index.ts +0 -2
- package/src/core/observers/resizeObserver.ts +0 -9
- package/src/core/primitives/_selectable/index.ts +0 -1
- package/src/core/primitives/_selectable/selectable.tsx +0 -15
- package/src/core/primitives/_selectable/style.ts +0 -115
- package/src/core/primitives/avatar/avatar.tsx +0 -200
- package/src/core/primitives/avatar/avatarCounter.tsx +0 -91
- package/src/core/primitives/avatar/avatarStack.tsx +0 -101
- package/src/core/primitives/avatar/index.ts +0 -4
- package/src/core/primitives/avatar/styles.ts +0 -167
- package/src/core/primitives/avatar/types.ts +0 -17
- package/src/core/primitives/badge/badge.test.tsx +0 -17
- package/src/core/primitives/badge/badge.tsx +0 -72
- package/src/core/primitives/badge/index.ts +0 -1
- package/src/core/primitives/badge/styles.ts +0 -20
- package/src/core/primitives/badge/types.ts +0 -8
- package/src/core/primitives/box/box.test.tsx +0 -155
- package/src/core/primitives/box/box.tsx +0 -162
- package/src/core/primitives/box/index.ts +0 -1
- package/src/core/primitives/button/button.test.tsx +0 -86
- package/src/core/primitives/button/button.tsx +0 -214
- package/src/core/primitives/button/index.ts +0 -1
- package/src/core/primitives/button/styles.ts +0 -118
- package/src/core/primitives/card/card.tsx +0 -125
- package/src/core/primitives/card/index.ts +0 -2
- package/src/core/primitives/card/styles.ts +0 -147
- package/src/core/primitives/card/types.ts +0 -12
- package/src/core/primitives/checkbox/checkbox.tsx +0 -73
- package/src/core/primitives/checkbox/index.ts +0 -1
- package/src/core/primitives/checkbox/styles.ts +0 -128
- package/src/core/primitives/code/code.tsx +0 -56
- package/src/core/primitives/code/index.ts +0 -1
- package/src/core/primitives/code/refractor.tsx +0 -22
- package/src/core/primitives/code/styles.ts +0 -77
- package/src/core/primitives/container/container.tsx +0 -55
- package/src/core/primitives/container/index.ts +0 -2
- package/src/core/primitives/container/styles.ts +0 -23
- package/src/core/primitives/container/types.ts +0 -6
- package/src/core/primitives/flex/flex.tsx +0 -63
- package/src/core/primitives/flex/index.ts +0 -1
- package/src/core/primitives/grid/grid.test.tsx +0 -86
- package/src/core/primitives/grid/grid.tsx +0 -77
- package/src/core/primitives/grid/index.ts +0 -1
- package/src/core/primitives/heading/heading.tsx +0 -89
- package/src/core/primitives/heading/index.ts +0 -1
- package/src/core/primitives/heading/styles.ts +0 -64
- package/src/core/primitives/heading/types.ts +0 -7
- package/src/core/primitives/index.ts +0 -27
- package/src/core/primitives/inline/index.ts +0 -1
- package/src/core/primitives/inline/inline.test.tsx +0 -55
- package/src/core/primitives/inline/inline.tsx +0 -66
- package/src/core/primitives/inline/styles.ts +0 -32
- package/src/core/primitives/inline/types.ts +0 -6
- package/src/core/primitives/kbd/index.ts +0 -1
- package/src/core/primitives/kbd/kbd.tsx +0 -73
- package/src/core/primitives/label/index.ts +0 -1
- package/src/core/primitives/label/label.tsx +0 -88
- package/src/core/primitives/label/styles.ts +0 -45
- package/src/core/primitives/popover/constants.ts +0 -22
- package/src/core/primitives/popover/floating-ui/size.ts +0 -99
- package/src/core/primitives/popover/helpers.ts +0 -31
- package/src/core/primitives/popover/index.ts +0 -2
- package/src/core/primitives/popover/popover.tsx +0 -512
- package/src/core/primitives/popover/popoverCard.tsx +0 -167
- package/src/core/primitives/popover/types.ts +0 -6
- package/src/core/primitives/radio/index.ts +0 -1
- package/src/core/primitives/radio/radio.tsx +0 -51
- package/src/core/primitives/radio/styles.ts +0 -117
- package/src/core/primitives/select/index.ts +0 -1
- package/src/core/primitives/select/select.test.tsx +0 -56
- package/src/core/primitives/select/select.tsx +0 -95
- package/src/core/primitives/select/styles.ts +0 -166
- package/src/core/primitives/spinner/index.ts +0 -1
- package/src/core/primitives/spinner/spinner.tsx +0 -46
- package/src/core/primitives/stack/index.ts +0 -1
- package/src/core/primitives/stack/stack.test.tsx +0 -61
- package/src/core/primitives/stack/stack.tsx +0 -59
- package/src/core/primitives/stack/styles.ts +0 -33
- package/src/core/primitives/switch/index.ts +0 -1
- package/src/core/primitives/switch/styles.ts +0 -173
- package/src/core/primitives/switch/switch.tsx +0 -68
- package/src/core/primitives/text/index.ts +0 -1
- package/src/core/primitives/text/styles.ts +0 -74
- package/src/core/primitives/text/text.tsx +0 -90
- package/src/core/primitives/textArea/index.ts +0 -1
- package/src/core/primitives/textArea/textArea.tsx +0 -120
- package/src/core/primitives/textInput/index.ts +0 -1
- package/src/core/primitives/textInput/textInput.test.tsx +0 -52
- package/src/core/primitives/textInput/textInput.tsx +0 -398
- package/src/core/primitives/tooltip/constants.ts +0 -23
- package/src/core/primitives/tooltip/index.ts +0 -2
- package/src/core/primitives/tooltip/tooltip.test.tsx +0 -485
- package/src/core/primitives/tooltip/tooltip.tsx +0 -497
- package/src/core/primitives/tooltip/tooltipCard.tsx +0 -110
- package/src/core/primitives/tooltip/tooltipDelayGroup/index.ts +0 -4
- package/src/core/primitives/tooltip/tooltipDelayGroup/tooltipDelayGroupContext.tsx +0 -11
- package/src/core/primitives/tooltip/tooltipDelayGroup/tooltipDelayGroupProvider.tsx +0 -57
- package/src/core/primitives/tooltip/tooltipDelayGroup/types.ts +0 -12
- package/src/core/primitives/tooltip/tooltipDelayGroup/useTooltipDelayGroup.ts +0 -13
- package/src/core/primitives/types.ts +0 -179
- package/src/core/styles/border/borderStyle.ts +0 -56
- package/src/core/styles/border/index.ts +0 -2
- package/src/core/styles/border/types.ts +0 -10
- package/src/core/styles/box/boxStyle.ts +0 -69
- package/src/core/styles/box/index.ts +0 -2
- package/src/core/styles/box/types.ts +0 -11
- package/src/core/styles/card/_cardColorStyle.ts +0 -108
- package/src/core/styles/card/index.ts +0 -1
- package/src/core/styles/flex/flexItemStyle.ts +0 -27
- package/src/core/styles/flex/flexStyle.ts +0 -70
- package/src/core/styles/flex/index.ts +0 -3
- package/src/core/styles/flex/types.ts +0 -24
- package/src/core/styles/focusRing/index.ts +0 -25
- package/src/core/styles/font/codeFontStyle.ts +0 -13
- package/src/core/styles/font/headingFontStyle.ts +0 -13
- package/src/core/styles/font/index.ts +0 -6
- package/src/core/styles/font/labelFontStyle.ts +0 -13
- package/src/core/styles/font/responsiveFont.ts +0 -100
- package/src/core/styles/font/textAlignStyle.ts +0 -19
- package/src/core/styles/font/textFontStyle.ts +0 -13
- package/src/core/styles/font/types.ts +0 -33
- package/src/core/styles/grid/gridItemStyle.ts +0 -82
- package/src/core/styles/grid/gridStyle.ts +0 -109
- package/src/core/styles/grid/index.ts +0 -3
- package/src/core/styles/grid/types.ts +0 -37
- package/src/core/styles/helpers.ts +0 -72
- package/src/core/styles/index.ts +0 -5
- package/src/core/styles/input/index.ts +0 -2
- package/src/core/styles/input/responsiveInputPaddingStyle.ts +0 -78
- package/src/core/styles/input/textInputStyle.ts +0 -263
- package/src/core/styles/internal.ts +0 -12
- package/src/core/styles/margin/index.ts +0 -2
- package/src/core/styles/margin/marginStyle.ts +0 -22
- package/src/core/styles/margin/marginsStyle.test.ts +0 -34
- package/src/core/styles/margin/types.ts +0 -9
- package/src/core/styles/padding/index.ts +0 -2
- package/src/core/styles/padding/paddingStyle.test.ts +0 -34
- package/src/core/styles/padding/paddingStyle.ts +0 -22
- package/src/core/styles/padding/types.ts +0 -12
- package/src/core/styles/radius/index.ts +0 -2
- package/src/core/styles/radius/radiusStyle.ts +0 -23
- package/src/core/styles/radius/types.ts +0 -8
- package/src/core/styles/shadow/index.ts +0 -2
- package/src/core/styles/shadow/shadowStyle.ts +0 -29
- package/src/core/styles/shadow/types.ts +0 -6
- package/src/core/styles/types.ts +0 -8
- package/src/core/theme/index.ts +0 -5
- package/src/core/theme/theme.test.tsx +0 -77
- package/src/core/theme/themeColorProvider.tsx +0 -29
- package/src/core/theme/themeContext.ts +0 -10
- package/src/core/theme/themeProvider.tsx +0 -62
- package/src/core/theme/types.ts +0 -12
- package/src/core/theme/useRootTheme.ts +0 -18
- package/src/core/theme/useTheme.ts +0 -18
- package/src/core/types/avatar.ts +0 -14
- package/src/core/types/badge.ts +0 -12
- package/src/core/types/box.ts +0 -19
- package/src/core/types/button.ts +0 -21
- package/src/core/types/card.ts +0 -6
- package/src/core/types/component.ts +0 -32
- package/src/core/types/dialog.ts +0 -4
- package/src/core/types/flex.ts +0 -30
- package/src/core/types/grid.ts +0 -14
- package/src/core/types/gridItem.ts +0 -29
- package/src/core/types/index.ts +0 -15
- package/src/core/types/placement.ts +0 -18
- package/src/core/types/popover.ts +0 -4
- package/src/core/types/radius.ts +0 -4
- package/src/core/types/selectable.ts +0 -6
- package/src/core/types/text.ts +0 -4
- package/src/core/utils/arrow/arrow.tsx +0 -124
- package/src/core/utils/arrow/cmds.ts +0 -91
- package/src/core/utils/arrow/index.ts +0 -1
- package/src/core/utils/boundaryElement/boundaryElement.test.tsx +0 -105
- package/src/core/utils/boundaryElement/boundaryElementContext.ts +0 -7
- package/src/core/utils/boundaryElement/boundaryElementProvider.tsx +0 -24
- package/src/core/utils/boundaryElement/index.ts +0 -3
- package/src/core/utils/boundaryElement/types.ts +0 -7
- package/src/core/utils/boundaryElement/useBoundaryElement.ts +0 -26
- package/src/core/utils/conditionalWrapper/conditionalWrapper.tsx +0 -22
- package/src/core/utils/conditionalWrapper/index.ts +0 -1
- package/src/core/utils/elementQuery/elementQuery.tsx +0 -53
- package/src/core/utils/elementQuery/helpers.ts +0 -27
- package/src/core/utils/elementQuery/index.ts +0 -1
- package/src/core/utils/errorBoundary.tsx +0 -48
- package/src/core/utils/getElementRef.ts +0 -31
- package/src/core/utils/index.ts +0 -9
- package/src/core/utils/layer/getLayerContext.test.ts +0 -32
- package/src/core/utils/layer/getLayerContext.ts +0 -21
- package/src/core/utils/layer/index.ts +0 -4
- package/src/core/utils/layer/layer.test.tsx +0 -113
- package/src/core/utils/layer/layer.tsx +0 -99
- package/src/core/utils/layer/layerContext.ts +0 -7
- package/src/core/utils/layer/layerProvider.tsx +0 -111
- package/src/core/utils/layer/types.ts +0 -9
- package/src/core/utils/layer/useLayer.ts +0 -28
- package/src/core/utils/portal/index.ts +0 -4
- package/src/core/utils/portal/portal.test.tsx +0 -108
- package/src/core/utils/portal/portal.ts +0 -32
- package/src/core/utils/portal/portalContext.ts +0 -31
- package/src/core/utils/portal/portalProvider.tsx +0 -48
- package/src/core/utils/portal/types.ts +0 -9
- package/src/core/utils/portal/usePortal.ts +0 -25
- package/src/core/utils/spanWithTextOverflow.tsx +0 -10
- package/src/core/utils/srOnly/index.ts +0 -1
- package/src/core/utils/srOnly/srOnly.tsx +0 -36
- package/src/core/utils/virtualList/index.ts +0 -1
- package/src/core/utils/virtualList/virtualList.tsx +0 -201
- package/src/theme/build/_deprecated/color/_selectable/createSelectableTones.ts +0 -86
- package/src/theme/build/_deprecated/color/_solid/createSolidTones.ts +0 -58
- package/src/theme/build/_deprecated/color/button/createButtonModes.ts +0 -27
- package/src/theme/build/_deprecated/color/button/createButtonTones.ts +0 -60
- package/src/theme/build/_deprecated/color/card/createCardStates.ts +0 -66
- package/src/theme/build/_deprecated/color/color.test.ts +0 -67
- package/src/theme/build/_deprecated/color/defaults.ts +0 -391
- package/src/theme/build/_deprecated/color/factory.ts +0 -178
- package/src/theme/build/_deprecated/color/index.ts +0 -1
- package/src/theme/build/_deprecated/color/input/createInputModes.ts +0 -86
- package/src/theme/build/_deprecated/color/muted/createMuted.ts +0 -58
- package/src/theme/build/_deprecated/color/spot/createSpot.ts +0 -23
- package/src/theme/build/buildColorTheme.test.ts +0 -185
- package/src/theme/build/buildColorTheme.ts +0 -507
- package/src/theme/build/buildTheme.test.ts +0 -89
- package/src/theme/build/buildTheme.ts +0 -36
- package/src/theme/build/colorToken/colorToken.ts +0 -19
- package/src/theme/build/colorToken/compileColorToken.ts +0 -21
- package/src/theme/build/colorToken/index.ts +0 -2
- package/src/theme/build/colorToken/types.ts +0 -6
- package/src/theme/build/index.ts +0 -3
- package/src/theme/build/lib/color-fns/blend/index.ts +0 -3
- package/src/theme/build/lib/color-fns/blend/mix.ts +0 -21
- package/src/theme/build/lib/color-fns/blend/multiply.ts +0 -18
- package/src/theme/build/lib/color-fns/blend/screen.ts +0 -18
- package/src/theme/build/lib/color-fns/color-fns.test.ts +0 -70
- package/src/theme/build/lib/color-fns/contrastRatio.ts +0 -31
- package/src/theme/build/lib/color-fns/convert.ts +0 -150
- package/src/theme/build/lib/color-fns/index.ts +0 -6
- package/src/theme/build/lib/color-fns/parse.ts +0 -60
- package/src/theme/build/lib/color-fns/rgba.ts +0 -10
- package/src/theme/build/lib/color-fns/types.ts +0 -28
- package/src/theme/build/lib/isRecord.ts +0 -3
- package/src/theme/build/lib/lazy.ts +0 -30
- package/src/theme/build/lib/utils.ts +0 -19
- package/src/theme/build/merge.ts +0 -31
- package/src/theme/build/mixThemeColor.test.ts +0 -23
- package/src/theme/build/mixThemeColor.ts +0 -53
- package/src/theme/build/renderColorTheme.ts +0 -538
- package/src/theme/build/renderColorValue.ts +0 -83
- package/src/theme/build/resolveColorTokens.ts +0 -274
- package/src/theme/build/theme.test.ts +0 -29
- package/src/theme/config/helpers.ts +0 -60
- package/src/theme/config/index.ts +0 -4
- package/src/theme/config/system.ts +0 -117
- package/src/theme/config/tokens/color/index.ts +0 -1
- package/src/theme/config/tokens/color/types.ts +0 -135
- package/src/theme/config/tokens/index.ts +0 -4
- package/src/theme/config/tokens/parseTokenKey.test.ts +0 -66
- package/src/theme/config/tokens/parseTokenKey.ts +0 -67
- package/src/theme/config/tokens/parseTokenValue.test.ts +0 -44
- package/src/theme/config/tokens/parseTokenValue.ts +0 -134
- package/src/theme/config/tokens/types.ts +0 -53
- package/src/theme/config/types.ts +0 -46
- package/src/theme/defaults/colorPalette.ts +0 -5
- package/src/theme/defaults/colorTokens.ts +0 -648
- package/src/theme/defaults/config.ts +0 -84
- package/src/theme/defaults/fonts.ts +0 -227
- package/src/theme/getScopedTheme.ts +0 -103
- package/src/theme/index.ts +0 -5
- package/src/theme/system/avatar.ts +0 -14
- package/src/theme/system/color/_constants.ts +0 -45
- package/src/theme/system/color/_helpers.ts +0 -28
- package/src/theme/system/color/_system.ts +0 -40
- package/src/theme/system/color/avatar.ts +0 -15
- package/src/theme/system/color/badge.ts +0 -16
- package/src/theme/system/color/button.ts +0 -17
- package/src/theme/system/color/color.ts +0 -34
- package/src/theme/system/color/index.ts +0 -13
- package/src/theme/system/color/input.ts +0 -25
- package/src/theme/system/color/kbd.ts +0 -8
- package/src/theme/system/color/selectable.ts +0 -12
- package/src/theme/system/color/shadow.ts +0 -7
- package/src/theme/system/color/state.ts +0 -43
- package/src/theme/system/color/syntax.ts +0 -41
- package/src/theme/system/css.ts +0 -14
- package/src/theme/system/focusRing.ts +0 -7
- package/src/theme/system/font.ts +0 -52
- package/src/theme/system/index.ts +0 -11
- package/src/theme/system/input.ts +0 -33
- package/src/theme/system/layer.ts +0 -8
- package/src/theme/system/shadow.ts +0 -19
- package/src/theme/system/styles.ts +0 -13
- package/src/theme/system/theme.ts +0 -142
- package/src/theme/system/v0/avatar.ts +0 -10
- package/src/theme/system/v0/color/_generic.ts +0 -35
- package/src/theme/system/v0/color/_system.ts +0 -18
- package/src/theme/system/v0/color/base.ts +0 -21
- package/src/theme/system/v0/color/button.ts +0 -56
- package/src/theme/system/v0/color/card.ts +0 -25
- package/src/theme/system/v0/color/color.ts +0 -51
- package/src/theme/system/v0/color/index.ts +0 -11
- package/src/theme/system/v0/color/input.ts +0 -40
- package/src/theme/system/v0/color/muted.ts +0 -37
- package/src/theme/system/v0/color/selectable.ts +0 -42
- package/src/theme/system/v0/color/solid.ts +0 -37
- package/src/theme/system/v0/color/spot.ts +0 -14
- package/src/theme/system/v0/index.ts +0 -3
- package/src/theme/system/v0/input.ts +0 -23
- package/src/theme/versioning/getTheme_v2.ts +0 -72
- package/src/theme/versioning/index.ts +0 -5
- package/src/theme/versioning/is_v0.ts +0 -6
- package/src/theme/versioning/is_v2.ts +0 -6
- package/src/theme/versioning/themeColor_v0_v2.ts +0 -250
- package/src/theme/versioning/themeColor_v2_v2_9.ts +0 -50
- package/src/theme/versioning/v0_v2.ts +0 -106
- package/src/theme/versioning/v2_v0.ts +0 -153
|
@@ -1,648 +0,0 @@
|
|
|
1
|
-
import {ThemeColorTokens} from '../config'
|
|
2
|
-
|
|
3
|
-
export const defaultColorTokens: ThemeColorTokens = {
|
|
4
|
-
base: {
|
|
5
|
-
'*': {
|
|
6
|
-
_blend: ['multiply', 'screen'],
|
|
7
|
-
accent: {
|
|
8
|
-
fg: ['purple/600', 'purple/400'],
|
|
9
|
-
},
|
|
10
|
-
avatar: {
|
|
11
|
-
'*': {
|
|
12
|
-
_blend: ['screen', 'multiply'],
|
|
13
|
-
bg: ['500', '400'],
|
|
14
|
-
fg: ['white', 'black'],
|
|
15
|
-
},
|
|
16
|
-
},
|
|
17
|
-
backdrop: ['gray/200/0.5', 'black/0.5'],
|
|
18
|
-
badge: {
|
|
19
|
-
'*': {
|
|
20
|
-
bg: ['100', '900'],
|
|
21
|
-
fg: ['600', '400'],
|
|
22
|
-
icon: ['500', '500'],
|
|
23
|
-
dot: ['500', '500'],
|
|
24
|
-
},
|
|
25
|
-
'positive': {
|
|
26
|
-
bg: ['200 50%', '900'],
|
|
27
|
-
fg: ['600', '500'],
|
|
28
|
-
},
|
|
29
|
-
'caution': {
|
|
30
|
-
bg: ['200 50%', '900'],
|
|
31
|
-
fg: ['600', '500'],
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
bg: ['50', '950'],
|
|
35
|
-
border: ['200', '800'],
|
|
36
|
-
code: {
|
|
37
|
-
bg: ['50', '950'],
|
|
38
|
-
fg: ['600', '400'],
|
|
39
|
-
},
|
|
40
|
-
fg: ['800', '200'],
|
|
41
|
-
focusRing: ['blue/500', 'blue/500'],
|
|
42
|
-
icon: ['600', '400'],
|
|
43
|
-
kbd: {
|
|
44
|
-
bg: ['white', 'black'],
|
|
45
|
-
fg: ['600', '400'],
|
|
46
|
-
border: ['200', '800'],
|
|
47
|
-
},
|
|
48
|
-
link: {
|
|
49
|
-
fg: ['blue/600', 'blue/300'],
|
|
50
|
-
},
|
|
51
|
-
muted: {
|
|
52
|
-
bg: ['50', '950'],
|
|
53
|
-
fg: ['700 75%', '300 75%'],
|
|
54
|
-
},
|
|
55
|
-
shadow: {
|
|
56
|
-
outline: ['500/0.3', '500/0.4'],
|
|
57
|
-
umbra: ['gray/500/0.1', 'black/0.2'],
|
|
58
|
-
penumbra: ['gray/500/0.07', 'black/0.14'],
|
|
59
|
-
ambient: ['gray/500/0.06', 'black/0.12'],
|
|
60
|
-
},
|
|
61
|
-
skeleton: {
|
|
62
|
-
from: ['100', '900'],
|
|
63
|
-
to: ['100 50%', '900 50%'],
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
|
-
'transparent': {
|
|
67
|
-
bg: ['50', 'black'],
|
|
68
|
-
},
|
|
69
|
-
'default': {
|
|
70
|
-
bg: ['white', '950'],
|
|
71
|
-
fg: ['800', '200'],
|
|
72
|
-
muted: {
|
|
73
|
-
fg: ['600', '400'],
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
'primary': {_hue: 'blue'},
|
|
77
|
-
'suggest': {_hue: 'purple'},
|
|
78
|
-
'positive': {
|
|
79
|
-
_hue: 'green',
|
|
80
|
-
shadow: {outline: ['500/0.4', '500/0.4']},
|
|
81
|
-
},
|
|
82
|
-
'caution': {
|
|
83
|
-
_hue: 'yellow',
|
|
84
|
-
shadow: {outline: ['600/0.3', '500/0.4']},
|
|
85
|
-
},
|
|
86
|
-
'critical': {_hue: 'red'},
|
|
87
|
-
},
|
|
88
|
-
button: {
|
|
89
|
-
default: {
|
|
90
|
-
'*': {
|
|
91
|
-
'*': {
|
|
92
|
-
_blend: ['screen', 'multiply'],
|
|
93
|
-
accent: {
|
|
94
|
-
fg: ['purple/300', 'purple/700'],
|
|
95
|
-
},
|
|
96
|
-
avatar: {
|
|
97
|
-
'*': {
|
|
98
|
-
_blend: ['screen', 'multiply'],
|
|
99
|
-
bg: ['500', '400'],
|
|
100
|
-
fg: ['white', 'black'],
|
|
101
|
-
},
|
|
102
|
-
},
|
|
103
|
-
badge: {
|
|
104
|
-
'*': {
|
|
105
|
-
bg: ['900', '100'],
|
|
106
|
-
fg: ['400', '600'],
|
|
107
|
-
dot: ['500', '500'],
|
|
108
|
-
icon: ['500', '500'],
|
|
109
|
-
},
|
|
110
|
-
},
|
|
111
|
-
bg: ['500', '400'],
|
|
112
|
-
border: ['500/0', '400/0'],
|
|
113
|
-
code: {
|
|
114
|
-
bg: ['500 20%', '400 20%'],
|
|
115
|
-
fg: ['200', '600'],
|
|
116
|
-
},
|
|
117
|
-
fg: ['white', 'black'],
|
|
118
|
-
icon: ['100 70%', '900 70%'],
|
|
119
|
-
kbd: {
|
|
120
|
-
bg: ['black', 'white'],
|
|
121
|
-
fg: ['200', '600'],
|
|
122
|
-
border: ['800', '200'],
|
|
123
|
-
},
|
|
124
|
-
link: {
|
|
125
|
-
fg: ['blue/200', 'blue/600'],
|
|
126
|
-
},
|
|
127
|
-
muted: {
|
|
128
|
-
bg: ['950', '50'],
|
|
129
|
-
fg: ['100 70%', '900 70%'],
|
|
130
|
-
},
|
|
131
|
-
skeleton: {
|
|
132
|
-
from: ['900', '100'],
|
|
133
|
-
to: ['900 50%', '100 50%'],
|
|
134
|
-
},
|
|
135
|
-
},
|
|
136
|
-
'hovered': {
|
|
137
|
-
bg: ['600', '300'],
|
|
138
|
-
border: ['700/0', '300/0'],
|
|
139
|
-
},
|
|
140
|
-
'pressed': {
|
|
141
|
-
bg: ['700', '300'],
|
|
142
|
-
},
|
|
143
|
-
'selected': {
|
|
144
|
-
bg: ['700', '300'],
|
|
145
|
-
},
|
|
146
|
-
'disabled': {
|
|
147
|
-
_hue: 'gray',
|
|
148
|
-
accent: {
|
|
149
|
-
fg: ['100 70%', '900 70%'],
|
|
150
|
-
},
|
|
151
|
-
avatar: {
|
|
152
|
-
'*': {
|
|
153
|
-
_blend: ['screen', 'multiply'],
|
|
154
|
-
bg: ['gray/500', 'gray/400'],
|
|
155
|
-
fg: ['white', 'black'],
|
|
156
|
-
},
|
|
157
|
-
},
|
|
158
|
-
badge: {
|
|
159
|
-
'*': {
|
|
160
|
-
bg: ['gray/700', 'gray/300'],
|
|
161
|
-
fg: ['white', 'black'],
|
|
162
|
-
dot: ['white', 'black'],
|
|
163
|
-
icon: ['white', 'black'],
|
|
164
|
-
},
|
|
165
|
-
},
|
|
166
|
-
bg: ['300', '600'],
|
|
167
|
-
code: {
|
|
168
|
-
bg: ['950', '50'],
|
|
169
|
-
fg: ['300', '600'],
|
|
170
|
-
},
|
|
171
|
-
fg: ['300', '600'],
|
|
172
|
-
muted: {
|
|
173
|
-
bg: ['950', '50'],
|
|
174
|
-
fg: ['300', '600'],
|
|
175
|
-
},
|
|
176
|
-
kbd: {
|
|
177
|
-
bg: ['black', 'white'],
|
|
178
|
-
fg: ['white', 'black'],
|
|
179
|
-
border: ['700', '300'],
|
|
180
|
-
},
|
|
181
|
-
link: {
|
|
182
|
-
fg: ['100 70%', '900 70%'],
|
|
183
|
-
},
|
|
184
|
-
},
|
|
185
|
-
},
|
|
186
|
-
'default': {
|
|
187
|
-
'*': {
|
|
188
|
-
avatar: {
|
|
189
|
-
'*': {
|
|
190
|
-
_blend: ['screen', 'multiply'],
|
|
191
|
-
bg: ['500', '400'],
|
|
192
|
-
fg: ['white', 'black'],
|
|
193
|
-
},
|
|
194
|
-
},
|
|
195
|
-
bg: ['800', '200'],
|
|
196
|
-
muted: {
|
|
197
|
-
bg: ['950', '50'],
|
|
198
|
-
fg: ['400', '600'],
|
|
199
|
-
},
|
|
200
|
-
},
|
|
201
|
-
'hovered': {
|
|
202
|
-
bg: ['900', '100'],
|
|
203
|
-
},
|
|
204
|
-
'pressed': {
|
|
205
|
-
bg: ['black', 'white'],
|
|
206
|
-
},
|
|
207
|
-
'selected': {
|
|
208
|
-
bg: ['black', 'white'],
|
|
209
|
-
},
|
|
210
|
-
},
|
|
211
|
-
},
|
|
212
|
-
ghost: {
|
|
213
|
-
'*': {
|
|
214
|
-
'*': {
|
|
215
|
-
_blend: ['multiply', 'screen'],
|
|
216
|
-
accent: {
|
|
217
|
-
fg: ['purple/700 60%', 'purple/300 70%'],
|
|
218
|
-
},
|
|
219
|
-
avatar: {
|
|
220
|
-
'*': {
|
|
221
|
-
_blend: ['screen', 'multiply'],
|
|
222
|
-
bg: ['500', '400'],
|
|
223
|
-
fg: ['white', 'black'],
|
|
224
|
-
},
|
|
225
|
-
},
|
|
226
|
-
badge: {
|
|
227
|
-
'*': {
|
|
228
|
-
bg: ['100', '900'],
|
|
229
|
-
fg: ['600', '400'],
|
|
230
|
-
dot: ['500', '500'],
|
|
231
|
-
icon: ['500', '500'],
|
|
232
|
-
},
|
|
233
|
-
},
|
|
234
|
-
bg: ['50', '950'],
|
|
235
|
-
border: ['100', '900'],
|
|
236
|
-
code: {
|
|
237
|
-
bg: ['500 10%', '400 10%'],
|
|
238
|
-
fg: ['700 60%', '400 60%'],
|
|
239
|
-
},
|
|
240
|
-
fg: ['600', '400'],
|
|
241
|
-
icon: ['700 60%', '300 60%'],
|
|
242
|
-
kbd: {
|
|
243
|
-
bg: ['white', 'black'],
|
|
244
|
-
fg: ['600', '400'],
|
|
245
|
-
border: ['200', '800'],
|
|
246
|
-
},
|
|
247
|
-
link: {
|
|
248
|
-
fg: ['blue/700 60%', 'blue/300 60%'],
|
|
249
|
-
},
|
|
250
|
-
muted: {
|
|
251
|
-
bg: ['100', '950'],
|
|
252
|
-
fg: ['700 60%', '300 60%'],
|
|
253
|
-
},
|
|
254
|
-
skeleton: {
|
|
255
|
-
from: ['100', '900'],
|
|
256
|
-
to: ['100 50%', '900 50%'],
|
|
257
|
-
},
|
|
258
|
-
},
|
|
259
|
-
'hovered': {
|
|
260
|
-
bg: ['100', '900'],
|
|
261
|
-
fg: ['700', '300'],
|
|
262
|
-
},
|
|
263
|
-
'pressed': {
|
|
264
|
-
bg: ['200', '800'],
|
|
265
|
-
fg: ['800', '200'],
|
|
266
|
-
},
|
|
267
|
-
'selected': {
|
|
268
|
-
bg: ['200', '800'],
|
|
269
|
-
fg: ['800', '200'],
|
|
270
|
-
},
|
|
271
|
-
'disabled': {
|
|
272
|
-
_hue: 'gray',
|
|
273
|
-
accent: {
|
|
274
|
-
fg: ['200', '800'],
|
|
275
|
-
},
|
|
276
|
-
avatar: {
|
|
277
|
-
'*': {
|
|
278
|
-
_blend: ['screen', 'multiply'],
|
|
279
|
-
bg: ['gray/100', 'gray/900'],
|
|
280
|
-
fg: ['white', 'black'],
|
|
281
|
-
},
|
|
282
|
-
},
|
|
283
|
-
badge: {
|
|
284
|
-
'*': {
|
|
285
|
-
_hue: 'gray',
|
|
286
|
-
bg: ['50', '950'],
|
|
287
|
-
fg: ['gray/200', 'gray/800'],
|
|
288
|
-
dot: ['gray/200', 'gray/800'],
|
|
289
|
-
icon: ['gray/200', 'gray/800'],
|
|
290
|
-
},
|
|
291
|
-
},
|
|
292
|
-
border: ['100', '900'],
|
|
293
|
-
code: {
|
|
294
|
-
bg: ['50', '950'],
|
|
295
|
-
fg: ['200', '800'],
|
|
296
|
-
},
|
|
297
|
-
fg: ['400', '600'],
|
|
298
|
-
icon: ['300', '700'],
|
|
299
|
-
muted: {
|
|
300
|
-
fg: ['300', '700'],
|
|
301
|
-
},
|
|
302
|
-
kbd: {
|
|
303
|
-
bg: ['white', 'black'],
|
|
304
|
-
fg: ['200', '800'],
|
|
305
|
-
border: ['100', '900'],
|
|
306
|
-
},
|
|
307
|
-
link: {
|
|
308
|
-
fg: ['200', '800'],
|
|
309
|
-
},
|
|
310
|
-
},
|
|
311
|
-
},
|
|
312
|
-
'positive': {
|
|
313
|
-
'*': {
|
|
314
|
-
border: ['600 20%', '800'],
|
|
315
|
-
},
|
|
316
|
-
},
|
|
317
|
-
'caution': {
|
|
318
|
-
'*': {
|
|
319
|
-
border: ['600 20%', '800'],
|
|
320
|
-
},
|
|
321
|
-
},
|
|
322
|
-
},
|
|
323
|
-
bleed: {
|
|
324
|
-
'*': {
|
|
325
|
-
'*': {
|
|
326
|
-
_blend: ['multiply', 'screen'],
|
|
327
|
-
accent: {
|
|
328
|
-
fg: ['purple/700 70%', 'purple/300 70%'],
|
|
329
|
-
},
|
|
330
|
-
avatar: {
|
|
331
|
-
'*': {
|
|
332
|
-
_blend: ['screen', 'multiply'],
|
|
333
|
-
bg: ['500', '400'],
|
|
334
|
-
fg: ['white', 'black'],
|
|
335
|
-
},
|
|
336
|
-
},
|
|
337
|
-
badge: {
|
|
338
|
-
'*': {
|
|
339
|
-
bg: ['100', '900'],
|
|
340
|
-
fg: ['600', '400'],
|
|
341
|
-
dot: ['500', '500'],
|
|
342
|
-
icon: ['500', '500'],
|
|
343
|
-
},
|
|
344
|
-
},
|
|
345
|
-
bg: ['white', 'black'],
|
|
346
|
-
border: ['white/0', 'black/0'],
|
|
347
|
-
code: {
|
|
348
|
-
bg: ['50', '950'],
|
|
349
|
-
fg: ['700 75%', '300 75%'],
|
|
350
|
-
},
|
|
351
|
-
fg: ['700', '300'],
|
|
352
|
-
icon: ['700 75%', '300 75%'],
|
|
353
|
-
kbd: {
|
|
354
|
-
bg: ['white', 'black'],
|
|
355
|
-
fg: ['700', '300'],
|
|
356
|
-
border: ['200', '800'],
|
|
357
|
-
},
|
|
358
|
-
link: {
|
|
359
|
-
fg: ['blue/700 70%', 'blue/300 70%'],
|
|
360
|
-
},
|
|
361
|
-
muted: {
|
|
362
|
-
bg: ['100', '950'],
|
|
363
|
-
fg: ['700 75%', '300 75%'],
|
|
364
|
-
},
|
|
365
|
-
skeleton: {
|
|
366
|
-
from: ['100', '900'],
|
|
367
|
-
to: ['100 50%', '900 50%'],
|
|
368
|
-
},
|
|
369
|
-
},
|
|
370
|
-
'hovered': {
|
|
371
|
-
bg: ['50', '900'],
|
|
372
|
-
fg: ['800', '200'],
|
|
373
|
-
icon: ['800 70%', '300 70%'],
|
|
374
|
-
},
|
|
375
|
-
'pressed': {
|
|
376
|
-
bg: ['100', '800'],
|
|
377
|
-
fg: ['800', '200'],
|
|
378
|
-
icon: ['800 70%', '200 70%'],
|
|
379
|
-
},
|
|
380
|
-
'selected': {
|
|
381
|
-
bg: ['100', '900'],
|
|
382
|
-
fg: ['800', '200'],
|
|
383
|
-
icon: ['800 60%', '200 60%'],
|
|
384
|
-
},
|
|
385
|
-
'disabled': {
|
|
386
|
-
_hue: 'gray',
|
|
387
|
-
accent: {
|
|
388
|
-
fg: ['200', '800'],
|
|
389
|
-
},
|
|
390
|
-
avatar: {
|
|
391
|
-
'*': {
|
|
392
|
-
_blend: ['screen', 'multiply'],
|
|
393
|
-
bg: ['gray/100', 'gray/900'],
|
|
394
|
-
fg: ['white', 'black'],
|
|
395
|
-
},
|
|
396
|
-
},
|
|
397
|
-
badge: {
|
|
398
|
-
'*': {
|
|
399
|
-
_hue: 'gray',
|
|
400
|
-
bg: ['50', '950'],
|
|
401
|
-
fg: ['gray/200', 'gray/800'],
|
|
402
|
-
dot: ['gray/200', 'gray/800'],
|
|
403
|
-
icon: ['gray/200', 'gray/800'],
|
|
404
|
-
},
|
|
405
|
-
},
|
|
406
|
-
code: {
|
|
407
|
-
bg: ['50', '950'],
|
|
408
|
-
fg: ['200', '800'],
|
|
409
|
-
},
|
|
410
|
-
fg: ['400', '600'],
|
|
411
|
-
icon: ['300', '700'],
|
|
412
|
-
muted: {
|
|
413
|
-
fg: ['400', '600'],
|
|
414
|
-
},
|
|
415
|
-
kbd: {
|
|
416
|
-
bg: ['white', 'black'],
|
|
417
|
-
fg: ['200', '800'],
|
|
418
|
-
border: ['100', '900'],
|
|
419
|
-
},
|
|
420
|
-
link: {
|
|
421
|
-
fg: ['200', '800'],
|
|
422
|
-
},
|
|
423
|
-
},
|
|
424
|
-
},
|
|
425
|
-
},
|
|
426
|
-
},
|
|
427
|
-
input: {
|
|
428
|
-
'*': {
|
|
429
|
-
'*': {
|
|
430
|
-
_blend: ['multiply', 'screen'],
|
|
431
|
-
bg: ['white', 'black'],
|
|
432
|
-
border: ['200', '700'],
|
|
433
|
-
fg: ['black', '200'],
|
|
434
|
-
muted: {
|
|
435
|
-
bg: ['50', '950'],
|
|
436
|
-
},
|
|
437
|
-
placeholder: ['400', '600'],
|
|
438
|
-
},
|
|
439
|
-
'hovered': {
|
|
440
|
-
border: ['300', '700'],
|
|
441
|
-
},
|
|
442
|
-
'readOnly': {
|
|
443
|
-
bg: ['50', '950'],
|
|
444
|
-
border: ['200', '800'],
|
|
445
|
-
fg: ['800', '200'],
|
|
446
|
-
},
|
|
447
|
-
'disabled': {
|
|
448
|
-
bg: ['50', '950'],
|
|
449
|
-
fg: ['400', '600'],
|
|
450
|
-
border: ['100', '900'],
|
|
451
|
-
placeholder: ['200', '800 50%'],
|
|
452
|
-
},
|
|
453
|
-
},
|
|
454
|
-
'invalid': {
|
|
455
|
-
'*': {
|
|
456
|
-
_hue: 'red',
|
|
457
|
-
bg: ['100', '950'],
|
|
458
|
-
},
|
|
459
|
-
},
|
|
460
|
-
},
|
|
461
|
-
selectable: {
|
|
462
|
-
'*': {
|
|
463
|
-
'*': {
|
|
464
|
-
_blend: ['multiply', 'screen'],
|
|
465
|
-
accent: {
|
|
466
|
-
fg: ['purple/700 70%', 'purple/300 70%'],
|
|
467
|
-
},
|
|
468
|
-
avatar: {
|
|
469
|
-
'*': {
|
|
470
|
-
_blend: ['screen', 'multiply'],
|
|
471
|
-
bg: ['500', '400'],
|
|
472
|
-
fg: ['white', 'black'],
|
|
473
|
-
},
|
|
474
|
-
},
|
|
475
|
-
badge: {
|
|
476
|
-
'*': {
|
|
477
|
-
bg: ['100', '900'],
|
|
478
|
-
fg: ['600', '400'],
|
|
479
|
-
dot: ['500', '500'],
|
|
480
|
-
icon: ['500', '500'],
|
|
481
|
-
},
|
|
482
|
-
},
|
|
483
|
-
bg: ['white', 'black'],
|
|
484
|
-
border: ['200', '800'],
|
|
485
|
-
code: {
|
|
486
|
-
bg: ['50', '950'],
|
|
487
|
-
fg: ['600', '400'],
|
|
488
|
-
},
|
|
489
|
-
fg: ['700', '300'],
|
|
490
|
-
icon: ['700 75%', '300 75%'],
|
|
491
|
-
kbd: {
|
|
492
|
-
bg: ['white', 'black'],
|
|
493
|
-
fg: ['600', '400'],
|
|
494
|
-
border: ['200', '800'],
|
|
495
|
-
},
|
|
496
|
-
link: {
|
|
497
|
-
fg: ['blue/700 70%', 'blue/300 70%'],
|
|
498
|
-
},
|
|
499
|
-
muted: {
|
|
500
|
-
bg: ['50', '950'],
|
|
501
|
-
fg: ['700 75%', '300 75%'],
|
|
502
|
-
},
|
|
503
|
-
skeleton: {
|
|
504
|
-
from: ['100', '900'],
|
|
505
|
-
to: ['100 50%', '900 50%'],
|
|
506
|
-
},
|
|
507
|
-
},
|
|
508
|
-
'hovered': {
|
|
509
|
-
bg: ['50', '950'],
|
|
510
|
-
},
|
|
511
|
-
'pressed': {
|
|
512
|
-
bg: ['100', '900'],
|
|
513
|
-
},
|
|
514
|
-
'selected': {
|
|
515
|
-
_blend: ['screen', 'multiply'],
|
|
516
|
-
accent: {
|
|
517
|
-
fg: ['purple/300', 'purple/700'],
|
|
518
|
-
},
|
|
519
|
-
avatar: {
|
|
520
|
-
'*': {
|
|
521
|
-
_blend: ['multiply', 'screen'],
|
|
522
|
-
bg: ['white', 'black'],
|
|
523
|
-
fg: ['black', 'white'],
|
|
524
|
-
},
|
|
525
|
-
},
|
|
526
|
-
badge: {
|
|
527
|
-
'*': {
|
|
528
|
-
bg: ['900', '100'],
|
|
529
|
-
fg: ['400', '600'],
|
|
530
|
-
dot: ['500', '500'],
|
|
531
|
-
icon: ['500', '500'],
|
|
532
|
-
},
|
|
533
|
-
},
|
|
534
|
-
bg: ['500', '400'],
|
|
535
|
-
border: ['500 20%', '400 20%'],
|
|
536
|
-
code: {
|
|
537
|
-
bg: ['500 20%', '400 20%'],
|
|
538
|
-
fg: ['200', '600'],
|
|
539
|
-
},
|
|
540
|
-
fg: ['white', 'black'],
|
|
541
|
-
icon: ['100 70%', '900 70%'],
|
|
542
|
-
kbd: {
|
|
543
|
-
bg: ['black', 'white'],
|
|
544
|
-
fg: ['200', '600'],
|
|
545
|
-
border: ['800', '200'],
|
|
546
|
-
},
|
|
547
|
-
link: {
|
|
548
|
-
fg: ['blue/200', 'blue/600'],
|
|
549
|
-
},
|
|
550
|
-
muted: {
|
|
551
|
-
bg: ['500 10%', '400 10%'],
|
|
552
|
-
fg: ['100 70%', '900 70%'],
|
|
553
|
-
},
|
|
554
|
-
skeleton: {
|
|
555
|
-
from: ['900', '100'],
|
|
556
|
-
to: ['900 50%', '100 50%'],
|
|
557
|
-
},
|
|
558
|
-
},
|
|
559
|
-
'disabled': {
|
|
560
|
-
_hue: 'gray',
|
|
561
|
-
accent: {
|
|
562
|
-
fg: ['200', '800'],
|
|
563
|
-
},
|
|
564
|
-
avatar: {
|
|
565
|
-
'*': {
|
|
566
|
-
_blend: ['screen', 'multiply'],
|
|
567
|
-
bg: ['gray/100', 'gray/900'],
|
|
568
|
-
fg: ['white', 'black'],
|
|
569
|
-
},
|
|
570
|
-
},
|
|
571
|
-
badge: {
|
|
572
|
-
'*': {
|
|
573
|
-
_hue: 'gray',
|
|
574
|
-
bg: ['50', '950'],
|
|
575
|
-
fg: ['gray/200', 'gray/800'],
|
|
576
|
-
dot: ['gray/200', 'gray/800'],
|
|
577
|
-
icon: ['gray/200', 'gray/800'],
|
|
578
|
-
},
|
|
579
|
-
},
|
|
580
|
-
border: ['100', '900'],
|
|
581
|
-
code: {
|
|
582
|
-
bg: ['50', '950'],
|
|
583
|
-
fg: ['200', '800'],
|
|
584
|
-
},
|
|
585
|
-
fg: ['200', '800'],
|
|
586
|
-
icon: ['200', '800'],
|
|
587
|
-
kbd: {
|
|
588
|
-
bg: ['white', 'black'],
|
|
589
|
-
fg: ['200', '800'],
|
|
590
|
-
border: ['100', '900'],
|
|
591
|
-
},
|
|
592
|
-
link: {
|
|
593
|
-
fg: ['200', '800'],
|
|
594
|
-
},
|
|
595
|
-
muted: {
|
|
596
|
-
bg: ['50 50%', '950 50%'],
|
|
597
|
-
fg: ['200', '800'],
|
|
598
|
-
},
|
|
599
|
-
},
|
|
600
|
-
},
|
|
601
|
-
'default': {
|
|
602
|
-
selected: {
|
|
603
|
-
_hue: 'blue',
|
|
604
|
-
},
|
|
605
|
-
},
|
|
606
|
-
'critical': {
|
|
607
|
-
disabled: {
|
|
608
|
-
bg: ['50 50%', '950 50%'],
|
|
609
|
-
},
|
|
610
|
-
},
|
|
611
|
-
},
|
|
612
|
-
syntax: {
|
|
613
|
-
atrule: ['purple/600', 'purple/400'],
|
|
614
|
-
attrName: ['green/600', 'green/400'],
|
|
615
|
-
attrValue: ['yellow/600', 'yellow/400'],
|
|
616
|
-
attribute: ['yellow/600', 'yellow/400'],
|
|
617
|
-
boolean: ['purple/600', 'purple/400'],
|
|
618
|
-
builtin: ['purple/600', 'purple/400'],
|
|
619
|
-
cdata: ['yellow/600', 'yellow/400'],
|
|
620
|
-
char: ['yellow/600', 'yellow/400'],
|
|
621
|
-
class: ['orange/600', 'orange/400'],
|
|
622
|
-
className: ['cyan/600', 'cyan/400'],
|
|
623
|
-
comment: ['gray/400', 'gray/600'],
|
|
624
|
-
constant: ['purple/600', 'purple/400'],
|
|
625
|
-
deleted: ['red/600', 'red/400'],
|
|
626
|
-
entity: ['red/600', 'red/400'],
|
|
627
|
-
function: ['green/600', 'green/400'],
|
|
628
|
-
hexcode: ['blue/600', 'blue/400'],
|
|
629
|
-
id: ['purple/600', 'purple/400'],
|
|
630
|
-
important: ['purple/600', 'purple/400'],
|
|
631
|
-
inserted: ['yellow/600', 'yellow/400'],
|
|
632
|
-
keyword: ['magenta/600', 'magenta/400'],
|
|
633
|
-
number: ['purple/600', 'purple/400'],
|
|
634
|
-
operator: ['magenta/600', 'magenta/400'],
|
|
635
|
-
property: ['blue/600', 'blue/400'],
|
|
636
|
-
pseudoClass: ['yellow/600', 'yellow/400'],
|
|
637
|
-
pseudoElement: ['yellow/600', 'yellow/400'],
|
|
638
|
-
punctuation: ['gray/600', 'gray/400'],
|
|
639
|
-
regex: ['blue/600', 'blue/400'],
|
|
640
|
-
selector: ['red/600', 'red/400'],
|
|
641
|
-
string: ['yellow/600', 'yellow/400'],
|
|
642
|
-
symbol: ['purple/600', 'purple/400'],
|
|
643
|
-
tag: ['red/600', 'red/400'],
|
|
644
|
-
unit: ['orange/600', 'orange/400'],
|
|
645
|
-
url: ['red/600', 'red/400'],
|
|
646
|
-
variable: ['red/600', 'red/400'],
|
|
647
|
-
},
|
|
648
|
-
}
|