@primer/primitives 7.11.3-rc.7a5424f → 7.11.4-rc.d9e91ef
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/js/colors/dark_colorblind.js +4 -4
- package/dist/js/colors/dark_high_contrast.js +4 -4
- package/dist/js/colors/dark_tritanopia.js +4 -4
- package/dist/js/colors/light_colorblind.js +6 -6
- package/dist/js/colors/light_tritanopia.js +6 -6
- package/dist/json/colors/dark_colorblind.json +4 -4
- package/dist/json/colors/dark_high_contrast.json +4 -4
- package/dist/json/colors/dark_tritanopia.json +4 -4
- package/dist/json/colors/light_colorblind.json +6 -6
- package/dist/json/colors/light_tritanopia.json +6 -6
- package/dist/scss/colors/_dark_colorblind.scss +4 -4
- package/dist/scss/colors/_dark_high_contrast.scss +4 -4
- package/dist/scss/colors/_dark_tritanopia.scss +4 -4
- package/dist/scss/colors/_light_colorblind.scss +6 -6
- package/dist/scss/colors/_light_tritanopia.scss +6 -6
- package/dist/ts/colors/dark_colorblind.ts +4 -4
- package/dist/ts/colors/dark_high_contrast.ts +4 -4
- package/dist/ts/colors/dark_tritanopia.ts +4 -4
- package/dist/ts/colors/light_colorblind.ts +6 -6
- package/dist/ts/colors/light_tritanopia.ts +6 -6
- package/package.json +7 -3
- package/tokens-next-private/css/base/color/dark-colorblind.css +1 -1
- package/tokens-next-private/css/base/color/dark-dimmed.css +1 -1
- package/tokens-next-private/css/base/color/dark-high-contrast.css +1 -1
- package/tokens-next-private/css/base/color/dark-tritanopia.css +1 -1
- package/tokens-next-private/css/base/color/dark.css +1 -1
- package/tokens-next-private/css/base/color/light-colorblind.css +1 -1
- package/tokens-next-private/css/base/color/light-high-contrast.css +1 -1
- package/tokens-next-private/css/base/color/light-tritanopia.css +1 -1
- package/tokens-next-private/css/base/color/light.css +1 -1
- package/tokens-next-private/css/base/size/size.css +1 -1
- package/tokens-next-private/css/base/typography/typography.css +1 -1
- package/tokens-next-private/css/functional/size/border.css +1 -1
- package/tokens-next-private/css/functional/size/breakpoints.css +1 -1
- package/tokens-next-private/css/functional/size/size-coarse.css +1 -1
- package/tokens-next-private/css/functional/size/size-fine.css +1 -1
- package/tokens-next-private/css/functional/size/size.css +1 -1
- package/tokens-next-private/css/functional/size/viewport.css +7 -9
- package/tokens-next-private/css/functional/themes/dark-colorblind.css +1 -1
- package/tokens-next-private/css/functional/themes/dark-dimmed.css +1 -1
- package/tokens-next-private/css/functional/themes/dark-high-contrast.css +1 -1
- package/tokens-next-private/css/functional/themes/dark-tritanopia.css +1 -1
- package/tokens-next-private/css/functional/themes/dark.css +1 -1
- package/tokens-next-private/css/functional/themes/light-colorblind.css +1 -1
- package/tokens-next-private/css/functional/themes/light-high-contrast.css +1 -1
- package/tokens-next-private/css/functional/themes/light-tritanopia.css +1 -1
- package/tokens-next-private/css/functional/themes/light.css +1 -1
- package/tokens-next-private/css/functional/typography/typography.css +1 -1
- package/tokens-next-private/docs/functional/size/viewport.json +18 -6
- package/tokens-next-private/js/base/color/dark-colorblind.js +1 -1
- package/tokens-next-private/js/base/color/dark-dimmed.js +1 -1
- package/tokens-next-private/js/base/color/dark-high-contrast.js +1 -1
- package/tokens-next-private/js/base/color/dark-tritanopia.js +1 -1
- package/tokens-next-private/js/base/color/dark.js +1 -1
- package/tokens-next-private/js/base/color/light-colorblind.js +1 -1
- package/tokens-next-private/js/base/color/light-high-contrast.js +1 -1
- package/tokens-next-private/js/base/color/light-tritanopia.js +1 -1
- package/tokens-next-private/js/base/color/light.js +1 -1
- package/tokens-next-private/js/base/size/size.js +1 -1
- package/tokens-next-private/js/base/typography/typography.js +1 -1
- package/tokens-next-private/js/functional/size/border.js +1 -1
- package/tokens-next-private/js/functional/size/breakpoints.js +1 -1
- package/tokens-next-private/js/functional/size/size-coarse.js +1 -1
- package/tokens-next-private/js/functional/size/size-fine.js +1 -1
- package/tokens-next-private/js/functional/size/size.js +1 -1
- package/tokens-next-private/js/functional/size/viewport.js +1 -1
- package/tokens-next-private/js/functional/themes/dark-colorblind.js +1 -1
- package/tokens-next-private/js/functional/themes/dark-dimmed.js +1 -1
- package/tokens-next-private/js/functional/themes/dark-high-contrast.js +1 -1
- package/tokens-next-private/js/functional/themes/dark-tritanopia.js +1 -1
- package/tokens-next-private/js/functional/themes/dark.js +1 -1
- package/tokens-next-private/js/functional/themes/light-colorblind.js +1 -1
- package/tokens-next-private/js/functional/themes/light-high-contrast.js +1 -1
- package/tokens-next-private/js/functional/themes/light-tritanopia.js +1 -1
- package/tokens-next-private/js/functional/themes/light.js +1 -1
- package/tokens-next-private/js/functional/typography/typography.js +1 -1
- package/tokens-next-private/scss/base/color/dark-colorblind.scss +1 -1
- package/tokens-next-private/scss/base/color/dark-dimmed.scss +1 -1
- package/tokens-next-private/scss/base/color/dark-high-contrast.scss +1 -1
- package/tokens-next-private/scss/base/color/dark-tritanopia.scss +1 -1
- package/tokens-next-private/scss/base/color/dark.scss +1 -1
- package/tokens-next-private/scss/base/color/light-colorblind.scss +1 -1
- package/tokens-next-private/scss/base/color/light-high-contrast.scss +1 -1
- package/tokens-next-private/scss/base/color/light-tritanopia.scss +1 -1
- package/tokens-next-private/scss/base/color/light.scss +1 -1
- package/tokens-next-private/scss/base/size/size.scss +1 -1
- package/tokens-next-private/scss/base/typography/typography.scss +1 -1
- package/tokens-next-private/scss/functional/size/border.scss +1 -1
- package/tokens-next-private/scss/functional/size/breakpoints.scss +1 -1
- package/tokens-next-private/scss/functional/size/size-coarse.scss +1 -1
- package/tokens-next-private/scss/functional/size/size-fine.scss +1 -1
- package/tokens-next-private/scss/functional/size/size.scss +1 -1
- package/tokens-next-private/scss/functional/size/viewport.scss +1 -1
- package/tokens-next-private/scss/functional/themes/dark-colorblind.scss +1 -1
- package/tokens-next-private/scss/functional/themes/dark-dimmed.scss +1 -1
- package/tokens-next-private/scss/functional/themes/dark-high-contrast.scss +1 -1
- package/tokens-next-private/scss/functional/themes/dark-tritanopia.scss +1 -1
- package/tokens-next-private/scss/functional/themes/dark.scss +1 -1
- package/tokens-next-private/scss/functional/themes/light-colorblind.scss +1 -1
- package/tokens-next-private/scss/functional/themes/light-high-contrast.scss +1 -1
- package/tokens-next-private/scss/functional/themes/light-tritanopia.scss +1 -1
- package/tokens-next-private/scss/functional/themes/light.scss +1 -1
- package/tokens-next-private/scss/functional/typography/typography.scss +1 -1
- package/tokens-next-private/ts/base/color/dark-colorblind.ts +1 -1
- package/tokens-next-private/ts/base/color/dark-dimmed.ts +1 -1
- package/tokens-next-private/ts/base/color/dark-high-contrast.ts +1 -1
- package/tokens-next-private/ts/base/color/dark-tritanopia.ts +1 -1
- package/tokens-next-private/ts/base/color/dark.ts +1 -1
- package/tokens-next-private/ts/base/color/light-colorblind.ts +1 -1
- package/tokens-next-private/ts/base/color/light-high-contrast.ts +1 -1
- package/tokens-next-private/ts/base/color/light-tritanopia.ts +1 -1
- package/tokens-next-private/ts/base/color/light.ts +1 -1
- package/tokens-next-private/ts/base/size/size.ts +1 -1
- package/tokens-next-private/ts/base/typography/typography.ts +1 -1
- package/tokens-next-private/ts/functional/size/border.ts +1 -1
- package/tokens-next-private/ts/functional/size/breakpoints.ts +1 -1
- package/tokens-next-private/ts/functional/size/size-coarse.ts +1 -1
- package/tokens-next-private/ts/functional/size/size-fine.ts +1 -1
- package/tokens-next-private/ts/functional/size/size.ts +1 -1
- package/tokens-next-private/ts/functional/size/viewport.ts +1 -1
- package/tokens-next-private/ts/functional/themes/dark-colorblind.ts +1 -1
- package/tokens-next-private/ts/functional/themes/dark-dimmed.ts +1 -1
- package/tokens-next-private/ts/functional/themes/dark-high-contrast.ts +1 -1
- package/tokens-next-private/ts/functional/themes/dark-tritanopia.ts +1 -1
- package/tokens-next-private/ts/functional/themes/dark.ts +1 -1
- package/tokens-next-private/ts/functional/themes/light-colorblind.ts +1 -1
- package/tokens-next-private/ts/functional/themes/light-high-contrast.ts +1 -1
- package/tokens-next-private/ts/functional/themes/light-tritanopia.ts +1 -1
- package/tokens-next-private/ts/functional/themes/light.ts +1 -1
- package/tokens-next-private/ts/functional/typography/typography.ts +1 -1
- package/tokens-next-private/ts/types/BaseColorDesignTokens.d.ts +1 -1
- package/tokens-next-private/ts/types/SizeDesignTokens.d.ts +1 -1
- package/tokens-next-private/ts/types/ThemeDesignTokens.d.ts +1 -1
- package/tokens-next-private/ts/types/TypographyDesignTokens.d.ts +1 -1
- package/tokens-v2-private/css/tokens/base/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/base/typography/typography.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/border.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/breakpoints.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-coarse.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size-fine.css +1 -1
- package/tokens-v2-private/css/tokens/functional/size/size.css +1 -1
- package/tokens-v2-private/css/tokens/functional/typography/typography.css +1 -1
- package/tokens-v2-private/js/module/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/module/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/js/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/js/tokens/functional/typography/typography.js +1 -1
- package/tokens-v2-private/scss/tokens/base/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/base/typography/typography.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/border.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/breakpoints.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-coarse.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size-fine.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/size.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/size/viewport.scss +1 -1
- package/tokens-v2-private/scss/tokens/functional/typography/typography.scss +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/base/typography/typography.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/border.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/breakpoints.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-coarse.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size-fine.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/size.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/size/viewport.js +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.d.ts +1 -1
- package/tokens-v2-private/ts/tokens/functional/typography/typography.js +1 -1
- package/dist/color-contrast-check.json +0 -1
|
@@ -99,7 +99,7 @@ export default {
|
|
|
99
99
|
"containerBorderWidth": "1px",
|
|
100
100
|
"textPrimary": "#e6edf3",
|
|
101
101
|
"textSecondary": "#7d8590",
|
|
102
|
-
"textLink": "#
|
|
102
|
+
"textLink": "#58a6ff",
|
|
103
103
|
"btnIcon": "#7d8590",
|
|
104
104
|
"btnHoverIcon": "#e6edf3",
|
|
105
105
|
"btnHoverBg": "rgba(110,118,129,0.1)",
|
|
@@ -130,7 +130,7 @@ export default {
|
|
|
130
130
|
"lineTimestampText": "#6e7681",
|
|
131
131
|
"lineHoverBg": "rgba(110,118,129,0.1)",
|
|
132
132
|
"lineSelectedBg": "rgba(56,139,253,0.1)",
|
|
133
|
-
"lineSelectedNumText": "#
|
|
133
|
+
"lineSelectedNumText": "#58a6ff",
|
|
134
134
|
"lineDtFmText": "#ffffff",
|
|
135
135
|
"lineDtFmBg": "#9e6a03",
|
|
136
136
|
"gateBg": "rgba(187,128,9,0.15)",
|
|
@@ -148,7 +148,7 @@ export default {
|
|
|
148
148
|
"loglineWarningText": "#7d8590",
|
|
149
149
|
"loglineWarningNumText": "#d29922",
|
|
150
150
|
"loglineWarningBg": "rgba(187,128,9,0.15)",
|
|
151
|
-
"loglineCommandText": "#
|
|
151
|
+
"loglineCommandText": "#58a6ff",
|
|
152
152
|
"loglineSectionText": "#58a6ff",
|
|
153
153
|
"ansi": {
|
|
154
154
|
"black": "#0d1117",
|
|
@@ -418,7 +418,7 @@ export default {
|
|
|
418
418
|
"subtle": "rgba(110,118,129,0.1)"
|
|
419
419
|
},
|
|
420
420
|
"accent": {
|
|
421
|
-
"fg": "#
|
|
421
|
+
"fg": "#58a6ff",
|
|
422
422
|
"emphasis": "#1f6feb",
|
|
423
423
|
"muted": "rgba(56,139,253,0.4)",
|
|
424
424
|
"subtle": "rgba(56,139,253,0.1)"
|
|
@@ -99,7 +99,7 @@ export default {
|
|
|
99
99
|
"containerBorderWidth": "1px",
|
|
100
100
|
"textPrimary": "#e6edf3",
|
|
101
101
|
"textSecondary": "#f0f3f6",
|
|
102
|
-
"textLink": "#
|
|
102
|
+
"textLink": "#71b7ff",
|
|
103
103
|
"btnIcon": "#f0f3f6",
|
|
104
104
|
"btnHoverIcon": "#e6edf3",
|
|
105
105
|
"btnHoverBg": "rgba(158,167,179,0.1)",
|
|
@@ -130,7 +130,7 @@ export default {
|
|
|
130
130
|
"lineTimestampText": "#9ea7b3",
|
|
131
131
|
"lineHoverBg": "rgba(158,167,179,0.1)",
|
|
132
132
|
"lineSelectedBg": "rgba(64,158,255,0.1)",
|
|
133
|
-
"lineSelectedNumText": "#
|
|
133
|
+
"lineSelectedNumText": "#71b7ff",
|
|
134
134
|
"lineDtFmText": "#0a0c10",
|
|
135
135
|
"lineDtFmBg": "#e09b13",
|
|
136
136
|
"gateBg": "rgba(224,155,19,0.15)",
|
|
@@ -148,7 +148,7 @@ export default {
|
|
|
148
148
|
"loglineWarningText": "#f0f3f6",
|
|
149
149
|
"loglineWarningNumText": "#f0b72f",
|
|
150
150
|
"loglineWarningBg": "rgba(224,155,19,0.15)",
|
|
151
|
-
"loglineCommandText": "#
|
|
151
|
+
"loglineCommandText": "#71b7ff",
|
|
152
152
|
"loglineSectionText": "#26cd4d",
|
|
153
153
|
"ansi": {
|
|
154
154
|
"black": "#0a0c10",
|
|
@@ -418,7 +418,7 @@ export default {
|
|
|
418
418
|
"subtle": "rgba(158,167,179,0.1)"
|
|
419
419
|
},
|
|
420
420
|
"accent": {
|
|
421
|
-
"fg": "#
|
|
421
|
+
"fg": "#71b7ff",
|
|
422
422
|
"emphasis": "#409eff",
|
|
423
423
|
"muted": "#409eff",
|
|
424
424
|
"subtle": "rgba(64,158,255,0.1)"
|
|
@@ -99,7 +99,7 @@ export default {
|
|
|
99
99
|
"containerBorderWidth": "1px",
|
|
100
100
|
"textPrimary": "#e6edf3",
|
|
101
101
|
"textSecondary": "#7d8590",
|
|
102
|
-
"textLink": "#
|
|
102
|
+
"textLink": "#58a6ff",
|
|
103
103
|
"btnIcon": "#7d8590",
|
|
104
104
|
"btnHoverIcon": "#e6edf3",
|
|
105
105
|
"btnHoverBg": "rgba(110,118,129,0.1)",
|
|
@@ -130,7 +130,7 @@ export default {
|
|
|
130
130
|
"lineTimestampText": "#6e7681",
|
|
131
131
|
"lineHoverBg": "rgba(110,118,129,0.1)",
|
|
132
132
|
"lineSelectedBg": "rgba(56,139,253,0.1)",
|
|
133
|
-
"lineSelectedNumText": "#
|
|
133
|
+
"lineSelectedNumText": "#58a6ff",
|
|
134
134
|
"lineDtFmText": "#ffffff",
|
|
135
135
|
"lineDtFmBg": "#9e6a03",
|
|
136
136
|
"gateBg": "rgba(187,128,9,0.15)",
|
|
@@ -148,7 +148,7 @@ export default {
|
|
|
148
148
|
"loglineWarningText": "#7d8590",
|
|
149
149
|
"loglineWarningNumText": "#d29922",
|
|
150
150
|
"loglineWarningBg": "rgba(187,128,9,0.15)",
|
|
151
|
-
"loglineCommandText": "#
|
|
151
|
+
"loglineCommandText": "#58a6ff",
|
|
152
152
|
"loglineSectionText": "#58a6ff",
|
|
153
153
|
"ansi": {
|
|
154
154
|
"black": "#0d1117",
|
|
@@ -418,7 +418,7 @@ export default {
|
|
|
418
418
|
"subtle": "rgba(110,118,129,0.1)"
|
|
419
419
|
},
|
|
420
420
|
"accent": {
|
|
421
|
-
"fg": "#
|
|
421
|
+
"fg": "#58a6ff",
|
|
422
422
|
"emphasis": "#1f6feb",
|
|
423
423
|
"muted": "rgba(56,139,253,0.4)",
|
|
424
424
|
"subtle": "rgba(56,139,253,0.1)"
|
|
@@ -31,7 +31,7 @@ export default {
|
|
|
31
31
|
"diffstat": {
|
|
32
32
|
"deletionBorder": "rgba(27,31,36,0.15)",
|
|
33
33
|
"additionBorder": "rgba(27,31,36,0.15)",
|
|
34
|
-
"additionBg": "#
|
|
34
|
+
"additionBg": "#0969da"
|
|
35
35
|
},
|
|
36
36
|
"searchKeyword": {
|
|
37
37
|
"hl": "#fff8c5"
|
|
@@ -110,7 +110,7 @@ export default {
|
|
|
110
110
|
"inputShadow": "none",
|
|
111
111
|
"donutError": "#dd7815",
|
|
112
112
|
"donutPending": "#bf8700",
|
|
113
|
-
"donutSuccess": "#
|
|
113
|
+
"donutSuccess": "#0969da",
|
|
114
114
|
"donutNeutral": "#afb8c1",
|
|
115
115
|
"dropdownText": "#afb8c1",
|
|
116
116
|
"dropdownBg": "#32383f",
|
|
@@ -268,7 +268,7 @@ export default {
|
|
|
268
268
|
"counterBg": "rgba(27,31,36,0.08)",
|
|
269
269
|
"primary": {
|
|
270
270
|
"text": "#ffffff",
|
|
271
|
-
"bg": "#
|
|
271
|
+
"bg": "#0969da",
|
|
272
272
|
"border": "rgba(27,31,36,0.15)",
|
|
273
273
|
"shadow": "0 1px 0 rgba(27,31,36,0.1)",
|
|
274
274
|
"insetShadow": "inset 0 1px 0 rgba(255,255,255,0.03)",
|
|
@@ -335,7 +335,7 @@ export default {
|
|
|
335
335
|
"danger": {
|
|
336
336
|
"hoverBg": "rgba(255,245,232,0.64)",
|
|
337
337
|
"activeBg": "#fff5e8",
|
|
338
|
-
"hoverText": "#
|
|
338
|
+
"hoverText": "#b35900"
|
|
339
339
|
}
|
|
340
340
|
},
|
|
341
341
|
"switchTrack": {
|
|
@@ -425,7 +425,7 @@ export default {
|
|
|
425
425
|
},
|
|
426
426
|
"success": {
|
|
427
427
|
"fg": "#0969da",
|
|
428
|
-
"emphasis": "#
|
|
428
|
+
"emphasis": "#0969da",
|
|
429
429
|
"muted": "rgba(84,174,255,0.4)",
|
|
430
430
|
"subtle": "#ddf4ff"
|
|
431
431
|
},
|
|
@@ -442,7 +442,7 @@ export default {
|
|
|
442
442
|
"subtle": "#fff5e8"
|
|
443
443
|
},
|
|
444
444
|
"danger": {
|
|
445
|
-
"fg": "#
|
|
445
|
+
"fg": "#b35900",
|
|
446
446
|
"emphasis": "#b35900",
|
|
447
447
|
"muted": "rgba(247,153,57,0.4)",
|
|
448
448
|
"subtle": "#fff5e8"
|
|
@@ -31,7 +31,7 @@ export default {
|
|
|
31
31
|
"diffstat": {
|
|
32
32
|
"deletionBorder": "rgba(27,31,36,0.15)",
|
|
33
33
|
"additionBorder": "rgba(27,31,36,0.15)",
|
|
34
|
-
"additionBg": "#
|
|
34
|
+
"additionBg": "#0969da"
|
|
35
35
|
},
|
|
36
36
|
"searchKeyword": {
|
|
37
37
|
"hl": "#fff8c5"
|
|
@@ -110,7 +110,7 @@ export default {
|
|
|
110
110
|
"inputShadow": "none",
|
|
111
111
|
"donutError": "#fa4549",
|
|
112
112
|
"donutPending": "#bf8700",
|
|
113
|
-
"donutSuccess": "#
|
|
113
|
+
"donutSuccess": "#0969da",
|
|
114
114
|
"donutNeutral": "#afb8c1",
|
|
115
115
|
"dropdownText": "#afb8c1",
|
|
116
116
|
"dropdownBg": "#32383f",
|
|
@@ -268,7 +268,7 @@ export default {
|
|
|
268
268
|
"counterBg": "rgba(27,31,36,0.08)",
|
|
269
269
|
"primary": {
|
|
270
270
|
"text": "#ffffff",
|
|
271
|
-
"bg": "#
|
|
271
|
+
"bg": "#0969da",
|
|
272
272
|
"border": "rgba(27,31,36,0.15)",
|
|
273
273
|
"shadow": "0 1px 0 rgba(27,31,36,0.1)",
|
|
274
274
|
"insetShadow": "inset 0 1px 0 rgba(255,255,255,0.03)",
|
|
@@ -335,7 +335,7 @@ export default {
|
|
|
335
335
|
"danger": {
|
|
336
336
|
"hoverBg": "rgba(255,235,233,0.64)",
|
|
337
337
|
"activeBg": "#ffebe9",
|
|
338
|
-
"hoverText": "#
|
|
338
|
+
"hoverText": "#cf222e"
|
|
339
339
|
}
|
|
340
340
|
},
|
|
341
341
|
"switchTrack": {
|
|
@@ -425,7 +425,7 @@ export default {
|
|
|
425
425
|
},
|
|
426
426
|
"success": {
|
|
427
427
|
"fg": "#0969da",
|
|
428
|
-
"emphasis": "#
|
|
428
|
+
"emphasis": "#0969da",
|
|
429
429
|
"muted": "rgba(84,174,255,0.4)",
|
|
430
430
|
"subtle": "#ddf4ff"
|
|
431
431
|
},
|
|
@@ -442,7 +442,7 @@ export default {
|
|
|
442
442
|
"subtle": "#ffebe9"
|
|
443
443
|
},
|
|
444
444
|
"danger": {
|
|
445
|
-
"fg": "#
|
|
445
|
+
"fg": "#cf222e",
|
|
446
446
|
"emphasis": "#cf222e",
|
|
447
447
|
"muted": "rgba(255,129,130,0.4)",
|
|
448
448
|
"subtle": "#ffebe9"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/primitives",
|
|
3
|
-
"version": "7.11.
|
|
3
|
+
"version": "7.11.4-rc.d9e91ef",
|
|
4
4
|
"description": "Typography, spacing, and color primitives for Primer design system",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -31,8 +31,8 @@
|
|
|
31
31
|
"build:next": "ts-node -r tsconfig-paths/register ./scripts/buildTokens.ts",
|
|
32
32
|
"build:tokens": "node -e \"require('./build')._init()\"",
|
|
33
33
|
"build:new-tokens": "npm run build:tokens && npm run build:next",
|
|
34
|
-
"check
|
|
35
|
-
"contrast
|
|
34
|
+
"tokenJson:check": "ts-node scripts/diffThemes.ts && ts-node scripts/diffTokenProps.ts",
|
|
35
|
+
"contrast:check": "ts-node -e \"require('./scripts/color-contrast').check()\"",
|
|
36
36
|
"format": "prettier --write '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
|
|
37
37
|
"format:check": "prettier --check '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
|
|
38
38
|
"install:docs": "cd docs && npm ci --legacy-peer-deps --no-audit --no-fund --include=dev",
|
|
@@ -52,6 +52,7 @@
|
|
|
52
52
|
},
|
|
53
53
|
"prettier": "@github/prettier-config",
|
|
54
54
|
"devDependencies": {
|
|
55
|
+
"@actions/github": "^5.1.1",
|
|
55
56
|
"@changesets/changelog-github": "^0.4.8",
|
|
56
57
|
"@changesets/cli": "^2.22.0",
|
|
57
58
|
"@github/prettier-config": "^0.0.6",
|
|
@@ -88,5 +89,8 @@
|
|
|
88
89
|
"ts-node": "^10.9.1",
|
|
89
90
|
"tsconfig-paths": "^4.1.0",
|
|
90
91
|
"typescript": "^4.9.3"
|
|
92
|
+
},
|
|
93
|
+
"dependencies": {
|
|
94
|
+
"markdown-table-ts": "^1.0.3"
|
|
91
95
|
}
|
|
92
96
|
}
|
|
@@ -1,13 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on Wed,
|
|
3
|
+
* Generated on Wed, 05 Apr 2023 02:07:17 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
|
-
:
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
--viewportRange-landscape: (orientation: landscape);
|
|
13
|
-
}
|
|
6
|
+
@custom-media --viewportRange-narrow-viewport (max-width: calc(48rem - 0.02px));
|
|
7
|
+
@custom-media --viewportRange-narrowLandscape-viewport (max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape));
|
|
8
|
+
@custom-media --viewportRange-regular-viewport (min-width: 48rem);
|
|
9
|
+
@custom-media --viewportRange-wide-viewport (min-width: 90rem);
|
|
10
|
+
@custom-media --viewportRange-portrait-viewport (orientation: portrait);
|
|
11
|
+
@custom-media --viewportRange-landscape-viewport (orientation: landscape);
|
|
@@ -2,10 +2,12 @@
|
|
|
2
2
|
"viewportRange": {
|
|
3
3
|
"narrow": {
|
|
4
4
|
"value": "(max-width: calc(48rem - 0.02px))",
|
|
5
|
+
"$type": "custom-viewportRange",
|
|
5
6
|
"filePath": "src/tokens/functional/size/viewport.json",
|
|
6
7
|
"isSource": true,
|
|
7
8
|
"original": {
|
|
8
|
-
"value": "(max-width: calc({breakpoint.medium} - 0.02px))"
|
|
9
|
+
"value": "(max-width: calc({breakpoint.medium} - 0.02px))",
|
|
10
|
+
"$type": "custom-viewportRange"
|
|
9
11
|
},
|
|
10
12
|
"name": "viewportRange-narrow",
|
|
11
13
|
"attributes": {},
|
|
@@ -13,10 +15,12 @@
|
|
|
13
15
|
},
|
|
14
16
|
"narrowLandscape": {
|
|
15
17
|
"value": "(max-width: calc(63.25rem - 0.02px) and (max-height: calc(34rem - 0.02px)) and (orientation: landscape))",
|
|
18
|
+
"$type": "custom-viewportRange",
|
|
16
19
|
"filePath": "src/tokens/functional/size/viewport.json",
|
|
17
20
|
"isSource": true,
|
|
18
21
|
"original": {
|
|
19
|
-
"value": "(max-width: calc({breakpoint.large} - 0.02px) and (max-height: calc({breakpoint.small} - 0.02px)) and (orientation: landscape))"
|
|
22
|
+
"value": "(max-width: calc({breakpoint.large} - 0.02px) and (max-height: calc({breakpoint.small} - 0.02px)) and (orientation: landscape))",
|
|
23
|
+
"$type": "custom-viewportRange"
|
|
20
24
|
},
|
|
21
25
|
"name": "viewportRange-narrowLandscape",
|
|
22
26
|
"attributes": {},
|
|
@@ -24,10 +28,12 @@
|
|
|
24
28
|
},
|
|
25
29
|
"regular": {
|
|
26
30
|
"value": "(min-width: 48rem)",
|
|
31
|
+
"$type": "custom-viewportRange",
|
|
27
32
|
"filePath": "src/tokens/functional/size/viewport.json",
|
|
28
33
|
"isSource": true,
|
|
29
34
|
"original": {
|
|
30
|
-
"value": "(min-width: {breakpoint.medium})"
|
|
35
|
+
"value": "(min-width: {breakpoint.medium})",
|
|
36
|
+
"$type": "custom-viewportRange"
|
|
31
37
|
},
|
|
32
38
|
"name": "viewportRange-regular",
|
|
33
39
|
"attributes": {},
|
|
@@ -35,10 +41,12 @@
|
|
|
35
41
|
},
|
|
36
42
|
"wide": {
|
|
37
43
|
"value": "(min-width: 90rem)",
|
|
44
|
+
"$type": "custom-viewportRange",
|
|
38
45
|
"filePath": "src/tokens/functional/size/viewport.json",
|
|
39
46
|
"isSource": true,
|
|
40
47
|
"original": {
|
|
41
|
-
"value": "(min-width: {breakpoint.xxlarge})"
|
|
48
|
+
"value": "(min-width: {breakpoint.xxlarge})",
|
|
49
|
+
"$type": "custom-viewportRange"
|
|
42
50
|
},
|
|
43
51
|
"name": "viewportRange-wide",
|
|
44
52
|
"attributes": {},
|
|
@@ -46,10 +54,12 @@
|
|
|
46
54
|
},
|
|
47
55
|
"portrait": {
|
|
48
56
|
"value": "(orientation: portrait)",
|
|
57
|
+
"$type": "custom-viewportRange",
|
|
49
58
|
"filePath": "src/tokens/functional/size/viewport.json",
|
|
50
59
|
"isSource": true,
|
|
51
60
|
"original": {
|
|
52
|
-
"value": "(orientation: portrait)"
|
|
61
|
+
"value": "(orientation: portrait)",
|
|
62
|
+
"$type": "custom-viewportRange"
|
|
53
63
|
},
|
|
54
64
|
"name": "viewportRange-portrait",
|
|
55
65
|
"attributes": {},
|
|
@@ -57,10 +67,12 @@
|
|
|
57
67
|
},
|
|
58
68
|
"landscape": {
|
|
59
69
|
"value": "(orientation: landscape)",
|
|
70
|
+
"$type": "custom-viewportRange",
|
|
60
71
|
"filePath": "src/tokens/functional/size/viewport.json",
|
|
61
72
|
"isSource": true,
|
|
62
73
|
"original": {
|
|
63
|
-
"value": "(orientation: landscape)"
|
|
74
|
+
"value": "(orientation: landscape)",
|
|
75
|
+
"$type": "custom-viewportRange"
|
|
64
76
|
},
|
|
65
77
|
"name": "viewportRange-landscape",
|
|
66
78
|
"attributes": {},
|