@televet/kibble-ui 1.2.1 → 1.2.2-beta.2p81ym7.2
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/build/components/Button/button.model.d.ts +5 -0
- package/build/components/Button/button.records.d.ts +2 -0
- package/build/components/Drawer/drawer.records.d.ts +13 -0
- package/build/components/Modal/index.d.ts +2 -0
- package/build/components/Modal/modal-section.component.d.ts +7 -0
- package/build/components/Modal/modal.component.d.ts +24 -0
- package/build/components/Modal/modal.types.d.ts +1 -0
- package/build/components/Tooltip/tooltip.model.d.ts +4 -0
- package/build/components/Tooltip/tooltip.records.d.ts +9 -0
- package/build/components/Typography/Heading/heading.component.d.ts +4 -3
- package/build/components/Typography/Heading/heading.records.d.ts +2 -0
- package/build/components/Typography/Text/text.component.d.ts +6 -2
- package/build/components/Typography/Text/text.records.d.ts +2 -0
- package/build/components/Typography/Text/text.types.d.ts +1 -0
- package/build/components/Typography/index.d.ts +1 -0
- package/build/components/Typography/typography.types.d.ts +1 -0
- package/build/index.js +243 -221
- package/build/index.js.map +1 -1
- package/build/theme/theme.model.d.ts +37 -0
- package/build/theme/theme.record.d.ts +2 -0
- package/build/theme/theme.types.d.ts +1 -2
- package/build/theme/tokens/colors/color.model.d.ts +64 -0
- package/build/theme/tokens/colors/color.type.d.ts +9 -0
- package/build/theme/tokens/colors/color.types.d.ts +2 -23
- package/build/theme/tokens/fontWeights.d.ts +3 -12
- package/package.json +1 -1
package/build/index.js
CHANGED
|
@@ -2219,93 +2219,14 @@ function __rest(s, e) {
|
|
|
2219
2219
|
}
|
|
2220
2220
|
|
|
2221
2221
|
var Heading = function (_a) {
|
|
2222
|
-
var children = _a.children, _b = _a.size, size = _b === void 0 ? 'lg' : _b,
|
|
2223
|
-
var
|
|
2222
|
+
var children = _a.children, _b = _a.size, size = _b === void 0 ? 'lg' : _b, color = _a.color, darkMode = _a.darkMode, rest = __rest(_a, ["children", "size", "color", "darkMode"]);
|
|
2223
|
+
var _c = useTheme(), components = _c.components, colors = _c.colors;
|
|
2224
|
+
var darkColor = colors.text.dark[color || 'headline'];
|
|
2225
|
+
var adaptiveColor = useAdaptiveColorMap(colors.text, color || 'headline');
|
|
2226
|
+
var variant = react.useBreakpointValue({ base: 'small', md: 'large' }) || 'small';
|
|
2224
2227
|
var sizes = components.Heading.variants[variant].sizes;
|
|
2225
2228
|
var sizeProps = !sizes ? undefined : sizes[size];
|
|
2226
|
-
return (React__default["default"].createElement(react.Heading, __assign({ variant: variant }, sizeProps, rest), children));
|
|
2227
|
-
};
|
|
2228
|
-
|
|
2229
|
-
var HeadingConfig = {
|
|
2230
|
-
variants: {
|
|
2231
|
-
large: {
|
|
2232
|
-
sizes: {
|
|
2233
|
-
xs: {
|
|
2234
|
-
fontSize: '14px',
|
|
2235
|
-
lineHeight: '120%',
|
|
2236
|
-
},
|
|
2237
|
-
sm: {
|
|
2238
|
-
fontSize: '16px',
|
|
2239
|
-
lineHeight: '120%',
|
|
2240
|
-
},
|
|
2241
|
-
md: {
|
|
2242
|
-
fontSize: '20px',
|
|
2243
|
-
lineHeight: '120%',
|
|
2244
|
-
},
|
|
2245
|
-
lg: {
|
|
2246
|
-
fontSize: '30px',
|
|
2247
|
-
lineHeight: '133%',
|
|
2248
|
-
},
|
|
2249
|
-
xl: {
|
|
2250
|
-
fontSize: '36px',
|
|
2251
|
-
lineHeight: '133%',
|
|
2252
|
-
},
|
|
2253
|
-
'2xl': {
|
|
2254
|
-
fontSize: '48px',
|
|
2255
|
-
lineHeight: '120%',
|
|
2256
|
-
},
|
|
2257
|
-
'3xl': {
|
|
2258
|
-
fontSize: '60px',
|
|
2259
|
-
lineHeight: '100%',
|
|
2260
|
-
},
|
|
2261
|
-
'4xl': {
|
|
2262
|
-
fontSize: '72px',
|
|
2263
|
-
lineHeight: '100%',
|
|
2264
|
-
},
|
|
2265
|
-
},
|
|
2266
|
-
},
|
|
2267
|
-
small: {
|
|
2268
|
-
sizes: {
|
|
2269
|
-
xs: {
|
|
2270
|
-
fontSize: '14px',
|
|
2271
|
-
lineHeight: '120%',
|
|
2272
|
-
},
|
|
2273
|
-
sm: {
|
|
2274
|
-
fontSize: '16px',
|
|
2275
|
-
lineHeight: '120%',
|
|
2276
|
-
},
|
|
2277
|
-
md: {
|
|
2278
|
-
fontSize: '20px',
|
|
2279
|
-
lineHeight: '120%',
|
|
2280
|
-
},
|
|
2281
|
-
lg: {
|
|
2282
|
-
fontSize: '24px',
|
|
2283
|
-
lineHeight: '133%',
|
|
2284
|
-
},
|
|
2285
|
-
xl: {
|
|
2286
|
-
fontSize: '30px',
|
|
2287
|
-
lineHeight: '133%',
|
|
2288
|
-
},
|
|
2289
|
-
'2xl': {
|
|
2290
|
-
fontSize: '36px',
|
|
2291
|
-
lineHeight: '120%',
|
|
2292
|
-
},
|
|
2293
|
-
'3xl': {
|
|
2294
|
-
fontSize: '48px',
|
|
2295
|
-
lineHeight: '100%',
|
|
2296
|
-
},
|
|
2297
|
-
'4xl': {
|
|
2298
|
-
fontSize: '60px',
|
|
2299
|
-
lineHeight: '100%',
|
|
2300
|
-
},
|
|
2301
|
-
},
|
|
2302
|
-
},
|
|
2303
|
-
},
|
|
2304
|
-
};
|
|
2305
|
-
|
|
2306
|
-
var Text = function (_a) {
|
|
2307
|
-
var children = _a.children, _b = _a.variant, variant = _b === void 0 ? 'regular' : _b, rest = __rest(_a, ["children", "variant"]);
|
|
2308
|
-
return (React__default["default"].createElement(react.Text, __assign({ variant: variant }, rest), children));
|
|
2229
|
+
return (React__default["default"].createElement(react.Heading, __assign({ variant: variant }, sizeProps, { color: !darkMode ? adaptiveColor : darkColor }, rest), children));
|
|
2309
2230
|
};
|
|
2310
2231
|
|
|
2311
2232
|
var blur = {
|
|
@@ -2466,28 +2387,6 @@ var coreColors = {
|
|
|
2466
2387
|
},
|
|
2467
2388
|
};
|
|
2468
2389
|
var semanticColors = {
|
|
2469
|
-
text: {
|
|
2470
|
-
light: {
|
|
2471
|
-
default: coreColors.comet[700],
|
|
2472
|
-
headline: coreColors.blue[800],
|
|
2473
|
-
subtle: coreColors.gray[800],
|
|
2474
|
-
link: coreColors.teal[600],
|
|
2475
|
-
placeholder: coreColors.blackAlpha[500],
|
|
2476
|
-
success: coreColors.green[600],
|
|
2477
|
-
warning: coreColors.yellow[600],
|
|
2478
|
-
error: coreColors.red[500],
|
|
2479
|
-
},
|
|
2480
|
-
dark: {
|
|
2481
|
-
default: coreColors.white,
|
|
2482
|
-
headline: coreColors.white,
|
|
2483
|
-
subtle: coreColors.comet[300],
|
|
2484
|
-
link: coreColors.teal[400],
|
|
2485
|
-
success: coreColors.green[400],
|
|
2486
|
-
warning: coreColors.yellow[300],
|
|
2487
|
-
error: coreColors.red[300],
|
|
2488
|
-
placeholder: coreColors.whiteAlpha[600],
|
|
2489
|
-
},
|
|
2490
|
-
},
|
|
2491
2390
|
background: {
|
|
2492
2391
|
light: coreColors.white,
|
|
2493
2392
|
grayLight: coreColors.gray[50],
|
|
@@ -2565,6 +2464,28 @@ var adaptiveColors = {
|
|
|
2565
2464
|
error: coreColors.red[300],
|
|
2566
2465
|
},
|
|
2567
2466
|
},
|
|
2467
|
+
text: {
|
|
2468
|
+
light: {
|
|
2469
|
+
default: coreColors.comet[700],
|
|
2470
|
+
headline: coreColors.blue[800],
|
|
2471
|
+
subtle: coreColors.gray[800],
|
|
2472
|
+
link: coreColors.teal[600],
|
|
2473
|
+
success: coreColors.green[600],
|
|
2474
|
+
warning: coreColors.yellow[600],
|
|
2475
|
+
error: coreColors.red[500],
|
|
2476
|
+
placeholder: coreColors.blackAlpha[500],
|
|
2477
|
+
},
|
|
2478
|
+
dark: {
|
|
2479
|
+
default: coreColors.white,
|
|
2480
|
+
headline: coreColors.white,
|
|
2481
|
+
subtle: coreColors.comet[300],
|
|
2482
|
+
link: coreColors.teal[400],
|
|
2483
|
+
success: coreColors.green[400],
|
|
2484
|
+
warning: coreColors.yellow[300],
|
|
2485
|
+
error: coreColors.red[300],
|
|
2486
|
+
placeholder: coreColors.whiteAlpha[600],
|
|
2487
|
+
},
|
|
2488
|
+
},
|
|
2568
2489
|
};
|
|
2569
2490
|
var colors = __assign(__assign(__assign({}, coreColors), semanticColors), adaptiveColors);
|
|
2570
2491
|
|
|
@@ -2688,6 +2609,107 @@ var zIndices = {
|
|
|
2688
2609
|
tooltip: 1800,
|
|
2689
2610
|
};
|
|
2690
2611
|
|
|
2612
|
+
var HeadingConfig = {
|
|
2613
|
+
variants: {
|
|
2614
|
+
large: {
|
|
2615
|
+
sizes: {
|
|
2616
|
+
xs: {
|
|
2617
|
+
fontSize: '14px',
|
|
2618
|
+
lineHeight: '120%',
|
|
2619
|
+
fontWeight: fontWeights.semibold,
|
|
2620
|
+
},
|
|
2621
|
+
sm: {
|
|
2622
|
+
fontSize: '16px',
|
|
2623
|
+
lineHeight: '120%',
|
|
2624
|
+
fontWeight: fontWeights.semibold,
|
|
2625
|
+
},
|
|
2626
|
+
md: {
|
|
2627
|
+
fontSize: '20px',
|
|
2628
|
+
lineHeight: '120%',
|
|
2629
|
+
fontWeight: fontWeights.semibold,
|
|
2630
|
+
},
|
|
2631
|
+
lg: {
|
|
2632
|
+
fontSize: '30px',
|
|
2633
|
+
lineHeight: '133%',
|
|
2634
|
+
fontWeight: fontWeights.semibold,
|
|
2635
|
+
},
|
|
2636
|
+
xl: {
|
|
2637
|
+
fontSize: '36px',
|
|
2638
|
+
lineHeight: '133%',
|
|
2639
|
+
fontWeight: fontWeights.semibold,
|
|
2640
|
+
},
|
|
2641
|
+
'2xl': {
|
|
2642
|
+
fontSize: '48px',
|
|
2643
|
+
lineHeight: '120%',
|
|
2644
|
+
fontWeight: fontWeights.semibold,
|
|
2645
|
+
},
|
|
2646
|
+
'3xl': {
|
|
2647
|
+
fontSize: '60px',
|
|
2648
|
+
lineHeight: '100%',
|
|
2649
|
+
fontWeight: fontWeights.semibold,
|
|
2650
|
+
},
|
|
2651
|
+
'4xl': {
|
|
2652
|
+
fontSize: '72px',
|
|
2653
|
+
lineHeight: '100%',
|
|
2654
|
+
fontWeight: fontWeights.semibold,
|
|
2655
|
+
},
|
|
2656
|
+
},
|
|
2657
|
+
},
|
|
2658
|
+
small: {
|
|
2659
|
+
sizes: {
|
|
2660
|
+
xs: {
|
|
2661
|
+
fontSize: '14px',
|
|
2662
|
+
lineHeight: '120%',
|
|
2663
|
+
fontWeight: fontWeights.semibold,
|
|
2664
|
+
},
|
|
2665
|
+
sm: {
|
|
2666
|
+
fontSize: '16px',
|
|
2667
|
+
lineHeight: '120%',
|
|
2668
|
+
fontWeight: fontWeights.semibold,
|
|
2669
|
+
},
|
|
2670
|
+
md: {
|
|
2671
|
+
fontSize: '20px',
|
|
2672
|
+
lineHeight: '120%',
|
|
2673
|
+
fontWeight: fontWeights.semibold,
|
|
2674
|
+
},
|
|
2675
|
+
lg: {
|
|
2676
|
+
fontSize: '24px',
|
|
2677
|
+
lineHeight: '133%',
|
|
2678
|
+
fontWeight: fontWeights.semibold,
|
|
2679
|
+
},
|
|
2680
|
+
xl: {
|
|
2681
|
+
fontSize: '30px',
|
|
2682
|
+
lineHeight: '133%',
|
|
2683
|
+
fontWeight: fontWeights.semibold,
|
|
2684
|
+
},
|
|
2685
|
+
'2xl': {
|
|
2686
|
+
fontSize: '36px',
|
|
2687
|
+
lineHeight: '120%',
|
|
2688
|
+
fontWeight: fontWeights.semibold,
|
|
2689
|
+
},
|
|
2690
|
+
'3xl': {
|
|
2691
|
+
fontSize: '48px',
|
|
2692
|
+
lineHeight: '100%',
|
|
2693
|
+
fontWeight: fontWeights.semibold,
|
|
2694
|
+
},
|
|
2695
|
+
'4xl': {
|
|
2696
|
+
fontSize: '60px',
|
|
2697
|
+
lineHeight: '100%',
|
|
2698
|
+
fontWeight: fontWeights.semibold,
|
|
2699
|
+
},
|
|
2700
|
+
},
|
|
2701
|
+
},
|
|
2702
|
+
},
|
|
2703
|
+
};
|
|
2704
|
+
|
|
2705
|
+
var Text = function (_a) {
|
|
2706
|
+
var children = _a.children, _b = _a.variant, variant = _b === void 0 ? 'regular' : _b, _c = _a.as, as = _c === void 0 ? 'span' : _c, color = _a.color, darkMode = _a.darkMode, rest = __rest(_a, ["children", "variant", "as", "color", "darkMode"]);
|
|
2707
|
+
var colors = useTheme().colors;
|
|
2708
|
+
var darkColor = colors.text.dark[color || 'default'];
|
|
2709
|
+
var adaptiveColor = useAdaptiveColorMap(colors.text, color || 'default');
|
|
2710
|
+
return (React__default["default"].createElement(react.Text, __assign({ variant: variant, as: as, color: !darkMode ? adaptiveColor : darkColor }, rest), children));
|
|
2711
|
+
};
|
|
2712
|
+
|
|
2691
2713
|
var TextConfig = {
|
|
2692
2714
|
variants: {
|
|
2693
2715
|
regular: {
|
|
@@ -2749,7 +2771,7 @@ var Textarea = function (props) {
|
|
|
2749
2771
|
var TextareaConfig = {
|
|
2750
2772
|
baseStyle: {
|
|
2751
2773
|
borderRadius: borders['4px'],
|
|
2752
|
-
color:
|
|
2774
|
+
color: adaptiveColors.text.light.default,
|
|
2753
2775
|
},
|
|
2754
2776
|
variants: {
|
|
2755
2777
|
outline: {
|
|
@@ -2825,8 +2847,8 @@ var toTitleCase = function (s) {
|
|
|
2825
2847
|
};
|
|
2826
2848
|
|
|
2827
2849
|
var Button = React.forwardRef(function (props, ref) {
|
|
2828
|
-
var
|
|
2829
|
-
var
|
|
2850
|
+
var _a = useTheme(), components = _a.components, fontWeights = _a.fontWeights;
|
|
2851
|
+
var _b = components.Button[props.variant || 'primary'], variant = _b.variant, light = _b.light, dark = _b.dark;
|
|
2830
2852
|
var modeColor = props.darkMode ? dark : light;
|
|
2831
2853
|
var bg = react.useColorModeValue(modeColor.default, dark.default);
|
|
2832
2854
|
var color = react.useColorModeValue(modeColor.content, dark.content);
|
|
@@ -2850,7 +2872,7 @@ var Button = React.forwardRef(function (props, ref) {
|
|
|
2850
2872
|
p[position] = ButtonIcon;
|
|
2851
2873
|
}
|
|
2852
2874
|
}
|
|
2853
|
-
return (React__default["default"].createElement(react.Button, __assign({ ref: ref, _hover: hoverClass, _active: activeClass, whiteSpace: "normal", wordWrap: "break-word", iconSpacing: p.size === 'sm' || p.size === 'xs' ? '4px' : '8px' }, p), props.children));
|
|
2875
|
+
return (React__default["default"].createElement(react.Button, __assign({ fontWeight: fontWeights.semibold, ref: ref, _hover: hoverClass, _active: activeClass, whiteSpace: "normal", wordWrap: "break-word", iconSpacing: p.size === 'sm' || p.size === 'xs' ? '4px' : '8px' }, p), props.children));
|
|
2854
2876
|
});
|
|
2855
2877
|
Button.displayName = 'Button';
|
|
2856
2878
|
|
|
@@ -2858,188 +2880,188 @@ var ButtonVariantConfig = {
|
|
|
2858
2880
|
primary: {
|
|
2859
2881
|
variant: 'solid',
|
|
2860
2882
|
light: {
|
|
2861
|
-
content:
|
|
2862
|
-
default:
|
|
2863
|
-
hover:
|
|
2864
|
-
active:
|
|
2865
|
-
border:
|
|
2883
|
+
content: colors.text.dark.headline,
|
|
2884
|
+
default: colors.teal['600'],
|
|
2885
|
+
hover: colors.teal['700'],
|
|
2886
|
+
active: colors.teal['800'],
|
|
2887
|
+
border: colors.transparent,
|
|
2866
2888
|
},
|
|
2867
2889
|
dark: {
|
|
2868
|
-
content:
|
|
2869
|
-
default:
|
|
2870
|
-
hover:
|
|
2871
|
-
active:
|
|
2872
|
-
border:
|
|
2890
|
+
content: colors.text.light.headline,
|
|
2891
|
+
default: colors.teal['400'],
|
|
2892
|
+
hover: colors.teal['300'],
|
|
2893
|
+
active: colors.teal['100'],
|
|
2894
|
+
border: colors.transparent,
|
|
2873
2895
|
},
|
|
2874
2896
|
},
|
|
2875
2897
|
primaryDestructive: {
|
|
2876
2898
|
variant: 'solid',
|
|
2877
2899
|
light: {
|
|
2878
|
-
content:
|
|
2879
|
-
default:
|
|
2880
|
-
hover:
|
|
2881
|
-
active:
|
|
2882
|
-
border:
|
|
2900
|
+
content: colors.text.dark.headline,
|
|
2901
|
+
default: colors.red['500'],
|
|
2902
|
+
hover: colors.red['600'],
|
|
2903
|
+
active: colors.red['700'],
|
|
2904
|
+
border: colors.transparent,
|
|
2883
2905
|
},
|
|
2884
2906
|
dark: {
|
|
2885
|
-
content:
|
|
2886
|
-
default:
|
|
2887
|
-
hover:
|
|
2888
|
-
active:
|
|
2889
|
-
border:
|
|
2907
|
+
content: colors.text.light.headline,
|
|
2908
|
+
default: colors.red['200'],
|
|
2909
|
+
hover: colors.red['100'],
|
|
2910
|
+
active: colors.red['50'],
|
|
2911
|
+
border: colors.transparent,
|
|
2890
2912
|
},
|
|
2891
2913
|
},
|
|
2892
2914
|
secondary: {
|
|
2893
2915
|
variant: 'outline',
|
|
2894
2916
|
light: {
|
|
2895
|
-
content:
|
|
2896
|
-
default:
|
|
2897
|
-
hover:
|
|
2898
|
-
active:
|
|
2899
|
-
border:
|
|
2917
|
+
content: colors.text.light.default,
|
|
2918
|
+
default: colors.transparent,
|
|
2919
|
+
hover: colors.teal['100'],
|
|
2920
|
+
active: colors.teal['200'],
|
|
2921
|
+
border: colors.border.light.heavy,
|
|
2900
2922
|
},
|
|
2901
2923
|
dark: {
|
|
2902
|
-
content:
|
|
2903
|
-
default:
|
|
2904
|
-
hover:
|
|
2905
|
-
active:
|
|
2906
|
-
border:
|
|
2924
|
+
content: colors.white,
|
|
2925
|
+
default: colors.transparent,
|
|
2926
|
+
hover: colors.whiteAlpha['300'],
|
|
2927
|
+
active: colors.whiteAlpha['400'],
|
|
2928
|
+
border: colors.white,
|
|
2907
2929
|
},
|
|
2908
2930
|
},
|
|
2909
2931
|
secondaryDestructive: {
|
|
2910
2932
|
variant: 'outline',
|
|
2911
2933
|
light: {
|
|
2912
|
-
content:
|
|
2913
|
-
default:
|
|
2914
|
-
hover:
|
|
2915
|
-
active:
|
|
2916
|
-
border:
|
|
2934
|
+
content: colors.text.light.error,
|
|
2935
|
+
default: colors.transparent,
|
|
2936
|
+
hover: colors.red['50'],
|
|
2937
|
+
active: colors.red['100'],
|
|
2938
|
+
border: colors.border.light.error,
|
|
2917
2939
|
},
|
|
2918
2940
|
dark: {
|
|
2919
|
-
content:
|
|
2920
|
-
default:
|
|
2921
|
-
hover:
|
|
2922
|
-
active:
|
|
2923
|
-
border:
|
|
2941
|
+
content: colors.red['300'],
|
|
2942
|
+
default: colors.transparent,
|
|
2943
|
+
hover: colors.whiteAlpha['300'],
|
|
2944
|
+
active: colors.whiteAlpha['400'],
|
|
2945
|
+
border: colors.red['300'],
|
|
2924
2946
|
},
|
|
2925
2947
|
},
|
|
2926
2948
|
secondarySubtle: {
|
|
2927
2949
|
variant: 'outline',
|
|
2928
2950
|
light: {
|
|
2929
|
-
content:
|
|
2930
|
-
default:
|
|
2931
|
-
hover:
|
|
2932
|
-
active:
|
|
2933
|
-
border:
|
|
2951
|
+
content: colors.text.light.default,
|
|
2952
|
+
default: colors.white,
|
|
2953
|
+
hover: colors.gray['50'],
|
|
2954
|
+
active: colors.gray['100'],
|
|
2955
|
+
border: colors.border.light.default,
|
|
2934
2956
|
},
|
|
2935
2957
|
dark: {
|
|
2936
|
-
content:
|
|
2937
|
-
default:
|
|
2938
|
-
hover:
|
|
2939
|
-
active:
|
|
2940
|
-
border:
|
|
2958
|
+
content: colors.text.dark.default,
|
|
2959
|
+
default: colors.transparent,
|
|
2960
|
+
hover: colors.whiteAlpha['300'],
|
|
2961
|
+
active: colors.whiteAlpha['400'],
|
|
2962
|
+
border: colors.text.dark.default,
|
|
2941
2963
|
},
|
|
2942
2964
|
},
|
|
2943
2965
|
secondarySubtleDestructive: {
|
|
2944
2966
|
variant: 'outline',
|
|
2945
2967
|
light: {
|
|
2946
|
-
content:
|
|
2947
|
-
default:
|
|
2948
|
-
hover:
|
|
2949
|
-
active:
|
|
2950
|
-
border:
|
|
2968
|
+
content: colors.text.light.error,
|
|
2969
|
+
default: colors.white,
|
|
2970
|
+
hover: colors.red['50'],
|
|
2971
|
+
active: colors.red['100'],
|
|
2972
|
+
border: colors.border.light.default,
|
|
2951
2973
|
},
|
|
2952
2974
|
dark: {
|
|
2953
|
-
content:
|
|
2954
|
-
default:
|
|
2955
|
-
hover:
|
|
2956
|
-
active:
|
|
2957
|
-
border:
|
|
2975
|
+
content: colors.red['300'],
|
|
2976
|
+
default: colors.transparent,
|
|
2977
|
+
hover: colors.whiteAlpha['300'],
|
|
2978
|
+
active: colors.whiteAlpha['400'],
|
|
2979
|
+
border: colors.whiteAlpha['500'],
|
|
2958
2980
|
},
|
|
2959
2981
|
},
|
|
2960
2982
|
tertiary: {
|
|
2961
2983
|
variant: 'solid',
|
|
2962
2984
|
light: {
|
|
2963
|
-
content:
|
|
2964
|
-
default:
|
|
2965
|
-
hover:
|
|
2966
|
-
active:
|
|
2967
|
-
border:
|
|
2985
|
+
content: colors.text.light.default,
|
|
2986
|
+
default: colors.gray['100'],
|
|
2987
|
+
hover: colors.gray['200'],
|
|
2988
|
+
active: colors.gray['300'],
|
|
2989
|
+
border: colors.transparent,
|
|
2968
2990
|
},
|
|
2969
2991
|
dark: {
|
|
2970
|
-
content:
|
|
2971
|
-
default:
|
|
2972
|
-
hover:
|
|
2973
|
-
active:
|
|
2974
|
-
border:
|
|
2992
|
+
content: colors.text.dark.headline,
|
|
2993
|
+
default: colors.whiteAlpha[200],
|
|
2994
|
+
hover: colors.whiteAlpha[300],
|
|
2995
|
+
active: colors.whiteAlpha[400],
|
|
2996
|
+
border: colors.transparent,
|
|
2975
2997
|
},
|
|
2976
2998
|
},
|
|
2977
2999
|
tertiaryDestructive: {
|
|
2978
3000
|
variant: 'solid',
|
|
2979
3001
|
light: {
|
|
2980
|
-
content:
|
|
2981
|
-
default:
|
|
2982
|
-
hover:
|
|
2983
|
-
active:
|
|
2984
|
-
border:
|
|
3002
|
+
content: colors.text.light.error,
|
|
3003
|
+
default: colors.red['100'],
|
|
3004
|
+
hover: colors.red['200'],
|
|
3005
|
+
active: colors.red['300'],
|
|
3006
|
+
border: colors.transparent,
|
|
2985
3007
|
},
|
|
2986
3008
|
dark: {
|
|
2987
|
-
content:
|
|
2988
|
-
default:
|
|
2989
|
-
hover:
|
|
2990
|
-
active:
|
|
2991
|
-
border:
|
|
3009
|
+
content: colors.red['300'],
|
|
3010
|
+
default: colors.whiteAlpha['200'],
|
|
3011
|
+
hover: colors.whiteAlpha['300'],
|
|
3012
|
+
active: colors.whiteAlpha['400'],
|
|
3013
|
+
border: colors.transparent,
|
|
2992
3014
|
},
|
|
2993
3015
|
},
|
|
2994
3016
|
ghost: {
|
|
2995
3017
|
variant: 'ghost',
|
|
2996
3018
|
light: {
|
|
2997
|
-
content:
|
|
2998
|
-
default:
|
|
2999
|
-
hover:
|
|
3000
|
-
active:
|
|
3001
|
-
border:
|
|
3019
|
+
content: colors.text.light.link,
|
|
3020
|
+
default: colors.transparent,
|
|
3021
|
+
hover: colors.teal['100'],
|
|
3022
|
+
active: colors.teal['200'],
|
|
3023
|
+
border: colors.transparent,
|
|
3002
3024
|
},
|
|
3003
3025
|
dark: {
|
|
3004
|
-
content:
|
|
3005
|
-
default:
|
|
3006
|
-
hover:
|
|
3007
|
-
active:
|
|
3008
|
-
border:
|
|
3026
|
+
content: colors.teal['400'],
|
|
3027
|
+
default: colors.transparent,
|
|
3028
|
+
hover: colors.whiteAlpha['300'],
|
|
3029
|
+
active: colors.whiteAlpha['400'],
|
|
3030
|
+
border: colors.transparent,
|
|
3009
3031
|
},
|
|
3010
3032
|
},
|
|
3011
3033
|
ghostNeutral: {
|
|
3012
3034
|
variant: 'ghost',
|
|
3013
3035
|
light: {
|
|
3014
|
-
content:
|
|
3015
|
-
default:
|
|
3016
|
-
hover:
|
|
3017
|
-
active:
|
|
3018
|
-
border:
|
|
3036
|
+
content: colors.text.light.default,
|
|
3037
|
+
default: colors.transparent,
|
|
3038
|
+
hover: colors.blackAlpha['100'],
|
|
3039
|
+
active: colors.blackAlpha['200'],
|
|
3040
|
+
border: colors.transparent,
|
|
3019
3041
|
},
|
|
3020
3042
|
dark: {
|
|
3021
|
-
content:
|
|
3022
|
-
default:
|
|
3023
|
-
hover:
|
|
3024
|
-
active:
|
|
3025
|
-
border:
|
|
3043
|
+
content: colors.text.dark.headline,
|
|
3044
|
+
default: colors.transparent,
|
|
3045
|
+
hover: colors.whiteAlpha['300'],
|
|
3046
|
+
active: colors.whiteAlpha['400'],
|
|
3047
|
+
border: colors.transparent,
|
|
3026
3048
|
},
|
|
3027
3049
|
},
|
|
3028
3050
|
ghostDestructive: {
|
|
3029
3051
|
variant: 'ghost',
|
|
3030
3052
|
light: {
|
|
3031
|
-
content:
|
|
3032
|
-
default:
|
|
3033
|
-
hover:
|
|
3034
|
-
active:
|
|
3035
|
-
border:
|
|
3053
|
+
content: colors.text.light.error,
|
|
3054
|
+
default: colors.transparent,
|
|
3055
|
+
hover: colors.red['100'],
|
|
3056
|
+
active: colors.red['200'],
|
|
3057
|
+
border: colors.transparent,
|
|
3036
3058
|
},
|
|
3037
3059
|
dark: {
|
|
3038
|
-
content:
|
|
3039
|
-
default:
|
|
3040
|
-
hover:
|
|
3041
|
-
active:
|
|
3042
|
-
border:
|
|
3060
|
+
content: colors.red['300'],
|
|
3061
|
+
default: colors.transparent,
|
|
3062
|
+
hover: colors.whiteAlpha['300'],
|
|
3063
|
+
active: colors.whiteAlpha['400'],
|
|
3064
|
+
border: colors.transparent,
|
|
3043
3065
|
},
|
|
3044
3066
|
},
|
|
3045
3067
|
};
|