@clickhouse/click-ui 0.0.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.
Files changed (151) hide show
  1. package/.eslintrc.cjs +32 -0
  2. package/.github/workflows/deployment.yml +34 -0
  3. package/.storybook/main.ts +18 -0
  4. package/.storybook/preview-head.html +4 -0
  5. package/.storybook/preview.tsx +67 -0
  6. package/README.md +11 -0
  7. package/app/.babelrc +27 -0
  8. package/app/.eslintrc.json +6 -0
  9. package/app/.storybook/main.ts +17 -0
  10. package/app/.storybook/preview.tsx +26 -0
  11. package/app/README.md +38 -0
  12. package/app/next.config.js +6 -0
  13. package/app/package-lock.json +28711 -0
  14. package/app/package.json +44 -0
  15. package/app/public/favicon.ico +0 -0
  16. package/app/public/next.svg +1 -0
  17. package/app/public/vercel.svg +1 -0
  18. package/app/src/assets/RightArrow/right-arrow.tsx +17 -0
  19. package/app/src/assets/S3Logo/s3-logo.tsx +31 -0
  20. package/app/src/assets/amazon_s3.svg +9 -0
  21. package/app/src/assets/arrow.svg +3 -0
  22. package/app/src/globals.d.ts +4 -0
  23. package/app/src/pages/_app.tsx +8 -0
  24. package/app/src/pages/_document.tsx +17 -0
  25. package/app/src/pages/api/hello.ts +13 -0
  26. package/app/src/pages/index.tsx +141 -0
  27. package/app/src/pages/label.tsx +27 -0
  28. package/app/src/stories/assets/code-brackets.svg +1 -0
  29. package/app/src/stories/assets/colors.svg +1 -0
  30. package/app/src/stories/assets/comments.svg +1 -0
  31. package/app/src/stories/assets/direction.svg +1 -0
  32. package/app/src/stories/assets/flow.svg +1 -0
  33. package/app/src/stories/assets/plugin.svg +1 -0
  34. package/app/src/stories/assets/repo.svg +1 -0
  35. package/app/src/stories/assets/stackalt.svg +1 -0
  36. package/app/src/styles/Home.module.css +235 -0
  37. package/app/src/styles/globals.css +111 -0
  38. package/app/src/styles/types.ts +1031 -0
  39. package/app/src/styles/variables.classic.css +16 -0
  40. package/app/src/styles/variables.classic.json +31 -0
  41. package/app/src/styles/variables.css +763 -0
  42. package/app/src/styles/variables.dark.css +135 -0
  43. package/app/src/styles/variables.dark.json +339 -0
  44. package/app/src/styles/variables.json +1029 -0
  45. package/app/src/styles/variables.light.css +203 -0
  46. package/app/src/styles/variables.light.json +478 -0
  47. package/app/tokens/themes/$metadata.json +9 -0
  48. package/app/tokens/themes/$themes.json +1 -0
  49. package/app/tokens/themes/classic.json +58 -0
  50. package/app/tokens/themes/component.json +868 -0
  51. package/app/tokens/themes/dark.json +937 -0
  52. package/app/tokens/themes/light.json +1380 -0
  53. package/app/tokens/themes/primitives.json +859 -0
  54. package/app/tsconfig.json +23 -0
  55. package/build-tokens.js +131 -0
  56. package/index.html +17 -0
  57. package/jest.config.ts +11 -0
  58. package/package.json +77 -0
  59. package/public/vite.svg +1 -0
  60. package/src/App.css +1 -0
  61. package/src/App.module.css +235 -0
  62. package/src/App.tsx +154 -0
  63. package/src/assets/RightArrow/RightArrow.tsx +17 -0
  64. package/src/assets/S3Logo/S3Logo.tsx +31 -0
  65. package/src/assets/react.svg +1 -0
  66. package/src/components/Accordion/Accordion.stories.tsx +78 -0
  67. package/src/components/Accordion/Accordion.test.tsx +46 -0
  68. package/src/components/Accordion/Accordion.tsx +118 -0
  69. package/src/components/Badge/Badge.stories.ts +14 -0
  70. package/src/components/Badge/Badge.test.tsx +11 -0
  71. package/src/components/Badge/Badge.tsx +24 -0
  72. package/src/components/BigStat/BigStat.stories.ts +15 -0
  73. package/src/components/BigStat/BigStat.tsx +37 -0
  74. package/src/components/Button/Button.stories.ts +82 -0
  75. package/src/components/Button/Button.test.tsx +32 -0
  76. package/src/components/Button/Button.tsx +97 -0
  77. package/src/components/ButtonGroup/ButtonGroup.stories.ts +14 -0
  78. package/src/components/ButtonGroup/ButtonGroup.tsx +78 -0
  79. package/src/components/Card/Card.stories.ts +19 -0
  80. package/src/components/Card/Card.tsx +107 -0
  81. package/src/components/FormField/FormField.stories.ts +14 -0
  82. package/src/components/FormField/FormField.tsx +22 -0
  83. package/src/components/Icon/Icon.stories.ts +46 -0
  84. package/src/components/Icon/Icon.tsx +90 -0
  85. package/src/components/Icon/types.ts +18 -0
  86. package/src/components/IconButton/IconButton.stories.ts +16 -0
  87. package/src/components/IconButton/IconButton.tsx +94 -0
  88. package/src/components/SidebarNavigationItem/SidebarNavigationItem.stories.tsx +28 -0
  89. package/src/components/SidebarNavigationItem/SidebarNavigationItem.tsx +112 -0
  90. package/src/components/Switch/Switch.stories.ts +14 -0
  91. package/src/components/Switch/Switch.tsx +106 -0
  92. package/src/components/Tabs/Tabs.stories.tsx +71 -0
  93. package/src/components/Tabs/Tabs.test.tsx +86 -0
  94. package/src/components/Tabs/Tabs.tsx +82 -0
  95. package/src/components/icons/ChatIcon.tsx +22 -0
  96. package/src/components/icons/ChevronDown.tsx +6 -0
  97. package/src/components/icons/ChevronRight.tsx +20 -0
  98. package/src/components/icons/DatabaseIcon.tsx +33 -0
  99. package/src/components/icons/FilterIcon.tsx +24 -0
  100. package/src/components/icons/Flags/EuropeanUnion.tsx +174 -0
  101. package/src/components/icons/Flags/Germany.tsx +25 -0
  102. package/src/components/icons/Flags/India.tsx +48 -0
  103. package/src/components/icons/Flags/Ireland.tsx +32 -0
  104. package/src/components/icons/Flags/Netherlands.tsx +29 -0
  105. package/src/components/icons/Flags/Singapore.tsx +43 -0
  106. package/src/components/icons/Flags/UnitedKingdom.tsx +32 -0
  107. package/src/components/icons/Flags/UnitedStates.tsx +26 -0
  108. package/src/components/icons/Flags/index.tsx +46 -0
  109. package/src/components/icons/HistoryIcon.tsx +28 -0
  110. package/src/components/icons/Icons.mdx +36 -0
  111. package/src/components/icons/InsertRowIcon.tsx +36 -0
  112. package/src/components/icons/SortAltIcon.tsx +24 -0
  113. package/src/components/icons/UserIcon.tsx +17 -0
  114. package/src/components/icons/UsersIcon.tsx +43 -0
  115. package/src/components/index.ts +14 -0
  116. package/src/components/types.ts +1 -0
  117. package/src/index.css +9 -0
  118. package/src/index.ts +2 -0
  119. package/src/main.tsx +11 -0
  120. package/src/stories/assets/code-brackets.svg +1 -0
  121. package/src/stories/assets/colors.svg +1 -0
  122. package/src/stories/assets/comments.svg +1 -0
  123. package/src/stories/assets/direction.svg +1 -0
  124. package/src/stories/assets/flow.svg +1 -0
  125. package/src/stories/assets/plugin.svg +1 -0
  126. package/src/stories/assets/repo.svg +1 -0
  127. package/src/stories/assets/stackalt.svg +1 -0
  128. package/src/styles/Home.module.css +235 -0
  129. package/src/styles/globals.css +111 -0
  130. package/src/styles/types.ts +1669 -0
  131. package/src/styles/variables.classic.css +16 -0
  132. package/src/styles/variables.classic.json +31 -0
  133. package/src/styles/variables.css +763 -0
  134. package/src/styles/variables.dark.css +135 -0
  135. package/src/styles/variables.dark.json +576 -0
  136. package/src/styles/variables.json +1667 -0
  137. package/src/styles/variables.light.css +203 -0
  138. package/src/styles/variables.light.json +789 -0
  139. package/src/theme/index.ts +22 -0
  140. package/src/theme/theme.tsx +28 -0
  141. package/src/vite-env.d.ts +1 -0
  142. package/tokens/themes/$metadata.json +9 -0
  143. package/tokens/themes/$themes.json +1 -0
  144. package/tokens/themes/classic.json +58 -0
  145. package/tokens/themes/component.json +1567 -0
  146. package/tokens/themes/dark.json +1450 -0
  147. package/tokens/themes/light.json +2059 -0
  148. package/tokens/themes/primitives.json +863 -0
  149. package/tsconfig.json +27 -0
  150. package/tsconfig.node.json +10 -0
  151. package/vite.config.ts +38 -0
@@ -0,0 +1,203 @@
1
+ /**
2
+ * Do not edit directly
3
+ * Generated on Wed, 24 May 2023 07:49:29 GMT
4
+ */
5
+
6
+ :root {
7
+ --click-checkbox-color-label-disabled: #a0a0a0;
8
+ --click-checkbox-color-label-off: #696e79;
9
+ --click-checkbox-color-check-disabled: #c0c0c0;
10
+ --click-feedback-color-neutral-foreground: var(--palette-slate-700);
11
+ --click-feedback-color-neutral-background: var(--palette-slate-100);
12
+ --click-feedback-color-danger-foreground: var(--palette-danger-600);
13
+ --click-feedback-color-danger-background: var(--palette-danger-50);
14
+ --click-feedback-color-warning-foreground: var(--palette-warning-700);
15
+ --click-feedback-color-warning-background: var(--palette-warning-50);
16
+ --click-feedback-color-success-foreground: var(--palette-success-600);
17
+ --click-feedback-color-success-background: var(--palette-success-50);
18
+ --click-feedback-color-info-foreground: var(--palette-info-400);
19
+ --click-feedback-color-info-background: var(--palette-info-50);
20
+ --click-global-color-outline-default: var(--palette-info-400);
21
+ --click-global-color-accent-default: var(--palette-neutral-900);
22
+ --click-global-color-stroke-muted: lch(91.6 1.1 266 / 0.3);
23
+ --click-global-color-stroke-default: lch(91.6 1.1 266 / 0.3);
24
+ --click-global-color-text-link-hover: var(--palette-info-600);
25
+ --click-global-color-text-link-default: var(--palette-info-400);
26
+ --click-global-color-text-muted: var(--palette-slate-600);
27
+ --click-global-color-text-default: var(--palette-slate-900);
28
+ --click-global-color-background-muted: var(--palette-slate-50);
29
+ --click-global-color-background-default: var(--palette-neutral-0);
30
+ --click-tabs-basic-color-accent-hover: var(--palette-utility-transparent);
31
+ --click-tabs-basic-color-background-selected: var(--palette-utility-transparent);
32
+ --click-tabs-basic-color-background-default: var(--palette-utility-transparent);
33
+ --click-switch-color-indicator-disabled: var(--palette-neutral-400);
34
+ --click-switch-color-indicator-active: var(--palette-neutral-0);
35
+ --click-switch-color-indicator-default: var(--palette-neutral-400);
36
+ --click-switch-color-stroke-disabled: var(--palette-neutral-300);
37
+ --click-switch-color-background-disabled-checked: var(--palette-neutral-200);
38
+ --click-switch-color-background-active: var(--palette-neutral-900);
39
+ --click-switch-color-background-default: var(--palette-slate-50);
40
+ --click-sidebar-main-color-item-background-hover: lch(91.6 1.1 266 / 0.6);
41
+ --click-sidebar-main-color-item-background-active: lch(91.6 1.1 266 / 0.6);
42
+ --click-sidebar-main-color-item-background-default: var(--palette-utility-transparent);
43
+ --click-field-color-label-default: var(--palette-slate-600);
44
+ --click-field-color-stroke-hover: lch(83.8 2.3 258);
45
+ --click-field-color-stroke-disabled: var(--palette-neutral-200);
46
+ --click-field-color-text-disabled: var(--palette-neutral-400);
47
+ --click-field-color-text-default: var(--palette-slate-800);
48
+ --click-field-color-background-disabled: var(--palette-neutral-200);
49
+ --click-context-menu-color-text-disabled: var(--palette-neutral-300);
50
+ --click-codeblock-color-button-foreground-default: var(--palette-neutral-0);
51
+ --click-codeblock-color-button-background-hover: var(--palette-slate-700);
52
+ --click-codeblock-color-text-default: var(--palette-neutral-0);
53
+ --click-codeblock-color-background-default: var(--palette-slate-800);
54
+ --click-checkbox-color-check-default: var(--palette-neutral-0);
55
+ --click-checkbox-color-stroke-disabled: var(--palette-neutral-300);
56
+ --click-checkbox-color-background-disabled-checked: var(--palette-neutral-200);
57
+ --click-checkbox-color-background-active: var(--palette-slate-900);
58
+ --click-checkbox-color-background-default: var(--palette-slate-50);
59
+ --click-button-group-color-text-active: var(--palette-neutral-900);
60
+ --click-button-group-color-text-default: var(--palette-slate-900);
61
+ --click-button-group-color-background-default: var(--palette-neutral-0);
62
+ --click-button-split-primary-background-action-active: lch(3.47 0.72 305);
63
+ --click-button-split-primary-background-action-default: lch(6.35 1.32 305);
64
+ --click-button-basic-color-danger-background-active: var(--palette-danger-100);
65
+ --click-button-basic-color-danger-background-hover: var(--palette-danger-200);
66
+ --click-button-basic-color-disabled-text-default: var(--palette-neutral-400);
67
+ --click-button-basic-color-disabled-background-default: var(--palette-neutral-200);
68
+ --click-button-basic-color-secondary-stroke-active: lch(83.8 2.3 258);
69
+ --click-button-basic-color-secondary-stroke-hover: var(--palette-slate-100);
70
+ --click-button-basic-color-secondary-background-default: var(--palette-utility-transparent);
71
+ --click-button-basic-color-primary-text-default: var(--palette-neutral-0);
72
+ --click-button-basic-color-primary-background-active: lch(6.42 1.33 305);
73
+ --click-button-basic-color-primary-background-hover: lch(55.8 3.66 267);
74
+ --click-button-basic-color-primary-background-default: var(--palette-slate-800);
75
+ --click-table-color-cell-stroke: var(--click-global-color-stroke-default);
76
+ --click-table-color-row-text: var(--click-global-color-text-default);
77
+ --click-table-color-row-background: var(--click-global-color-background-default);
78
+ --click-table-color-header-text: var(--click-global-color-text-default);
79
+ --click-table-color-header-background: var(--click-global-color-background-muted);
80
+ --click-grid-color-stroke-cell-stroke: var(--click-global-color-stroke-default);
81
+ --click-grid-color-text-row-default: var(--click-global-color-text-default);
82
+ --click-grid-color-text-header-default: var(--click-global-color-text-muted);
83
+ --click-grid-color-background-row-default: var(--click-global-color-background-default);
84
+ --click-grid-color-background-header-default: lch(97.2 1.57 272 / 0.7);
85
+ --click-feedback-color-neutral-stroke: var(--click-global-color-stroke-default);
86
+ --click-tabs-file-tabs-color-stroke-default: var(--click-global-color-stroke-default);
87
+ --click-tabs-file-tabs-color-text-active: var(--click-global-color-text-default);
88
+ --click-tabs-file-tabs-color-text-hover: var(--click-global-color-text-default);
89
+ --click-tabs-file-tabs-color-text-default: var(--click-global-color-text-muted);
90
+ --click-tabs-file-tabs-color-background-hover: var(--click-global-color-background-default);
91
+ --click-tabs-file-tabs-color-background-default: var(--click-global-color-background-muted);
92
+ --click-tabs-basic-color-accent-selected: var(--click-global-color-accent-default);
93
+ --click-tabs-basic-color-accent-default: var(--click-tabs-basic-color-background-default);
94
+ --click-tabs-basic-color-text-hover: var(--click-global-color-text-default);
95
+ --click-tabs-basic-color-text-default: var(--click-global-color-text-muted);
96
+ --click-tabs-basic-color-background-hover: var(--click-global-color-background-muted);
97
+ --click-switch-color-stroke-active: var(--click-checkbox-color-background-active);
98
+ --click-switch-color-stroke-default: var(--click-global-color-stroke-default);
99
+ --click-sidebar-sql-sidebar-color-stroke-default: var(--click-global-color-stroke-default);
100
+ --click-sidebar-sql-sidebar-color-background-default: var(--click-global-color-background-muted);
101
+ --click-sidebar-main-color-stroke-default: var(--click-global-color-stroke-default);
102
+ --click-sidebar-main-color-text-muted: var(--click-global-color-text-muted);
103
+ --click-sidebar-main-color-text-default: var(--click-global-color-text-default);
104
+ --click-sidebar-main-color-item-text-muted: var(--click-global-color-text-muted);
105
+ --click-sidebar-main-color-item-text-default: var(--click-global-color-text-default);
106
+ --click-sidebar-main-color-background-default: var(--click-global-color-background-default);
107
+ --click-popover-color-background-default: lch(100 0 0);
108
+ --click-field-color-placeholder: var(--click-global-color-text-muted);
109
+ --click-field-color-label-error: var(--click-feedback-color-danger-foreground);
110
+ --click-field-color-label-disabled: var(--click-field-color-text-disabled);
111
+ --click-field-color-stroke-error: var(--click-feedback-color-danger-foreground);
112
+ --click-field-color-stroke-default: lch(92 1.05 266 / 0.3);
113
+ --click-field-color-text-error: var(--click-feedback-color-danger-foreground);
114
+ --click-field-color-text-hover: var(--click-field-color-text-default);
115
+ --click-field-color-text-active: var(--click-global-color-text-default);
116
+ --click-field-color-background-hover: var(--click-global-color-background-muted);
117
+ --click-field-color-background-active: var(--click-global-color-background-default);
118
+ --click-field-color-background-default: var(--click-global-color-background-muted);
119
+ --click-context-menu-stroke-default: var(--click-global-color-stroke-default);
120
+ --click-context-menu-color-background-hover: lch(97.5 1.43 272);
121
+ --click-context-menu-color-text-active: var(--click-global-color-text-default);
122
+ --click-context-menu-color-text-hover: var(--click-global-color-text-default);
123
+ --click-context-menu-color-text-muted: var(--click-global-color-text-muted);
124
+ --click-context-menu-color-text-default: var(--click-global-color-text-default);
125
+ --click-context-menu-button-stroke-default: var(--click-global-color-stroke-default);
126
+ --click-context-menu-button-label-default: var(--click-global-color-text-default);
127
+ --click-context-menu-button-background-default: var(--click-global-color-background-muted);
128
+ --click-codeblock-color-stroke-inline: lch(93.3 0.88 266 / 0.3);
129
+ --click-codeblock-color-stroke-default: lch(35.4 2.22 306);
130
+ --click-codeblock-color-button-background-default: var(--click-codeblock-color-background-default);
131
+ --click-codeblock-color-text-inline: var(--click-global-color-text-default);
132
+ --click-codeblock-color-background-inline: var(--click-global-color-background-muted);
133
+ --click-checkbox-color-label-default: var(--click-global-color-text-default);
134
+ --click-checkbox-color-stroke-active: var(--click-checkbox-color-background-active);
135
+ --click-checkbox-color-stroke-default: var(--click-global-color-stroke-default);
136
+ --click-card-color-stroke-disabled: var(--click-field-color-stroke-disabled);
137
+ --click-card-color-stroke-active: lch(87 1.05 266 / 0.3);
138
+ --click-card-color-stroke-hover: var(--click-global-color-stroke-default);
139
+ --click-card-color-stroke-default: var(--click-global-color-stroke-default);
140
+ --click-card-color-link-active: var(--click-global-color-text-default);
141
+ --click-card-color-link-hover: var(--click-global-color-text-link-default);
142
+ --click-card-color-link-default: var(--click-global-color-text-default);
143
+ --click-card-color-description-active: var(--click-global-color-text-muted);
144
+ --click-card-color-description-hover: var(--click-global-color-text-muted);
145
+ --click-card-color-description-default: var(--click-global-color-text-muted);
146
+ --click-card-color-title-disabled: var(--click-button-basic-color-disabled-text-default);
147
+ --click-card-color-title-active: var(--click-global-color-text-default);
148
+ --click-card-color-title-hover: var(--click-global-color-text-default);
149
+ --click-card-color-title-default: var(--click-global-color-text-default);
150
+ --click-card-color-background-disabled: var(--click-button-basic-color-disabled-background-default);
151
+ --click-card-color-background-active: lch(92.4 1.49 272);
152
+ --click-card-color-background-hover: var(--click-global-color-background-muted);
153
+ --click-card-color-background-default: var(--click-global-color-background-default);
154
+ --click-button-group-color-stroke-panel: var(--click-global-color-stroke-default);
155
+ --click-button-group-color-text-hover: var(--click-button-group-color-text-default);
156
+ --click-button-group-color-background-panel: var(--click-button-group-color-background-default);
157
+ --click-button-split-primary-text-default: var(--click-button-basic-color-primary-text-default);
158
+ --click-button-split-primary-background-main-active: lch(5.87 1.22 305);
159
+ --click-button-split-primary-background-main-hover: lch(51.1 3.35 267);
160
+ --click-button-split-primary-background-main-default: lch(17.6 2.54 306);
161
+ --click-button-split-primary-stroke-active: lch(16.4 2.36 306);
162
+ --click-button-split-primary-stroke-default: lch(23.3 2.63 306);
163
+ --click-button-basic-color-danger-text-default: var(--click-feedback-color-danger-foreground);
164
+ --click-button-basic-color-danger-background-default: var(--click-feedback-color-danger-background);
165
+ --click-button-basic-color-secondary-text-default: var(--click-global-color-text-default);
166
+ --click-button-basic-color-secondary-stroke-default: var(--click-global-color-stroke-default);
167
+ --click-button-basic-color-secondary-background-hover: var(--click-global-color-background-muted);
168
+ --click-button-basic-color-primary-stroke-active: var(--click-button-basic-color-primary-background-active);
169
+ --click-button-basic-color-primary-stroke-hover: var(--click-button-basic-color-primary-background-hover);
170
+ --click-button-basic-color-primary-stroke-default: var(--click-button-basic-color-primary-background-default);
171
+ --click-big-stat-color-large-value-default: var(--click-global-color-text-default);
172
+ --click-big-stat-color-label-default: var(--click-global-color-text-muted);
173
+ --click-big-stat-color-background-default: var(--click-global-color-background-default);
174
+ --click-big-stat-color-stroke-default: var(--click-global-color-stroke-default);
175
+ --click-badge-color-stroke-danger: var(--click-feedback-color-danger-background);
176
+ --click-badge-color-stroke-neutral: var(--click-feedback-color-neutral-background);
177
+ --click-badge-color-stroke-success: var(--click-feedback-color-success-background);
178
+ --click-badge-color-stroke-default: var(--click-global-color-stroke-default);
179
+ --click-badge-color-text-disabled: var(--click-button-basic-color-disabled-text-default);
180
+ --click-badge-color-text-danger: var(--click-feedback-color-danger-foreground);
181
+ --click-badge-color-text-neutral: var(--click-feedback-color-neutral-foreground);
182
+ --click-badge-color-text-success: var(--click-feedback-color-success-foreground);
183
+ --click-badge-color-text-default: var(--click-global-color-text-muted);
184
+ --click-badge-color-background-danger: var(--click-feedback-color-danger-background);
185
+ --click-badge-color-background-neutral: var(--click-feedback-color-neutral-background);
186
+ --click-badge-color-background-success: var(--click-feedback-color-success-background);
187
+ --click-badge-color-background-default: var(--click-global-color-background-default);
188
+ --click-tabs-file-tabs-color-background-active: var(--click-tabs-file-tabs-color-background-hover);
189
+ --click-tabs-basic-color-text-selected: var(--click-tabs-basic-color-text-hover);
190
+ --click-field-color-label-active: var(--click-field-color-text-active);
191
+ --click-field-color-stroke-active: var(--click-field-color-text-active);
192
+ --click-context-menu-color-background-active: var(--click-context-menu-color-background-hover);
193
+ --click-context-menu-color-background-default: var(--click-popover-color-background-default);
194
+ --click-card-color-link-disabled: var(--click-card-color-title-disabled);
195
+ --click-card-color-description-disabled: var(--click-card-color-title-disabled);
196
+ --click-button-group-color-background-hover: lch(68.1 1.1 272);
197
+ --click-button-split-primary-background-action-hover: lch(48.5 3.18 267);
198
+ --click-button-basic-color-secondary-background-active: lch(92.4 1.49 272);
199
+ --click-badge-color-stroke-disabled: lch(84.4 0 0);
200
+ --click-badge-color-background-disabled: var(--click-card-color-background-disabled);
201
+ --click-button-group-color-background-active: lch(78.5 1.27 272);
202
+ --click-button-split-primary-stroke-hover: lch(53.6 2.86 267);
203
+ }
@@ -0,0 +1,478 @@
1
+ {
2
+ "click": {
3
+ "badge": {
4
+ "color": {
5
+ "background": {
6
+ "default": "#ffffff",
7
+ "success": "#e0f8e7",
8
+ "neutral": "#e6e7e9",
9
+ "danger": "#ffdddd",
10
+ "disabled": "#dfdfdf"
11
+ },
12
+ "text": {
13
+ "default": "#696e79",
14
+ "success": "#1c8439",
15
+ "neutral": "#53575f",
16
+ "danger": "#c10000",
17
+ "disabled": "#a0a0a0"
18
+ },
19
+ "stroke": {
20
+ "default": "lch(91.6 1.1 266 / 0.3)",
21
+ "success": "#e0f8e7",
22
+ "neutral": "#e6e7e9",
23
+ "danger": "#ffdddd",
24
+ "disabled": "lch(84.4 0 0)"
25
+ }
26
+ }
27
+ },
28
+ "big-stat": {
29
+ "color": {
30
+ "stroke": {
31
+ "default": "lch(91.6 1.1 266 / 0.3)"
32
+ },
33
+ "background": {
34
+ "default": "#ffffff"
35
+ },
36
+ "label": {
37
+ "default": "#696e79"
38
+ },
39
+ "large-value": {
40
+ "default": "#161517"
41
+ }
42
+ }
43
+ },
44
+ "button": {
45
+ "basic": {
46
+ "color": {
47
+ "primary": {
48
+ "background": {
49
+ "default": "#302e32",
50
+ "hover": "lch(55.8 3.66 267)",
51
+ "active": "lch(6.42 1.33 305)"
52
+ },
53
+ "text": {
54
+ "default": "#ffffff"
55
+ },
56
+ "stroke": {
57
+ "default": "#302e32",
58
+ "hover": "lch(55.8 3.66 267)",
59
+ "active": "lch(6.42 1.33 305)"
60
+ }
61
+ },
62
+ "secondary": {
63
+ "background": {
64
+ "default": "rgba(0,0,0,0)",
65
+ "hover": "#f6f7fa",
66
+ "active": "lch(92.4 1.49 272)"
67
+ },
68
+ "stroke": {
69
+ "default": "lch(91.6 1.1 266 / 0.3)",
70
+ "hover": "#e6e7e9",
71
+ "active": "lch(83.8 2.3 258)"
72
+ },
73
+ "text": {
74
+ "default": "#161517"
75
+ }
76
+ },
77
+ "disabled": {
78
+ "background": {
79
+ "default": "#dfdfdf"
80
+ },
81
+ "text": {
82
+ "default": "#a0a0a0"
83
+ }
84
+ },
85
+ "danger": {
86
+ "background": {
87
+ "default": "#ffdddd",
88
+ "hover": "#ff9898",
89
+ "active": "#ffbaba"
90
+ },
91
+ "text": {
92
+ "default": "#c10000"
93
+ }
94
+ }
95
+ }
96
+ },
97
+ "split": {
98
+ "primary": {
99
+ "stroke": {
100
+ "default": "lch(23.3 2.63 306)",
101
+ "active": "lch(16.4 2.36 306)",
102
+ "hover": "lch(53.6 2.86 267)"
103
+ },
104
+ "background": {
105
+ "main": {
106
+ "default": "lch(17.6 2.54 306)",
107
+ "hover": "lch(51.1 3.35 267)",
108
+ "active": "lch(5.87 1.22 305)"
109
+ },
110
+ "action": {
111
+ "default": "lch(6.35 1.32 305)",
112
+ "hover": "lch(48.5 3.18 267)",
113
+ "active": "lch(3.47 0.72 305)"
114
+ }
115
+ },
116
+ "text": {
117
+ "default": "#ffffff"
118
+ }
119
+ }
120
+ },
121
+ "group": {
122
+ "color": {
123
+ "background": {
124
+ "default": "#ffffff",
125
+ "hover": "lch(68.1 1.1 272)",
126
+ "active": "lch(78.5 1.27 272)",
127
+ "panel": "#ffffff"
128
+ },
129
+ "text": {
130
+ "default": "#161517",
131
+ "hover": "#161517",
132
+ "active": "#151515"
133
+ },
134
+ "stroke": {
135
+ "panel": "lch(91.6 1.1 266 / 0.3)"
136
+ }
137
+ }
138
+ }
139
+ },
140
+ "card": {
141
+ "color": {
142
+ "background": {
143
+ "default": "#ffffff",
144
+ "hover": "#f6f7fa",
145
+ "active": "lch(92.4 1.49 272)",
146
+ "disabled": "#dfdfdf"
147
+ },
148
+ "title": {
149
+ "default": "#161517",
150
+ "hover": "#161517",
151
+ "active": "#161517",
152
+ "disabled": "#a0a0a0"
153
+ },
154
+ "description": {
155
+ "default": "#696e79",
156
+ "hover": "#696e79",
157
+ "active": "#696e79",
158
+ "disabled": "#a0a0a0"
159
+ },
160
+ "link": {
161
+ "default": "#161517",
162
+ "hover": "#135be6",
163
+ "active": "#161517",
164
+ "disabled": "#a0a0a0"
165
+ },
166
+ "stroke": {
167
+ "default": "lch(91.6 1.1 266 / 0.3)",
168
+ "hover": "lch(91.6 1.1 266 / 0.3)",
169
+ "active": "lch(87 1.05 266 / 0.3)",
170
+ "disabled": "#dfdfdf"
171
+ }
172
+ }
173
+ },
174
+ "checkbox": {
175
+ "color": {
176
+ "background": {
177
+ "default": "#f6f7fa",
178
+ "active": "#161517",
179
+ "disabled-checked": "#dfdfdf",
180
+ "disabled-unchecked": "#dfdfdf"
181
+ },
182
+ "stroke": {
183
+ "default": "lch(91.6 1.1 266 / 0.3)",
184
+ "active": "#161517",
185
+ "disabled": "#c0c0c0"
186
+ },
187
+ "check": {
188
+ "default": "#ffffff",
189
+ "active": "#ffffff",
190
+ "disabled": "#a0a0a0"
191
+ },
192
+ "label": {
193
+ "default": "#161517",
194
+ "off": "#696e79",
195
+ "disabled": "#a0a0a0"
196
+ }
197
+ }
198
+ },
199
+ "codeblock": {
200
+ "color": {
201
+ "background": {
202
+ "default": "#302e32",
203
+ "inline": "#f6f7fa"
204
+ },
205
+ "text": {
206
+ "default": "#ffffff",
207
+ "inline": "#161517"
208
+ },
209
+ "button": {
210
+ "background": {
211
+ "default": "#302e32",
212
+ "hover": "#53575f"
213
+ },
214
+ "foreground": {
215
+ "default": "#ffffff"
216
+ }
217
+ },
218
+ "stroke": {
219
+ "default": "lch(35.4 2.22 306)",
220
+ "inline": "lch(93.3 0.88 266 / 0.3)"
221
+ }
222
+ }
223
+ },
224
+ "context-menu": {
225
+ "button": {
226
+ "background": {
227
+ "default": "#f6f7fa"
228
+ },
229
+ "label": {
230
+ "default": "#161517"
231
+ },
232
+ "stroke": {
233
+ "default": "lch(91.6 1.1 266 / 0.3)"
234
+ }
235
+ },
236
+ "color": {
237
+ "text": {
238
+ "default": "#161517",
239
+ "disabled": "#c0c0c0",
240
+ "muted": "#696e79",
241
+ "hover": "#161517",
242
+ "active": "#161517"
243
+ },
244
+ "background": {
245
+ "default": "lch(100 0 0)",
246
+ "hover": "lch(97.5 1.43 272)",
247
+ "active": "lch(97.5 1.43 272)"
248
+ }
249
+ },
250
+ "stroke": {
251
+ "default": "lch(91.6 1.1 266 / 0.3)"
252
+ }
253
+ },
254
+ "field": {
255
+ "color": {
256
+ "background": {
257
+ "default": "#f6f7fa",
258
+ "active": "#ffffff",
259
+ "disabled": "#dfdfdf",
260
+ "hover": "#f6f7fa"
261
+ },
262
+ "text": {
263
+ "default": "#302e32",
264
+ "active": "#161517",
265
+ "disabled": "#a0a0a0",
266
+ "hover": "#302e32",
267
+ "error": "#c10000"
268
+ },
269
+ "stroke": {
270
+ "default": "lch(92 1.05 266 / 0.3)",
271
+ "active": "#161517",
272
+ "disabled": "#dfdfdf",
273
+ "hover": "lch(83.8 2.3 258)",
274
+ "error": "#c10000"
275
+ },
276
+ "label": {
277
+ "default": "#696e79",
278
+ "active": "#161517",
279
+ "disabled": "#a0a0a0",
280
+ "error": "#c10000"
281
+ },
282
+ "placeholder": "#696e79"
283
+ }
284
+ },
285
+ "popover": {
286
+ "color": {
287
+ "background": {
288
+ "default": "lch(100 0 0)"
289
+ }
290
+ }
291
+ },
292
+ "sidebar": {
293
+ "main": {
294
+ "color": {
295
+ "background": {
296
+ "default": "#ffffff"
297
+ },
298
+ "item": {
299
+ "background": {
300
+ "default": "rgba(0,0,0,0)",
301
+ "active": "lch(91.6 1.1 266 / 0.6)",
302
+ "hover": "lch(91.6 1.1 266 / 0.6)"
303
+ },
304
+ "text": {
305
+ "default": "#161517",
306
+ "muted": "#696e79"
307
+ }
308
+ },
309
+ "text": {
310
+ "default": "#161517",
311
+ "muted": "#696e79"
312
+ },
313
+ "stroke": {
314
+ "default": "lch(91.6 1.1 266 / 0.3)"
315
+ }
316
+ }
317
+ },
318
+ "sql-sidebar": {
319
+ "color": {
320
+ "background": {
321
+ "default": "#f6f7fa"
322
+ },
323
+ "stroke": {
324
+ "default": "lch(91.6 1.1 266 / 0.3)"
325
+ }
326
+ }
327
+ }
328
+ },
329
+ "switch": {
330
+ "color": {
331
+ "background": {
332
+ "default": "#f6f7fa",
333
+ "active": "#151515",
334
+ "disabled": "#dfdfdf"
335
+ },
336
+ "stroke": {
337
+ "default": "lch(91.6 1.1 266 / 0.3)",
338
+ "active": "#161517",
339
+ "disabled": "#c0c0c0"
340
+ },
341
+ "indicator": {
342
+ "default": "#a0a0a0",
343
+ "active": "#ffffff",
344
+ "disabled": "#a0a0a0"
345
+ }
346
+ }
347
+ },
348
+ "tabs": {
349
+ "basic": {
350
+ "color": {
351
+ "background": {
352
+ "default": "rgba(0,0,0,0)",
353
+ "hover": "#f6f7fa",
354
+ "selected": "rgba(0,0,0,0)"
355
+ },
356
+ "text": {
357
+ "default": "#696e79",
358
+ "hover": "#161517",
359
+ "selected": "#161517"
360
+ },
361
+ "accent": {
362
+ "default": "rgba(0,0,0,0)",
363
+ "hover": "rgba(0,0,0,0)",
364
+ "selected": "#151515"
365
+ }
366
+ }
367
+ },
368
+ "file-tabs": {
369
+ "color": {
370
+ "background": {
371
+ "default": "#f6f7fa",
372
+ "hover": "#ffffff",
373
+ "active": "#ffffff"
374
+ },
375
+ "text": {
376
+ "default": "#696e79",
377
+ "hover": "#161517",
378
+ "active": "#161517"
379
+ },
380
+ "stroke": {
381
+ "default": "lch(91.6 1.1 266 / 0.3)"
382
+ }
383
+ }
384
+ }
385
+ },
386
+ "global": {
387
+ "color": {
388
+ "background": {
389
+ "default": "#ffffff",
390
+ "muted": "#f6f7fa"
391
+ },
392
+ "text": {
393
+ "default": "#161517",
394
+ "muted": "#696e79",
395
+ "link": {
396
+ "default": "#135be6",
397
+ "hover": "#092e73"
398
+ }
399
+ },
400
+ "stroke": {
401
+ "default": "lch(91.6 1.1 266 / 0.3)",
402
+ "muted": "lch(91.6 1.1 266 / 0.3)"
403
+ },
404
+ "accent": {
405
+ "default": "#151515"
406
+ },
407
+ "outline": {
408
+ "default": "#135be6"
409
+ }
410
+ }
411
+ },
412
+ "feedback": {
413
+ "color": {
414
+ "info": {
415
+ "background": "#dae6fc",
416
+ "foreground": "#135be6"
417
+ },
418
+ "success": {
419
+ "background": "#e0f8e7",
420
+ "foreground": "#1c8439"
421
+ },
422
+ "warning": {
423
+ "background": "#ffedd8",
424
+ "foreground": "#9e5600"
425
+ },
426
+ "danger": {
427
+ "background": "#ffdddd",
428
+ "foreground": "#c10000"
429
+ },
430
+ "neutral": {
431
+ "background": "#e6e7e9",
432
+ "foreground": "#53575f",
433
+ "stroke": "lch(91.6 1.1 266 / 0.3)"
434
+ }
435
+ }
436
+ },
437
+ "grid": {
438
+ "color": {
439
+ "background": {
440
+ "header": {
441
+ "default": "lch(97.2 1.57 272 / 0.7)"
442
+ },
443
+ "row": {
444
+ "default": "#ffffff"
445
+ }
446
+ },
447
+ "text": {
448
+ "header": {
449
+ "default": "#696e79"
450
+ },
451
+ "row": {
452
+ "default": "#161517"
453
+ }
454
+ },
455
+ "stroke": {
456
+ "cell": {
457
+ "stroke": "lch(91.6 1.1 266 / 0.3)"
458
+ }
459
+ }
460
+ }
461
+ },
462
+ "table": {
463
+ "color": {
464
+ "header": {
465
+ "background": "#f6f7fa",
466
+ "text": "#161517"
467
+ },
468
+ "row": {
469
+ "background": "#ffffff",
470
+ "text": "#161517"
471
+ },
472
+ "cell": {
473
+ "stroke": "lch(91.6 1.1 266 / 0.3)"
474
+ }
475
+ }
476
+ }
477
+ }
478
+ }
@@ -0,0 +1,9 @@
1
+ {
2
+ "tokenSetOrder": [
3
+ "primitives",
4
+ "component",
5
+ "light",
6
+ "dark",
7
+ "classic"
8
+ ]
9
+ }