@primer/primitives 10.1.0-rc.f1589f93 → 10.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -21
- package/dist/build/filters/index.d.ts +0 -1
- package/dist/build/filters/index.js +0 -1
- package/dist/build/formats/jsonFigma.js +1 -2
- package/dist/build/platforms/css.js +6 -7
- package/dist/build/platforms/docJson.js +0 -1
- package/dist/build/platforms/fallbacks.js +0 -1
- package/dist/build/platforms/javascript.js +0 -1
- package/dist/build/platforms/json.js +0 -1
- package/dist/build/platforms/styleLint.js +0 -1
- package/dist/build/platforms/typescript.js +0 -1
- package/dist/build/primerStyleDictionary.js +7 -3
- package/dist/build/schemas/colorToken.d.ts +0 -18
- package/dist/build/schemas/colorToken.js +0 -7
- package/dist/build/transformers/borderToCss.js +2 -2
- package/dist/build/transformers/colorToRgbaFloat.js +2 -12
- package/dist/build/transformers/index.d.ts +0 -1
- package/dist/build/transformers/index.js +0 -1
- package/dist/css/functional/size/border.css +7 -6
- package/dist/css/functional/themes/dark-colorblind.css +60 -6
- package/dist/css/functional/themes/dark-dimmed.css +60 -6
- package/dist/css/functional/themes/dark-high-contrast.css +60 -6
- package/dist/css/functional/themes/dark-tritanopia.css +60 -6
- package/dist/css/functional/themes/dark.css +60 -6
- package/dist/css/functional/themes/light-colorblind.css +60 -6
- package/dist/css/functional/themes/light-high-contrast.css +60 -6
- package/dist/css/functional/themes/light-tritanopia.css +60 -6
- package/dist/css/functional/themes/light.css +60 -6
- package/dist/css/primitives.css +7 -6
- package/dist/docs/base/size/size.json +19 -19
- package/dist/docs/base/typography/typography.json +4 -4
- package/dist/docs/functional/size/border.json +41 -28
- package/dist/docs/functional/size/breakpoints.json +6 -6
- package/dist/docs/functional/size/size-coarse.json +3 -3
- package/dist/docs/functional/size/size-fine.json +3 -3
- package/dist/docs/functional/size/size.json +66 -66
- package/dist/docs/functional/size/viewport.json +6 -6
- package/dist/docs/functional/themes/dark-colorblind.json +475 -128
- package/dist/docs/functional/themes/dark-dimmed.json +519 -444
- package/dist/docs/functional/themes/dark-high-contrast.json +490 -241
- package/dist/docs/functional/themes/dark-tritanopia.json +485 -200
- package/dist/docs/functional/themes/dark.json +469 -102
- package/dist/docs/functional/themes/light-colorblind.json +463 -94
- package/dist/docs/functional/themes/light-high-contrast.json +487 -274
- package/dist/docs/functional/themes/light-tritanopia.json +463 -102
- package/dist/docs/functional/themes/light.json +460 -105
- package/dist/docs/functional/typography/typography.json +46 -46
- package/dist/fallbacks/functional/size/border.json +7 -6
- package/dist/figma/themes/dark-colorblind.json +14 -54
- package/dist/figma/themes/dark-dimmed.json +15 -356
- package/dist/figma/themes/dark-high-contrast.json +10 -129
- package/dist/figma/themes/dark-tritanopia.json +14 -111
- package/dist/figma/themes/dark.json +14 -34
- package/dist/figma/themes/light-colorblind.json +10 -20
- package/dist/figma/themes/light-high-contrast.json +10 -177
- package/dist/figma/themes/light-tritanopia.json +10 -24
- package/dist/figma/themes/light.json +10 -32
- package/dist/internalCss/dark-colorblind.css +88 -6
- package/dist/internalCss/dark-dimmed.css +88 -6
- package/dist/internalCss/dark-high-contrast.css +88 -6
- package/dist/internalCss/dark-tritanopia.css +88 -6
- package/dist/internalCss/dark.css +88 -6
- package/dist/internalCss/light-colorblind.css +88 -6
- package/dist/internalCss/light-high-contrast.css +88 -6
- package/dist/internalCss/light-tritanopia.css +88 -6
- package/dist/internalCss/light.css +88 -6
- package/dist/styleLint/base/size/size.json +19 -19
- package/dist/styleLint/base/typography/typography.json +4 -4
- package/dist/styleLint/functional/size/border.json +41 -28
- package/dist/styleLint/functional/size/breakpoints.json +6 -6
- package/dist/styleLint/functional/size/size-coarse.json +3 -3
- package/dist/styleLint/functional/size/size-fine.json +3 -3
- package/dist/styleLint/functional/size/size.json +66 -66
- package/dist/styleLint/functional/size/viewport.json +6 -6
- package/dist/styleLint/functional/themes/dark-colorblind.json +475 -128
- package/dist/styleLint/functional/themes/dark-dimmed.json +519 -444
- package/dist/styleLint/functional/themes/dark-high-contrast.json +490 -241
- package/dist/styleLint/functional/themes/dark-tritanopia.json +485 -200
- package/dist/styleLint/functional/themes/dark.json +469 -102
- package/dist/styleLint/functional/themes/light-colorblind.json +463 -94
- package/dist/styleLint/functional/themes/light-high-contrast.json +487 -274
- package/dist/styleLint/functional/themes/light-tritanopia.json +463 -102
- package/dist/styleLint/functional/themes/light.json +460 -105
- package/dist/styleLint/functional/typography/typography.json +46 -46
- package/package.json +1 -1
- package/src/tokens/base/typography/typography.json5 +48 -0
- package/src/tokens/functional/border/border.json5 +236 -0
- package/src/tokens/functional/color/dark/app-dark.json5 +0 -2
- package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +120 -6
- package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +46 -29
- package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +15 -20
- package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +32 -18
- package/src/tokens/functional/color/dark/patterns-dark.json5 +13 -45
- package/src/tokens/functional/color/dark/primitives-dark.json5 +1 -6
- package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +67 -20
- package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +4 -21
- package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +3 -16
- package/src/tokens/functional/color/light/patterns-light.json5 +11 -47
- package/src/tokens/functional/color/light/primitives-light.json5 +2 -10
- package/src/tokens/functional/size/border.json5 +115 -0
- package/src/tokens/functional/typography/typography.json5 +527 -0
- package/dist/build/filters/isColorWithMix.d.ts +0 -7
- package/dist/build/filters/isColorWithMix.js +0 -24
- package/dist/build/transformers/colorToHexMix.d.ts +0 -8
- package/dist/build/transformers/colorToHexMix.js +0 -20
- package/dist/build/transformers/utilities/mix.d.ts +0 -5
- package/dist/build/transformers/utilities/mix.js +0 -38
- package/src/tokens/base/typography/typography.json +0 -48
- package/src/tokens/functional/border/dark.json5 +0 -12
- package/src/tokens/functional/border/light.json5 +0 -12
- package/src/tokens/functional/color/dark/patterns-dark.json +0 -3963
- package/src/tokens/functional/size/border.json +0 -111
- package/src/tokens/functional/typography/typography.json +0 -527
- /package/src/tokens/base/size/{size.json → size.json5} +0 -0
- /package/src/tokens/functional/size/{breakpoints.json → breakpoints.json5} +0 -0
- /package/src/tokens/functional/size/{size-coarse.json → size-coarse.json5} +0 -0
- /package/src/tokens/functional/size/{size-fine.json → size-fine.json5} +0 -0
- /package/src/tokens/functional/size/{size.json → size.json5} +0 -0
- /package/src/tokens/functional/size/{viewport.json → viewport.json5} +0 -0
|
@@ -1954,40 +1954,6 @@
|
|
|
1954
1954
|
"group": "component",
|
|
1955
1955
|
"scopes": ["FRAME_FILL", "SHAPE_FILL"]
|
|
1956
1956
|
},
|
|
1957
|
-
{
|
|
1958
|
-
"name": "control/checked/bgColor/hover",
|
|
1959
|
-
"value": {
|
|
1960
|
-
"r": 0.011764705882352941,
|
|
1961
|
-
"g": 0.26666666666666666,
|
|
1962
|
-
"b": 0.6588235294117647,
|
|
1963
|
-
"a": 1
|
|
1964
|
-
},
|
|
1965
|
-
"type": "COLOR",
|
|
1966
|
-
"isMix": true,
|
|
1967
|
-
"refId": "mode/control/checked/bgColor/hover",
|
|
1968
|
-
"reference": "mode/bgColor/accent-emphasis",
|
|
1969
|
-
"collection": "mode",
|
|
1970
|
-
"mode": "light high contrast",
|
|
1971
|
-
"group": "component",
|
|
1972
|
-
"scopes": ["FRAME_FILL", "SHAPE_FILL"]
|
|
1973
|
-
},
|
|
1974
|
-
{
|
|
1975
|
-
"name": "control/checked/bgColor/active",
|
|
1976
|
-
"value": {
|
|
1977
|
-
"r": 0.011764705882352941,
|
|
1978
|
-
"g": 0.24705882352941178,
|
|
1979
|
-
"b": 0.615686274509804,
|
|
1980
|
-
"a": 1
|
|
1981
|
-
},
|
|
1982
|
-
"type": "COLOR",
|
|
1983
|
-
"isMix": true,
|
|
1984
|
-
"refId": "mode/control/checked/bgColor/active",
|
|
1985
|
-
"reference": "mode/bgColor/accent-emphasis",
|
|
1986
|
-
"collection": "mode",
|
|
1987
|
-
"mode": "light high contrast",
|
|
1988
|
-
"group": "component",
|
|
1989
|
-
"scopes": ["FRAME_FILL", "SHAPE_FILL"]
|
|
1990
|
-
},
|
|
1991
1957
|
{
|
|
1992
1958
|
"name": "control/checked/bgColor/disabled",
|
|
1993
1959
|
"value": {
|
|
@@ -2052,38 +2018,6 @@
|
|
|
2052
2018
|
"group": "component",
|
|
2053
2019
|
"scopes": ["STROKE_COLOR"]
|
|
2054
2020
|
},
|
|
2055
|
-
{
|
|
2056
|
-
"name": "control/checked/borderColor/hover",
|
|
2057
|
-
"value": {
|
|
2058
|
-
"r": 0.011764705882352941,
|
|
2059
|
-
"g": 0.26666666666666666,
|
|
2060
|
-
"b": 0.6588235294117647,
|
|
2061
|
-
"a": 1
|
|
2062
|
-
},
|
|
2063
|
-
"type": "COLOR",
|
|
2064
|
-
"refId": "mode/control/checked/borderColor/hover",
|
|
2065
|
-
"reference": "mode/control/checked/bgColor/hover",
|
|
2066
|
-
"collection": "mode",
|
|
2067
|
-
"mode": "light high contrast",
|
|
2068
|
-
"group": "component",
|
|
2069
|
-
"scopes": ["STROKE_COLOR"]
|
|
2070
|
-
},
|
|
2071
|
-
{
|
|
2072
|
-
"name": "control/checked/borderColor/active",
|
|
2073
|
-
"value": {
|
|
2074
|
-
"r": 0.011764705882352941,
|
|
2075
|
-
"g": 0.24705882352941178,
|
|
2076
|
-
"b": 0.615686274509804,
|
|
2077
|
-
"a": 1
|
|
2078
|
-
},
|
|
2079
|
-
"type": "COLOR",
|
|
2080
|
-
"refId": "mode/control/checked/borderColor/active",
|
|
2081
|
-
"reference": "mode/control/checked/bgColor/active",
|
|
2082
|
-
"collection": "mode",
|
|
2083
|
-
"mode": "light high contrast",
|
|
2084
|
-
"group": "component",
|
|
2085
|
-
"scopes": ["STROKE_COLOR"]
|
|
2086
|
-
},
|
|
2087
2021
|
{
|
|
2088
2022
|
"name": "control/checked/borderColor/disabled",
|
|
2089
2023
|
"value": {
|
|
@@ -2537,39 +2471,6 @@
|
|
|
2537
2471
|
"group": "component (internal)",
|
|
2538
2472
|
"scopes": ["TEXT_FILL", "SHAPE_FILL"]
|
|
2539
2473
|
},
|
|
2540
|
-
{
|
|
2541
|
-
"name": "button/primary/bgColor/disabled",
|
|
2542
|
-
"value": {
|
|
2543
|
-
"r": 0.5215686274509804,
|
|
2544
|
-
"g": 0.796078431372549,
|
|
2545
|
-
"b": 0.592156862745098,
|
|
2546
|
-
"a": 1
|
|
2547
|
-
},
|
|
2548
|
-
"type": "COLOR",
|
|
2549
|
-
"isMix": true,
|
|
2550
|
-
"refId": "mode/button/primary/bgColor/disabled",
|
|
2551
|
-
"reference": "base/color/light-high-contrast/base/color/green/4",
|
|
2552
|
-
"collection": "mode",
|
|
2553
|
-
"mode": "light high contrast",
|
|
2554
|
-
"group": "component (internal)",
|
|
2555
|
-
"scopes": ["FRAME_FILL", "SHAPE_FILL"]
|
|
2556
|
-
},
|
|
2557
|
-
{
|
|
2558
|
-
"name": "button/primary/borderColor/disabled",
|
|
2559
|
-
"value": {
|
|
2560
|
-
"r": 0.5215686274509804,
|
|
2561
|
-
"g": 0.796078431372549,
|
|
2562
|
-
"b": 0.592156862745098,
|
|
2563
|
-
"a": 1
|
|
2564
|
-
},
|
|
2565
|
-
"type": "COLOR",
|
|
2566
|
-
"refId": "mode/button/primary/borderColor/disabled",
|
|
2567
|
-
"reference": "mode/button/primary/bgColor/disabled",
|
|
2568
|
-
"collection": "mode",
|
|
2569
|
-
"mode": "light high contrast",
|
|
2570
|
-
"group": "component (internal)",
|
|
2571
|
-
"scopes": ["STROKE_COLOR"]
|
|
2572
|
-
},
|
|
2573
2474
|
{
|
|
2574
2475
|
"name": "button/primary/shadow/selected/offsetX",
|
|
2575
2476
|
"value": 0,
|
|
@@ -2751,14 +2652,14 @@
|
|
|
2751
2652
|
{
|
|
2752
2653
|
"name": "button/invisible/bgColor/disabled",
|
|
2753
2654
|
"value": {
|
|
2754
|
-
"r":
|
|
2755
|
-
"g":
|
|
2756
|
-
"b":
|
|
2757
|
-
"a":
|
|
2655
|
+
"r": 1,
|
|
2656
|
+
"g": 1,
|
|
2657
|
+
"b": 1,
|
|
2658
|
+
"a": 0
|
|
2758
2659
|
},
|
|
2759
2660
|
"type": "COLOR",
|
|
2760
2661
|
"refId": "mode/button/invisible/bgColor/disabled",
|
|
2761
|
-
"reference": "
|
|
2662
|
+
"reference": "base/color/light/base/color/transparent",
|
|
2762
2663
|
"collection": "mode",
|
|
2763
2664
|
"mode": "light high contrast",
|
|
2764
2665
|
"group": "component (internal)",
|
|
@@ -2799,14 +2700,14 @@
|
|
|
2799
2700
|
{
|
|
2800
2701
|
"name": "button/invisible/borderColor/disabled",
|
|
2801
2702
|
"value": {
|
|
2802
|
-
"r":
|
|
2803
|
-
"g":
|
|
2804
|
-
"b":
|
|
2805
|
-
"a": 0
|
|
2703
|
+
"r": 1,
|
|
2704
|
+
"g": 1,
|
|
2705
|
+
"b": 1,
|
|
2706
|
+
"a": 0
|
|
2806
2707
|
},
|
|
2807
2708
|
"type": "COLOR",
|
|
2808
2709
|
"refId": "mode/button/invisible/borderColor/disabled",
|
|
2809
|
-
"reference": "
|
|
2710
|
+
"reference": "base/color/light/base/color/transparent",
|
|
2810
2711
|
"collection": "mode",
|
|
2811
2712
|
"mode": "light high contrast",
|
|
2812
2713
|
"group": "component (internal)",
|
|
@@ -2909,23 +2810,6 @@
|
|
|
2909
2810
|
"group": "component (internal)",
|
|
2910
2811
|
"scopes": ["FRAME_FILL", "SHAPE_FILL"]
|
|
2911
2812
|
},
|
|
2912
|
-
{
|
|
2913
|
-
"name": "button/outline/bgColor/active",
|
|
2914
|
-
"value": {
|
|
2915
|
-
"r": 0.011764705882352941,
|
|
2916
|
-
"g": 0.24705882352941178,
|
|
2917
|
-
"b": 0.615686274509804,
|
|
2918
|
-
"a": 1
|
|
2919
|
-
},
|
|
2920
|
-
"type": "COLOR",
|
|
2921
|
-
"isMix": true,
|
|
2922
|
-
"refId": "mode/button/outline/bgColor/active",
|
|
2923
|
-
"reference": "mode/bgColor/accent-emphasis",
|
|
2924
|
-
"collection": "mode",
|
|
2925
|
-
"mode": "light high contrast",
|
|
2926
|
-
"group": "component (internal)",
|
|
2927
|
-
"scopes": ["FRAME_FILL", "SHAPE_FILL"]
|
|
2928
|
-
},
|
|
2929
2813
|
{
|
|
2930
2814
|
"name": "button/outline/bgColor/disabled",
|
|
2931
2815
|
"value": {
|
|
@@ -3153,23 +3037,6 @@
|
|
|
3153
3037
|
"group": "component (internal)",
|
|
3154
3038
|
"scopes": ["FRAME_FILL", "SHAPE_FILL"]
|
|
3155
3039
|
},
|
|
3156
|
-
{
|
|
3157
|
-
"name": "button/danger/bgColor/active",
|
|
3158
|
-
"value": {
|
|
3159
|
-
"r": 0.4549019607843137,
|
|
3160
|
-
"g": 0.01568627450980392,
|
|
3161
|
-
"b": 0.10196078431372549,
|
|
3162
|
-
"a": 1
|
|
3163
|
-
},
|
|
3164
|
-
"type": "COLOR",
|
|
3165
|
-
"isMix": true,
|
|
3166
|
-
"refId": "mode/button/danger/bgColor/active",
|
|
3167
|
-
"reference": "base/color/light-high-contrast/base/color/red/6",
|
|
3168
|
-
"collection": "mode",
|
|
3169
|
-
"mode": "light high contrast",
|
|
3170
|
-
"group": "component (internal)",
|
|
3171
|
-
"scopes": ["FRAME_FILL", "SHAPE_FILL"]
|
|
3172
|
-
},
|
|
3173
3040
|
{
|
|
3174
3041
|
"name": "button/danger/bgColor/disabled",
|
|
3175
3042
|
"value": {
|
|
@@ -3500,23 +3367,6 @@
|
|
|
3500
3367
|
"group": "component (internal)",
|
|
3501
3368
|
"scopes": ["FRAME_FILL", "SHAPE_FILL"]
|
|
3502
3369
|
},
|
|
3503
|
-
{
|
|
3504
|
-
"name": "buttonCounter/danger/fgColor/rest",
|
|
3505
|
-
"value": {
|
|
3506
|
-
"r": 0.596078431372549,
|
|
3507
|
-
"g": 0.054901960784313725,
|
|
3508
|
-
"b": 0.11764705882352941,
|
|
3509
|
-
"a": 1
|
|
3510
|
-
},
|
|
3511
|
-
"type": "COLOR",
|
|
3512
|
-
"isMix": true,
|
|
3513
|
-
"refId": "mode/buttonCounter/danger/fgColor/rest",
|
|
3514
|
-
"reference": "base/color/light-high-contrast/base/color/red/5",
|
|
3515
|
-
"collection": "mode",
|
|
3516
|
-
"mode": "light high contrast",
|
|
3517
|
-
"group": "component (internal)",
|
|
3518
|
-
"scopes": ["TEXT_FILL", "SHAPE_FILL"]
|
|
3519
|
-
},
|
|
3520
3370
|
{
|
|
3521
3371
|
"name": "buttonCounter/danger/fgColor/hover",
|
|
3522
3372
|
"value": {
|
|
@@ -3566,23 +3416,6 @@
|
|
|
3566
3416
|
"group": "component (internal)",
|
|
3567
3417
|
"scopes": ["FRAME_FILL", "SHAPE_FILL"]
|
|
3568
3418
|
},
|
|
3569
|
-
{
|
|
3570
|
-
"name": "reactionButton/selected/bgColor/hover",
|
|
3571
|
-
"value": {
|
|
3572
|
-
"r": 0.7803921568627451,
|
|
3573
|
-
"g": 0.9137254901960784,
|
|
3574
|
-
"b": 1,
|
|
3575
|
-
"a": 1
|
|
3576
|
-
},
|
|
3577
|
-
"type": "COLOR",
|
|
3578
|
-
"isMix": true,
|
|
3579
|
-
"refId": "mode/reactionButton/selected/bgColor/hover",
|
|
3580
|
-
"reference": "mode/reactionButton/selected/bgColor/rest",
|
|
3581
|
-
"collection": "mode",
|
|
3582
|
-
"mode": "light high contrast",
|
|
3583
|
-
"group": "component (internal)",
|
|
3584
|
-
"scopes": ["FRAME_FILL", "SHAPE_FILL"]
|
|
3585
|
-
},
|
|
3586
3419
|
{
|
|
3587
3420
|
"name": "reactionButton/selected/fgColor/rest",
|
|
3588
3421
|
"value": {
|
|
@@ -3119,9 +3119,7 @@
|
|
|
3119
3119
|
"a": 1
|
|
3120
3120
|
},
|
|
3121
3121
|
"type": "COLOR",
|
|
3122
|
-
"isMix": true,
|
|
3123
3122
|
"refId": "mode/control/checked/bgColor/hover",
|
|
3124
|
-
"reference": "mode/bgColor/accent-emphasis",
|
|
3125
3123
|
"collection": "mode",
|
|
3126
3124
|
"mode": "light tritanopia",
|
|
3127
3125
|
"group": "component",
|
|
@@ -3136,9 +3134,7 @@
|
|
|
3136
3134
|
"a": 1
|
|
3137
3135
|
},
|
|
3138
3136
|
"type": "COLOR",
|
|
3139
|
-
"isMix": true,
|
|
3140
3137
|
"refId": "mode/control/checked/bgColor/active",
|
|
3141
|
-
"reference": "mode/bgColor/accent-emphasis",
|
|
3142
3138
|
"collection": "mode",
|
|
3143
3139
|
"mode": "light tritanopia",
|
|
3144
3140
|
"group": "component",
|
|
@@ -4066,14 +4062,14 @@
|
|
|
4066
4062
|
{
|
|
4067
4063
|
"name": "button/invisible/bgColor/disabled",
|
|
4068
4064
|
"value": {
|
|
4069
|
-
"r":
|
|
4070
|
-
"g":
|
|
4071
|
-
"b":
|
|
4072
|
-
"a":
|
|
4065
|
+
"r": 1,
|
|
4066
|
+
"g": 1,
|
|
4067
|
+
"b": 1,
|
|
4068
|
+
"a": 0
|
|
4073
4069
|
},
|
|
4074
4070
|
"type": "COLOR",
|
|
4075
4071
|
"refId": "mode/button/invisible/bgColor/disabled",
|
|
4076
|
-
"reference": "
|
|
4072
|
+
"reference": "base/color/light/base/color/transparent",
|
|
4077
4073
|
"collection": "mode",
|
|
4078
4074
|
"mode": "light tritanopia",
|
|
4079
4075
|
"group": "component (internal)",
|
|
@@ -4114,14 +4110,14 @@
|
|
|
4114
4110
|
{
|
|
4115
4111
|
"name": "button/invisible/borderColor/disabled",
|
|
4116
4112
|
"value": {
|
|
4117
|
-
"r":
|
|
4118
|
-
"g":
|
|
4119
|
-
"b":
|
|
4120
|
-
"a": 0
|
|
4113
|
+
"r": 1,
|
|
4114
|
+
"g": 1,
|
|
4115
|
+
"b": 1,
|
|
4116
|
+
"a": 0
|
|
4121
4117
|
},
|
|
4122
4118
|
"type": "COLOR",
|
|
4123
4119
|
"refId": "mode/button/invisible/borderColor/disabled",
|
|
4124
|
-
"reference": "
|
|
4120
|
+
"reference": "base/color/light/base/color/transparent",
|
|
4125
4121
|
"collection": "mode",
|
|
4126
4122
|
"mode": "light tritanopia",
|
|
4127
4123
|
"group": "component (internal)",
|
|
@@ -4233,9 +4229,7 @@
|
|
|
4233
4229
|
"a": 1
|
|
4234
4230
|
},
|
|
4235
4231
|
"type": "COLOR",
|
|
4236
|
-
"isMix": true,
|
|
4237
4232
|
"refId": "mode/button/outline/bgColor/active",
|
|
4238
|
-
"reference": "mode/bgColor/accent-emphasis",
|
|
4239
4233
|
"collection": "mode",
|
|
4240
4234
|
"mode": "light tritanopia",
|
|
4241
4235
|
"group": "component (internal)",
|
|
@@ -4477,9 +4471,7 @@
|
|
|
4477
4471
|
"a": 1
|
|
4478
4472
|
},
|
|
4479
4473
|
"type": "COLOR",
|
|
4480
|
-
"isMix": true,
|
|
4481
4474
|
"refId": "mode/button/danger/bgColor/active",
|
|
4482
|
-
"reference": "base/color/light/base/color/red/6",
|
|
4483
4475
|
"collection": "mode",
|
|
4484
4476
|
"mode": "light tritanopia",
|
|
4485
4477
|
"group": "component (internal)",
|
|
@@ -4856,9 +4848,7 @@
|
|
|
4856
4848
|
"a": 1
|
|
4857
4849
|
},
|
|
4858
4850
|
"type": "COLOR",
|
|
4859
|
-
"isMix": true,
|
|
4860
4851
|
"refId": "mode/buttonCounter/danger/fgColor/rest",
|
|
4861
|
-
"reference": "base/color/light/base/color/red/5",
|
|
4862
4852
|
"collection": "mode",
|
|
4863
4853
|
"mode": "light tritanopia",
|
|
4864
4854
|
"group": "component (internal)",
|
|
@@ -4922,9 +4912,7 @@
|
|
|
4922
4912
|
"a": 1
|
|
4923
4913
|
},
|
|
4924
4914
|
"type": "COLOR",
|
|
4925
|
-
"isMix": true,
|
|
4926
4915
|
"refId": "mode/reactionButton/selected/bgColor/hover",
|
|
4927
|
-
"reference": "mode/reactionButton/selected/bgColor/rest",
|
|
4928
4916
|
"collection": "mode",
|
|
4929
4917
|
"mode": "light tritanopia",
|
|
4930
4918
|
"group": "component (internal)",
|
|
@@ -7281,9 +7269,7 @@
|
|
|
7281
7269
|
"a": 1
|
|
7282
7270
|
},
|
|
7283
7271
|
"type": "COLOR",
|
|
7284
|
-
"isMix": true,
|
|
7285
7272
|
"refId": "mode/fgColor/danger",
|
|
7286
|
-
"reference": "base/color/light/base/color/red/5",
|
|
7287
7273
|
"collection": "mode",
|
|
7288
7274
|
"mode": "light tritanopia",
|
|
7289
7275
|
"group": "semantic",
|
|
@@ -3215,9 +3215,7 @@
|
|
|
3215
3215
|
"a": 1
|
|
3216
3216
|
},
|
|
3217
3217
|
"type": "COLOR",
|
|
3218
|
-
"isMix": true,
|
|
3219
3218
|
"refId": "mode/control/checked/bgColor/hover",
|
|
3220
|
-
"reference": "mode/bgColor/accent-emphasis",
|
|
3221
3219
|
"collection": "mode",
|
|
3222
3220
|
"mode": "light",
|
|
3223
3221
|
"group": "component",
|
|
@@ -3232,9 +3230,7 @@
|
|
|
3232
3230
|
"a": 1
|
|
3233
3231
|
},
|
|
3234
3232
|
"type": "COLOR",
|
|
3235
|
-
"isMix": true,
|
|
3236
3233
|
"refId": "mode/control/checked/bgColor/active",
|
|
3237
|
-
"reference": "mode/bgColor/accent-emphasis",
|
|
3238
3234
|
"collection": "mode",
|
|
3239
3235
|
"mode": "light",
|
|
3240
3236
|
"group": "component",
|
|
@@ -3893,9 +3889,7 @@
|
|
|
3893
3889
|
"a": 1
|
|
3894
3890
|
},
|
|
3895
3891
|
"type": "COLOR",
|
|
3896
|
-
"isMix": true,
|
|
3897
3892
|
"refId": "mode/button/primary/bgColor/hover",
|
|
3898
|
-
"reference": "mode/bgColor/success-emphasis",
|
|
3899
3893
|
"collection": "mode",
|
|
3900
3894
|
"mode": "light",
|
|
3901
3895
|
"group": "component (internal)",
|
|
@@ -3910,9 +3904,7 @@
|
|
|
3910
3904
|
"a": 1
|
|
3911
3905
|
},
|
|
3912
3906
|
"type": "COLOR",
|
|
3913
|
-
"isMix": true,
|
|
3914
3907
|
"refId": "mode/button/primary/bgColor/active",
|
|
3915
|
-
"reference": "mode/bgColor/success-emphasis",
|
|
3916
3908
|
"collection": "mode",
|
|
3917
3909
|
"mode": "light",
|
|
3918
3910
|
"group": "component (internal)",
|
|
@@ -3927,9 +3919,7 @@
|
|
|
3927
3919
|
"a": 1
|
|
3928
3920
|
},
|
|
3929
3921
|
"type": "COLOR",
|
|
3930
|
-
"isMix": true,
|
|
3931
3922
|
"refId": "mode/button/primary/bgColor/disabled",
|
|
3932
|
-
"reference": "base/color/light/base/color/green/4",
|
|
3933
3923
|
"collection": "mode",
|
|
3934
3924
|
"mode": "light",
|
|
3935
3925
|
"group": "component (internal)",
|
|
@@ -4213,14 +4203,14 @@
|
|
|
4213
4203
|
{
|
|
4214
4204
|
"name": "button/invisible/bgColor/disabled",
|
|
4215
4205
|
"value": {
|
|
4216
|
-
"r":
|
|
4217
|
-
"g":
|
|
4218
|
-
"b":
|
|
4219
|
-
"a":
|
|
4206
|
+
"r": 1,
|
|
4207
|
+
"g": 1,
|
|
4208
|
+
"b": 1,
|
|
4209
|
+
"a": 0
|
|
4220
4210
|
},
|
|
4221
4211
|
"type": "COLOR",
|
|
4222
4212
|
"refId": "mode/button/invisible/bgColor/disabled",
|
|
4223
|
-
"reference": "
|
|
4213
|
+
"reference": "base/color/light/base/color/transparent",
|
|
4224
4214
|
"collection": "mode",
|
|
4225
4215
|
"mode": "light",
|
|
4226
4216
|
"group": "component (internal)",
|
|
@@ -4261,14 +4251,14 @@
|
|
|
4261
4251
|
{
|
|
4262
4252
|
"name": "button/invisible/borderColor/disabled",
|
|
4263
4253
|
"value": {
|
|
4264
|
-
"r":
|
|
4265
|
-
"g":
|
|
4266
|
-
"b":
|
|
4267
|
-
"a": 0
|
|
4254
|
+
"r": 1,
|
|
4255
|
+
"g": 1,
|
|
4256
|
+
"b": 1,
|
|
4257
|
+
"a": 0
|
|
4268
4258
|
},
|
|
4269
4259
|
"type": "COLOR",
|
|
4270
4260
|
"refId": "mode/button/invisible/borderColor/disabled",
|
|
4271
|
-
"reference": "
|
|
4261
|
+
"reference": "base/color/light/base/color/transparent",
|
|
4272
4262
|
"collection": "mode",
|
|
4273
4263
|
"mode": "light",
|
|
4274
4264
|
"group": "component (internal)",
|
|
@@ -4380,9 +4370,7 @@
|
|
|
4380
4370
|
"a": 1
|
|
4381
4371
|
},
|
|
4382
4372
|
"type": "COLOR",
|
|
4383
|
-
"isMix": true,
|
|
4384
4373
|
"refId": "mode/button/outline/bgColor/active",
|
|
4385
|
-
"reference": "mode/bgColor/accent-emphasis",
|
|
4386
4374
|
"collection": "mode",
|
|
4387
4375
|
"mode": "light",
|
|
4388
4376
|
"group": "component (internal)",
|
|
@@ -4624,9 +4612,7 @@
|
|
|
4624
4612
|
"a": 1
|
|
4625
4613
|
},
|
|
4626
4614
|
"type": "COLOR",
|
|
4627
|
-
"isMix": true,
|
|
4628
4615
|
"refId": "mode/button/danger/bgColor/active",
|
|
4629
|
-
"reference": "base/color/light/base/color/red/6",
|
|
4630
4616
|
"collection": "mode",
|
|
4631
4617
|
"mode": "light",
|
|
4632
4618
|
"group": "component (internal)",
|
|
@@ -5003,9 +4989,7 @@
|
|
|
5003
4989
|
"a": 1
|
|
5004
4990
|
},
|
|
5005
4991
|
"type": "COLOR",
|
|
5006
|
-
"isMix": true,
|
|
5007
4992
|
"refId": "mode/buttonCounter/danger/fgColor/rest",
|
|
5008
|
-
"reference": "base/color/light/base/color/red/5",
|
|
5009
4993
|
"collection": "mode",
|
|
5010
4994
|
"mode": "light",
|
|
5011
4995
|
"group": "component (internal)",
|
|
@@ -5069,9 +5053,7 @@
|
|
|
5069
5053
|
"a": 1
|
|
5070
5054
|
},
|
|
5071
5055
|
"type": "COLOR",
|
|
5072
|
-
"isMix": true,
|
|
5073
5056
|
"refId": "mode/reactionButton/selected/bgColor/hover",
|
|
5074
|
-
"reference": "mode/reactionButton/selected/bgColor/rest",
|
|
5075
5057
|
"collection": "mode",
|
|
5076
5058
|
"mode": "light",
|
|
5077
5059
|
"group": "component (internal)",
|
|
@@ -7485,9 +7467,7 @@
|
|
|
7485
7467
|
"a": 1
|
|
7486
7468
|
},
|
|
7487
7469
|
"type": "COLOR",
|
|
7488
|
-
"isMix": true,
|
|
7489
7470
|
"refId": "mode/fgColor/danger",
|
|
7490
|
-
"reference": "base/color/light/base/color/red/5",
|
|
7491
7471
|
"collection": "mode",
|
|
7492
7472
|
"mode": "light",
|
|
7493
7473
|
"group": "semantic",
|
|
@@ -7830,9 +7810,7 @@
|
|
|
7830
7810
|
"a": 1
|
|
7831
7811
|
},
|
|
7832
7812
|
"type": "COLOR",
|
|
7833
|
-
"isMix": true,
|
|
7834
7813
|
"refId": "mode/bgColor/success-emphasis",
|
|
7835
|
-
"reference": "base/color/light/base/color/green/4",
|
|
7836
7814
|
"collection": "mode",
|
|
7837
7815
|
"mode": "light",
|
|
7838
7816
|
"group": "semantic",
|
|
@@ -2,6 +2,20 @@
|
|
|
2
2
|
[data-color-mode="dark"][data-dark-theme="dark_colorblind"] ::backdrop,
|
|
3
3
|
[data-color-mode="auto"][data-light-theme="dark_colorblind"],
|
|
4
4
|
[data-color-mode="auto"][data-light-theme="dark_colorblind"] ::backdrop {
|
|
5
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /* Thin shadow for borders */
|
|
6
|
+
--boxShadow-thick: inset 0 0 0 0.125rem;
|
|
7
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem;
|
|
8
|
+
--borderWidth-default: 0.0625rem;
|
|
9
|
+
--borderWidth-thin: 0.0625rem;
|
|
10
|
+
--borderWidth-thick: 0.125rem;
|
|
11
|
+
--borderWidth-thicker: 0.25rem;
|
|
12
|
+
--borderRadius-small: 0.1875rem;
|
|
13
|
+
--borderRadius-medium: 0.375rem;
|
|
14
|
+
--borderRadius-large: 0.75rem;
|
|
15
|
+
--borderRadius-full: 624.9375rem; /* Use this border radius for pill shaped elements */
|
|
16
|
+
--borderRadius-default: 0.375rem;
|
|
17
|
+
--outline-focus-offset: -0.125rem;
|
|
18
|
+
--outline-focus-width: 0.125rem;
|
|
5
19
|
--base-color-black: #010409;
|
|
6
20
|
--base-color-inset: #010409;
|
|
7
21
|
--base-color-white: #ffffff;
|
|
@@ -549,10 +563,10 @@
|
|
|
549
563
|
--button-invisible-bgColor-rest: #00000000;
|
|
550
564
|
--button-invisible-bgColor-hover: #656c7633;
|
|
551
565
|
--button-invisible-bgColor-active: #656c7640;
|
|
552
|
-
--button-invisible-bgColor-disabled: #
|
|
566
|
+
--button-invisible-bgColor-disabled: #00000000;
|
|
553
567
|
--button-invisible-borderColor-rest: #00000000;
|
|
554
568
|
--button-invisible-borderColor-hover: #00000000;
|
|
555
|
-
--button-invisible-borderColor-disabled: #
|
|
569
|
+
--button-invisible-borderColor-disabled: #00000000;
|
|
556
570
|
--button-outline-fgColor-rest: #388bfd;
|
|
557
571
|
--button-outline-fgColor-hover: #58a6ff;
|
|
558
572
|
--button-outline-fgColor-active: #ffffff;
|
|
@@ -601,6 +615,7 @@
|
|
|
601
615
|
--reactionButton-selected-fgColor-rest: #4493f8;
|
|
602
616
|
--reactionButton-selected-fgColor-hover: #79c0ff;
|
|
603
617
|
--focus-outlineColor: #1f6feb;
|
|
618
|
+
--focus-outline: 2px solid #1f6feb;
|
|
604
619
|
--menu-bgColor-active: #151b23;
|
|
605
620
|
--overlay-bgColor: #151b23;
|
|
606
621
|
--overlay-borderColor: #3d444db3;
|
|
@@ -866,11 +881,51 @@
|
|
|
866
881
|
--shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409;
|
|
867
882
|
--shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409;
|
|
868
883
|
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
869
|
-
--
|
|
884
|
+
--border-default: 0.0625rem solid #3d444d;
|
|
885
|
+
--border-muted: 0.0625rem solid #3d444db3;
|
|
886
|
+
--border-emphasis: 0.0625rem solid #656c76;
|
|
887
|
+
--border-disabled: 0.0625rem solid #656c761a;
|
|
888
|
+
--border-transparent: 0.0625rem solid #00000000;
|
|
889
|
+
--border-neutral-emphasis: 0.0625rem solid #656c76;
|
|
890
|
+
--border-neutral-muted: 0.0625rem solid #3d444db3;
|
|
891
|
+
--border-accent-emphasis: 0.0625rem solid #1f6feb;
|
|
892
|
+
--border-accent-muted: 0.0625rem solid #388bfd66;
|
|
893
|
+
--border-success-emphasis: 0.0625rem solid #1f6feb;
|
|
894
|
+
--border-success-muted: 0.0625rem solid #388bfd66;
|
|
895
|
+
--border-open-emphasis: 0.0625rem solid #1f6feb;
|
|
896
|
+
--border-open-muted: 0.0625rem solid #388bfd66;
|
|
897
|
+
--border-danger-emphasis: 0.0625rem solid #bd561d;
|
|
898
|
+
--border-danger-muted: 0.0625rem solid #db6d2866;
|
|
899
|
+
--border-closed-emphasis: 0.0625rem solid #bd561d;
|
|
900
|
+
--border-closed-muted: 0.0625rem solid #db6d2866;
|
|
901
|
+
--border-attention-emphasis: 0.0625rem solid #9e6a03;
|
|
902
|
+
--border-attention-muted: 0.0625rem solid #bb800966;
|
|
903
|
+
--border-severe-emphasis: 0.0625rem solid #bd561d;
|
|
904
|
+
--border-severe-muted: 0.0625rem solid #db6d2866;
|
|
905
|
+
--border-done-emphasis: 0.0625rem solid #8957e5;
|
|
906
|
+
--border-done-muted: 0.0625rem solid #ab7df866;
|
|
907
|
+
--border-upsell-emphasis: 0.0625rem solid #8957e5;
|
|
908
|
+
--border-upsell-muted: 0.0625rem solid #ab7df866;
|
|
909
|
+
--border-sponsors-emphasis: 0.0625rem solid #bf4b8a;
|
|
910
|
+
--border-sponsors-muted: 0.0625rem solid #db61a266;
|
|
870
911
|
}
|
|
871
912
|
@media (prefers-color-scheme: dark) {
|
|
872
913
|
[data-color-mode="auto"][data-dark-theme="dark_colorblind"],
|
|
873
914
|
[data-color-mode="auto"][data-dark-theme="dark_colorblind"] ::backdrop {
|
|
915
|
+
--boxShadow-thin: inset 0 0 0 0.0625rem; /* Thin shadow for borders */
|
|
916
|
+
--boxShadow-thick: inset 0 0 0 0.125rem;
|
|
917
|
+
--boxShadow-thicker: inset 0 0 0 0.25rem;
|
|
918
|
+
--borderWidth-default: 0.0625rem;
|
|
919
|
+
--borderWidth-thin: 0.0625rem;
|
|
920
|
+
--borderWidth-thick: 0.125rem;
|
|
921
|
+
--borderWidth-thicker: 0.25rem;
|
|
922
|
+
--borderRadius-small: 0.1875rem;
|
|
923
|
+
--borderRadius-medium: 0.375rem;
|
|
924
|
+
--borderRadius-large: 0.75rem;
|
|
925
|
+
--borderRadius-full: 624.9375rem; /* Use this border radius for pill shaped elements */
|
|
926
|
+
--borderRadius-default: 0.375rem;
|
|
927
|
+
--outline-focus-offset: -0.125rem;
|
|
928
|
+
--outline-focus-width: 0.125rem;
|
|
874
929
|
--base-color-black: #010409;
|
|
875
930
|
--base-color-inset: #010409;
|
|
876
931
|
--base-color-white: #ffffff;
|
|
@@ -1418,10 +1473,10 @@
|
|
|
1418
1473
|
--button-invisible-bgColor-rest: #00000000;
|
|
1419
1474
|
--button-invisible-bgColor-hover: #656c7633;
|
|
1420
1475
|
--button-invisible-bgColor-active: #656c7640;
|
|
1421
|
-
--button-invisible-bgColor-disabled: #
|
|
1476
|
+
--button-invisible-bgColor-disabled: #00000000;
|
|
1422
1477
|
--button-invisible-borderColor-rest: #00000000;
|
|
1423
1478
|
--button-invisible-borderColor-hover: #00000000;
|
|
1424
|
-
--button-invisible-borderColor-disabled: #
|
|
1479
|
+
--button-invisible-borderColor-disabled: #00000000;
|
|
1425
1480
|
--button-outline-fgColor-rest: #388bfd;
|
|
1426
1481
|
--button-outline-fgColor-hover: #58a6ff;
|
|
1427
1482
|
--button-outline-fgColor-active: #ffffff;
|
|
@@ -1470,6 +1525,7 @@
|
|
|
1470
1525
|
--reactionButton-selected-fgColor-rest: #4493f8;
|
|
1471
1526
|
--reactionButton-selected-fgColor-hover: #79c0ff;
|
|
1472
1527
|
--focus-outlineColor: #1f6feb;
|
|
1528
|
+
--focus-outline: 2px solid #1f6feb;
|
|
1473
1529
|
--menu-bgColor-active: #151b23;
|
|
1474
1530
|
--overlay-bgColor: #151b23;
|
|
1475
1531
|
--overlay-borderColor: #3d444db3;
|
|
@@ -1735,6 +1791,32 @@
|
|
|
1735
1791
|
--shadow-floating-large: 0px 0px 0px 1px #3d444d, 0px 24px 48px 0px #010409;
|
|
1736
1792
|
--shadow-floating-xlarge: 0px 0px 0px 1px #3d444d, 0px 32px 64px 0px #010409;
|
|
1737
1793
|
--shadow-floating-legacy: 0px 6px 12px -3px #01040966, 0px 6px 18px 0px #01040966;
|
|
1738
|
-
--
|
|
1794
|
+
--border-default: 0.0625rem solid #3d444d;
|
|
1795
|
+
--border-muted: 0.0625rem solid #3d444db3;
|
|
1796
|
+
--border-emphasis: 0.0625rem solid #656c76;
|
|
1797
|
+
--border-disabled: 0.0625rem solid #656c761a;
|
|
1798
|
+
--border-transparent: 0.0625rem solid #00000000;
|
|
1799
|
+
--border-neutral-emphasis: 0.0625rem solid #656c76;
|
|
1800
|
+
--border-neutral-muted: 0.0625rem solid #3d444db3;
|
|
1801
|
+
--border-accent-emphasis: 0.0625rem solid #1f6feb;
|
|
1802
|
+
--border-accent-muted: 0.0625rem solid #388bfd66;
|
|
1803
|
+
--border-success-emphasis: 0.0625rem solid #1f6feb;
|
|
1804
|
+
--border-success-muted: 0.0625rem solid #388bfd66;
|
|
1805
|
+
--border-open-emphasis: 0.0625rem solid #1f6feb;
|
|
1806
|
+
--border-open-muted: 0.0625rem solid #388bfd66;
|
|
1807
|
+
--border-danger-emphasis: 0.0625rem solid #bd561d;
|
|
1808
|
+
--border-danger-muted: 0.0625rem solid #db6d2866;
|
|
1809
|
+
--border-closed-emphasis: 0.0625rem solid #bd561d;
|
|
1810
|
+
--border-closed-muted: 0.0625rem solid #db6d2866;
|
|
1811
|
+
--border-attention-emphasis: 0.0625rem solid #9e6a03;
|
|
1812
|
+
--border-attention-muted: 0.0625rem solid #bb800966;
|
|
1813
|
+
--border-severe-emphasis: 0.0625rem solid #bd561d;
|
|
1814
|
+
--border-severe-muted: 0.0625rem solid #db6d2866;
|
|
1815
|
+
--border-done-emphasis: 0.0625rem solid #8957e5;
|
|
1816
|
+
--border-done-muted: 0.0625rem solid #ab7df866;
|
|
1817
|
+
--border-upsell-emphasis: 0.0625rem solid #8957e5;
|
|
1818
|
+
--border-upsell-muted: 0.0625rem solid #ab7df866;
|
|
1819
|
+
--border-sponsors-emphasis: 0.0625rem solid #bf4b8a;
|
|
1820
|
+
--border-sponsors-muted: 0.0625rem solid #db61a266;
|
|
1739
1821
|
}
|
|
1740
1822
|
}
|