@primer/primitives 10.3.0-rc.416d4297 → 10.3.0-rc.7be162ee
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/build/platforms/figma.js +40 -36
- package/dist/build/transformers/colorToHex.js +2 -2
- package/dist/build/transformers/colorToRgbAlpha.js +2 -2
- package/dist/build/transformers/shadowToCss.js +2 -2
- package/dist/build/transformers/utilities/alpha.d.ts +2 -2
- package/dist/build/transformers/utilities/alpha.js +3 -3
- package/dist/build/utilities/log.d.ts +6 -0
- package/dist/build/utilities/log.js +34 -0
- package/dist/css/functional/themes/dark-colorblind.css +10 -10
- package/dist/css/functional/themes/dark-high-contrast.css +2 -2
- package/dist/css/functional/themes/light-colorblind.css +10 -10
- package/dist/css/functional/themes/light-high-contrast.css +2 -2
- package/dist/docs/functional/themes/dark-colorblind.json +561 -37
- package/dist/docs/functional/themes/dark-dimmed.json +381 -13
- package/dist/docs/functional/themes/dark-high-contrast.json +558 -30
- package/dist/docs/functional/themes/dark-tritanopia.json +469 -23
- package/dist/docs/functional/themes/dark.json +352 -12
- package/dist/docs/functional/themes/light-colorblind.json +538 -30
- package/dist/docs/functional/themes/light-high-contrast.json +498 -24
- package/dist/docs/functional/themes/light-tritanopia.json +507 -19
- package/dist/docs/functional/themes/light.json +350 -10
- package/dist/figma/themes/dark-colorblind.json +229 -96
- package/dist/figma/themes/dark-dimmed.json +96 -64
- package/dist/figma/themes/dark-high-contrast.json +243 -79
- package/dist/figma/themes/dark-tritanopia.json +178 -96
- package/dist/figma/themes/dark.json +96 -96
- package/dist/figma/themes/light-colorblind.json +190 -91
- package/dist/figma/themes/light-high-contrast.json +185 -74
- package/dist/figma/themes/light-tritanopia.json +170 -90
- package/dist/figma/themes/light.json +95 -95
- package/dist/internalCss/dark-colorblind.css +10 -10
- package/dist/internalCss/light-colorblind.css +10 -10
- package/dist/styleLint/functional/themes/dark-colorblind.json +561 -37
- package/dist/styleLint/functional/themes/dark-dimmed.json +381 -13
- package/dist/styleLint/functional/themes/dark-high-contrast.json +556 -28
- package/dist/styleLint/functional/themes/dark-tritanopia.json +469 -23
- package/dist/styleLint/functional/themes/dark.json +352 -12
- package/dist/styleLint/functional/themes/light-colorblind.json +538 -30
- package/dist/styleLint/functional/themes/light-high-contrast.json +496 -22
- package/dist/styleLint/functional/themes/light-tritanopia.json +507 -19
- package/dist/styleLint/functional/themes/light.json +350 -10
- package/package.json +1 -1
- package/src/tokens/component/diffBlob.json5 +94 -0
- package/src/tokens/component/page.json5 +20 -0
- package/src/tokens/component/reactionButton.json5 +78 -0
- package/src/tokens/component/timelineBadge.json5 +19 -0
- package/src/tokens/functional/color/dark/app-dark.json5 +0 -16
- package/src/tokens/functional/color/dark/overrides/dark.dimmed.json5 +0 -17
- package/src/tokens/functional/color/dark/overrides/dark.high-contrast.json5 +0 -71
- package/src/tokens/functional/color/dark/overrides/dark.protanopia-deuteranopia.json5 +5 -63
- package/src/tokens/functional/color/dark/overrides/dark.tritanopia.json5 +0 -37
- package/src/tokens/functional/color/dark/patterns-dark.json5 +0 -67
- package/src/tokens/functional/color/light/app-light.json5 +0 -16
- package/src/tokens/functional/color/light/overrides/light.high-contrast.json5 +0 -49
- package/src/tokens/functional/color/light/overrides/light.protanopia-deuteranopia.json5 +15 -76
- package/src/tokens/functional/color/light/overrides/light.tritanopia.json5 +0 -71
- package/src/tokens/functional/color/light/patterns-light.json5 +1 -65
|
@@ -7810,6 +7810,13 @@
|
|
|
7810
7810
|
"org.primer.overrides": {
|
|
7811
7811
|
"dark": {
|
|
7812
7812
|
"alpha": 0.15
|
|
7813
|
+
},
|
|
7814
|
+
"dark-high-contrast": {
|
|
7815
|
+
"$value": "#d2fedb",
|
|
7816
|
+
"alpha": 0.2,
|
|
7817
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
7818
|
+
"isSource": true,
|
|
7819
|
+
"$type": "color"
|
|
7813
7820
|
}
|
|
7814
7821
|
}
|
|
7815
7822
|
},
|
|
@@ -7827,6 +7834,13 @@
|
|
|
7827
7834
|
"org.primer.overrides": {
|
|
7828
7835
|
"dark": {
|
|
7829
7836
|
"alpha": 0.15
|
|
7837
|
+
},
|
|
7838
|
+
"dark-high-contrast": {
|
|
7839
|
+
"$value": "{bgColor.success.muted}",
|
|
7840
|
+
"alpha": 0.2,
|
|
7841
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
7842
|
+
"isSource": true,
|
|
7843
|
+
"$type": "color"
|
|
7830
7844
|
}
|
|
7831
7845
|
}
|
|
7832
7846
|
}
|
|
@@ -7844,6 +7858,9 @@
|
|
|
7844
7858
|
"collection": "mode",
|
|
7845
7859
|
"group": "component",
|
|
7846
7860
|
"scopes": ["fgColor"]
|
|
7861
|
+
},
|
|
7862
|
+
"org.primer.overrides": {
|
|
7863
|
+
"dark-high-contrast": "#ffffff"
|
|
7847
7864
|
}
|
|
7848
7865
|
},
|
|
7849
7866
|
"filePath": "src/tokens/component/diffBlob.json5",
|
|
@@ -7856,6 +7873,9 @@
|
|
|
7856
7873
|
"collection": "mode",
|
|
7857
7874
|
"group": "component",
|
|
7858
7875
|
"scopes": ["fgColor"]
|
|
7876
|
+
},
|
|
7877
|
+
"org.primer.overrides": {
|
|
7878
|
+
"dark-high-contrast": "{fgColor.onEmphasis}"
|
|
7859
7879
|
}
|
|
7860
7880
|
}
|
|
7861
7881
|
},
|
|
@@ -7880,6 +7900,22 @@
|
|
|
7880
7900
|
"filePath": "src/tokens/component/diffBlob.json5",
|
|
7881
7901
|
"isSource": true,
|
|
7882
7902
|
"$type": "color"
|
|
7903
|
+
},
|
|
7904
|
+
"light-protanopia-deuteranopia": "#9cd7ff",
|
|
7905
|
+
"light-tritanopia": "#9cd7ff",
|
|
7906
|
+
"dark-tritanopia": {
|
|
7907
|
+
"$value": "#368cf9",
|
|
7908
|
+
"alpha": 0.3,
|
|
7909
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
7910
|
+
"isSource": true,
|
|
7911
|
+
"$type": "color"
|
|
7912
|
+
},
|
|
7913
|
+
"dark-protanopia-deuteranopia": {
|
|
7914
|
+
"$value": "#368cf9",
|
|
7915
|
+
"alpha": 0.3,
|
|
7916
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
7917
|
+
"isSource": true,
|
|
7918
|
+
"$type": "color"
|
|
7883
7919
|
}
|
|
7884
7920
|
}
|
|
7885
7921
|
},
|
|
@@ -7901,6 +7937,22 @@
|
|
|
7901
7937
|
"filePath": "src/tokens/component/diffBlob.json5",
|
|
7902
7938
|
"isSource": true,
|
|
7903
7939
|
"$type": "color"
|
|
7940
|
+
},
|
|
7941
|
+
"light-protanopia-deuteranopia": "{base.color.blue.1}",
|
|
7942
|
+
"light-tritanopia": "{base.color.blue.1}",
|
|
7943
|
+
"dark-tritanopia": {
|
|
7944
|
+
"$value": "{base.color.blue.3}",
|
|
7945
|
+
"alpha": 0.3,
|
|
7946
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
7947
|
+
"isSource": true,
|
|
7948
|
+
"$type": "color"
|
|
7949
|
+
},
|
|
7950
|
+
"dark-protanopia-deuteranopia": {
|
|
7951
|
+
"$value": "{base.color.blue.3}",
|
|
7952
|
+
"alpha": 0.3,
|
|
7953
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
7954
|
+
"isSource": true,
|
|
7955
|
+
"$type": "color"
|
|
7904
7956
|
}
|
|
7905
7957
|
}
|
|
7906
7958
|
}
|
|
@@ -7941,13 +7993,79 @@
|
|
|
7941
7993
|
"type": "color"
|
|
7942
7994
|
},
|
|
7943
7995
|
"diffBlob-additionWord-bgColor": {
|
|
7944
|
-
"
|
|
7945
|
-
|
|
7996
|
+
"$extensions": {
|
|
7997
|
+
"org.primer.figma": {
|
|
7998
|
+
"collection": "mode",
|
|
7999
|
+
"group": "component",
|
|
8000
|
+
"scopes": ["bgColor"]
|
|
8001
|
+
},
|
|
8002
|
+
"org.primer.overrides": {
|
|
8003
|
+
"dark": {
|
|
8004
|
+
"$value": "#117f32",
|
|
8005
|
+
"alpha": 0.4,
|
|
8006
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8007
|
+
"isSource": true,
|
|
8008
|
+
"$type": "color"
|
|
8009
|
+
},
|
|
8010
|
+
"light-protanopia-deuteranopia": "#9cd7ff",
|
|
8011
|
+
"dark-protanopia-deuteranopia": {
|
|
8012
|
+
"$value": "#1168e3",
|
|
8013
|
+
"alpha": 0.4,
|
|
8014
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8015
|
+
"isSource": true,
|
|
8016
|
+
"$type": "color"
|
|
8017
|
+
},
|
|
8018
|
+
"light-high-contrast": "#055d20",
|
|
8019
|
+
"dark-high-contrast": "#055d20",
|
|
8020
|
+
"light-tritanopia": "#9cd7ff",
|
|
8021
|
+
"dark-tritanopia": {
|
|
8022
|
+
"$value": "#1168e3",
|
|
8023
|
+
"alpha": 0.4,
|
|
8024
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8025
|
+
"isSource": true,
|
|
8026
|
+
"$type": "color"
|
|
8027
|
+
}
|
|
8028
|
+
}
|
|
8029
|
+
},
|
|
8030
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
7946
8031
|
"isSource": true,
|
|
7947
8032
|
"original": {
|
|
7948
8033
|
"$value": "{base.color.green.5}",
|
|
7949
8034
|
"$type": "color",
|
|
7950
|
-
"
|
|
8035
|
+
"$extensions": {
|
|
8036
|
+
"org.primer.figma": {
|
|
8037
|
+
"collection": "mode",
|
|
8038
|
+
"group": "component",
|
|
8039
|
+
"scopes": ["bgColor"]
|
|
8040
|
+
},
|
|
8041
|
+
"org.primer.overrides": {
|
|
8042
|
+
"dark": {
|
|
8043
|
+
"$value": "{base.color.green.4}",
|
|
8044
|
+
"alpha": 0.4,
|
|
8045
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8046
|
+
"isSource": true,
|
|
8047
|
+
"$type": "color"
|
|
8048
|
+
},
|
|
8049
|
+
"light-protanopia-deuteranopia": "{base.color.blue.1}",
|
|
8050
|
+
"dark-protanopia-deuteranopia": {
|
|
8051
|
+
"$value": "{base.color.blue.4}",
|
|
8052
|
+
"alpha": 0.4,
|
|
8053
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8054
|
+
"isSource": true,
|
|
8055
|
+
"$type": "color"
|
|
8056
|
+
},
|
|
8057
|
+
"light-high-contrast": "{base.color.green.5}",
|
|
8058
|
+
"dark-high-contrast": "{bgColor.success.emphasis}",
|
|
8059
|
+
"light-tritanopia": "{base.color.blue.1}",
|
|
8060
|
+
"dark-tritanopia": {
|
|
8061
|
+
"$value": "{base.color.blue.4}",
|
|
8062
|
+
"alpha": 0.4,
|
|
8063
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8064
|
+
"isSource": true,
|
|
8065
|
+
"$type": "color"
|
|
8066
|
+
}
|
|
8067
|
+
}
|
|
8068
|
+
}
|
|
7951
8069
|
},
|
|
7952
8070
|
"name": "diffBlob-additionWord-bgColor",
|
|
7953
8071
|
"attributes": {},
|
|
@@ -7957,11 +8075,31 @@
|
|
|
7957
8075
|
"type": "color"
|
|
7958
8076
|
},
|
|
7959
8077
|
"diffBlob-additionWord-fgColor": {
|
|
7960
|
-
"
|
|
8078
|
+
"$extensions": {
|
|
8079
|
+
"org.primer.figma": {
|
|
8080
|
+
"collection": "mode",
|
|
8081
|
+
"group": "component",
|
|
8082
|
+
"scopes": ["fgColor"]
|
|
8083
|
+
},
|
|
8084
|
+
"org.primer.overrides": {
|
|
8085
|
+
"light-high-contrast": "#ffffff"
|
|
8086
|
+
}
|
|
8087
|
+
},
|
|
8088
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
7961
8089
|
"isSource": true,
|
|
7962
8090
|
"original": {
|
|
7963
8091
|
"$value": "{fgColor.onEmphasis}",
|
|
7964
|
-
"$type": "color"
|
|
8092
|
+
"$type": "color",
|
|
8093
|
+
"$extensions": {
|
|
8094
|
+
"org.primer.figma": {
|
|
8095
|
+
"collection": "mode",
|
|
8096
|
+
"group": "component",
|
|
8097
|
+
"scopes": ["fgColor"]
|
|
8098
|
+
},
|
|
8099
|
+
"org.primer.overrides": {
|
|
8100
|
+
"light-high-contrast": "{fgColor.onEmphasis}"
|
|
8101
|
+
}
|
|
8102
|
+
}
|
|
7965
8103
|
},
|
|
7966
8104
|
"name": "diffBlob-additionWord-fgColor",
|
|
7967
8105
|
"attributes": {},
|
|
@@ -7976,6 +8114,22 @@
|
|
|
7976
8114
|
"collection": "mode",
|
|
7977
8115
|
"group": "component",
|
|
7978
8116
|
"scopes": ["bgColor"]
|
|
8117
|
+
},
|
|
8118
|
+
"org.primer.overrides": {
|
|
8119
|
+
"dark-protanopia-deuteranopia": {
|
|
8120
|
+
"$value": "#b45105",
|
|
8121
|
+
"alpha": 0.15,
|
|
8122
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8123
|
+
"isSource": true,
|
|
8124
|
+
"$type": "color"
|
|
8125
|
+
},
|
|
8126
|
+
"dark-high-contrast": {
|
|
8127
|
+
"$value": "#fff0ee",
|
|
8128
|
+
"alpha": 0.2,
|
|
8129
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8130
|
+
"isSource": true,
|
|
8131
|
+
"$type": "color"
|
|
8132
|
+
}
|
|
7979
8133
|
}
|
|
7980
8134
|
},
|
|
7981
8135
|
"filePath": "src/tokens/component/diffBlob.json5",
|
|
@@ -7988,6 +8142,22 @@
|
|
|
7988
8142
|
"collection": "mode",
|
|
7989
8143
|
"group": "component",
|
|
7990
8144
|
"scopes": ["bgColor"]
|
|
8145
|
+
},
|
|
8146
|
+
"org.primer.overrides": {
|
|
8147
|
+
"dark-protanopia-deuteranopia": {
|
|
8148
|
+
"$value": "{base.color.orange.4}",
|
|
8149
|
+
"alpha": 0.15,
|
|
8150
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8151
|
+
"isSource": true,
|
|
8152
|
+
"$type": "color"
|
|
8153
|
+
},
|
|
8154
|
+
"dark-high-contrast": {
|
|
8155
|
+
"$value": "{bgColor.danger.muted}",
|
|
8156
|
+
"alpha": 0.2,
|
|
8157
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8158
|
+
"isSource": true,
|
|
8159
|
+
"$type": "color"
|
|
8160
|
+
}
|
|
7991
8161
|
}
|
|
7992
8162
|
}
|
|
7993
8163
|
},
|
|
@@ -8004,6 +8174,9 @@
|
|
|
8004
8174
|
"collection": "mode",
|
|
8005
8175
|
"group": "component",
|
|
8006
8176
|
"scopes": ["fgColor"]
|
|
8177
|
+
},
|
|
8178
|
+
"org.primer.overrides": {
|
|
8179
|
+
"dark-high-contrast": "#ffffff"
|
|
8007
8180
|
}
|
|
8008
8181
|
},
|
|
8009
8182
|
"filePath": "src/tokens/component/diffBlob.json5",
|
|
@@ -8016,6 +8189,9 @@
|
|
|
8016
8189
|
"collection": "mode",
|
|
8017
8190
|
"group": "component",
|
|
8018
8191
|
"scopes": ["fgColor"]
|
|
8192
|
+
},
|
|
8193
|
+
"org.primer.overrides": {
|
|
8194
|
+
"dark-high-contrast": "{fgColor.onEmphasis}"
|
|
8019
8195
|
}
|
|
8020
8196
|
}
|
|
8021
8197
|
},
|
|
@@ -8040,6 +8216,15 @@
|
|
|
8040
8216
|
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8041
8217
|
"isSource": true,
|
|
8042
8218
|
"$type": "color"
|
|
8219
|
+
},
|
|
8220
|
+
"light-tritanopia": "#ffc1bc",
|
|
8221
|
+
"light-protanopia-deuteranopia": "#ffc67b",
|
|
8222
|
+
"dark-protanopia-deuteranopia": {
|
|
8223
|
+
"$value": "#b45105",
|
|
8224
|
+
"alpha": 0.3,
|
|
8225
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8226
|
+
"isSource": true,
|
|
8227
|
+
"$type": "color"
|
|
8043
8228
|
}
|
|
8044
8229
|
}
|
|
8045
8230
|
},
|
|
@@ -8061,6 +8246,15 @@
|
|
|
8061
8246
|
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8062
8247
|
"isSource": true,
|
|
8063
8248
|
"$type": "color"
|
|
8249
|
+
},
|
|
8250
|
+
"light-tritanopia": "{base.color.red.1}",
|
|
8251
|
+
"light-protanopia-deuteranopia": "{base.color.orange.1}",
|
|
8252
|
+
"dark-protanopia-deuteranopia": {
|
|
8253
|
+
"$value": "{base.color.orange.4}",
|
|
8254
|
+
"alpha": 0.3,
|
|
8255
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8256
|
+
"isSource": true,
|
|
8257
|
+
"$type": "color"
|
|
8064
8258
|
}
|
|
8065
8259
|
}
|
|
8066
8260
|
}
|
|
@@ -8101,13 +8295,65 @@
|
|
|
8101
8295
|
"type": "color"
|
|
8102
8296
|
},
|
|
8103
8297
|
"diffBlob-deletionWord-bgColor": {
|
|
8104
|
-
"
|
|
8105
|
-
|
|
8298
|
+
"$extensions": {
|
|
8299
|
+
"org.primer.figma": {
|
|
8300
|
+
"collection": "mode",
|
|
8301
|
+
"group": "component",
|
|
8302
|
+
"scopes": ["bgColor"]
|
|
8303
|
+
},
|
|
8304
|
+
"org.primer.overrides": {
|
|
8305
|
+
"dark": {
|
|
8306
|
+
"$value": "#d5232c",
|
|
8307
|
+
"alpha": 0.4,
|
|
8308
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8309
|
+
"isSource": true,
|
|
8310
|
+
"$type": "color"
|
|
8311
|
+
},
|
|
8312
|
+
"light-protanopia-deuteranopia": "#ffc67b",
|
|
8313
|
+
"dark-protanopia-deuteranopia": {
|
|
8314
|
+
"$value": "#b45105",
|
|
8315
|
+
"alpha": 0.4,
|
|
8316
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8317
|
+
"isSource": true,
|
|
8318
|
+
"$type": "color"
|
|
8319
|
+
},
|
|
8320
|
+
"light-high-contrast": "#a0111f",
|
|
8321
|
+
"dark-high-contrast": "#a0111f",
|
|
8322
|
+
"light-tritanopia": "#ffc1bc"
|
|
8323
|
+
}
|
|
8324
|
+
},
|
|
8325
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8106
8326
|
"isSource": true,
|
|
8107
8327
|
"original": {
|
|
8108
8328
|
"$value": "{base.color.red.5}",
|
|
8109
8329
|
"$type": "color",
|
|
8110
|
-
"
|
|
8330
|
+
"$extensions": {
|
|
8331
|
+
"org.primer.figma": {
|
|
8332
|
+
"collection": "mode",
|
|
8333
|
+
"group": "component",
|
|
8334
|
+
"scopes": ["bgColor"]
|
|
8335
|
+
},
|
|
8336
|
+
"org.primer.overrides": {
|
|
8337
|
+
"dark": {
|
|
8338
|
+
"$value": "{base.color.red.4}",
|
|
8339
|
+
"alpha": 0.4,
|
|
8340
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8341
|
+
"isSource": true,
|
|
8342
|
+
"$type": "color"
|
|
8343
|
+
},
|
|
8344
|
+
"light-protanopia-deuteranopia": "{base.color.orange.1}",
|
|
8345
|
+
"dark-protanopia-deuteranopia": {
|
|
8346
|
+
"$value": "{base.color.orange.4}",
|
|
8347
|
+
"alpha": 0.4,
|
|
8348
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8349
|
+
"isSource": true,
|
|
8350
|
+
"$type": "color"
|
|
8351
|
+
},
|
|
8352
|
+
"light-high-contrast": "{base.color.red.5}",
|
|
8353
|
+
"dark-high-contrast": "{bgColor.danger.emphasis}",
|
|
8354
|
+
"light-tritanopia": "{base.color.red.1}"
|
|
8355
|
+
}
|
|
8356
|
+
}
|
|
8111
8357
|
},
|
|
8112
8358
|
"name": "diffBlob-deletionWord-bgColor",
|
|
8113
8359
|
"attributes": {},
|
|
@@ -8117,11 +8363,31 @@
|
|
|
8117
8363
|
"type": "color"
|
|
8118
8364
|
},
|
|
8119
8365
|
"diffBlob-deletionWord-fgColor": {
|
|
8120
|
-
"
|
|
8366
|
+
"$extensions": {
|
|
8367
|
+
"org.primer.figma": {
|
|
8368
|
+
"collection": "mode",
|
|
8369
|
+
"group": "component",
|
|
8370
|
+
"scopes": ["fgColor"]
|
|
8371
|
+
},
|
|
8372
|
+
"org.primer.overrides": {
|
|
8373
|
+
"light-high-contrast": "#ffffff"
|
|
8374
|
+
}
|
|
8375
|
+
},
|
|
8376
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8121
8377
|
"isSource": true,
|
|
8122
8378
|
"original": {
|
|
8123
8379
|
"$value": "{fgColor.onEmphasis}",
|
|
8124
|
-
"$type": "color"
|
|
8380
|
+
"$type": "color",
|
|
8381
|
+
"$extensions": {
|
|
8382
|
+
"org.primer.figma": {
|
|
8383
|
+
"collection": "mode",
|
|
8384
|
+
"group": "component",
|
|
8385
|
+
"scopes": ["fgColor"]
|
|
8386
|
+
},
|
|
8387
|
+
"org.primer.overrides": {
|
|
8388
|
+
"light-high-contrast": "{fgColor.onEmphasis}"
|
|
8389
|
+
}
|
|
8390
|
+
}
|
|
8125
8391
|
},
|
|
8126
8392
|
"name": "diffBlob-deletionWord-fgColor",
|
|
8127
8393
|
"attributes": {},
|
|
@@ -8187,11 +8453,33 @@
|
|
|
8187
8453
|
"type": "color"
|
|
8188
8454
|
},
|
|
8189
8455
|
"diffBlob-expander-iconColor": {
|
|
8190
|
-
"
|
|
8456
|
+
"$extensions": {
|
|
8457
|
+
"org.primer.figma": {
|
|
8458
|
+
"collection": "mode",
|
|
8459
|
+
"group": "component",
|
|
8460
|
+
"scopes": ["fgColor"]
|
|
8461
|
+
},
|
|
8462
|
+
"org.primer.overrides": {
|
|
8463
|
+
"light-high-contrast": "#010409",
|
|
8464
|
+
"dark-high-contrast": "#010409"
|
|
8465
|
+
}
|
|
8466
|
+
},
|
|
8467
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8191
8468
|
"isSource": true,
|
|
8192
8469
|
"original": {
|
|
8193
8470
|
"$value": "{fgColor.default}",
|
|
8194
|
-
"$type": "color"
|
|
8471
|
+
"$type": "color",
|
|
8472
|
+
"$extensions": {
|
|
8473
|
+
"org.primer.figma": {
|
|
8474
|
+
"collection": "mode",
|
|
8475
|
+
"group": "component",
|
|
8476
|
+
"scopes": ["fgColor"]
|
|
8477
|
+
},
|
|
8478
|
+
"org.primer.overrides": {
|
|
8479
|
+
"light-high-contrast": "{fgColor.default}",
|
|
8480
|
+
"dark-high-contrast": "{fgColor.default}"
|
|
8481
|
+
}
|
|
8482
|
+
}
|
|
8195
8483
|
},
|
|
8196
8484
|
"name": "diffBlob-expander-iconColor",
|
|
8197
8485
|
"attributes": {},
|
|
@@ -8206,6 +8494,19 @@
|
|
|
8206
8494
|
"collection": "mode",
|
|
8207
8495
|
"group": "component",
|
|
8208
8496
|
"scopes": ["bgColor"]
|
|
8497
|
+
},
|
|
8498
|
+
"org.primer.overrides": {
|
|
8499
|
+
"light-tritanopia": "#f6f8fa",
|
|
8500
|
+
"dark-tritanopia": "#e6eaef",
|
|
8501
|
+
"light-protanopia-deuteranopia": "#f6f8fa",
|
|
8502
|
+
"dark-protanopia-deuteranopia": "#e6eaef",
|
|
8503
|
+
"dark-high-contrast": {
|
|
8504
|
+
"$value": "#dff7ff",
|
|
8505
|
+
"alpha": 0.2,
|
|
8506
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8507
|
+
"isSource": true,
|
|
8508
|
+
"$type": "color"
|
|
8509
|
+
}
|
|
8209
8510
|
}
|
|
8210
8511
|
},
|
|
8211
8512
|
"filePath": "src/tokens/component/diffBlob.json5",
|
|
@@ -8218,6 +8519,19 @@
|
|
|
8218
8519
|
"collection": "mode",
|
|
8219
8520
|
"group": "component",
|
|
8220
8521
|
"scopes": ["bgColor"]
|
|
8522
|
+
},
|
|
8523
|
+
"org.primer.overrides": {
|
|
8524
|
+
"light-tritanopia": "{base.color.neutral.1}",
|
|
8525
|
+
"dark-tritanopia": "{base.color.neutral.3}",
|
|
8526
|
+
"light-protanopia-deuteranopia": "{base.color.neutral.1}",
|
|
8527
|
+
"dark-protanopia-deuteranopia": "{base.color.neutral.3}",
|
|
8528
|
+
"dark-high-contrast": {
|
|
8529
|
+
"$value": "{bgColor.accent.muted}",
|
|
8530
|
+
"alpha": 0.2,
|
|
8531
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8532
|
+
"isSource": true,
|
|
8533
|
+
"$type": "color"
|
|
8534
|
+
}
|
|
8221
8535
|
}
|
|
8222
8536
|
}
|
|
8223
8537
|
},
|
|
@@ -8262,6 +8576,12 @@
|
|
|
8262
8576
|
"collection": "mode",
|
|
8263
8577
|
"group": "component",
|
|
8264
8578
|
"scopes": ["bgColor"]
|
|
8579
|
+
},
|
|
8580
|
+
"org.primer.overrides": {
|
|
8581
|
+
"light-tritanopia": "#c8d1da",
|
|
8582
|
+
"dark-tritanopia": "#818b98",
|
|
8583
|
+
"light-protanopia-deuteranopia": "#c8d1da",
|
|
8584
|
+
"dark-protanopia-deuteranopia": "#818b98"
|
|
8265
8585
|
}
|
|
8266
8586
|
},
|
|
8267
8587
|
"filePath": "src/tokens/component/diffBlob.json5",
|
|
@@ -8274,6 +8594,12 @@
|
|
|
8274
8594
|
"collection": "mode",
|
|
8275
8595
|
"group": "component",
|
|
8276
8596
|
"scopes": ["bgColor"]
|
|
8597
|
+
},
|
|
8598
|
+
"org.primer.overrides": {
|
|
8599
|
+
"light-tritanopia": "{base.color.neutral.7}",
|
|
8600
|
+
"dark-tritanopia": "{base.color.neutral.8}",
|
|
8601
|
+
"light-protanopia-deuteranopia": "{base.color.neutral.7}",
|
|
8602
|
+
"dark-protanopia-deuteranopia": "{base.color.neutral.8}"
|
|
8277
8603
|
}
|
|
8278
8604
|
}
|
|
8279
8605
|
},
|
|
@@ -8285,13 +8611,53 @@
|
|
|
8285
8611
|
"type": "color"
|
|
8286
8612
|
},
|
|
8287
8613
|
"diffBlob-hunkNum-bgColor-rest": {
|
|
8288
|
-
"
|
|
8289
|
-
|
|
8614
|
+
"$extensions": {
|
|
8615
|
+
"org.primer.figma": {
|
|
8616
|
+
"collection": "mode",
|
|
8617
|
+
"group": "component",
|
|
8618
|
+
"scopes": ["bgColor"]
|
|
8619
|
+
},
|
|
8620
|
+
"org.primer.overrides": {
|
|
8621
|
+
"dark": "#032563",
|
|
8622
|
+
"light-tritanopia": "#e6eaef",
|
|
8623
|
+
"light-protanopia-deuteranopia": "#e6eaef",
|
|
8624
|
+
"dark-protanopia-deuteranopia": "#d1d9e0",
|
|
8625
|
+
"dark-tritanopia": "#d1d9e0",
|
|
8626
|
+
"dark-high-contrast": {
|
|
8627
|
+
"$value": "#1168e3",
|
|
8628
|
+
"alpha": 0.4,
|
|
8629
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8630
|
+
"isSource": true,
|
|
8631
|
+
"$type": "color"
|
|
8632
|
+
}
|
|
8633
|
+
}
|
|
8634
|
+
},
|
|
8635
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8290
8636
|
"isSource": true,
|
|
8291
8637
|
"original": {
|
|
8292
8638
|
"$value": "{base.color.blue.1}",
|
|
8293
8639
|
"$type": "color",
|
|
8294
|
-
"
|
|
8640
|
+
"$extensions": {
|
|
8641
|
+
"org.primer.figma": {
|
|
8642
|
+
"collection": "mode",
|
|
8643
|
+
"group": "component",
|
|
8644
|
+
"scopes": ["bgColor"]
|
|
8645
|
+
},
|
|
8646
|
+
"org.primer.overrides": {
|
|
8647
|
+
"dark": "{base.color.blue.8}",
|
|
8648
|
+
"light-tritanopia": "{base.color.neutral.3}",
|
|
8649
|
+
"light-protanopia-deuteranopia": "{base.color.neutral.3}",
|
|
8650
|
+
"dark-protanopia-deuteranopia": "{base.color.neutral.6}",
|
|
8651
|
+
"dark-tritanopia": "{base.color.neutral.6}",
|
|
8652
|
+
"dark-high-contrast": {
|
|
8653
|
+
"$value": "{base.color.blue.4}",
|
|
8654
|
+
"alpha": 0.4,
|
|
8655
|
+
"filePath": "src/tokens/component/diffBlob.json5",
|
|
8656
|
+
"isSource": true,
|
|
8657
|
+
"$type": "color"
|
|
8658
|
+
}
|
|
8659
|
+
}
|
|
8660
|
+
}
|
|
8295
8661
|
},
|
|
8296
8662
|
"name": "diffBlob-hunkNum-bgColor-rest",
|
|
8297
8663
|
"attributes": {},
|
|
@@ -8306,6 +8672,10 @@
|
|
|
8306
8672
|
"collection": "mode",
|
|
8307
8673
|
"group": "component",
|
|
8308
8674
|
"scopes": ["fgColor"]
|
|
8675
|
+
},
|
|
8676
|
+
"org.primer.overrides": {
|
|
8677
|
+
"light-protanopia-deuteranopia": "#010409",
|
|
8678
|
+
"light-tritanopia": "#010409"
|
|
8309
8679
|
}
|
|
8310
8680
|
},
|
|
8311
8681
|
"filePath": "src/tokens/component/diffBlob.json5",
|
|
@@ -8318,6 +8688,10 @@
|
|
|
8318
8688
|
"collection": "mode",
|
|
8319
8689
|
"group": "component",
|
|
8320
8690
|
"scopes": ["fgColor"]
|
|
8691
|
+
},
|
|
8692
|
+
"org.primer.overrides": {
|
|
8693
|
+
"light-protanopia-deuteranopia": "{fgColor.default}",
|
|
8694
|
+
"light-tritanopia": "{fgColor.default}"
|
|
8321
8695
|
}
|
|
8322
8696
|
}
|
|
8323
8697
|
},
|
|
@@ -14180,9 +14554,12 @@
|
|
|
14180
14554
|
"collection": "mode",
|
|
14181
14555
|
"group": "component",
|
|
14182
14556
|
"scopes": ["bgColor"]
|
|
14557
|
+
},
|
|
14558
|
+
"org.primer.overrides": {
|
|
14559
|
+
"dark": "#ffffff"
|
|
14183
14560
|
}
|
|
14184
14561
|
},
|
|
14185
|
-
"filePath": "src/tokens/
|
|
14562
|
+
"filePath": "src/tokens/component/page.json5",
|
|
14186
14563
|
"isSource": true,
|
|
14187
14564
|
"original": {
|
|
14188
14565
|
"$value": "{bgColor.muted}",
|
|
@@ -14192,6 +14569,9 @@
|
|
|
14192
14569
|
"collection": "mode",
|
|
14193
14570
|
"group": "component",
|
|
14194
14571
|
"scopes": ["bgColor"]
|
|
14572
|
+
},
|
|
14573
|
+
"org.primer.overrides": {
|
|
14574
|
+
"dark": "{bgColor.default}"
|
|
14195
14575
|
}
|
|
14196
14576
|
}
|
|
14197
14577
|
},
|
|
@@ -14203,11 +14583,73 @@
|
|
|
14203
14583
|
"type": "color"
|
|
14204
14584
|
},
|
|
14205
14585
|
"reactionButton-selected-bgColor-hover": {
|
|
14206
|
-
"
|
|
14586
|
+
"$extensions": {
|
|
14587
|
+
"org.primer.figma": {
|
|
14588
|
+
"collection": "mode",
|
|
14589
|
+
"group": "component (internal)",
|
|
14590
|
+
"scopes": ["bgColor"]
|
|
14591
|
+
},
|
|
14592
|
+
"org.primer.overrides": {
|
|
14593
|
+
"dark": {
|
|
14594
|
+
"$value": "#3a8cfd",
|
|
14595
|
+
"alpha": 0.36,
|
|
14596
|
+
"filePath": "src/tokens/component/reactionButton.json5",
|
|
14597
|
+
"isSource": true,
|
|
14598
|
+
"$type": "color"
|
|
14599
|
+
},
|
|
14600
|
+
"dark-dimmed": {
|
|
14601
|
+
"$value": "#4285e5",
|
|
14602
|
+
"alpha": 0.36,
|
|
14603
|
+
"filePath": "src/tokens/component/reactionButton.json5",
|
|
14604
|
+
"isSource": true,
|
|
14605
|
+
"$type": "color"
|
|
14606
|
+
},
|
|
14607
|
+
"light-high-contrast": "#c7e9ff",
|
|
14608
|
+
"dark-high-contrast": {
|
|
14609
|
+
"$value": "#5dadff",
|
|
14610
|
+
"alpha": 0.36,
|
|
14611
|
+
"filePath": "src/tokens/component/reactionButton.json5",
|
|
14612
|
+
"isSource": true,
|
|
14613
|
+
"$type": "color"
|
|
14614
|
+
}
|
|
14615
|
+
}
|
|
14616
|
+
},
|
|
14617
|
+
"filePath": "src/tokens/component/reactionButton.json5",
|
|
14207
14618
|
"isSource": true,
|
|
14208
14619
|
"original": {
|
|
14209
14620
|
"$value": "#c7e9ff",
|
|
14210
|
-
"$type": "color"
|
|
14621
|
+
"$type": "color",
|
|
14622
|
+
"$extensions": {
|
|
14623
|
+
"org.primer.figma": {
|
|
14624
|
+
"collection": "mode",
|
|
14625
|
+
"group": "component (internal)",
|
|
14626
|
+
"scopes": ["bgColor"]
|
|
14627
|
+
},
|
|
14628
|
+
"org.primer.overrides": {
|
|
14629
|
+
"dark": {
|
|
14630
|
+
"$value": "#3a8cfd",
|
|
14631
|
+
"alpha": 0.36,
|
|
14632
|
+
"filePath": "src/tokens/component/reactionButton.json5",
|
|
14633
|
+
"isSource": true,
|
|
14634
|
+
"$type": "color"
|
|
14635
|
+
},
|
|
14636
|
+
"dark-dimmed": {
|
|
14637
|
+
"$value": "#4285e5",
|
|
14638
|
+
"alpha": 0.36,
|
|
14639
|
+
"filePath": "src/tokens/component/reactionButton.json5",
|
|
14640
|
+
"isSource": true,
|
|
14641
|
+
"$type": "color"
|
|
14642
|
+
},
|
|
14643
|
+
"light-high-contrast": "#c7e9ff",
|
|
14644
|
+
"dark-high-contrast": {
|
|
14645
|
+
"$value": "#5dadff",
|
|
14646
|
+
"alpha": 0.36,
|
|
14647
|
+
"filePath": "src/tokens/component/reactionButton.json5",
|
|
14648
|
+
"isSource": true,
|
|
14649
|
+
"$type": "color"
|
|
14650
|
+
}
|
|
14651
|
+
}
|
|
14652
|
+
}
|
|
14211
14653
|
},
|
|
14212
14654
|
"name": "reactionButton-selected-bgColor-hover",
|
|
14213
14655
|
"attributes": {},
|
|
@@ -14222,9 +14664,18 @@
|
|
|
14222
14664
|
"collection": "mode",
|
|
14223
14665
|
"group": "component (internal)",
|
|
14224
14666
|
"scopes": ["bgColor"]
|
|
14667
|
+
},
|
|
14668
|
+
"org.primer.overrides": {
|
|
14669
|
+
"dark": {
|
|
14670
|
+
"$value": "#1168e3",
|
|
14671
|
+
"alpha": 0.2,
|
|
14672
|
+
"filePath": "src/tokens/component/reactionButton.json5",
|
|
14673
|
+
"isSource": true,
|
|
14674
|
+
"$type": "color"
|
|
14675
|
+
}
|
|
14225
14676
|
}
|
|
14226
14677
|
},
|
|
14227
|
-
"filePath": "src/tokens/
|
|
14678
|
+
"filePath": "src/tokens/component/reactionButton.json5",
|
|
14228
14679
|
"isSource": true,
|
|
14229
14680
|
"original": {
|
|
14230
14681
|
"$value": "{base.color.blue.0}",
|
|
@@ -14234,6 +14685,15 @@
|
|
|
14234
14685
|
"collection": "mode",
|
|
14235
14686
|
"group": "component (internal)",
|
|
14236
14687
|
"scopes": ["bgColor"]
|
|
14688
|
+
},
|
|
14689
|
+
"org.primer.overrides": {
|
|
14690
|
+
"dark": {
|
|
14691
|
+
"$value": "{base.color.blue.4}",
|
|
14692
|
+
"alpha": 0.2,
|
|
14693
|
+
"filePath": "src/tokens/component/reactionButton.json5",
|
|
14694
|
+
"isSource": true,
|
|
14695
|
+
"$type": "color"
|
|
14696
|
+
}
|
|
14237
14697
|
}
|
|
14238
14698
|
}
|
|
14239
14699
|
},
|
|
@@ -14250,9 +14710,12 @@
|
|
|
14250
14710
|
"collection": "mode",
|
|
14251
14711
|
"group": "component (internal)",
|
|
14252
14712
|
"scopes": ["fgColor"]
|
|
14713
|
+
},
|
|
14714
|
+
"org.primer.overrides": {
|
|
14715
|
+
"dark": "#67b3fd"
|
|
14253
14716
|
}
|
|
14254
14717
|
},
|
|
14255
|
-
"filePath": "src/tokens/
|
|
14718
|
+
"filePath": "src/tokens/component/reactionButton.json5",
|
|
14256
14719
|
"isSource": true,
|
|
14257
14720
|
"original": {
|
|
14258
14721
|
"$value": "{base.color.blue.6}",
|
|
@@ -14262,6 +14725,9 @@
|
|
|
14262
14725
|
"collection": "mode",
|
|
14263
14726
|
"group": "component (internal)",
|
|
14264
14727
|
"scopes": ["fgColor"]
|
|
14728
|
+
},
|
|
14729
|
+
"org.primer.overrides": {
|
|
14730
|
+
"dark": "{base.color.blue.2}"
|
|
14265
14731
|
}
|
|
14266
14732
|
}
|
|
14267
14733
|
},
|
|
@@ -14280,7 +14746,7 @@
|
|
|
14280
14746
|
"scopes": ["fgColor"]
|
|
14281
14747
|
}
|
|
14282
14748
|
},
|
|
14283
|
-
"filePath": "src/tokens/
|
|
14749
|
+
"filePath": "src/tokens/component/reactionButton.json5",
|
|
14284
14750
|
"isSource": true,
|
|
14285
14751
|
"original": {
|
|
14286
14752
|
"$value": "{fgColor.link}",
|
|
@@ -14810,9 +15276,13 @@
|
|
|
14810
15276
|
"collection": "mode",
|
|
14811
15277
|
"group": "component (internal)",
|
|
14812
15278
|
"scopes": ["bgColor"]
|
|
15279
|
+
},
|
|
15280
|
+
"org.primer.overrides": {
|
|
15281
|
+
"dark": "#e6eaef",
|
|
15282
|
+
"dark-dimmed": "#e0e6eb"
|
|
14813
15283
|
}
|
|
14814
15284
|
},
|
|
14815
|
-
"filePath": "src/tokens/
|
|
15285
|
+
"filePath": "src/tokens/component/timelineBadge.json5",
|
|
14816
15286
|
"isSource": true,
|
|
14817
15287
|
"original": {
|
|
14818
15288
|
"$value": "{bgColor.muted}",
|
|
@@ -14822,6 +15292,10 @@
|
|
|
14822
15292
|
"collection": "mode",
|
|
14823
15293
|
"group": "component (internal)",
|
|
14824
15294
|
"scopes": ["bgColor"]
|
|
15295
|
+
},
|
|
15296
|
+
"org.primer.overrides": {
|
|
15297
|
+
"dark": "{base.color.neutral.3}",
|
|
15298
|
+
"dark-dimmed": "{base.color.neutral.4}"
|
|
14825
15299
|
}
|
|
14826
15300
|
}
|
|
14827
15301
|
},
|
|
@@ -14903,7 +15377,7 @@
|
|
|
14903
15377
|
"filePath": "src/tokens/component/topicTag.json5",
|
|
14904
15378
|
"isSource": true,
|
|
14905
15379
|
"original": {
|
|
14906
|
-
"$value": "{
|
|
15380
|
+
"$value": "{borderColor.accent.emphasis}",
|
|
14907
15381
|
"$type": "color",
|
|
14908
15382
|
"$extensions": {
|
|
14909
15383
|
"org.primer.figma": {
|
|
@@ -14921,7 +15395,7 @@
|
|
|
14921
15395
|
"attributes": {},
|
|
14922
15396
|
"path": ["topicTag", "borderColor"],
|
|
14923
15397
|
"key": "{topicTag.borderColor}",
|
|
14924
|
-
"value": "#
|
|
15398
|
+
"value": "#0349b4",
|
|
14925
15399
|
"type": "color"
|
|
14926
15400
|
},
|
|
14927
15401
|
"treeViewItem-leadingVisual-iconColor-rest": {
|