@primer/primitives 7.10.0-rc.ff1c1d9 → 7.11.0-rc.00655fc
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 +2 -2
- package/build.js +70 -70
- package/dist/color-contrast-check.json +1 -1
- package/dist/deprecated/colors.json +7 -1
- package/dist/js/colors/dark.d.ts +0 -13
- package/dist/js/colors/dark.js +1 -14
- package/dist/js/colors/dark_colorblind.d.ts +0 -13
- package/dist/js/colors/dark_colorblind.js +1 -14
- package/dist/js/colors/dark_dimmed.d.ts +0 -13
- package/dist/js/colors/dark_dimmed.js +1 -14
- package/dist/js/colors/dark_high_contrast.d.ts +0 -13
- package/dist/js/colors/dark_high_contrast.js +1 -14
- package/dist/js/colors/dark_tritanopia.d.ts +0 -13
- package/dist/js/colors/dark_tritanopia.js +1 -14
- package/dist/js/colors/index.d.ts +0 -117
- package/dist/js/colors/light.d.ts +0 -13
- package/dist/js/colors/light.js +1 -14
- package/dist/js/colors/light_colorblind.d.ts +0 -13
- package/dist/js/colors/light_colorblind.js +1 -14
- package/dist/js/colors/light_high_contrast.d.ts +0 -13
- package/dist/js/colors/light_high_contrast.js +1 -14
- package/dist/js/colors/light_tritanopia.d.ts +0 -13
- package/dist/js/colors/light_tritanopia.js +1 -14
- package/dist/js/index.d.ts +0 -117
- package/dist/json/colors/dark.json +1 -14
- package/dist/json/colors/dark_colorblind.json +1 -14
- package/dist/json/colors/dark_dimmed.json +1 -14
- package/dist/json/colors/dark_high_contrast.json +1 -14
- package/dist/json/colors/dark_tritanopia.json +1 -14
- package/dist/json/colors/light.json +1 -14
- package/dist/json/colors/light_colorblind.json +1 -14
- package/dist/json/colors/light_high_contrast.json +1 -14
- package/dist/json/colors/light_tritanopia.json +1 -14
- package/dist/removed/colors.json +13 -2
- package/dist/scss/colors/_dark.scss +0 -13
- package/dist/scss/colors/_dark_colorblind.scss +0 -13
- package/dist/scss/colors/_dark_dimmed.scss +0 -13
- package/dist/scss/colors/_dark_high_contrast.scss +0 -13
- package/dist/scss/colors/_dark_tritanopia.scss +0 -13
- package/dist/scss/colors/_light.scss +0 -13
- package/dist/scss/colors/_light_colorblind.scss +0 -13
- package/dist/scss/colors/_light_high_contrast.scss +0 -13
- package/dist/scss/colors/_light_tritanopia.scss +0 -13
- package/dist/ts/colors/dark.ts +1 -14
- package/dist/ts/colors/dark_colorblind.ts +1 -14
- package/dist/ts/colors/dark_dimmed.ts +1 -14
- package/dist/ts/colors/dark_high_contrast.ts +1 -14
- package/dist/ts/colors/dark_tritanopia.ts +1 -14
- package/dist/ts/colors/light.ts +1 -14
- package/dist/ts/colors/light_colorblind.ts +1 -14
- package/dist/ts/colors/light_high_contrast.ts +1 -14
- package/dist/ts/colors/light_tritanopia.ts +1 -14
- package/package.json +33 -30
- package/tokens/functional/size/border.json +8 -0
- package/tokens/functional/typography/typography.json +2 -2
- package/tokens/removed/color.json +421 -0
- 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 +3 -3
- package/tokens-v2-private/docs/docValues.json +12 -12
- 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 +13 -13
- 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 +11 -11
- 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 +3 -3
- 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 +11 -11
- package/CHANGELOG.md +0 -677
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@primer/primitives",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.11.0-rc.00655fc",
|
|
4
4
|
"description": "Typography, spacing, and color primitives for Primer design system",
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -26,46 +26,48 @@
|
|
|
26
26
|
},
|
|
27
27
|
"homepage": "https://github.com/primer/primitives#readme",
|
|
28
28
|
"scripts": {
|
|
29
|
-
"build": "ts-node ./
|
|
29
|
+
"build": "ts-node ./scripts/build.ts && tsc --project tsconfig.build.json",
|
|
30
|
+
"build:v3": "ts-node -r tsconfig-paths/register ./scripts/buildV3.ts",
|
|
30
31
|
"build:tokens": "node -e \"require('./build')._init()\"",
|
|
31
|
-
"
|
|
32
|
+
"build:new-tokens": "npm run build:tokens && npm run build:v3",
|
|
33
|
+
"contrast-check": "npx ts-node ./scripts/color-contrast.ts",
|
|
34
|
+
"format": "prettier --write '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
|
|
35
|
+
"format:check": "prettier --check '**/*.{js,jsx,ts,tsx,md,mdx,css}'",
|
|
36
|
+
"install:docs": "cd docs && npm ci --legacy-peer-deps --no-audit --no-fund --include=dev",
|
|
37
|
+
"install:storybook": "cd docs/storybook && npm ci --legacy-peer-deps --no-audit --no-fund",
|
|
32
38
|
"lint": "eslint '**/*.{js,ts,tsx,md,mdx}' --max-warnings=0 --config .eslintrc.js",
|
|
33
|
-
"
|
|
39
|
+
"lint:fix": "eslint '**/*.{js,ts,tsx,md,mdx}' --fix --max-warnings=0 --config .eslintrc.js",
|
|
40
|
+
"postbuild": "ts-node ./scripts/color-contrast.ts",
|
|
34
41
|
"prebuild": "rm -rf dist",
|
|
35
42
|
"prebuild:tokens": "rm -rf tokens-v2-private",
|
|
36
|
-
"
|
|
43
|
+
"prebuild:v3": "rm -rf tokens-v3-private",
|
|
44
|
+
"prepack": "npm run build && npm run build:tokens",
|
|
45
|
+
"prepare": "husky install && npm run install:docs && npm run install:storybook",
|
|
37
46
|
"release": "changeset publish",
|
|
47
|
+
"start:storybook": "npm run build:v3 && cd docs/storybook && npm run storybook",
|
|
38
48
|
"test": "jest --verbose --coverage",
|
|
39
|
-
"watch": "ls data/**/*.scss
|
|
49
|
+
"watch": "ls data/**/*.scss scripts/**/*.ts | entr -s 'npm run build'"
|
|
40
50
|
},
|
|
41
51
|
"prettier": "@github/prettier-config",
|
|
42
52
|
"devDependencies": {
|
|
43
|
-
"@actions/core": "^1.2.7",
|
|
44
|
-
"@actions/github": "^4.0.0",
|
|
45
|
-
"@babel/parser": "^7.15.3",
|
|
46
|
-
"@babel/traverse": "^7.15.0",
|
|
47
|
-
"@babel/types": "^7.15.0",
|
|
48
53
|
"@changesets/changelog-github": "^0.3.0",
|
|
49
54
|
"@changesets/cli": "^2.22.0",
|
|
50
|
-
"@github/prettier-config": "^0.0.
|
|
51
|
-
"@octokit/rest": "^18.5.3",
|
|
52
|
-
"@types/babel__traverse": "^7.14.2",
|
|
53
|
-
"@types/chalk": "^2.2.0",
|
|
55
|
+
"@github/prettier-config": "^0.0.6",
|
|
54
56
|
"@types/flat": "^5.0.1",
|
|
57
|
+
"@types/fs-extra": "^9.0.13",
|
|
58
|
+
"@types/jest": "^29.1.2",
|
|
55
59
|
"@types/lodash": "^4.14.163",
|
|
56
60
|
"@types/mkdirp": "^1.0.1",
|
|
57
|
-
"@types/node": "^14.
|
|
58
|
-
"@
|
|
59
|
-
"@typescript-eslint/
|
|
60
|
-
"@typescript-eslint/parser": "^5.17.0",
|
|
61
|
+
"@types/node": "^14.18.34",
|
|
62
|
+
"@typescript-eslint/eslint-plugin": "^5.45.0",
|
|
63
|
+
"@typescript-eslint/parser": "^5.45.0",
|
|
61
64
|
"camelcase-keys": "^6.2.2",
|
|
62
|
-
"chalk": "^4.1.0",
|
|
63
65
|
"color-blend": "^4.0.0",
|
|
64
|
-
"color2k": "^
|
|
66
|
+
"color2k": "^2.0.0",
|
|
65
67
|
"console-table-printer": "^2.11.1",
|
|
66
|
-
"deep-shape-equals": "^0.1.2",
|
|
67
68
|
"deepmerge": "^4.2.2",
|
|
68
69
|
"eslint": "^8.12.0",
|
|
70
|
+
"eslint-config-prettier": "^8.6.0",
|
|
69
71
|
"eslint-import-resolver-typescript": "^2.7.0",
|
|
70
72
|
"eslint-plugin-github": "^4.3.6",
|
|
71
73
|
"eslint-plugin-jsx-a11y": "^6.5.1",
|
|
@@ -75,15 +77,16 @@
|
|
|
75
77
|
"eslint-plugin-react-hooks": "^4.4.0",
|
|
76
78
|
"eslint-plugin-storybook": "^0.5.12",
|
|
77
79
|
"flat": "^5.0.2",
|
|
78
|
-
"
|
|
80
|
+
"husky": "^8.0.1",
|
|
81
|
+
"jest": "29.3",
|
|
82
|
+
"json5": "^2.2.1",
|
|
79
83
|
"lodash": "^4.17.20",
|
|
80
|
-
"mkdirp": "^1.
|
|
81
|
-
"node-sass": "^7.0.0",
|
|
84
|
+
"mkdirp": "^2.1.1",
|
|
82
85
|
"prettier": "^2.7.1",
|
|
83
|
-
"
|
|
84
|
-
"
|
|
85
|
-
"
|
|
86
|
-
"
|
|
87
|
-
"typescript": "^4.
|
|
86
|
+
"style-dictionary": "^3.7.2",
|
|
87
|
+
"ts-jest": "^29.0.3",
|
|
88
|
+
"ts-node": "^10.9.1",
|
|
89
|
+
"tsconfig-paths": "^4.1.0",
|
|
90
|
+
"typescript": "^4.9.3"
|
|
88
91
|
}
|
|
89
92
|
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"<namespace>": {
|
|
3
3
|
"fontStack": {
|
|
4
4
|
"system": {
|
|
5
|
-
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
5
|
+
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
6
6
|
},
|
|
7
7
|
"sansSerif": {
|
|
8
|
-
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
8
|
+
"value": "-apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji'"
|
|
9
9
|
},
|
|
10
10
|
"monospace": {
|
|
11
11
|
"value": "ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace"
|
|
@@ -0,0 +1,421 @@
|
|
|
1
|
+
{
|
|
2
|
+
"auto.black": null,
|
|
3
|
+
"auto.white": null,
|
|
4
|
+
"auto.gray.0": null,
|
|
5
|
+
"auto.gray.1": null,
|
|
6
|
+
"auto.gray.2": null,
|
|
7
|
+
"auto.gray.3": null,
|
|
8
|
+
"auto.gray.4": null,
|
|
9
|
+
"auto.gray.5": null,
|
|
10
|
+
"auto.gray.6": null,
|
|
11
|
+
"auto.gray.7": null,
|
|
12
|
+
"auto.gray.8": null,
|
|
13
|
+
"auto.gray.9": null,
|
|
14
|
+
"auto.blue.0": null,
|
|
15
|
+
"auto.blue.1": null,
|
|
16
|
+
"auto.blue.2": null,
|
|
17
|
+
"auto.blue.3": null,
|
|
18
|
+
"auto.blue.4": null,
|
|
19
|
+
"auto.blue.5": null,
|
|
20
|
+
"auto.blue.6": null,
|
|
21
|
+
"auto.blue.7": null,
|
|
22
|
+
"auto.blue.8": null,
|
|
23
|
+
"auto.blue.9": null,
|
|
24
|
+
"auto.green.0": null,
|
|
25
|
+
"auto.green.1": null,
|
|
26
|
+
"auto.green.2": null,
|
|
27
|
+
"auto.green.3": null,
|
|
28
|
+
"auto.green.4": null,
|
|
29
|
+
"auto.green.5": null,
|
|
30
|
+
"auto.green.6": null,
|
|
31
|
+
"auto.green.7": null,
|
|
32
|
+
"auto.green.8": null,
|
|
33
|
+
"auto.green.9": null,
|
|
34
|
+
"auto.yellow.0": null,
|
|
35
|
+
"auto.yellow.1": null,
|
|
36
|
+
"auto.yellow.2": null,
|
|
37
|
+
"auto.yellow.3": null,
|
|
38
|
+
"auto.yellow.4": null,
|
|
39
|
+
"auto.yellow.5": null,
|
|
40
|
+
"auto.yellow.6": null,
|
|
41
|
+
"auto.yellow.7": null,
|
|
42
|
+
"auto.yellow.8": null,
|
|
43
|
+
"auto.yellow.9": null,
|
|
44
|
+
"auto.orange.0": null,
|
|
45
|
+
"auto.orange.1": null,
|
|
46
|
+
"auto.orange.2": null,
|
|
47
|
+
"auto.orange.3": null,
|
|
48
|
+
"auto.orange.4": null,
|
|
49
|
+
"auto.orange.5": null,
|
|
50
|
+
"auto.orange.6": null,
|
|
51
|
+
"auto.orange.7": null,
|
|
52
|
+
"auto.orange.8": null,
|
|
53
|
+
"auto.orange.9": null,
|
|
54
|
+
"auto.red.0": null,
|
|
55
|
+
"auto.red.1": null,
|
|
56
|
+
"auto.red.2": null,
|
|
57
|
+
"auto.red.3": null,
|
|
58
|
+
"auto.red.4": null,
|
|
59
|
+
"auto.red.5": null,
|
|
60
|
+
"auto.red.6": null,
|
|
61
|
+
"auto.red.7": null,
|
|
62
|
+
"auto.red.8": null,
|
|
63
|
+
"auto.red.9": null,
|
|
64
|
+
"auto.purple.0": null,
|
|
65
|
+
"auto.purple.1": null,
|
|
66
|
+
"auto.purple.2": null,
|
|
67
|
+
"auto.purple.3": null,
|
|
68
|
+
"auto.purple.4": null,
|
|
69
|
+
"auto.purple.5": null,
|
|
70
|
+
"auto.purple.6": null,
|
|
71
|
+
"auto.purple.7": null,
|
|
72
|
+
"auto.purple.8": null,
|
|
73
|
+
"auto.purple.9": null,
|
|
74
|
+
"auto.pink.0": null,
|
|
75
|
+
"auto.pink.1": null,
|
|
76
|
+
"auto.pink.2": null,
|
|
77
|
+
"auto.pink.3": null,
|
|
78
|
+
"auto.pink.4": null,
|
|
79
|
+
"auto.pink.5": null,
|
|
80
|
+
"auto.pink.6": null,
|
|
81
|
+
"auto.pink.7": null,
|
|
82
|
+
"auto.pink.8": null,
|
|
83
|
+
"auto.pink.9": null,
|
|
84
|
+
"text.primary": "fg.default",
|
|
85
|
+
"text.secondary": "fg.muted",
|
|
86
|
+
"text.tertiary": "fg.muted",
|
|
87
|
+
"text.placeholder": "fg.subtle",
|
|
88
|
+
"text.disabled": "fg.muted",
|
|
89
|
+
"text.inverse": "fg.onEmphasis",
|
|
90
|
+
"text.link": "accent.fg",
|
|
91
|
+
"text.danger": "danger.fg",
|
|
92
|
+
"text.success": "success.fg",
|
|
93
|
+
"text.warning": "attention.fg",
|
|
94
|
+
"text.white": null,
|
|
95
|
+
"icon.primary": "fg.default",
|
|
96
|
+
"icon.secondary": "fg.muted",
|
|
97
|
+
"icon.tertiary": "fg.muted",
|
|
98
|
+
"icon.info": "accent.fg",
|
|
99
|
+
"icon.danger": "danger.fg",
|
|
100
|
+
"icon.success": "success.fg",
|
|
101
|
+
"icon.warning": "attention.fg",
|
|
102
|
+
"border.primary": "border.default",
|
|
103
|
+
"border.secondary": "border.muted",
|
|
104
|
+
"border.tertiary": "border.default",
|
|
105
|
+
"border.overlay": "border.default",
|
|
106
|
+
"border.inverse": "fg.onEmphasis",
|
|
107
|
+
"border.info": "accent.emphasis",
|
|
108
|
+
"border.danger": "danger.emphasis",
|
|
109
|
+
"border.success": "success.emphasis",
|
|
110
|
+
"border.warning": "attention.emphasis",
|
|
111
|
+
"bg.canvas": "canvas.default",
|
|
112
|
+
"bg.canvasMobile": null,
|
|
113
|
+
"bg.canvasInverse": "neutral.emphasis",
|
|
114
|
+
"bg.canvasInset": "canvas.inset",
|
|
115
|
+
"bg.primary": "canvas.default",
|
|
116
|
+
"bg.secondary": "canvas.subtle",
|
|
117
|
+
"bg.tertiary": "canvas.subtle",
|
|
118
|
+
"bg.overlay": "canvas.overlay",
|
|
119
|
+
"bg.backdrop": "primer.canvas.backdrop",
|
|
120
|
+
"bg.info": "accent.subtle",
|
|
121
|
+
"bg.infoInverse": "accent.emphasis",
|
|
122
|
+
"bg.danger": "danger.subtle",
|
|
123
|
+
"bg.dangerInverse": "danger.emphasis",
|
|
124
|
+
"bg.success": "success.subtle",
|
|
125
|
+
"bg.successInverse": "success.emphasis",
|
|
126
|
+
"bg.warning": "attention.subtle",
|
|
127
|
+
"bg.warningInverse": "attention.emphasis",
|
|
128
|
+
"shadow.highlight": "primer.shadow.highlight",
|
|
129
|
+
"shadow.inset": "primer.shadow.inset",
|
|
130
|
+
"state.hover.primaryBg": "accent.emphasis",
|
|
131
|
+
"state.hover.primaryBorder": "accent.emphasis",
|
|
132
|
+
"state.hover.primaryText": "fg.onEmphasis",
|
|
133
|
+
"state.hover.primaryIcon": "fg.onEmphasis",
|
|
134
|
+
"state.hover.secondaryBg": "neutral.subtle",
|
|
135
|
+
"state.hover.secondaryBorder": "neutral.subtle",
|
|
136
|
+
"state.selected.primaryBg": "accent.emphasis",
|
|
137
|
+
"state.selected.primaryBorder": "accent.emphasis",
|
|
138
|
+
"state.selected.primaryText": "fg.onEmphasis",
|
|
139
|
+
"state.selected.primaryIcon": "fg.onEmphasis",
|
|
140
|
+
"state.focus.border": "accent.emphasis",
|
|
141
|
+
"state.focus.shadow": "primer.shadow.focus",
|
|
142
|
+
"fade.fg10": null,
|
|
143
|
+
"fade.fg15": null,
|
|
144
|
+
"fade.fg30": null,
|
|
145
|
+
"fade.fg50": null,
|
|
146
|
+
"fade.fg70": null,
|
|
147
|
+
"fade.fg85": null,
|
|
148
|
+
"fade.black10": null,
|
|
149
|
+
"fade.black15": null,
|
|
150
|
+
"fade.black30": null,
|
|
151
|
+
"fade.black50": null,
|
|
152
|
+
"fade.black70": null,
|
|
153
|
+
"fade.black85": null,
|
|
154
|
+
"fade.white10": null,
|
|
155
|
+
"fade.white15": null,
|
|
156
|
+
"fade.white30": null,
|
|
157
|
+
"fade.white50": null,
|
|
158
|
+
"fade.white70": null,
|
|
159
|
+
"fade.white85": null,
|
|
160
|
+
"alert.info.text": "fg.default",
|
|
161
|
+
"alert.info.icon": "accent.fg",
|
|
162
|
+
"alert.info.bg": "accent.subtle",
|
|
163
|
+
"alert.info.border": "accent.muted",
|
|
164
|
+
"alert.warn.text": "fg.default",
|
|
165
|
+
"alert.warn.icon": "attention.fg",
|
|
166
|
+
"alert.warn.bg": "attention.subtle",
|
|
167
|
+
"alert.warn.border": "attention.muted",
|
|
168
|
+
"alert.error.text": "fg.default",
|
|
169
|
+
"alert.error.icon": "danger.fg",
|
|
170
|
+
"alert.error.bg": "danger.subtle",
|
|
171
|
+
"alert.error.border": "danger.muted",
|
|
172
|
+
"alert.success.text": "fg.default",
|
|
173
|
+
"alert.success.icon": "success.fg",
|
|
174
|
+
"alert.success.bg": "success.subtle",
|
|
175
|
+
"alert.success.border": "success.muted",
|
|
176
|
+
"autocomplete.shadow": "shadow.medium",
|
|
177
|
+
"autocomplete.rowBorder": "border.muted",
|
|
178
|
+
"blankslate.icon": "fg.muted",
|
|
179
|
+
"counter.text": "fg.default",
|
|
180
|
+
"counter.bg": "neutral.muted",
|
|
181
|
+
"counter.primary.text": "fg.onEmphasis",
|
|
182
|
+
"counter.primary.bg": "neutral.emphasis",
|
|
183
|
+
"counter.secondary.text": "fg.muted",
|
|
184
|
+
"counter.secondary.bg": "neutral.subtle",
|
|
185
|
+
"box.blueBorder": "accent.muted",
|
|
186
|
+
"box.rowYellowBg": "attention.subtle",
|
|
187
|
+
"box.rowBlueBg": "accent.subtle",
|
|
188
|
+
"box.headerBlueBg": "accent.subtle",
|
|
189
|
+
"box.headerBlueBorder": "accent.muted",
|
|
190
|
+
"box.borderInfo": "accent.muted",
|
|
191
|
+
"box.bgInfo": "accent.subtle",
|
|
192
|
+
"box.borderWarning": "attention.muted",
|
|
193
|
+
"box.bgWarning": "attention.subtle",
|
|
194
|
+
"branchName.text": "fg.muted",
|
|
195
|
+
"branchName.icon": "fg.muted",
|
|
196
|
+
"branchName.bg": "accent.subtle",
|
|
197
|
+
"branchName.link.text": "accent.fg",
|
|
198
|
+
"branchName.link.icon": "accent.fg",
|
|
199
|
+
"branchName.link.bg": "accent.subtle",
|
|
200
|
+
"markdown.codeBg": "neutral.muted",
|
|
201
|
+
"markdown.frameBorder": "border.default",
|
|
202
|
+
"markdown.blockquoteBorder": "border.default",
|
|
203
|
+
"markdown.tableBorder": "border.default",
|
|
204
|
+
"markdown.tableTrBorder": "border.muted",
|
|
205
|
+
"filterItem.barBg": "neutral.subtle",
|
|
206
|
+
"hiddenTextExpander.bg": "neutral.muted",
|
|
207
|
+
"hiddenTextExpander.bgHover": "accent.muted",
|
|
208
|
+
"dragAndDrop.border": "border.default",
|
|
209
|
+
"uploadEnabled.border": "border.default",
|
|
210
|
+
"uploadEnabled.borderFocused": "accent.emphasis",
|
|
211
|
+
"previewableCommentForm.border": "border.default",
|
|
212
|
+
"verifiedBadge.text": "success.fg",
|
|
213
|
+
"verifiedBadge.bg": "canvas.default",
|
|
214
|
+
"verifiedBadge.border": "border.default",
|
|
215
|
+
"socialCount.bg": "canvas.default",
|
|
216
|
+
"tooltip.text": "fg.onEmphasis",
|
|
217
|
+
"tooltip.bg": "neutral.emphasisPlus",
|
|
218
|
+
"filesExplorerIcon": "accent.fg",
|
|
219
|
+
"hlAuthorBg": "accent.subtle",
|
|
220
|
+
"hlAuthorBorder": "accent.muted",
|
|
221
|
+
"logoSubdued": "neutral.muted",
|
|
222
|
+
"discussionBorder": "success.muted",
|
|
223
|
+
"discussionBgSuccess": "success.emphasis",
|
|
224
|
+
"actionsWorkflowTableStickyBg": "primer.canvas.sticky",
|
|
225
|
+
"repoLanguageColorBorder": "primer.border.contrast",
|
|
226
|
+
"codeSelectionBg": "accent.muted",
|
|
227
|
+
"highlight.text": "fg.default",
|
|
228
|
+
"highlight.bg": "attention.subtle",
|
|
229
|
+
"blob.lineHighlightBg": "attention.subtle",
|
|
230
|
+
"blob.lineHighlightBorder": "attention.muted",
|
|
231
|
+
"topicTag.text": "accent.fg",
|
|
232
|
+
"topicTag.bg": "accent.subtle",
|
|
233
|
+
"topicTag.hoverBg": "accent.emphasis",
|
|
234
|
+
"topicTag.activeBg": "accent.subtle",
|
|
235
|
+
"footerInvertocat.octicon": "fg.subtle",
|
|
236
|
+
"footerInvertocat.octiconHover": "fg.muted",
|
|
237
|
+
"dropdown.shadow": "shadow.large",
|
|
238
|
+
"label.border": "border.default",
|
|
239
|
+
"label.primary.text": "fg.default",
|
|
240
|
+
"label.primary.border": "neutral.emphasis",
|
|
241
|
+
"label.secondary.text": "fg.muted",
|
|
242
|
+
"label.secondary.border": "border.default",
|
|
243
|
+
"label.info.text": "accent.fg",
|
|
244
|
+
"label.info.border": "accent.emphasis",
|
|
245
|
+
"label.success.text": "success.fg",
|
|
246
|
+
"label.success.border": "success.emphasis",
|
|
247
|
+
"label.warning.text": "attention.fg",
|
|
248
|
+
"label.warning.border": "attention.emphasis",
|
|
249
|
+
"label.danger.text": "danger.fg",
|
|
250
|
+
"label.danger.border": "danger.emphasis",
|
|
251
|
+
"label.orange.text": "severe.fg",
|
|
252
|
+
"label.orange.border": "severe.emphasis",
|
|
253
|
+
"input.bg": "canvas.default",
|
|
254
|
+
"input.contrastBg": "canvas.inset",
|
|
255
|
+
"input.border": "border.default",
|
|
256
|
+
"input.shadow": "primer.shadow.inset",
|
|
257
|
+
"input.disabledBorder": "border.default",
|
|
258
|
+
"input.warningBorder": "attention.emphasis",
|
|
259
|
+
"input.errorBorder": "danger.emphasis",
|
|
260
|
+
"input.tooltip.success.text": "fg.default",
|
|
261
|
+
"input.tooltip.success.bg": "success.subtle",
|
|
262
|
+
"input.tooltip.success.border": "success.muted",
|
|
263
|
+
"input.tooltip.warning.text": "fg.default",
|
|
264
|
+
"input.tooltip.warning.bg": "attention.subtle",
|
|
265
|
+
"input.tooltip.warning.border": "attention.muted",
|
|
266
|
+
"input.tooltip.error.text": "fg.default",
|
|
267
|
+
"input.tooltip.error.bg": "danger.subtle",
|
|
268
|
+
"input.tooltip.error.border": "danger.muted",
|
|
269
|
+
"toast.text": "fg.default",
|
|
270
|
+
"toast.bg": "canvas.default",
|
|
271
|
+
"toast.border": "border.default",
|
|
272
|
+
"toast.shadow": "shadow.large",
|
|
273
|
+
"toast.icon": "fg.onEmphasis",
|
|
274
|
+
"toast.iconBg": "accent.emphasis",
|
|
275
|
+
"toast.iconBorder": null,
|
|
276
|
+
"toast.success.text": "fg.default",
|
|
277
|
+
"toast.success.border": "border.default",
|
|
278
|
+
"toast.success.icon": "fg.onEmphasis",
|
|
279
|
+
"toast.success.iconBg": "success.emphasis",
|
|
280
|
+
"toast.success.iconBorder": null,
|
|
281
|
+
"toast.warning.text": "fg.default",
|
|
282
|
+
"toast.warning.border": "border.default",
|
|
283
|
+
"toast.warning.icon": "fg.default",
|
|
284
|
+
"toast.warning.iconBg": "attention.emphasis",
|
|
285
|
+
"toast.warning.iconBorder": null,
|
|
286
|
+
"toast.danger.text": "fg.default",
|
|
287
|
+
"toast.danger.border": "border.default",
|
|
288
|
+
"toast.danger.icon": "fg.onEmphasis",
|
|
289
|
+
"toast.danger.iconBg": "danger.emphasis",
|
|
290
|
+
"toast.danger.iconBorder": null,
|
|
291
|
+
"toast.loading.text": "fg.default",
|
|
292
|
+
"toast.loading.border": "border.default",
|
|
293
|
+
"toast.loading.icon": "fg.onEmphasis",
|
|
294
|
+
"toast.loading.iconBg": "neutral.emphasis",
|
|
295
|
+
"toast.loading.iconBorder": null,
|
|
296
|
+
"timeline.text": "fg.muted",
|
|
297
|
+
"timeline.badgeSuccessBorder": null,
|
|
298
|
+
"timeline.targetBadgeBorder": "accent.emphasis",
|
|
299
|
+
"timeline.targetBadgeShadow": "accent.muted",
|
|
300
|
+
"diffstat.neutralBg": "neutral.muted",
|
|
301
|
+
"diffstat.neutralBorder": "border.subtle",
|
|
302
|
+
"diffstat.deletionBg": "danger.emphasis",
|
|
303
|
+
"diff.addition.text": "fg.default",
|
|
304
|
+
"diff.addition.bg": "success.subtle",
|
|
305
|
+
"diff.addition.border": "success.muted",
|
|
306
|
+
"diff.deletion.text": "fg.default",
|
|
307
|
+
"diff.deletion.bg": "danger.subtle",
|
|
308
|
+
"diff.deletion.border": "danger.muted",
|
|
309
|
+
"diff.change.text": "attention.fg",
|
|
310
|
+
"diff.change.bg": "attention.subtle",
|
|
311
|
+
"diff.change.border": "attention.muted",
|
|
312
|
+
"mergeBox.successIconBg": "success.emphasis",
|
|
313
|
+
"mergeBox.successIconText": "fg.onEmphasis",
|
|
314
|
+
"mergeBox.successIconBorder": null,
|
|
315
|
+
"mergeBox.successIndicatorBg": "success.emphasis",
|
|
316
|
+
"mergeBox.successIndicatorBorder": null,
|
|
317
|
+
"mergeBox.mergedIconBg": "done.emphasis",
|
|
318
|
+
"mergeBox.mergedIconText": "fg.onEmphasis",
|
|
319
|
+
"mergeBox.mergedIconBorder": null,
|
|
320
|
+
"mergeBox.mergedBoxBorder": "done.emphasis",
|
|
321
|
+
"mergeBox.neutralIconBg": "neutral.emphasis",
|
|
322
|
+
"mergeBox.neutralIconText": "fg.onEmphasis",
|
|
323
|
+
"mergeBox.neutralIconBorder": null,
|
|
324
|
+
"mergeBox.neutralIndicatorBg": "neutral.emphasis",
|
|
325
|
+
"mergeBox.neutralIndicatorBorder": null,
|
|
326
|
+
"mergeBox.warningIconBg": "attention.emphasis",
|
|
327
|
+
"mergeBox.warningIconText": "fg.onEmphasis",
|
|
328
|
+
"mergeBox.warningIconBorder": null,
|
|
329
|
+
"mergeBox.warningBoxBorder": "attention.emphasis",
|
|
330
|
+
"mergeBox.warningMergeHighlight": null,
|
|
331
|
+
"mergeBox.errorIconBg": "danger.emphasis",
|
|
332
|
+
"mergeBox.errorIconText": "fg.onEmphasis",
|
|
333
|
+
"mergeBox.errorIconBorder": null,
|
|
334
|
+
"mergeBox.errorIndicatorBg": "danger.emphasis",
|
|
335
|
+
"mergeBox.errorIndicatorBorder": null,
|
|
336
|
+
"underlinenav.border": null,
|
|
337
|
+
"underlinenav.borderActive": "primer.border.active",
|
|
338
|
+
"underlinenav.text": "fg.default",
|
|
339
|
+
"underlinenav.textHover": "fg.default",
|
|
340
|
+
"underlinenav.textActive": "fg.default",
|
|
341
|
+
"underlinenav.iconHover": "fg.subtle",
|
|
342
|
+
"underlinenav.iconActive": "fg.default",
|
|
343
|
+
"underlinenav.counterText": "fg.default",
|
|
344
|
+
"underlinenav.counterBg": "neutral.muted",
|
|
345
|
+
"selectMenu.borderSecondary": "border.muted",
|
|
346
|
+
"selectMenu.shadow": "shadow.large",
|
|
347
|
+
"selectMenu.backdropBg": "primer.canvas.backdrop",
|
|
348
|
+
"sidenav.borderActive": "primer.border.active",
|
|
349
|
+
"menu.headingText": "fg.default",
|
|
350
|
+
"menu.borderActive": "primer.border.active",
|
|
351
|
+
"project.cardBg": "canvas.overlay",
|
|
352
|
+
"prState.draft.text": "fg.onEmphasis",
|
|
353
|
+
"prState.draft.bg": "neutral.emphasis",
|
|
354
|
+
"prState.draft.border": null,
|
|
355
|
+
"prState.open.text": "fg.onEmphasis",
|
|
356
|
+
"prState.open.bg": "success.emphasis",
|
|
357
|
+
"prState.open.border": null,
|
|
358
|
+
"prState.merged.text": "fg.onEmphasis",
|
|
359
|
+
"prState.merged.bg": "done.emphasis",
|
|
360
|
+
"prState.merged.border": null,
|
|
361
|
+
"prState.closed.text": "fg.onEmphasis",
|
|
362
|
+
"prState.closed.bg": "danger.emphasis",
|
|
363
|
+
"prState.closed.border": null,
|
|
364
|
+
"diffBlob.numText": "fg.subtle",
|
|
365
|
+
"diffBlob.numHoverText": "fg.default",
|
|
366
|
+
"diffBlob.addition.numHoverText": "fg.default",
|
|
367
|
+
"diffBlob.deletion.numHoverText": "fg.default",
|
|
368
|
+
"diffBlob.hunk.text": "fg.muted",
|
|
369
|
+
"diffBlob.hunk.lineBg": "accent.subtle",
|
|
370
|
+
"diffBlob.emptyBlockBg": "neutral.subtle",
|
|
371
|
+
"diffBlob.selectedLineHighlightBg": "attention.subtle",
|
|
372
|
+
"diffBlob.selectedLineHighlightBorder": "attention.muted",
|
|
373
|
+
"diffBlob.expander.hoverIcon": "fg.onEmphasis",
|
|
374
|
+
"diffBlob.expander.hoverBg": "accent.emphasis",
|
|
375
|
+
"diffBlob.commentButton.icon": "fg.onEmphasis",
|
|
376
|
+
"diffBlob.commentButton.bg": "accent.emphasis",
|
|
377
|
+
"diffBlob.commentButton.gradientBg": null,
|
|
378
|
+
"globalNav.logo": null,
|
|
379
|
+
"globalNav.bg": null,
|
|
380
|
+
"globalNav.text": null,
|
|
381
|
+
"globalNav.icon": null,
|
|
382
|
+
"globalNav.inputBg": null,
|
|
383
|
+
"globalNav.inputBorder": null,
|
|
384
|
+
"globalNav.inputIcon": null,
|
|
385
|
+
"globalNav.inputPlaceholder": null,
|
|
386
|
+
"introShelf.gradientLeft": "accent.subtle",
|
|
387
|
+
"introShelf.gradientRight": "success.subtle",
|
|
388
|
+
"introShelf.gradientIn": "canvas.default",
|
|
389
|
+
"introShelf.gradientOut": null,
|
|
390
|
+
"mktg.success": null,
|
|
391
|
+
"mktg.info": null,
|
|
392
|
+
"mktg.bgShadeGradient.top": null,
|
|
393
|
+
"mktg.bgShadeGradient.bottom": null,
|
|
394
|
+
"mktg.btn.bg.top": null,
|
|
395
|
+
"mktg.btn.bg.bottom": null,
|
|
396
|
+
"mktg.btn.bgOverlay.top": null,
|
|
397
|
+
"mktg.btn.bgOverlay.bottom": null,
|
|
398
|
+
"mktg.btn.text": null,
|
|
399
|
+
"mktg.btn.primary.bg.top": null,
|
|
400
|
+
"mktg.btn.primary.bg.bottom": null,
|
|
401
|
+
"mktg.btn.primary.bgOverlay.top": null,
|
|
402
|
+
"mktg.btn.primary.bgOverlay.bottom": null,
|
|
403
|
+
"mktg.btn.primary.text": null,
|
|
404
|
+
"mktg.btn.enterprise.bg.top": null,
|
|
405
|
+
"mktg.btn.enterprise.bg.bottom": null,
|
|
406
|
+
"mktg.btn.enterprise.bgOverlay.top": null,
|
|
407
|
+
"mktg.btn.enterprise.bgOverlay.bottom": null,
|
|
408
|
+
"mktg.btn.enterprise.text": null,
|
|
409
|
+
"mktg.btn.outline.text": null,
|
|
410
|
+
"mktg.btn.outline.border": null,
|
|
411
|
+
"mktg.btn.outline.hover.text": null,
|
|
412
|
+
"mktg.btn.outline.hover.border": null,
|
|
413
|
+
"mktg.btn.outline.focus.border": null,
|
|
414
|
+
"mktg.btn.outline.focus.borderInset": null,
|
|
415
|
+
"mktg.btn.dark.text": null,
|
|
416
|
+
"mktg.btn.dark.border": null,
|
|
417
|
+
"mktg.btn.dark.hover.text": null,
|
|
418
|
+
"mktg.btn.dark.hover.border": null,
|
|
419
|
+
"mktg.btn.dark.focus.border": null,
|
|
420
|
+
"mktg.btn.dark.focus.borderInset": null
|
|
421
|
+
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Do not edit directly
|
|
3
|
-
* Generated on
|
|
3
|
+
* Generated on Mon, 30 Jan 2023 13:02:09 GMT
|
|
4
4
|
*/
|
|
5
5
|
|
|
6
6
|
:root {
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
--primer-text-display-size: 2.5rem;
|
|
26
26
|
--primer-text-display-lineBoxHeight: 3.5rem;
|
|
27
27
|
--primer-fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
|
28
|
-
--primer-fontStack-sansSerif: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
29
|
-
--primer-fontStack-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
28
|
+
--primer-fontStack-sansSerif: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
29
|
+
--primer-fontStack-system: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Noto Sans', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji';
|
|
30
30
|
--primer-text-codeInline-weight: var(--base-text-weight-normal);
|
|
31
31
|
--primer-text-codeBlock-weight: var(--base-text-weight-normal);
|
|
32
32
|
--primer-text-caption-weight: var(--base-text-weight-normal);
|