argot-css 0.0.0-stage → 0.0.1
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/LICENSE.md +20 -0
- package/README.md +259 -2
- package/bin/argot.js +4 -0
- package/dist/cli/ansiColors.d.ts +7 -0
- package/dist/cli/ansiColors.js +8 -0
- package/dist/cli/ansiColors.js.map +1 -0
- package/dist/cli/print.d.ts +2 -0
- package/dist/cli/print.js +13 -0
- package/dist/cli/print.js.map +1 -0
- package/dist/cli/run.d.ts +2 -0
- package/dist/cli/run.js +34 -0
- package/dist/cli/run.js.map +1 -0
- package/dist/cli/usage.d.ts +2 -0
- package/dist/cli/usage.js +17 -0
- package/dist/cli/usage.js.map +1 -0
- package/dist/palette/cli.d.ts +2 -0
- package/dist/palette/cli.js +33 -0
- package/dist/palette/cli.js.map +1 -0
- package/dist/palette/generateName.d.ts +3 -0
- package/dist/palette/generateName.js +65 -0
- package/dist/palette/generateName.js.map +1 -0
- package/dist/palette/generatePalette.d.ts +7 -0
- package/dist/palette/generatePalette.js +97 -0
- package/dist/palette/generatePalette.js.map +1 -0
- package/dist/palette/index.d.ts +5 -0
- package/dist/palette/index.js +6 -0
- package/dist/palette/index.js.map +1 -0
- package/dist/palette/node.d.ts +19 -0
- package/dist/palette/node.js +70 -0
- package/dist/palette/node.js.map +1 -0
- package/dist/palette/parseCssColor.d.ts +7 -0
- package/dist/palette/parseCssColor.js +41 -0
- package/dist/palette/parseCssColor.js.map +1 -0
- package/dist/palette/render.d.ts +8 -0
- package/dist/palette/render.js +49 -0
- package/dist/palette/render.js.map +1 -0
- package/dist/palette/types.d.ts +50 -0
- package/dist/palette/types.js +2 -0
- package/dist/palette/types.js.map +1 -0
- package/dist/palette/validation.d.ts +13 -0
- package/dist/palette/validation.js +110 -0
- package/dist/palette/validation.js.map +1 -0
- package/dist/processor/atImport.d.ts +4 -0
- package/dist/processor/atImport.js +149 -0
- package/dist/processor/atImport.js.map +1 -0
- package/dist/processor/cli.d.ts +1 -0
- package/dist/processor/cli.js +32 -0
- package/dist/processor/cli.js.map +1 -0
- package/dist/processor/index.d.ts +7 -0
- package/dist/processor/index.js +47 -0
- package/dist/processor/index.js.map +1 -0
- package/dist/processor/parseImportParams.d.ts +19 -0
- package/dist/processor/parseImportParams.js +139 -0
- package/dist/processor/parseImportParams.js.map +1 -0
- package/dist/processor/stylelintDefault.d.ts +4 -0
- package/dist/processor/stylelintDefault.js +19 -0
- package/dist/processor/stylelintDefault.js.map +1 -0
- package/dist/semantics/cli.d.ts +2 -0
- package/dist/semantics/cli.js +34 -0
- package/dist/semantics/cli.js.map +1 -0
- package/dist/semantics/generate.d.ts +16 -0
- package/dist/semantics/generate.js +53 -0
- package/dist/semantics/generate.js.map +1 -0
- package/dist/semantics/load-tokens.d.ts +29 -0
- package/dist/semantics/load-tokens.js +74 -0
- package/dist/semantics/load-tokens.js.map +1 -0
- package/dist/semantics/token-index.d.ts +14 -0
- package/dist/semantics/token-index.js +30 -0
- package/dist/semantics/token-index.js.map +1 -0
- package/dist/stylelint/config.d.ts +16 -0
- package/dist/stylelint/config.js +19 -0
- package/dist/stylelint/config.js.map +1 -0
- package/dist/stylelint/index.d.ts +3 -0
- package/dist/stylelint/index.js +4 -0
- package/dist/stylelint/index.js.map +1 -0
- package/dist/stylelint/rules/valid-token.d.ts +3 -0
- package/dist/stylelint/rules/valid-token.js +32 -0
- package/dist/stylelint/rules/valid-token.js.map +1 -0
- package/docs/api.md +514 -0
- package/package.json +115 -4
- package/templates/base.css +53 -0
- package/templates/modules/index.css +0 -0
- package/templates/semantics-extended.css +115 -0
- package/templates/semantics.css +94 -0
- package/templates/styles.css +7 -0
- package/tokens/borders.json +37 -0
- package/tokens/color-bg.json +104 -0
- package/tokens/color-border.json +59 -0
- package/tokens/color-chart.json +40 -0
- package/tokens/color-icon.json +53 -0
- package/tokens/color-text.json +107 -0
- package/tokens/layout.json +66 -0
- package/tokens/misc.json +16 -0
- package/tokens/motion.json +40 -0
- package/tokens/spacing.json +41 -0
- package/tokens/typography.json +107 -0
package/package.json
CHANGED
|
@@ -1,6 +1,117 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "argot-css",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.0.1",
|
|
4
|
+
"description": "Modern, streamlined CSS development kit",
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"author": "Keith J. Grant",
|
|
7
|
+
"keywords": [
|
|
8
|
+
"css",
|
|
9
|
+
"preprocessor",
|
|
10
|
+
"custom properties",
|
|
11
|
+
"css variables"
|
|
12
|
+
],
|
|
13
|
+
"repository": {
|
|
14
|
+
"type": "git",
|
|
15
|
+
"url": "git+https://github.com/keithjgrant/argot.git"
|
|
16
|
+
},
|
|
17
|
+
"bugs": {
|
|
18
|
+
"url": "https://github.com/keithjgrant/argot/issues"
|
|
19
|
+
},
|
|
20
|
+
"type": "module",
|
|
21
|
+
"engines": {
|
|
22
|
+
"node": ">=22.18.0"
|
|
23
|
+
},
|
|
24
|
+
"bin": {
|
|
25
|
+
"argot": "./bin/argot.js"
|
|
26
|
+
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"files": [
|
|
31
|
+
"bin",
|
|
32
|
+
"dist",
|
|
33
|
+
"docs/api.md",
|
|
34
|
+
"tokens",
|
|
35
|
+
"templates"
|
|
36
|
+
],
|
|
37
|
+
"exports": {
|
|
38
|
+
"./tokens/*": "./tokens/*",
|
|
39
|
+
"./templates/semantics.css": "./templates/semantics.css",
|
|
40
|
+
"./templates/semantics-extended.css": "./templates/semantics-extended.css",
|
|
41
|
+
"./semantics": {
|
|
42
|
+
"types": "./dist/semantics/generate.d.ts",
|
|
43
|
+
"import": "./dist/semantics/generate.js"
|
|
44
|
+
},
|
|
45
|
+
"./palette": {
|
|
46
|
+
"types": "./dist/palette/index.d.ts",
|
|
47
|
+
"import": "./dist/palette/index.js"
|
|
48
|
+
},
|
|
49
|
+
"./palette/node": {
|
|
50
|
+
"types": "./dist/palette/node.d.ts",
|
|
51
|
+
"import": "./dist/palette/node.js"
|
|
52
|
+
},
|
|
53
|
+
"./stylelint": {
|
|
54
|
+
"types": "./dist/stylelint/index.d.ts",
|
|
55
|
+
"import": "./dist/stylelint/index.js"
|
|
56
|
+
},
|
|
57
|
+
"./stylelint/config": {
|
|
58
|
+
"types": "./dist/stylelint/config.d.ts",
|
|
59
|
+
"import": "./dist/stylelint/config.js"
|
|
60
|
+
},
|
|
61
|
+
"./stylelint-default": {
|
|
62
|
+
"import": "./dist/processor/stylelintDefault.js",
|
|
63
|
+
"types": "./dist/processor/stylelintDefault.d.ts"
|
|
64
|
+
}
|
|
65
|
+
},
|
|
66
|
+
"scripts": {
|
|
67
|
+
"cli": "node scripts/devCli.js",
|
|
68
|
+
"build": "tsc -p tsconfig.build.json",
|
|
69
|
+
"checks": "npm run build && npm run eslint && npm run test",
|
|
70
|
+
"tsc": "tsc --noEmit",
|
|
71
|
+
"test:types": "tsc --project scripts/types/tsconfig.json && tsc --project scripts/types/tsconfig.browser.json",
|
|
72
|
+
"test:package": "node --test scripts/package.test.js",
|
|
73
|
+
"pretest": "npm run build && npm run tsc && npm run test:types",
|
|
74
|
+
"prepack": "npm run build",
|
|
75
|
+
"eslint": "eslint .",
|
|
76
|
+
"prepublishOnly": "npm run checks",
|
|
77
|
+
"preversion": "npm run checks",
|
|
78
|
+
"prettier": "prettier --check . --ignore-unknown",
|
|
79
|
+
"prettier:fix": "prettier --write . --ignore-unknown",
|
|
80
|
+
"build:template": "node scripts/devCli.js semantics ./templates/semantics.css && node scripts/devCli.js semantics --extended ./templates/semantics-extended.css",
|
|
81
|
+
"test": "node --test 'src/**/*.test.ts' 'scripts/**/*.test.js' 'website/**/*.test.js'",
|
|
82
|
+
"website:dev": "eleventy --config=website/eleventy.config.js --serve",
|
|
83
|
+
"prewebsite:build": "npm run website:lint",
|
|
84
|
+
"website:build": "eleventy --config=website/eleventy.config.js",
|
|
85
|
+
"website:test": "node --test website/test/*.test.js",
|
|
86
|
+
"website:lint": "stylelint \"website/content/assets/**/*.css\" --config website/stylelint.config.js --max-warnings=0",
|
|
87
|
+
"website:lint:fix": "npm run website:lint -- --fix",
|
|
88
|
+
"website:format": "prettier --write website --ignore-unknown",
|
|
89
|
+
"website:format:check": "prettier --check website --ignore-unknown"
|
|
90
|
+
},
|
|
91
|
+
"dependencies": {
|
|
92
|
+
"colorjs.io": "0.7.1",
|
|
93
|
+
"cssnano": "^9.9.0",
|
|
94
|
+
"postcss": "^8.5.33",
|
|
95
|
+
"postcss-reporter": "^7.1.0",
|
|
96
|
+
"stylelint": "^18.0.0",
|
|
97
|
+
"stylelint-config-recommended": "^19.0.0"
|
|
98
|
+
},
|
|
99
|
+
"peerDependenciesMeta": {
|
|
100
|
+
"stylelint": {
|
|
101
|
+
"optional": true
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"devDependencies": {
|
|
105
|
+
"@11ty/eleventy": "^3.1.8",
|
|
106
|
+
"@eslint/js": "^10.0.1",
|
|
107
|
+
"@jgarber/eleventy-plugin-postcss": "^3.0.1",
|
|
108
|
+
"@types/node": "^22.20.5",
|
|
109
|
+
"@types/postcss-import": "^14.0.3",
|
|
110
|
+
"@types/postcss-reporter": "^7.0.5",
|
|
111
|
+
"eslint": "^10.15.0",
|
|
112
|
+
"postcss-import": "^17.0.1",
|
|
113
|
+
"prettier": "^3.10.1",
|
|
114
|
+
"typescript": "^6.0.3",
|
|
115
|
+
"typescript-eslint": "^8.72.2"
|
|
116
|
+
}
|
|
117
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
@layer reset {
|
|
2
|
+
*,
|
|
3
|
+
*::before,
|
|
4
|
+
*::after {
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
html {
|
|
9
|
+
-webkit-font-smoothing: antialiased;
|
|
10
|
+
text-rendering: optimizeLegibility;
|
|
11
|
+
font-synthesis: none;
|
|
12
|
+
|
|
13
|
+
-moz-text-size-adjust: none;
|
|
14
|
+
-webkit-text-size-adjust: none;
|
|
15
|
+
text-size-adjust: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
body {
|
|
19
|
+
margin: unset;
|
|
20
|
+
font-size-adjust: from-font;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
button,
|
|
24
|
+
input,
|
|
25
|
+
textarea,
|
|
26
|
+
select {
|
|
27
|
+
font: inherit;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
img,
|
|
31
|
+
picture,
|
|
32
|
+
svg,
|
|
33
|
+
canvas {
|
|
34
|
+
display: block;
|
|
35
|
+
max-inline-size: 100%;
|
|
36
|
+
block-size: auto;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
*:not(dialog) {
|
|
40
|
+
margin: unset;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media (prefers-reduced-motion: reduce) {
|
|
44
|
+
*,
|
|
45
|
+
*::before,
|
|
46
|
+
*::after {
|
|
47
|
+
animation-duration: 0.01ms !important;
|
|
48
|
+
animation-iteration-count: 1 !important;
|
|
49
|
+
transition-duration: 0.01ms !important;
|
|
50
|
+
scroll-behavior: auto !important;
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
File without changes
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* color — surfaces */
|
|
3
|
+
--bg-body: ;
|
|
4
|
+
--bg-main: ;
|
|
5
|
+
--bg-inset: ;
|
|
6
|
+
--bg-raised: ;
|
|
7
|
+
--bg-inset-strong: ;
|
|
8
|
+
--bg-raised-strong: ;
|
|
9
|
+
--bg-brand: ;
|
|
10
|
+
--bg-brand-secondary: ;
|
|
11
|
+
--bg-success: ;
|
|
12
|
+
--bg-warning: ;
|
|
13
|
+
--bg-danger: ;
|
|
14
|
+
--bg-info: ;
|
|
15
|
+
--bg-disabled: ;
|
|
16
|
+
--bg-inverse: ;
|
|
17
|
+
|
|
18
|
+
/* color — text */
|
|
19
|
+
--text-primary: ;
|
|
20
|
+
--text-secondary: ;
|
|
21
|
+
--text-subtle: ;
|
|
22
|
+
--text-interactive: ;
|
|
23
|
+
--text-interactive-hover: ;
|
|
24
|
+
--text-interactive-active: ;
|
|
25
|
+
--text-brand: ;
|
|
26
|
+
--text-brand-secondary: ;
|
|
27
|
+
--text-success: ;
|
|
28
|
+
--text-warning: ;
|
|
29
|
+
--text-danger: ;
|
|
30
|
+
--text-info: ;
|
|
31
|
+
--text-disabled: ;
|
|
32
|
+
--text-inverse: ;
|
|
33
|
+
|
|
34
|
+
/* color — borders */
|
|
35
|
+
--border-color: ;
|
|
36
|
+
--border-color-subtle: ;
|
|
37
|
+
--border-brand: ;
|
|
38
|
+
--border-brand-secondary: ;
|
|
39
|
+
--border-success: ;
|
|
40
|
+
--border-warning: ;
|
|
41
|
+
--border-danger: ;
|
|
42
|
+
--border-info: ;
|
|
43
|
+
|
|
44
|
+
/* color — icons */
|
|
45
|
+
--icon-primary: ;
|
|
46
|
+
--icon-success: ;
|
|
47
|
+
--icon-warning: ;
|
|
48
|
+
--icon-danger: ;
|
|
49
|
+
--icon-info: ;
|
|
50
|
+
--icon-disabled: ;
|
|
51
|
+
--icon-inverse: ;
|
|
52
|
+
|
|
53
|
+
/* color — charts */
|
|
54
|
+
--chart-color-1: ;
|
|
55
|
+
--chart-color-2: ;
|
|
56
|
+
--chart-color-3: ;
|
|
57
|
+
--chart-color-4: ;
|
|
58
|
+
--chart-color-5: ;
|
|
59
|
+
--chart-color-6: ;
|
|
60
|
+
|
|
61
|
+
/* typography */
|
|
62
|
+
--font-body: ;
|
|
63
|
+
--font-display: ;
|
|
64
|
+
--font-mono: ;
|
|
65
|
+
--font-size-xs: ;
|
|
66
|
+
--font-size-sm: ;
|
|
67
|
+
--font-size-md: ;
|
|
68
|
+
--font-size-lg: ;
|
|
69
|
+
--font-size-xl: ;
|
|
70
|
+
--font-size-xxl: ;
|
|
71
|
+
--font-weight-light: ;
|
|
72
|
+
--font-weight-normal: ;
|
|
73
|
+
--font-weight-bold: ;
|
|
74
|
+
--line-height-normal: ;
|
|
75
|
+
--line-height-tight: ;
|
|
76
|
+
--letter-spacing-uppercase: ;
|
|
77
|
+
|
|
78
|
+
/* spacing */
|
|
79
|
+
--space-xs: ;
|
|
80
|
+
--space-sm: ;
|
|
81
|
+
--space-md: ;
|
|
82
|
+
--space-lg: ;
|
|
83
|
+
--space-xl: ;
|
|
84
|
+
--space-xxl: ;
|
|
85
|
+
|
|
86
|
+
/* borders */
|
|
87
|
+
--border-radius-sm: ;
|
|
88
|
+
--border-radius-md: ;
|
|
89
|
+
--border-radius-lg: ;
|
|
90
|
+
--border-width: ;
|
|
91
|
+
--border-width-thick: ;
|
|
92
|
+
|
|
93
|
+
/* motion */
|
|
94
|
+
--ease-in: ease-in;
|
|
95
|
+
--ease-out: ease-out;
|
|
96
|
+
--ease-linear: linear;
|
|
97
|
+
--duration-fast: ;
|
|
98
|
+
--duration-normal: ;
|
|
99
|
+
|
|
100
|
+
/* layout */
|
|
101
|
+
--content-max-width: ;
|
|
102
|
+
--overlay-max-width: ;
|
|
103
|
+
--z-menu: 100;
|
|
104
|
+
--z-sticky: 110;
|
|
105
|
+
--z-fixed: 120;
|
|
106
|
+
--z-drawer: 130;
|
|
107
|
+
--z-dialog: 140;
|
|
108
|
+
--z-popover: 150;
|
|
109
|
+
--z-tooltip: 160;
|
|
110
|
+
--z-toast: 170;
|
|
111
|
+
|
|
112
|
+
/* misc */
|
|
113
|
+
--focus-ring: ;
|
|
114
|
+
--box-shadow: ;
|
|
115
|
+
}
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
/* color — surfaces */
|
|
3
|
+
--bg-body: ;
|
|
4
|
+
--bg-main: ;
|
|
5
|
+
--bg-inset: ;
|
|
6
|
+
--bg-raised: ;
|
|
7
|
+
--bg-brand: ;
|
|
8
|
+
--bg-brand-secondary: ;
|
|
9
|
+
--bg-success: ;
|
|
10
|
+
--bg-warning: ;
|
|
11
|
+
--bg-danger: ;
|
|
12
|
+
--bg-info: ;
|
|
13
|
+
--bg-disabled: ;
|
|
14
|
+
--bg-inverse: ;
|
|
15
|
+
|
|
16
|
+
/* color — text */
|
|
17
|
+
--text-primary: ;
|
|
18
|
+
--text-secondary: ;
|
|
19
|
+
--text-subtle: ;
|
|
20
|
+
--text-interactive: ;
|
|
21
|
+
--text-interactive-hover: ;
|
|
22
|
+
--text-interactive-active: ;
|
|
23
|
+
--text-brand: ;
|
|
24
|
+
--text-brand-secondary: ;
|
|
25
|
+
--text-success: ;
|
|
26
|
+
--text-warning: ;
|
|
27
|
+
--text-danger: ;
|
|
28
|
+
--text-info: ;
|
|
29
|
+
--text-disabled: ;
|
|
30
|
+
--text-inverse: ;
|
|
31
|
+
|
|
32
|
+
/* color — borders */
|
|
33
|
+
--border-color: ;
|
|
34
|
+
--border-color-subtle: ;
|
|
35
|
+
--border-brand: ;
|
|
36
|
+
--border-brand-secondary: ;
|
|
37
|
+
--border-success: ;
|
|
38
|
+
--border-warning: ;
|
|
39
|
+
--border-danger: ;
|
|
40
|
+
--border-info: ;
|
|
41
|
+
|
|
42
|
+
/* typography */
|
|
43
|
+
--font-body: ;
|
|
44
|
+
--font-display: ;
|
|
45
|
+
--font-mono: ;
|
|
46
|
+
--font-size-xs: ;
|
|
47
|
+
--font-size-sm: ;
|
|
48
|
+
--font-size-md: ;
|
|
49
|
+
--font-size-lg: ;
|
|
50
|
+
--font-size-xl: ;
|
|
51
|
+
--font-size-xxl: ;
|
|
52
|
+
--font-weight-light: ;
|
|
53
|
+
--font-weight-normal: ;
|
|
54
|
+
--font-weight-bold: ;
|
|
55
|
+
--line-height-normal: ;
|
|
56
|
+
--line-height-tight: ;
|
|
57
|
+
--letter-spacing-uppercase: ;
|
|
58
|
+
|
|
59
|
+
/* spacing */
|
|
60
|
+
--space-xs: ;
|
|
61
|
+
--space-sm: ;
|
|
62
|
+
--space-md: ;
|
|
63
|
+
--space-lg: ;
|
|
64
|
+
--space-xl: ;
|
|
65
|
+
--space-xxl: ;
|
|
66
|
+
|
|
67
|
+
/* borders */
|
|
68
|
+
--border-radius-sm: ;
|
|
69
|
+
--border-radius-md: ;
|
|
70
|
+
--border-radius-lg: ;
|
|
71
|
+
|
|
72
|
+
/* motion */
|
|
73
|
+
--ease-in: ease-in;
|
|
74
|
+
--ease-out: ease-out;
|
|
75
|
+
--ease-linear: linear;
|
|
76
|
+
--duration-fast: ;
|
|
77
|
+
--duration-normal: ;
|
|
78
|
+
|
|
79
|
+
/* layout */
|
|
80
|
+
--content-max-width: ;
|
|
81
|
+
--overlay-max-width: ;
|
|
82
|
+
--z-menu: 100;
|
|
83
|
+
--z-sticky: 110;
|
|
84
|
+
--z-fixed: 120;
|
|
85
|
+
--z-drawer: 130;
|
|
86
|
+
--z-dialog: 140;
|
|
87
|
+
--z-popover: 150;
|
|
88
|
+
--z-tooltip: 160;
|
|
89
|
+
--z-toast: 170;
|
|
90
|
+
|
|
91
|
+
/* misc */
|
|
92
|
+
--focus-ring: ;
|
|
93
|
+
--box-shadow: ;
|
|
94
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"border-radius": {
|
|
3
|
+
"sm": {
|
|
4
|
+
"$type": "dimension",
|
|
5
|
+
"$value": "",
|
|
6
|
+
"$description": "Small corner radius.",
|
|
7
|
+
"tier": "core",
|
|
8
|
+
"usage": "chips, dense controls"
|
|
9
|
+
},
|
|
10
|
+
"md": {
|
|
11
|
+
"$type": "dimension",
|
|
12
|
+
"$value": "",
|
|
13
|
+
"$description": "Default corner radius.",
|
|
14
|
+
"tier": "core",
|
|
15
|
+
"usage": "buttons, inputs, cards"
|
|
16
|
+
},
|
|
17
|
+
"lg": {
|
|
18
|
+
"$type": "dimension",
|
|
19
|
+
"$value": "",
|
|
20
|
+
"$description": "Large corner radius.",
|
|
21
|
+
"tier": "core",
|
|
22
|
+
"usage": "panels, hero media"
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
"border-width": {
|
|
26
|
+
"$type": "dimension",
|
|
27
|
+
"$value": "",
|
|
28
|
+
"$description": "Default border width.",
|
|
29
|
+
"tier": "extended"
|
|
30
|
+
},
|
|
31
|
+
"border-width-thick": {
|
|
32
|
+
"$type": "dimension",
|
|
33
|
+
"$value": "",
|
|
34
|
+
"$description": "Thicker border width for emphasis or stylistic variety.",
|
|
35
|
+
"tier": "extended"
|
|
36
|
+
}
|
|
37
|
+
}
|
|
@@ -0,0 +1,104 @@
|
|
|
1
|
+
{
|
|
2
|
+
"bg": {
|
|
3
|
+
"body": {
|
|
4
|
+
"$type": "color",
|
|
5
|
+
"$value": "",
|
|
6
|
+
"$description": "Page or application canvas behind main content.",
|
|
7
|
+
"tier": "core",
|
|
8
|
+
"usage": "html/body background"
|
|
9
|
+
},
|
|
10
|
+
"main": {
|
|
11
|
+
"$type": "color",
|
|
12
|
+
"$value": "",
|
|
13
|
+
"$description": "Primary content surface.",
|
|
14
|
+
"tier": "core",
|
|
15
|
+
"usage": "main column, article, panel",
|
|
16
|
+
"pairsWith": ["text-primary", "text-secondary", "text-interactive"]
|
|
17
|
+
},
|
|
18
|
+
"inset": {
|
|
19
|
+
"$type": "color",
|
|
20
|
+
"$value": "",
|
|
21
|
+
"$description": "Recessed surface below the main background.",
|
|
22
|
+
"tier": "core",
|
|
23
|
+
"usage": "asides, wells, form fields, inputs",
|
|
24
|
+
"pairsWith": ["text-primary", "border-color"]
|
|
25
|
+
},
|
|
26
|
+
"raised": {
|
|
27
|
+
"$type": "color",
|
|
28
|
+
"$value": "",
|
|
29
|
+
"$description": "Surface elevated above the main background.",
|
|
30
|
+
"tier": "core",
|
|
31
|
+
"usage": "cards, menus, dropdowns, raised panels",
|
|
32
|
+
"pairsWith": ["text-primary", "border-color"]
|
|
33
|
+
},
|
|
34
|
+
"inset-strong": {
|
|
35
|
+
"$type": "color",
|
|
36
|
+
"$value": "",
|
|
37
|
+
"$description": "Deeper inset than inset when two recessed levels are needed.",
|
|
38
|
+
"tier": "extended"
|
|
39
|
+
},
|
|
40
|
+
"raised-strong": {
|
|
41
|
+
"$type": "color",
|
|
42
|
+
"$value": "",
|
|
43
|
+
"$description": "Stronger elevation than raised when two raised levels are needed.",
|
|
44
|
+
"tier": "extended"
|
|
45
|
+
},
|
|
46
|
+
"brand": {
|
|
47
|
+
"$type": "color",
|
|
48
|
+
"$value": "",
|
|
49
|
+
"$description": "Background filled with the primary brand color.",
|
|
50
|
+
"tier": "core",
|
|
51
|
+
"pairsWith": ["text-inverse", "text-brand"],
|
|
52
|
+
"usage": "call-to-action buttons"
|
|
53
|
+
},
|
|
54
|
+
"brand-secondary": {
|
|
55
|
+
"$type": "color",
|
|
56
|
+
"$value": "",
|
|
57
|
+
"$description": "Background filled with a secondary brand color.",
|
|
58
|
+
"tier": "core"
|
|
59
|
+
},
|
|
60
|
+
"success": {
|
|
61
|
+
"$type": "color",
|
|
62
|
+
"$value": "",
|
|
63
|
+
"$description": "Background for success state regions.",
|
|
64
|
+
"tier": "core",
|
|
65
|
+
"usage": "banners, badges",
|
|
66
|
+
"pairsWith": ["text-success", "border-success"]
|
|
67
|
+
},
|
|
68
|
+
"warning": {
|
|
69
|
+
"$type": "color",
|
|
70
|
+
"$value": "",
|
|
71
|
+
"$description": "Background for warning state regions.",
|
|
72
|
+
"tier": "core",
|
|
73
|
+
"pairsWith": ["text-warning", "border-warning"]
|
|
74
|
+
},
|
|
75
|
+
"danger": {
|
|
76
|
+
"$type": "color",
|
|
77
|
+
"$value": "",
|
|
78
|
+
"$description": "Background for danger/error state regions.",
|
|
79
|
+
"tier": "core",
|
|
80
|
+
"pairsWith": ["text-danger", "border-danger"]
|
|
81
|
+
},
|
|
82
|
+
"info": {
|
|
83
|
+
"$type": "color",
|
|
84
|
+
"$value": "",
|
|
85
|
+
"$description": "Background for informational state regions.",
|
|
86
|
+
"tier": "core",
|
|
87
|
+
"pairsWith": ["text-info", "border-info"]
|
|
88
|
+
},
|
|
89
|
+
"disabled": {
|
|
90
|
+
"$type": "color",
|
|
91
|
+
"$value": "",
|
|
92
|
+
"$description": "Background for disabled controls or inert regions.",
|
|
93
|
+
"tier": "core",
|
|
94
|
+
"pairsWith": ["text-disabled"]
|
|
95
|
+
},
|
|
96
|
+
"inverse": {
|
|
97
|
+
"$type": "color",
|
|
98
|
+
"$value": "",
|
|
99
|
+
"$description": "Contrasting surface inverted from the current theme (e.g. dark on light themes).",
|
|
100
|
+
"tier": "core",
|
|
101
|
+
"pairsWith": ["text-inverse"]
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
{
|
|
2
|
+
"border": {
|
|
3
|
+
"color": {
|
|
4
|
+
"$type": "color",
|
|
5
|
+
"$value": "",
|
|
6
|
+
"$description": "Default border and divider color.",
|
|
7
|
+
"tier": "core",
|
|
8
|
+
"usage": "cards, inputs, separators",
|
|
9
|
+
"related": ["bg-main", "bg-raised", "bg-inset"]
|
|
10
|
+
},
|
|
11
|
+
"color-subtle": {
|
|
12
|
+
"$type": "color",
|
|
13
|
+
"$value": "",
|
|
14
|
+
"$description": "Quieter border for low-emphasis dividers.",
|
|
15
|
+
"tier": "core",
|
|
16
|
+
"related": ["bg-main", "bg-raised", "bg-inset"]
|
|
17
|
+
},
|
|
18
|
+
"brand": {
|
|
19
|
+
"$type": "color",
|
|
20
|
+
"$value": "",
|
|
21
|
+
"$description": "Border accent using the primary brand color.",
|
|
22
|
+
"tier": "core"
|
|
23
|
+
},
|
|
24
|
+
"brand-secondary": {
|
|
25
|
+
"$type": "color",
|
|
26
|
+
"$value": "",
|
|
27
|
+
"$description": "Border accent using a secondary brand color.",
|
|
28
|
+
"tier": "core"
|
|
29
|
+
},
|
|
30
|
+
"success": {
|
|
31
|
+
"$type": "color",
|
|
32
|
+
"$value": "",
|
|
33
|
+
"$description": "Border for success state outlines.",
|
|
34
|
+
"tier": "core",
|
|
35
|
+
"related": ["bg-success", "text-success"]
|
|
36
|
+
},
|
|
37
|
+
"warning": {
|
|
38
|
+
"$type": "color",
|
|
39
|
+
"$value": "",
|
|
40
|
+
"$description": "Border for warning state outlines.",
|
|
41
|
+
"tier": "core",
|
|
42
|
+
"related": ["bg-warning", "text-warning"]
|
|
43
|
+
},
|
|
44
|
+
"danger": {
|
|
45
|
+
"$type": "color",
|
|
46
|
+
"$value": "",
|
|
47
|
+
"$description": "Border for danger/error state outlines.",
|
|
48
|
+
"tier": "core",
|
|
49
|
+
"related": ["bg-danger", "text-danger"]
|
|
50
|
+
},
|
|
51
|
+
"info": {
|
|
52
|
+
"$type": "color",
|
|
53
|
+
"$value": "",
|
|
54
|
+
"$description": "Border for informational state outlines.",
|
|
55
|
+
"tier": "core",
|
|
56
|
+
"related": ["bg-info", "text-info"]
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
{
|
|
2
|
+
"chart": {
|
|
3
|
+
"color-1": {
|
|
4
|
+
"$type": "color",
|
|
5
|
+
"$value": "",
|
|
6
|
+
"$description": "First chart series color.",
|
|
7
|
+
"tier": "extended"
|
|
8
|
+
},
|
|
9
|
+
"color-2": {
|
|
10
|
+
"$type": "color",
|
|
11
|
+
"$value": "",
|
|
12
|
+
"$description": "Second chart series color.",
|
|
13
|
+
"tier": "extended"
|
|
14
|
+
},
|
|
15
|
+
"color-3": {
|
|
16
|
+
"$type": "color",
|
|
17
|
+
"$value": "",
|
|
18
|
+
"$description": "Third chart series color.",
|
|
19
|
+
"tier": "extended"
|
|
20
|
+
},
|
|
21
|
+
"color-4": {
|
|
22
|
+
"$type": "color",
|
|
23
|
+
"$value": "",
|
|
24
|
+
"$description": "Fourth chart series color.",
|
|
25
|
+
"tier": "extended"
|
|
26
|
+
},
|
|
27
|
+
"color-5": {
|
|
28
|
+
"$type": "color",
|
|
29
|
+
"$value": "",
|
|
30
|
+
"$description": "Fifth chart series color.",
|
|
31
|
+
"tier": "extended"
|
|
32
|
+
},
|
|
33
|
+
"color-6": {
|
|
34
|
+
"$type": "color",
|
|
35
|
+
"$value": "",
|
|
36
|
+
"$description": "Sixth chart series color.",
|
|
37
|
+
"tier": "extended"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
{
|
|
2
|
+
"icon": {
|
|
3
|
+
"primary": {
|
|
4
|
+
"$type": "color",
|
|
5
|
+
"$value": "",
|
|
6
|
+
"$description": "Default icon color.",
|
|
7
|
+
"tier": "extended",
|
|
8
|
+
"pairsWith": ["bg-main", "bg-raised", "bg-inset"]
|
|
9
|
+
},
|
|
10
|
+
"success": {
|
|
11
|
+
"$type": "color",
|
|
12
|
+
"$value": "",
|
|
13
|
+
"$description": "Icon color for success status.",
|
|
14
|
+
"tier": "extended",
|
|
15
|
+
"pairsWith": ["bg-success"]
|
|
16
|
+
},
|
|
17
|
+
"warning": {
|
|
18
|
+
"$type": "color",
|
|
19
|
+
"$value": "",
|
|
20
|
+
"$description": "Icon color for warning status.",
|
|
21
|
+
"tier": "extended",
|
|
22
|
+
"pairsWith": ["bg-warning"]
|
|
23
|
+
},
|
|
24
|
+
"danger": {
|
|
25
|
+
"$type": "color",
|
|
26
|
+
"$value": "",
|
|
27
|
+
"$description": "Icon color for danger/error status.",
|
|
28
|
+
"tier": "extended",
|
|
29
|
+
"pairsWith": ["bg-danger"]
|
|
30
|
+
},
|
|
31
|
+
"info": {
|
|
32
|
+
"$type": "color",
|
|
33
|
+
"$value": "",
|
|
34
|
+
"$description": "Icon color for informational status.",
|
|
35
|
+
"tier": "extended",
|
|
36
|
+
"pairsWith": ["bg-info"]
|
|
37
|
+
},
|
|
38
|
+
"disabled": {
|
|
39
|
+
"$type": "color",
|
|
40
|
+
"$value": "",
|
|
41
|
+
"$description": "Icon color when the control is disabled.",
|
|
42
|
+
"tier": "extended",
|
|
43
|
+
"pairsWith": ["bg-disabled"]
|
|
44
|
+
},
|
|
45
|
+
"inverse": {
|
|
46
|
+
"$type": "color",
|
|
47
|
+
"$value": "",
|
|
48
|
+
"$description": "Icon color on inverse or brand-filled surfaces.",
|
|
49
|
+
"tier": "extended",
|
|
50
|
+
"pairsWith": ["bg-inverse"]
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|