@khanacademy/wonder-blocks-tokens 10.0.0 → 10.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,5 @@
1
+
2
+ > @khanacademy/wonder-blocks-tokens@10.2.0 build:css /home/runner/work/wonder-blocks/wonder-blocks/packages/wonder-blocks-tokens
3
+ > node -r @swc-node/register ./src/build/generate-css-variables.ts
4
+
5
+ CSS variables generated successfully in: /home/runner/work/wonder-blocks/wonder-blocks/packages/wonder-blocks-tokens/dist/css
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @khanacademy/wonder-blocks-tokens
2
2
 
3
+ ## 10.2.0
4
+
5
+ ### Minor Changes
6
+
7
+ - c7d95bf: Add `thunderblocks` theme to Wonder Blocks.
8
+ - 668093b: Expose mapValuesToCssVars so other WB packages can switch to theming with CSS vars instead of relying on React Context.
9
+
10
+ ### Patch Changes
11
+
12
+ - Updated dependencies [c7d95bf]
13
+ - @khanacademy/wonder-blocks-theming@3.4.0
14
+
15
+ ## 10.1.0
16
+
17
+ ### Minor Changes
18
+
19
+ - abf5496: Add semanticColor.input tokens for form fields
20
+
21
+ ### Patch Changes
22
+
23
+ - a1be4c5: Change secondary.disabled.border to match design specs
24
+ - d00a6f1: Fixes `semanticColor.action.secondary.disabled.background` to match the Design specs (transparent instead of offWhite)
25
+ - 812c167: Fix `neutral.secondary.press.background` value to be closer to the progressive and destructive backgrounds
26
+
3
27
  ## 10.0.0
4
28
 
5
29
  ### Major Changes
package/bin/cli.js ADDED
@@ -0,0 +1,39 @@
1
+ #!/usr/bin/env -S node -r @swc-node/register
2
+ import {parseArgs} from "node:util";
3
+ import {createCssFile} from "../src/build/generate-css-variables";
4
+
5
+ const HELP_TEXT = `
6
+ Usage: wonder-blocks-tokens [options] <files>
7
+
8
+ Options:
9
+ -p, --prefix The prefix to use for the CSS variables.
10
+ -h, --help Show this help message.
11
+ `;
12
+
13
+ const {
14
+ values: {help, prefix},
15
+ positionals: [files],
16
+ } = parseArgs({
17
+ options: {
18
+ /**
19
+ * The prefix to use for the CSS variables.
20
+ */
21
+ prefix: {
22
+ type: "string",
23
+ short: "p",
24
+ },
25
+ help: {
26
+ type: "boolean",
27
+ short: "h",
28
+ },
29
+ },
30
+ allowPositionals: true,
31
+ });
32
+
33
+ if (help) {
34
+ // eslint-disable-next-line no-console
35
+ console.log(HELP_TEXT);
36
+ process.exit(0);
37
+ }
38
+
39
+ createCssFile(files, prefix);
@@ -1,2 +1,5 @@
1
1
  #!/usr/bin/env -S node -r @swc-node/register
2
- export {};
2
+ /**
3
+ * Create the CSS file containing the CSS variables for each theme.
4
+ */
5
+ export declare function createCssFile(folderPath: string, prefix?: string): void;
@@ -1 +1,375 @@
1
- :root {--wb-border-radius-radius_0: 0px;--wb-border-radius-radius_040: 4px;--wb-border-radius-radius_080: 8px;--wb-border-radius-radius_120: 12px;--wb-border-radius-radius_full: 50%;--wb-border-width-none: 0px;--wb-border-width-thin: 1px;--wb-border-width-medium: 2px;--wb-border-width-thick: 4px;--wb-semanticColor-action-primary-progressive-default-border: transparent;--wb-semanticColor-action-primary-progressive-default-background: #1865f2;--wb-semanticColor-action-primary-progressive-default-foreground: #ffffff;--wb-semanticColor-action-primary-progressive-hover-border: #1865f2;--wb-semanticColor-action-primary-progressive-hover-background: #1865f2;--wb-semanticColor-action-primary-progressive-hover-foreground: #ffffff;--wb-semanticColor-action-primary-progressive-press-border: #1b50b3;--wb-semanticColor-action-primary-progressive-press-background: #1b50b3;--wb-semanticColor-action-primary-progressive-press-foreground: #ffffff;--wb-semanticColor-action-primary-destructive-default-border: transparent;--wb-semanticColor-action-primary-destructive-default-background: #d92916;--wb-semanticColor-action-primary-destructive-default-foreground: #ffffff;--wb-semanticColor-action-primary-destructive-hover-border: #d92916;--wb-semanticColor-action-primary-destructive-hover-background: #d92916;--wb-semanticColor-action-primary-destructive-hover-foreground: #ffffff;--wb-semanticColor-action-primary-destructive-press-border: #9e271d;--wb-semanticColor-action-primary-destructive-press-background: #9e271d;--wb-semanticColor-action-primary-destructive-press-foreground: #ffffff;--wb-semanticColor-action-primary-neutral-default-border: transparent;--wb-semanticColor-action-primary-neutral-default-background: #5f6167;--wb-semanticColor-action-primary-neutral-default-foreground: #ffffff;--wb-semanticColor-action-primary-neutral-hover-border: #5f6167;--wb-semanticColor-action-primary-neutral-hover-background: #5f6167;--wb-semanticColor-action-primary-neutral-hover-foreground: #ffffff;--wb-semanticColor-action-primary-neutral-press-border: #21242c;--wb-semanticColor-action-primary-neutral-press-background: #21242c;--wb-semanticColor-action-primary-neutral-press-foreground: #ffffff;--wb-semanticColor-action-primary-disabled-border: #b8b9bb;--wb-semanticColor-action-primary-disabled-background: #b8b9bb;--wb-semanticColor-action-primary-disabled-foreground: #f7f8fa;--wb-semanticColor-action-secondary-progressive-default-border: #909296;--wb-semanticColor-action-secondary-progressive-default-background: transparent;--wb-semanticColor-action-secondary-progressive-default-foreground: #1865f2;--wb-semanticColor-action-secondary-progressive-hover-border: #1865f2;--wb-semanticColor-action-secondary-progressive-hover-background: transparent;--wb-semanticColor-action-secondary-progressive-hover-foreground: #1865f2;--wb-semanticColor-action-secondary-progressive-press-border: #1b50b3;--wb-semanticColor-action-secondary-progressive-press-background: #b5cefb;--wb-semanticColor-action-secondary-progressive-press-foreground: #1b50b3;--wb-semanticColor-action-secondary-destructive-default-border: #909296;--wb-semanticColor-action-secondary-destructive-default-background: transparent;--wb-semanticColor-action-secondary-destructive-default-foreground: #d92916;--wb-semanticColor-action-secondary-destructive-hover-border: #d92916;--wb-semanticColor-action-secondary-destructive-hover-background: transparent;--wb-semanticColor-action-secondary-destructive-hover-foreground: #d92916;--wb-semanticColor-action-secondary-destructive-press-border: #9e271d;--wb-semanticColor-action-secondary-destructive-press-background: #f3bbb4;--wb-semanticColor-action-secondary-destructive-press-foreground: #9e271d;--wb-semanticColor-action-secondary-neutral-default-border: #909296;--wb-semanticColor-action-secondary-neutral-default-background: transparent;--wb-semanticColor-action-secondary-neutral-default-foreground: #5f6167;--wb-semanticColor-action-secondary-neutral-hover-border: #5f6167;--wb-semanticColor-action-secondary-neutral-hover-background: transparent;--wb-semanticColor-action-secondary-neutral-hover-foreground: #5f6167;--wb-semanticColor-action-secondary-neutral-press-border: #21242c;--wb-semanticColor-action-secondary-neutral-press-background: transparent;--wb-semanticColor-action-secondary-neutral-press-foreground: #21242c;--wb-semanticColor-action-secondary-disabled-border: #dbdcdd;--wb-semanticColor-action-secondary-disabled-background: #f7f8fa;--wb-semanticColor-action-secondary-disabled-foreground: #b8b9bb;--wb-semanticColor-action-tertiary-progressive-default-border: transparent;--wb-semanticColor-action-tertiary-progressive-default-background: transparent;--wb-semanticColor-action-tertiary-progressive-default-foreground: #1865f2;--wb-semanticColor-action-tertiary-progressive-hover-border: #1865f2;--wb-semanticColor-action-tertiary-progressive-hover-background: transparent;--wb-semanticColor-action-tertiary-progressive-hover-foreground: #1865f2;--wb-semanticColor-action-tertiary-progressive-press-border: #1b50b3;--wb-semanticColor-action-tertiary-progressive-press-background: transparent;--wb-semanticColor-action-tertiary-progressive-press-foreground: #1b50b3;--wb-semanticColor-action-tertiary-destructive-default-border: transparent;--wb-semanticColor-action-tertiary-destructive-default-background: transparent;--wb-semanticColor-action-tertiary-destructive-default-foreground: #d92916;--wb-semanticColor-action-tertiary-destructive-hover-border: #d92916;--wb-semanticColor-action-tertiary-destructive-hover-background: transparent;--wb-semanticColor-action-tertiary-destructive-hover-foreground: #d92916;--wb-semanticColor-action-tertiary-destructive-press-border: #9e271d;--wb-semanticColor-action-tertiary-destructive-press-background: transparent;--wb-semanticColor-action-tertiary-destructive-press-foreground: #9e271d;--wb-semanticColor-action-tertiary-neutral-default-border: transparent;--wb-semanticColor-action-tertiary-neutral-default-background: transparent;--wb-semanticColor-action-tertiary-neutral-default-foreground: #5f6167;--wb-semanticColor-action-tertiary-neutral-hover-border: #5f6167;--wb-semanticColor-action-tertiary-neutral-hover-background: transparent;--wb-semanticColor-action-tertiary-neutral-hover-foreground: #5f6167;--wb-semanticColor-action-tertiary-neutral-press-border: #21242c;--wb-semanticColor-action-tertiary-neutral-press-background: transparent;--wb-semanticColor-action-tertiary-neutral-press-foreground: #21242c;--wb-semanticColor-action-tertiary-disabled-border: #dbdcdd;--wb-semanticColor-action-tertiary-disabled-background: transparent;--wb-semanticColor-action-tertiary-disabled-foreground: #b8b9bb;--wb-semanticColor-status-critical-background: #fceeec;--wb-semanticColor-status-critical-foreground: #d92916;--wb-semanticColor-status-warning-background: #fff9eb;--wb-semanticColor-status-warning-foreground: #ffb100;--wb-semanticColor-status-success-background: #ebf8ec;--wb-semanticColor-status-success-foreground: #00a60e;--wb-semanticColor-status-notice-background: #edf3fe;--wb-semanticColor-status-notice-foreground: #1865f2;--wb-semanticColor-status-neutral-background: #ededee;--wb-semanticColor-status-neutral-foreground: #21242c;--wb-semanticColor-surface-primary: #ffffff;--wb-semanticColor-surface-secondary: #f7f8fa;--wb-semanticColor-surface-emphasis: #1865f2;--wb-semanticColor-surface-inverse: #0b2149;--wb-semanticColor-surface-overlay: rgba(33,36,44,0.64);--wb-semanticColor-text-primary: #21242c;--wb-semanticColor-text-secondary: #5f6167;--wb-semanticColor-text-disabled: #b8b9bb;--wb-semanticColor-text-inverse: #ffffff;--wb-semanticColor-border-primary: #dbdcdd;--wb-semanticColor-border-subtle: #ededee;--wb-semanticColor-border-strong: #909296;--wb-semanticColor-border-inverse: #ffffff;--wb-semanticColor-focus-outer: #1865f2;--wb-semanticColor-focus-inner: #ffffff;--wb-semanticColor-icon-primary: #5f6167;--wb-semanticColor-icon-secondary: #21242c;--wb-semanticColor-icon-inverse: #ffffff;--wb-semanticColor-icon-action: #1865f2;--wb-semanticColor-icon-destructive: #d92916;--wb-semanticColor-icon-disabled: #b8b9bb;--wb-semanticColor-khanmigo-primary: #5f1e5c;--wb-semanticColor-khanmigo-secondary: #f2edf2;--wb-semanticColor-mastery-primary: #9059ff;--wb-sizing-size_0: 0rem;--wb-sizing-size_010: 0.1rem;--wb-sizing-size_020: 0.2rem;--wb-sizing-size_040: 0.4rem;--wb-sizing-size_060: 0.6rem;--wb-sizing-size_080: 0.8rem;--wb-sizing-size_100: 1rem;--wb-sizing-size_120: 1.2rem;--wb-sizing-size_140: 1.4rem;--wb-sizing-size_160: 1.6rem;--wb-sizing-size_180: 1.8rem;--wb-sizing-size_200: 2rem;--wb-sizing-size_220: 2.2rem;--wb-sizing-size_240: 2.4rem;--wb-sizing-size_280: 2.8rem;--wb-sizing-size_320: 3.2rem;--wb-sizing-size_360: 3.6rem;--wb-sizing-size_400: 4rem;--wb-sizing-size_480: 4.8rem;--wb-sizing-size_560: 5.6rem;--wb-sizing-size_640: 6.4rem;--wb-sizing-size_720: 7.2rem;--wb-sizing-size_800: 8rem;--wb-sizing-size_880: 8.8rem;--wb-sizing-size_960: 9.6rem;}
1
+ :root {--wb-c-icon-button-border-offset-primary: var(--wb-border-width-medium);
2
+ --wb-c-icon-button-border-offset-secondary: calc(-1 * var(--wb-border-width-medium));
3
+ --wb-c-icon-button-border-offset-tertiary: calc(-1 * var(--wb-border-width-medium));
4
+ --wb-c-icon-button-border-width-primary-default: var(--wb-border-width-none);
5
+ --wb-c-icon-button-border-width-primary-hover: var(--wb-border-width-medium);
6
+ --wb-c-icon-button-border-width-primary-press: var(--wb-border-width-medium);
7
+ --wb-c-icon-button-border-width-secondary-default: var(--wb-border-width-thin);
8
+ --wb-c-icon-button-border-width-secondary-hover: var(--wb-border-width-medium);
9
+ --wb-c-icon-button-border-width-secondary-press: var(--wb-border-width-medium);
10
+ --wb-c-icon-button-border-width-tertiary-default: var(--wb-border-width-none);
11
+ --wb-c-icon-button-border-width-tertiary-hover: var(--wb-border-width-medium);
12
+ --wb-c-icon-button-border-width-tertiary-press: var(--wb-border-width-medium);
13
+ --wb-c-icon-button-border-radius-default: var(--wb-border-radius-radius_040);}
14
+
15
+ [data-wb-theme='thunderblocks'] {--wb-c-icon-button-border-offset-primary: var(--wb-border-width-medium);
16
+ --wb-c-icon-button-border-offset-secondary: calc(-1 * var(--wb-border-width-medium));
17
+ --wb-c-icon-button-border-offset-tertiary: calc(-1 * var(--wb-border-width-medium));
18
+ --wb-c-icon-button-border-width-primary-default: var(--wb-border-width-none);
19
+ --wb-c-icon-button-border-width-primary-hover: var(--wb-border-width-none);
20
+ --wb-c-icon-button-border-width-primary-press: var(--wb-border-width-none);
21
+ --wb-c-icon-button-border-width-secondary-default: var(--wb-border-width-thin);
22
+ --wb-c-icon-button-border-width-secondary-hover: var(--wb-border-width-medium);
23
+ --wb-c-icon-button-border-width-secondary-press: var(--wb-border-width-medium);
24
+ --wb-c-icon-button-border-width-tertiary-default: var(--wb-border-width-none);
25
+ --wb-c-icon-button-border-width-tertiary-hover: var(--wb-border-width-medium);
26
+ --wb-c-icon-button-border-width-tertiary-press: var(--wb-border-width-medium);
27
+ --wb-c-icon-button-border-radius-default: var(--wb-border-radius-radius_040);}:root {--wb-border-radius-radius_0: 0px;
28
+ --wb-border-radius-radius_040: 4px;
29
+ --wb-border-radius-radius_080: 8px;
30
+ --wb-border-radius-radius_120: 12px;
31
+ --wb-border-radius-radius_full: 50%;
32
+ --wb-border-width-none: 0px;
33
+ --wb-border-width-thin: 1px;
34
+ --wb-border-width-medium: 2px;
35
+ --wb-border-width-thick: 4px;
36
+ --wb-semanticColor-action-primary-progressive-default-border: transparent;
37
+ --wb-semanticColor-action-primary-progressive-default-background: #1865f2;
38
+ --wb-semanticColor-action-primary-progressive-default-foreground: #ffffff;
39
+ --wb-semanticColor-action-primary-progressive-hover-border: #1865f2;
40
+ --wb-semanticColor-action-primary-progressive-hover-background: #1865f2;
41
+ --wb-semanticColor-action-primary-progressive-hover-foreground: #ffffff;
42
+ --wb-semanticColor-action-primary-progressive-press-border: #1b50b3;
43
+ --wb-semanticColor-action-primary-progressive-press-background: #1b50b3;
44
+ --wb-semanticColor-action-primary-progressive-press-foreground: #ffffff;
45
+ --wb-semanticColor-action-primary-destructive-default-border: transparent;
46
+ --wb-semanticColor-action-primary-destructive-default-background: #d92916;
47
+ --wb-semanticColor-action-primary-destructive-default-foreground: #ffffff;
48
+ --wb-semanticColor-action-primary-destructive-hover-border: #d92916;
49
+ --wb-semanticColor-action-primary-destructive-hover-background: #d92916;
50
+ --wb-semanticColor-action-primary-destructive-hover-foreground: #ffffff;
51
+ --wb-semanticColor-action-primary-destructive-press-border: #9e271d;
52
+ --wb-semanticColor-action-primary-destructive-press-background: #9e271d;
53
+ --wb-semanticColor-action-primary-destructive-press-foreground: #ffffff;
54
+ --wb-semanticColor-action-primary-neutral-default-border: transparent;
55
+ --wb-semanticColor-action-primary-neutral-default-background: #5f6167;
56
+ --wb-semanticColor-action-primary-neutral-default-foreground: #ffffff;
57
+ --wb-semanticColor-action-primary-neutral-hover-border: #5f6167;
58
+ --wb-semanticColor-action-primary-neutral-hover-background: #5f6167;
59
+ --wb-semanticColor-action-primary-neutral-hover-foreground: #ffffff;
60
+ --wb-semanticColor-action-primary-neutral-press-border: #21242c;
61
+ --wb-semanticColor-action-primary-neutral-press-background: #21242c;
62
+ --wb-semanticColor-action-primary-neutral-press-foreground: #ffffff;
63
+ --wb-semanticColor-action-primary-disabled-border: #b8b9bb;
64
+ --wb-semanticColor-action-primary-disabled-background: #b8b9bb;
65
+ --wb-semanticColor-action-primary-disabled-foreground: #f7f8fa;
66
+ --wb-semanticColor-action-secondary-progressive-default-border: #909296;
67
+ --wb-semanticColor-action-secondary-progressive-default-background: transparent;
68
+ --wb-semanticColor-action-secondary-progressive-default-foreground: #1865f2;
69
+ --wb-semanticColor-action-secondary-progressive-hover-border: #1865f2;
70
+ --wb-semanticColor-action-secondary-progressive-hover-background: transparent;
71
+ --wb-semanticColor-action-secondary-progressive-hover-foreground: #1865f2;
72
+ --wb-semanticColor-action-secondary-progressive-press-border: #1b50b3;
73
+ --wb-semanticColor-action-secondary-progressive-press-background: #b5cefb;
74
+ --wb-semanticColor-action-secondary-progressive-press-foreground: #1b50b3;
75
+ --wb-semanticColor-action-secondary-destructive-default-border: #909296;
76
+ --wb-semanticColor-action-secondary-destructive-default-background: transparent;
77
+ --wb-semanticColor-action-secondary-destructive-default-foreground: #d92916;
78
+ --wb-semanticColor-action-secondary-destructive-hover-border: #d92916;
79
+ --wb-semanticColor-action-secondary-destructive-hover-background: transparent;
80
+ --wb-semanticColor-action-secondary-destructive-hover-foreground: #d92916;
81
+ --wb-semanticColor-action-secondary-destructive-press-border: #9e271d;
82
+ --wb-semanticColor-action-secondary-destructive-press-background: #f3bbb4;
83
+ --wb-semanticColor-action-secondary-destructive-press-foreground: #9e271d;
84
+ --wb-semanticColor-action-secondary-neutral-default-border: #909296;
85
+ --wb-semanticColor-action-secondary-neutral-default-background: transparent;
86
+ --wb-semanticColor-action-secondary-neutral-default-foreground: #5f6167;
87
+ --wb-semanticColor-action-secondary-neutral-hover-border: #5f6167;
88
+ --wb-semanticColor-action-secondary-neutral-hover-background: transparent;
89
+ --wb-semanticColor-action-secondary-neutral-hover-foreground: #5f6167;
90
+ --wb-semanticColor-action-secondary-neutral-press-border: #21242c;
91
+ --wb-semanticColor-action-secondary-neutral-press-background: rgba(33,36,44,0.16);
92
+ --wb-semanticColor-action-secondary-neutral-press-foreground: #21242c;
93
+ --wb-semanticColor-action-secondary-disabled-border: #b8b9bb;
94
+ --wb-semanticColor-action-secondary-disabled-background: transparent;
95
+ --wb-semanticColor-action-secondary-disabled-foreground: #b8b9bb;
96
+ --wb-semanticColor-action-tertiary-progressive-default-border: transparent;
97
+ --wb-semanticColor-action-tertiary-progressive-default-background: transparent;
98
+ --wb-semanticColor-action-tertiary-progressive-default-foreground: #1865f2;
99
+ --wb-semanticColor-action-tertiary-progressive-hover-border: #1865f2;
100
+ --wb-semanticColor-action-tertiary-progressive-hover-background: transparent;
101
+ --wb-semanticColor-action-tertiary-progressive-hover-foreground: #1865f2;
102
+ --wb-semanticColor-action-tertiary-progressive-press-border: #1b50b3;
103
+ --wb-semanticColor-action-tertiary-progressive-press-background: transparent;
104
+ --wb-semanticColor-action-tertiary-progressive-press-foreground: #1b50b3;
105
+ --wb-semanticColor-action-tertiary-destructive-default-border: transparent;
106
+ --wb-semanticColor-action-tertiary-destructive-default-background: transparent;
107
+ --wb-semanticColor-action-tertiary-destructive-default-foreground: #d92916;
108
+ --wb-semanticColor-action-tertiary-destructive-hover-border: #d92916;
109
+ --wb-semanticColor-action-tertiary-destructive-hover-background: transparent;
110
+ --wb-semanticColor-action-tertiary-destructive-hover-foreground: #d92916;
111
+ --wb-semanticColor-action-tertiary-destructive-press-border: #9e271d;
112
+ --wb-semanticColor-action-tertiary-destructive-press-background: transparent;
113
+ --wb-semanticColor-action-tertiary-destructive-press-foreground: #9e271d;
114
+ --wb-semanticColor-action-tertiary-neutral-default-border: transparent;
115
+ --wb-semanticColor-action-tertiary-neutral-default-background: transparent;
116
+ --wb-semanticColor-action-tertiary-neutral-default-foreground: #5f6167;
117
+ --wb-semanticColor-action-tertiary-neutral-hover-border: #5f6167;
118
+ --wb-semanticColor-action-tertiary-neutral-hover-background: transparent;
119
+ --wb-semanticColor-action-tertiary-neutral-hover-foreground: #5f6167;
120
+ --wb-semanticColor-action-tertiary-neutral-press-border: #21242c;
121
+ --wb-semanticColor-action-tertiary-neutral-press-background: transparent;
122
+ --wb-semanticColor-action-tertiary-neutral-press-foreground: #21242c;
123
+ --wb-semanticColor-action-tertiary-disabled-border: #dbdcdd;
124
+ --wb-semanticColor-action-tertiary-disabled-background: transparent;
125
+ --wb-semanticColor-action-tertiary-disabled-foreground: #b8b9bb;
126
+ --wb-semanticColor-input-default-border: #909296;
127
+ --wb-semanticColor-input-default-background: #ffffff;
128
+ --wb-semanticColor-input-default-foreground: #21242c;
129
+ --wb-semanticColor-input-default-placeholder: #5f6167;
130
+ --wb-semanticColor-input-checked-border: #1865f2;
131
+ --wb-semanticColor-input-checked-background: #1865f2;
132
+ --wb-semanticColor-input-checked-foreground: #ffffff;
133
+ --wb-semanticColor-input-disabled-border: #dbdcdd;
134
+ --wb-semanticColor-input-disabled-background: #f7f8fa;
135
+ --wb-semanticColor-input-disabled-foreground: #5f6167;
136
+ --wb-semanticColor-input-disabled-placeholder: #5f6167;
137
+ --wb-semanticColor-input-error-border: #d92916;
138
+ --wb-semanticColor-input-error-background: #fceeec;
139
+ --wb-semanticColor-input-error-foreground: #21242c;
140
+ --wb-semanticColor-status-critical-background: #fceeec;
141
+ --wb-semanticColor-status-critical-foreground: #d92916;
142
+ --wb-semanticColor-status-warning-background: #fff9eb;
143
+ --wb-semanticColor-status-warning-foreground: #ffb100;
144
+ --wb-semanticColor-status-success-background: #ebf8ec;
145
+ --wb-semanticColor-status-success-foreground: #00a60e;
146
+ --wb-semanticColor-status-notice-background: #edf3fe;
147
+ --wb-semanticColor-status-notice-foreground: #1865f2;
148
+ --wb-semanticColor-status-neutral-background: #ededee;
149
+ --wb-semanticColor-status-neutral-foreground: #21242c;
150
+ --wb-semanticColor-surface-primary: #ffffff;
151
+ --wb-semanticColor-surface-secondary: #f7f8fa;
152
+ --wb-semanticColor-surface-emphasis: #1865f2;
153
+ --wb-semanticColor-surface-inverse: #0b2149;
154
+ --wb-semanticColor-surface-overlay: rgba(33,36,44,0.64);
155
+ --wb-semanticColor-text-primary: #21242c;
156
+ --wb-semanticColor-text-secondary: #5f6167;
157
+ --wb-semanticColor-text-disabled: #b8b9bb;
158
+ --wb-semanticColor-text-inverse: #ffffff;
159
+ --wb-semanticColor-border-primary: #dbdcdd;
160
+ --wb-semanticColor-border-subtle: #ededee;
161
+ --wb-semanticColor-border-strong: #909296;
162
+ --wb-semanticColor-border-inverse: #ffffff;
163
+ --wb-semanticColor-border-progressive: #1865f2;
164
+ --wb-semanticColor-border-destructive: #d92916;
165
+ --wb-semanticColor-focus-outer: #1865f2;
166
+ --wb-semanticColor-focus-inner: #ffffff;
167
+ --wb-semanticColor-icon-primary: #5f6167;
168
+ --wb-semanticColor-icon-secondary: #21242c;
169
+ --wb-semanticColor-icon-inverse: #ffffff;
170
+ --wb-semanticColor-icon-action: #1865f2;
171
+ --wb-semanticColor-icon-destructive: #d92916;
172
+ --wb-semanticColor-icon-disabled: #b8b9bb;
173
+ --wb-semanticColor-khanmigo-primary: #5f1e5c;
174
+ --wb-semanticColor-khanmigo-secondary: #f2edf2;
175
+ --wb-semanticColor-mastery-primary: #9059ff;
176
+ --wb-sizing-size_0: 0rem;
177
+ --wb-sizing-size_010: 0.1rem;
178
+ --wb-sizing-size_020: 0.2rem;
179
+ --wb-sizing-size_040: 0.4rem;
180
+ --wb-sizing-size_060: 0.6rem;
181
+ --wb-sizing-size_080: 0.8rem;
182
+ --wb-sizing-size_100: 1rem;
183
+ --wb-sizing-size_120: 1.2rem;
184
+ --wb-sizing-size_140: 1.4rem;
185
+ --wb-sizing-size_160: 1.6rem;
186
+ --wb-sizing-size_180: 1.8rem;
187
+ --wb-sizing-size_200: 2rem;
188
+ --wb-sizing-size_220: 2.2rem;
189
+ --wb-sizing-size_240: 2.4rem;
190
+ --wb-sizing-size_280: 2.8rem;
191
+ --wb-sizing-size_320: 3.2rem;
192
+ --wb-sizing-size_360: 3.6rem;
193
+ --wb-sizing-size_400: 4rem;
194
+ --wb-sizing-size_480: 4.8rem;
195
+ --wb-sizing-size_560: 5.6rem;
196
+ --wb-sizing-size_640: 6.4rem;
197
+ --wb-sizing-size_720: 7.2rem;
198
+ --wb-sizing-size_800: 8rem;
199
+ --wb-sizing-size_880: 8.8rem;
200
+ --wb-sizing-size_960: 9.6rem;}
201
+
202
+ [data-wb-theme='thunderblocks'] {--wb-border-radius-radius_0: 0px;
203
+ --wb-border-radius-radius_040: 4px;
204
+ --wb-border-radius-radius_080: 8px;
205
+ --wb-border-radius-radius_120: 12px;
206
+ --wb-border-radius-radius_full: 50%;
207
+ --wb-border-width-none: 0px;
208
+ --wb-border-width-thin: 1px;
209
+ --wb-border-width-medium: 2px;
210
+ --wb-border-width-thick: 4px;
211
+ --wb-semanticColor-action-primary-progressive-default-border: #5753FA;
212
+ --wb-semanticColor-action-primary-progressive-default-background: #5753FA;
213
+ --wb-semanticColor-action-primary-progressive-default-foreground: #FFFFFF;
214
+ --wb-semanticColor-action-primary-progressive-hover-border: #4340D0;
215
+ --wb-semanticColor-action-primary-progressive-hover-background: #4340D0;
216
+ --wb-semanticColor-action-primary-progressive-hover-foreground: #FFFFFF;
217
+ --wb-semanticColor-action-primary-progressive-press-border: #4340D0;
218
+ --wb-semanticColor-action-primary-progressive-press-background: #4340D0;
219
+ --wb-semanticColor-action-primary-progressive-press-foreground: #FFFFFF;
220
+ --wb-semanticColor-action-primary-destructive-default-border: #E22D2D;
221
+ --wb-semanticColor-action-primary-destructive-default-background: #E22D2D;
222
+ --wb-semanticColor-action-primary-destructive-default-foreground: #FFFFFF;
223
+ --wb-semanticColor-action-primary-destructive-hover-border: #BE2626;
224
+ --wb-semanticColor-action-primary-destructive-hover-background: #BE2626;
225
+ --wb-semanticColor-action-primary-destructive-hover-foreground: #FFFFFF;
226
+ --wb-semanticColor-action-primary-destructive-press-border: #BE2626;
227
+ --wb-semanticColor-action-primary-destructive-press-background: #BE2626;
228
+ --wb-semanticColor-action-primary-destructive-press-foreground: #FFFFFF;
229
+ --wb-semanticColor-action-primary-neutral-default-border: #8A8B90;
230
+ --wb-semanticColor-action-primary-neutral-default-background: #8A8B90;
231
+ --wb-semanticColor-action-primary-neutral-default-foreground: #FFFFFF;
232
+ --wb-semanticColor-action-primary-neutral-hover-border: #4A4C53;
233
+ --wb-semanticColor-action-primary-neutral-hover-background: #4A4C53;
234
+ --wb-semanticColor-action-primary-neutral-hover-foreground: #FFFFFF;
235
+ --wb-semanticColor-action-primary-neutral-press-border: #4A4C53;
236
+ --wb-semanticColor-action-primary-neutral-press-background: #4A4C53;
237
+ --wb-semanticColor-action-primary-neutral-press-foreground: #FFFFFF;
238
+ --wb-semanticColor-action-primary-disabled-border: #E0E0E1;
239
+ --wb-semanticColor-action-primary-disabled-background: #E0E0E1;
240
+ --wb-semanticColor-action-primary-disabled-foreground: #B5B6B9;
241
+ --wb-semanticColor-action-secondary-progressive-default-border: #5753FA;
242
+ --wb-semanticColor-action-secondary-progressive-default-background: #EBF1FD;
243
+ --wb-semanticColor-action-secondary-progressive-default-foreground: #5753FA;
244
+ --wb-semanticColor-action-secondary-progressive-hover-border: #4340D0;
245
+ --wb-semanticColor-action-secondary-progressive-hover-background: #DFEAFF;
246
+ --wb-semanticColor-action-secondary-progressive-hover-foreground: #4340D0;
247
+ --wb-semanticColor-action-secondary-progressive-press-border: #4340D0;
248
+ --wb-semanticColor-action-secondary-progressive-press-background: #DFEAFF;
249
+ --wb-semanticColor-action-secondary-progressive-press-foreground: #4340D0;
250
+ --wb-semanticColor-action-secondary-destructive-default-border: #E22D2D;
251
+ --wb-semanticColor-action-secondary-destructive-default-background: #FDE9E9;
252
+ --wb-semanticColor-action-secondary-destructive-default-foreground: #E22D2D;
253
+ --wb-semanticColor-action-secondary-destructive-hover-border: #BE2626;
254
+ --wb-semanticColor-action-secondary-destructive-hover-background: #FDDFDF;
255
+ --wb-semanticColor-action-secondary-destructive-hover-foreground: #BE2626;
256
+ --wb-semanticColor-action-secondary-destructive-press-border: #BE2626;
257
+ --wb-semanticColor-action-secondary-destructive-press-background: #FDDFDF;
258
+ --wb-semanticColor-action-secondary-destructive-press-foreground: #BE2626;
259
+ --wb-semanticColor-action-secondary-neutral-default-border: #75767C;
260
+ --wb-semanticColor-action-secondary-neutral-default-background: #EDEDEE;
261
+ --wb-semanticColor-action-secondary-neutral-default-foreground: #75767C;
262
+ --wb-semanticColor-action-secondary-neutral-hover-border: #4A4C53;
263
+ --wb-semanticColor-action-secondary-neutral-hover-background: #E0E0E1;
264
+ --wb-semanticColor-action-secondary-neutral-hover-foreground: #4A4C53;
265
+ --wb-semanticColor-action-secondary-neutral-press-border: #4A4C53;
266
+ --wb-semanticColor-action-secondary-neutral-press-background: #E0E0E1;
267
+ --wb-semanticColor-action-secondary-neutral-press-foreground: #4A4C53;
268
+ --wb-semanticColor-action-secondary-disabled-border: #CBCBCD;
269
+ --wb-semanticColor-action-secondary-disabled-background: #EDEDEE;
270
+ --wb-semanticColor-action-secondary-disabled-foreground: #B5B6B9;
271
+ --wb-semanticColor-action-tertiary-progressive-default-border: transparent;
272
+ --wb-semanticColor-action-tertiary-progressive-default-background: transparent;
273
+ --wb-semanticColor-action-tertiary-progressive-default-foreground: #5753FA;
274
+ --wb-semanticColor-action-tertiary-progressive-hover-border: #4340D0;
275
+ --wb-semanticColor-action-tertiary-progressive-hover-background: transparent;
276
+ --wb-semanticColor-action-tertiary-progressive-hover-foreground: #4340D0;
277
+ --wb-semanticColor-action-tertiary-progressive-press-border: #4340D0;
278
+ --wb-semanticColor-action-tertiary-progressive-press-background: transparent;
279
+ --wb-semanticColor-action-tertiary-progressive-press-foreground: #4340D0;
280
+ --wb-semanticColor-action-tertiary-destructive-default-border: transparent;
281
+ --wb-semanticColor-action-tertiary-destructive-default-background: transparent;
282
+ --wb-semanticColor-action-tertiary-destructive-default-foreground: #E22D2D;
283
+ --wb-semanticColor-action-tertiary-destructive-hover-border: #BE2626;
284
+ --wb-semanticColor-action-tertiary-destructive-hover-background: transparent;
285
+ --wb-semanticColor-action-tertiary-destructive-hover-foreground: #BE2626;
286
+ --wb-semanticColor-action-tertiary-destructive-press-border: #BE2626;
287
+ --wb-semanticColor-action-tertiary-destructive-press-background: transparent;
288
+ --wb-semanticColor-action-tertiary-destructive-press-foreground: #BE2626;
289
+ --wb-semanticColor-action-tertiary-neutral-default-border: transparent;
290
+ --wb-semanticColor-action-tertiary-neutral-default-background: transparent;
291
+ --wb-semanticColor-action-tertiary-neutral-default-foreground: #75767C;
292
+ --wb-semanticColor-action-tertiary-neutral-hover-border: #4A4C53;
293
+ --wb-semanticColor-action-tertiary-neutral-hover-background: transparent;
294
+ --wb-semanticColor-action-tertiary-neutral-hover-foreground: #4A4C53;
295
+ --wb-semanticColor-action-tertiary-neutral-press-border: #4A4C53;
296
+ --wb-semanticColor-action-tertiary-neutral-press-background: transparent;
297
+ --wb-semanticColor-action-tertiary-neutral-press-foreground: #4A4C53;
298
+ --wb-semanticColor-action-tertiary-disabled-border: transparent;
299
+ --wb-semanticColor-action-tertiary-disabled-background: transparent;
300
+ --wb-semanticColor-action-tertiary-disabled-foreground: #B5B6B9;
301
+ --wb-semanticColor-input-default-border: #909296;
302
+ --wb-semanticColor-input-default-background: #ffffff;
303
+ --wb-semanticColor-input-default-foreground: #21242c;
304
+ --wb-semanticColor-input-default-placeholder: #5f6167;
305
+ --wb-semanticColor-input-checked-border: #1865f2;
306
+ --wb-semanticColor-input-checked-background: #1865f2;
307
+ --wb-semanticColor-input-checked-foreground: #ffffff;
308
+ --wb-semanticColor-input-disabled-border: #dbdcdd;
309
+ --wb-semanticColor-input-disabled-background: #f7f8fa;
310
+ --wb-semanticColor-input-disabled-foreground: #5f6167;
311
+ --wb-semanticColor-input-disabled-placeholder: #5f6167;
312
+ --wb-semanticColor-input-error-border: #d92916;
313
+ --wb-semanticColor-input-error-background: #fceeec;
314
+ --wb-semanticColor-input-error-foreground: #21242c;
315
+ --wb-semanticColor-status-critical-background: #FEF4F4;
316
+ --wb-semanticColor-status-critical-foreground: #8E1C1C;
317
+ --wb-semanticColor-status-warning-background: #FEF8E7;
318
+ --wb-semanticColor-status-warning-foreground: #5F4500;
319
+ --wb-semanticColor-status-success-background: #F1FBF1;
320
+ --wb-semanticColor-status-success-foreground: #2C5037;
321
+ --wb-semanticColor-status-notice-background: #F8F9FB;
322
+ --wb-semanticColor-status-notice-foreground: #363498;
323
+ --wb-semanticColor-status-neutral-background: #F6F6F6;
324
+ --wb-semanticColor-status-neutral-foreground: #4A4C53;
325
+ --wb-semanticColor-surface-primary: #FFFFFF;
326
+ --wb-semanticColor-surface-secondary: #F8F9FB;
327
+ --wb-semanticColor-surface-emphasis: #DFEAFF;
328
+ --wb-semanticColor-surface-inverse: #35373F;
329
+ --wb-semanticColor-surface-overlay: rgba(25,25,24,0.50);
330
+ --wb-semanticColor-text-primary: #191918;
331
+ --wb-semanticColor-text-secondary: #75767C;
332
+ --wb-semanticColor-text-disabled: #CBCBCD;
333
+ --wb-semanticColor-text-inverse: #FFFFFF;
334
+ --wb-semanticColor-border-primary: #8A8B90;
335
+ --wb-semanticColor-border-subtle: #CBCBCD;
336
+ --wb-semanticColor-border-strong: #75767C;
337
+ --wb-semanticColor-border-inverse: #FFFFFF;
338
+ --wb-semanticColor-border-progressive: #5753FA;
339
+ --wb-semanticColor-border-destructive: #E22D2D;
340
+ --wb-semanticColor-focus-outer: #5753FA;
341
+ --wb-semanticColor-focus-inner: #FFFFFF;
342
+ --wb-semanticColor-icon-primary: #5f6167;
343
+ --wb-semanticColor-icon-secondary: #21242c;
344
+ --wb-semanticColor-icon-inverse: #ffffff;
345
+ --wb-semanticColor-icon-action: #1865f2;
346
+ --wb-semanticColor-icon-destructive: #d92916;
347
+ --wb-semanticColor-icon-disabled: #b8b9bb;
348
+ --wb-semanticColor-khanmigo-primary: #5f1e5c;
349
+ --wb-semanticColor-khanmigo-secondary: #f2edf2;
350
+ --wb-semanticColor-mastery-primary: #9059ff;
351
+ --wb-sizing-size_0: 0rem;
352
+ --wb-sizing-size_010: 0.1rem;
353
+ --wb-sizing-size_020: 0.2rem;
354
+ --wb-sizing-size_040: 0.4rem;
355
+ --wb-sizing-size_060: 0.6rem;
356
+ --wb-sizing-size_080: 0.8rem;
357
+ --wb-sizing-size_100: 1rem;
358
+ --wb-sizing-size_120: 1.2rem;
359
+ --wb-sizing-size_140: 1.4rem;
360
+ --wb-sizing-size_160: 1.6rem;
361
+ --wb-sizing-size_180: 1.8rem;
362
+ --wb-sizing-size_200: 2rem;
363
+ --wb-sizing-size_220: 2.2rem;
364
+ --wb-sizing-size_240: 2.4rem;
365
+ --wb-sizing-size_280: 2.8rem;
366
+ --wb-sizing-size_320: 3.2rem;
367
+ --wb-sizing-size_360: 3.6rem;
368
+ --wb-sizing-size_400: 4rem;
369
+ --wb-sizing-size_480: 4.8rem;
370
+ --wb-sizing-size_560: 5.6rem;
371
+ --wb-sizing-size_640: 6.4rem;
372
+ --wb-sizing-size_720: 7.2rem;
373
+ --wb-sizing-size_800: 8rem;
374
+ --wb-sizing-size_880: 8.8rem;
375
+ --wb-sizing-size_960: 9.6rem;}