@wirabyte/ui 3.0.0-beta.0 → 3.1.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 (261) hide show
  1. package/CHANGELOG.md +42 -0
  2. package/README.md +6 -6
  3. package/fesm2022/wirabyte-ui-accordion.mjs +4 -4
  4. package/fesm2022/wirabyte-ui-accordion.mjs.map +1 -1
  5. package/fesm2022/wirabyte-ui-alert.mjs +2 -2
  6. package/fesm2022/wirabyte-ui-alert.mjs.map +1 -1
  7. package/fesm2022/wirabyte-ui-asidemenu.mjs +2 -2
  8. package/fesm2022/wirabyte-ui-asidemenu.mjs.map +1 -1
  9. package/fesm2022/wirabyte-ui-avatar.mjs +13 -6
  10. package/fesm2022/wirabyte-ui-avatar.mjs.map +1 -1
  11. package/fesm2022/wirabyte-ui-breadcrumb.mjs +4 -2
  12. package/fesm2022/wirabyte-ui-breadcrumb.mjs.map +1 -1
  13. package/fesm2022/wirabyte-ui-button.mjs +3 -3
  14. package/fesm2022/wirabyte-ui-button.mjs.map +1 -1
  15. package/fesm2022/wirabyte-ui-card.mjs +8 -8
  16. package/fesm2022/wirabyte-ui-card.mjs.map +1 -1
  17. package/fesm2022/wirabyte-ui-chat.mjs +391 -0
  18. package/fesm2022/wirabyte-ui-chat.mjs.map +1 -0
  19. package/fesm2022/wirabyte-ui-config.mjs +55 -2
  20. package/fesm2022/wirabyte-ui-config.mjs.map +1 -1
  21. package/fesm2022/wirabyte-ui-core.mjs +155 -2
  22. package/fesm2022/wirabyte-ui-core.mjs.map +1 -1
  23. package/fesm2022/wirabyte-ui-datepicker.mjs +6 -5
  24. package/fesm2022/wirabyte-ui-datepicker.mjs.map +1 -1
  25. package/fesm2022/wirabyte-ui-descriptions.mjs +133 -0
  26. package/fesm2022/wirabyte-ui-descriptions.mjs.map +1 -0
  27. package/fesm2022/wirabyte-ui-dialog.mjs +2 -2
  28. package/fesm2022/wirabyte-ui-dialog.mjs.map +1 -1
  29. package/fesm2022/wirabyte-ui-drawer.mjs +2 -2
  30. package/fesm2022/wirabyte-ui-drawer.mjs.map +1 -1
  31. package/fesm2022/wirabyte-ui-emptystate.mjs +2 -2
  32. package/fesm2022/wirabyte-ui-emptystate.mjs.map +1 -1
  33. package/fesm2022/wirabyte-ui-errorpage.mjs +2 -2
  34. package/fesm2022/wirabyte-ui-errorpage.mjs.map +1 -1
  35. package/fesm2022/wirabyte-ui-fieldset.mjs +4 -4
  36. package/fesm2022/wirabyte-ui-fieldset.mjs.map +1 -1
  37. package/fesm2022/wirabyte-ui-metergroup.mjs +19 -5
  38. package/fesm2022/wirabyte-ui-metergroup.mjs.map +1 -1
  39. package/fesm2022/wirabyte-ui-navbar.mjs +2 -2
  40. package/fesm2022/wirabyte-ui-navbar.mjs.map +1 -1
  41. package/fesm2022/wirabyte-ui-panel.mjs +6 -6
  42. package/fesm2022/wirabyte-ui-panel.mjs.map +1 -1
  43. package/fesm2022/wirabyte-ui-popover.mjs +2 -2
  44. package/fesm2022/wirabyte-ui-popover.mjs.map +1 -1
  45. package/fesm2022/wirabyte-ui-result.mjs +2 -2
  46. package/fesm2022/wirabyte-ui-result.mjs.map +1 -1
  47. package/fesm2022/wirabyte-ui-scheduler.mjs +505 -0
  48. package/fesm2022/wirabyte-ui-scheduler.mjs.map +1 -0
  49. package/fesm2022/wirabyte-ui-selectbutton.mjs +25 -4
  50. package/fesm2022/wirabyte-ui-selectbutton.mjs.map +1 -1
  51. package/fesm2022/wirabyte-ui-signaturepad.mjs +310 -0
  52. package/fesm2022/wirabyte-ui-signaturepad.mjs.map +1 -0
  53. package/fesm2022/wirabyte-ui-sitefooter.mjs +1 -1
  54. package/fesm2022/wirabyte-ui-sitefooter.mjs.map +1 -1
  55. package/fesm2022/wirabyte-ui-stat.mjs +149 -0
  56. package/fesm2022/wirabyte-ui-stat.mjs.map +1 -0
  57. package/fesm2022/wirabyte-ui-table.mjs +3 -3
  58. package/fesm2022/wirabyte-ui-table.mjs.map +1 -1
  59. package/fesm2022/wirabyte-ui-tabs.mjs +3 -3
  60. package/fesm2022/wirabyte-ui-tabs.mjs.map +1 -1
  61. package/fesm2022/wirabyte-ui-tag.mjs +2 -2
  62. package/fesm2022/wirabyte-ui-tag.mjs.map +1 -1
  63. package/fesm2022/wirabyte-ui-textarea.mjs +32 -0
  64. package/fesm2022/wirabyte-ui-textarea.mjs.map +1 -1
  65. package/fesm2022/wirabyte-ui-thai.mjs +2 -2
  66. package/fesm2022/wirabyte-ui-thai.mjs.map +1 -1
  67. package/fesm2022/wirabyte-ui-toolbar.mjs +6 -6
  68. package/fesm2022/wirabyte-ui-toolbar.mjs.map +1 -1
  69. package/package.json +21 -1
  70. package/schematics/core/catalog.cjs +22 -1
  71. package/schematics/core/families.cjs +42 -0
  72. package/schematics/core/overrides.cjs +25 -0
  73. package/schematics/core/thai/locale.cjs +66 -0
  74. package/schematics/ng-add/index.cjs +3 -1
  75. package/theme/_data.scss +239 -7
  76. package/theme/_index.scss +29 -0
  77. package/themes/glass/amber.css +36 -7
  78. package/themes/glass/blue.css +36 -7
  79. package/themes/glass/cyan.css +36 -7
  80. package/themes/glass/emerald.css +36 -7
  81. package/themes/glass/fuchsia.css +36 -7
  82. package/themes/glass/green.css +36 -7
  83. package/themes/glass/indigo.css +36 -7
  84. package/themes/glass/lime.css +36 -7
  85. package/themes/glass/orange.css +36 -7
  86. package/themes/glass/pink.css +36 -7
  87. package/themes/glass/purple.css +36 -7
  88. package/themes/glass/red.css +36 -7
  89. package/themes/glass/rose.css +36 -7
  90. package/themes/glass/sky.css +36 -7
  91. package/themes/glass/teal.css +36 -7
  92. package/themes/glass/theme.css +36 -7
  93. package/themes/glass/violet.css +36 -7
  94. package/themes/glass/wira.css +36 -7
  95. package/themes/glass/yellow.css +36 -7
  96. package/themes/lanna/amber.css +36 -7
  97. package/themes/lanna/blue.css +36 -7
  98. package/themes/lanna/cyan.css +36 -7
  99. package/themes/lanna/emerald.css +36 -7
  100. package/themes/lanna/fuchsia.css +36 -7
  101. package/themes/lanna/green.css +36 -7
  102. package/themes/lanna/indigo.css +36 -7
  103. package/themes/lanna/lime.css +36 -7
  104. package/themes/lanna/orange.css +36 -7
  105. package/themes/lanna/pink.css +36 -7
  106. package/themes/lanna/purple.css +36 -7
  107. package/themes/lanna/red.css +36 -7
  108. package/themes/lanna/rose.css +36 -7
  109. package/themes/lanna/sky.css +36 -7
  110. package/themes/lanna/teal.css +36 -7
  111. package/themes/lanna/theme.css +36 -7
  112. package/themes/lanna/violet.css +36 -7
  113. package/themes/lanna/wira.css +36 -7
  114. package/themes/lanna/yellow.css +36 -7
  115. package/themes/mali/amber.css +30 -1
  116. package/themes/mali/blue.css +30 -1
  117. package/themes/mali/cyan.css +30 -1
  118. package/themes/mali/emerald.css +30 -1
  119. package/themes/mali/fuchsia.css +30 -1
  120. package/themes/mali/green.css +30 -1
  121. package/themes/mali/indigo.css +30 -1
  122. package/themes/mali/lime.css +30 -1
  123. package/themes/mali/orange.css +30 -1
  124. package/themes/mali/pink.css +30 -1
  125. package/themes/mali/purple.css +30 -1
  126. package/themes/mali/red.css +30 -1
  127. package/themes/mali/rose.css +30 -1
  128. package/themes/mali/sky.css +30 -1
  129. package/themes/mali/teal.css +30 -1
  130. package/themes/mali/theme.css +30 -1
  131. package/themes/mali/violet.css +30 -1
  132. package/themes/mali/wira.css +30 -1
  133. package/themes/mali/yellow.css +30 -1
  134. package/themes/material/amber.css +30 -1
  135. package/themes/material/blue.css +30 -1
  136. package/themes/material/cyan.css +30 -1
  137. package/themes/material/emerald.css +30 -1
  138. package/themes/material/fuchsia.css +30 -1
  139. package/themes/material/green.css +30 -1
  140. package/themes/material/indigo.css +30 -1
  141. package/themes/material/lime.css +30 -1
  142. package/themes/material/orange.css +30 -1
  143. package/themes/material/pink.css +30 -1
  144. package/themes/material/purple.css +30 -1
  145. package/themes/material/red.css +30 -1
  146. package/themes/material/rose.css +30 -1
  147. package/themes/material/sky.css +30 -1
  148. package/themes/material/teal.css +30 -1
  149. package/themes/material/theme.css +30 -1
  150. package/themes/material/violet.css +30 -1
  151. package/themes/material/wira.css +30 -1
  152. package/themes/material/yellow.css +30 -1
  153. package/themes/nakhon/amber.css +36 -7
  154. package/themes/nakhon/blue.css +36 -7
  155. package/themes/nakhon/cyan.css +36 -7
  156. package/themes/nakhon/emerald.css +36 -7
  157. package/themes/nakhon/fuchsia.css +36 -7
  158. package/themes/nakhon/green.css +36 -7
  159. package/themes/nakhon/indigo.css +36 -7
  160. package/themes/nakhon/lime.css +36 -7
  161. package/themes/nakhon/orange.css +36 -7
  162. package/themes/nakhon/pink.css +36 -7
  163. package/themes/nakhon/purple.css +36 -7
  164. package/themes/nakhon/red.css +36 -7
  165. package/themes/nakhon/rose.css +36 -7
  166. package/themes/nakhon/sky.css +36 -7
  167. package/themes/nakhon/teal.css +36 -7
  168. package/themes/nakhon/theme.css +36 -7
  169. package/themes/nakhon/violet.css +36 -7
  170. package/themes/nakhon/wira.css +36 -7
  171. package/themes/nakhon/yellow.css +36 -7
  172. package/themes/phet/amber.css +30 -1
  173. package/themes/phet/blue.css +30 -1
  174. package/themes/phet/cyan.css +30 -1
  175. package/themes/phet/emerald.css +30 -1
  176. package/themes/phet/fuchsia.css +30 -1
  177. package/themes/phet/green.css +30 -1
  178. package/themes/phet/indigo.css +30 -1
  179. package/themes/phet/lime.css +30 -1
  180. package/themes/phet/orange.css +30 -1
  181. package/themes/phet/pink.css +30 -1
  182. package/themes/phet/purple.css +30 -1
  183. package/themes/phet/red.css +30 -1
  184. package/themes/phet/rose.css +30 -1
  185. package/themes/phet/sky.css +30 -1
  186. package/themes/phet/teal.css +30 -1
  187. package/themes/phet/theme.css +30 -1
  188. package/themes/phet/violet.css +30 -1
  189. package/themes/phet/wira.css +30 -1
  190. package/themes/phet/yellow.css +30 -1
  191. package/themes/siam/amber.css +36 -7
  192. package/themes/siam/blue.css +36 -7
  193. package/themes/siam/cyan.css +36 -7
  194. package/themes/siam/emerald.css +36 -7
  195. package/themes/siam/fuchsia.css +36 -7
  196. package/themes/siam/green.css +36 -7
  197. package/themes/siam/indigo.css +36 -7
  198. package/themes/siam/lime.css +36 -7
  199. package/themes/siam/orange.css +36 -7
  200. package/themes/siam/pink.css +36 -7
  201. package/themes/siam/purple.css +36 -7
  202. package/themes/siam/red.css +36 -7
  203. package/themes/siam/rose.css +36 -7
  204. package/themes/siam/sky.css +36 -7
  205. package/themes/siam/teal.css +36 -7
  206. package/themes/siam/theme.css +36 -7
  207. package/themes/siam/violet.css +36 -7
  208. package/themes/siam/wira.css +36 -7
  209. package/themes/siam/yellow.css +36 -7
  210. package/themes/sila/amber.css +30 -1
  211. package/themes/sila/blue.css +30 -1
  212. package/themes/sila/cyan.css +30 -1
  213. package/themes/sila/emerald.css +30 -1
  214. package/themes/sila/fuchsia.css +30 -1
  215. package/themes/sila/green.css +30 -1
  216. package/themes/sila/indigo.css +30 -1
  217. package/themes/sila/lime.css +30 -1
  218. package/themes/sila/orange.css +30 -1
  219. package/themes/sila/pink.css +30 -1
  220. package/themes/sila/purple.css +30 -1
  221. package/themes/sila/red.css +30 -1
  222. package/themes/sila/rose.css +30 -1
  223. package/themes/sila/sky.css +30 -1
  224. package/themes/sila/teal.css +30 -1
  225. package/themes/sila/theme.css +30 -1
  226. package/themes/sila/violet.css +30 -1
  227. package/themes/sila/wira.css +30 -1
  228. package/themes/sila/yellow.css +30 -1
  229. package/themes/wira/amber.css +45 -16
  230. package/themes/wira/blue.css +45 -16
  231. package/themes/wira/cyan.css +45 -16
  232. package/themes/wira/emerald.css +45 -16
  233. package/themes/wira/fuchsia.css +45 -16
  234. package/themes/wira/green.css +45 -16
  235. package/themes/wira/indigo.css +45 -16
  236. package/themes/wira/lime.css +45 -16
  237. package/themes/wira/orange.css +45 -16
  238. package/themes/wira/pink.css +45 -16
  239. package/themes/wira/purple.css +45 -16
  240. package/themes/wira/red.css +45 -16
  241. package/themes/wira/rose.css +45 -16
  242. package/themes/wira/sky.css +45 -16
  243. package/themes/wira/teal.css +45 -16
  244. package/themes/wira/theme.css +45 -16
  245. package/themes/wira/violet.css +45 -16
  246. package/themes/wira/wira.css +45 -16
  247. package/themes/wira/yellow.css +45 -16
  248. package/types/wirabyte-ui-avatar.d.ts +8 -3
  249. package/types/wirabyte-ui-breadcrumb.d.ts +3 -1
  250. package/types/wirabyte-ui-button.d.ts +1 -1
  251. package/types/wirabyte-ui-chat.d.ts +192 -0
  252. package/types/wirabyte-ui-config.d.ts +34 -0
  253. package/types/wirabyte-ui-core.d.ts +62 -3
  254. package/types/wirabyte-ui-datepicker.d.ts +3 -2
  255. package/types/wirabyte-ui-descriptions.d.ts +67 -0
  256. package/types/wirabyte-ui-metergroup.d.ts +17 -2
  257. package/types/wirabyte-ui-scheduler.d.ts +199 -0
  258. package/types/wirabyte-ui-selectbutton.d.ts +12 -1
  259. package/types/wirabyte-ui-signaturepad.d.ts +108 -0
  260. package/types/wirabyte-ui-stat.d.ts +72 -0
  261. package/types/wirabyte-ui-textarea.d.ts +3 -0
package/theme/_data.scss CHANGED
@@ -72,7 +72,7 @@ $presets: (
72
72
  'sila': ('font-family': 'Kanit', 'font-size': 16, 'line-height': 1.5, 'density': 'normal', 'transition': 200, 'scheme': 'light', 'family': 'sila', 'label': 'Sila', 'primary': '#10b981', 'surface': 'slate', 'semantic': ('success': '#22c55e', 'info': '#3b82f6', 'warn': '#f59e0b', 'danger': '#ef4444', 'help': '#a855f7'), 'radius': 6, 'shadow': 'sila', 'ripple': false, 'focus-ring': 'ring'),
73
73
  'material': ('font-family': 'Roboto', 'font-size': 16, 'line-height': 1.5, 'density': 'normal', 'transition': 200, 'scheme': 'light', 'family': 'material', 'label': 'Material', 'primary': '#10b981', 'surface': 'slate', 'semantic': ('success': '#4caf50', 'info': '#2196f3', 'warn': '#ff9800', 'danger': '#f44336', 'help': '#9c27b0'), 'radius': 6, 'shadow': 'material', 'ripple': true, 'focus-ring': 'inset'),
74
74
  'phet': ('font-family': 'Kanit', 'font-size': 16, 'line-height': 1.5, 'density': 'normal', 'transition': 0, 'scheme': 'light', 'family': 'phet', 'label': 'Phet', 'primary': '#10b981', 'surface': 'slate', 'semantic': ('success': '#16a34a', 'info': '#2563eb', 'warn': '#ea580c', 'danger': '#dc2626', 'help': '#9333ea'), 'radius': 6, 'shadow': 'phet', 'ripple': false, 'focus-ring': 'bold'),
75
- 'wira': ('family': 'wira', 'label': 'Wira', 'primary': '#1e7ae0', 'surface': 'ink', 'semantic': ('success': '#22c55e', 'info': '#0ea5e9', 'warn': '#f59e0b', 'danger': '#ef4444', 'help': '#a855f7'), 'font-family': 'Kanit', 'font-size': 14, 'line-height': 1.6, 'radius': 6, 'density': 'normal', 'shadow': 'subtle', 'ripple': false, 'focus-ring': 'ring', 'transition': 150, 'scheme': 'light'),
75
+ 'wira': ('family': 'wira', 'label': 'Wira', 'primary': '#1e7ae0', 'surface': 'ink', 'semantic': ('success': '#22c55e', 'info': '#0ea5e9', 'warn': '#f59e0b', 'danger': '#ef4444', 'help': '#a855f7'), 'font-family': 'Kanit', 'font-size': 14, 'line-height': 1.6, 'radius': 10, 'density': 'normal', 'shadow': 'soft', 'ripple': false, 'focus-ring': 'ring', 'transition': 150, 'scheme': 'light'),
76
76
  'lanna': ('family': 'wira', 'label': 'Lanna', 'primary': '#0d9488', 'surface': 'stone', 'semantic': ('success': '#22c55e', 'info': '#0ea5e9', 'warn': '#f59e0b', 'danger': '#ef4444', 'help': '#a855f7'), 'font-family': 'Sarabun', 'font-size': 15, 'line-height': 1.7, 'radius': 12, 'density': 'comfortable', 'shadow': 'soft', 'ripple': false, 'focus-ring': 'ring', 'transition': 200, 'scheme': 'light'),
77
77
  'siam': ('family': 'wira', 'label': 'Siam', 'primary': '#6366f1', 'surface': 'gray', 'semantic': ('success': '#22c55e', 'info': '#0ea5e9', 'warn': '#f59e0b', 'danger': '#ef4444', 'help': '#a855f7'), 'font-family': 'Prompt', 'font-size': 14, 'line-height': 1.6, 'radius': 4, 'density': 'normal', 'shadow': 'elevated', 'ripple': true, 'focus-ring': 'outline', 'transition': 200, 'scheme': 'light'),
78
78
  'nakhon': ('family': 'wira', 'label': 'Nakhon', 'primary': '#3b82f6', 'surface': 'zinc', 'semantic': ('success': '#22c55e', 'info': '#0ea5e9', 'warn': '#f59e0b', 'danger': '#ef4444', 'help': '#a855f7'), 'font-family': 'IBM Plex Sans Thai', 'font-size': 13, 'line-height': 1.55, 'radius': 2, 'density': 'compact', 'shadow': 'none', 'ripple': false, 'focus-ring': 'outline', 'transition': 100, 'scheme': 'light'),
@@ -125,6 +125,34 @@ $family-generation: (
125
125
  $families: (
126
126
  'sila-classic': (
127
127
  light: (
128
+ 'heading-font-family': 'var(--wu-font-family)',
129
+ 'stat-gap': '0.875rem',
130
+ 'stat-icon-size': '2.75rem',
131
+ 'stat-label-size': '0.875rem',
132
+ 'stat-value-size': '1.75rem',
133
+ 'stat-value-weight': '700',
134
+ 'descriptions-gap': '0.75rem 1.5rem',
135
+ 'descriptions-label-color': 'var(--wu-text-muted)',
136
+ 'descriptions-label-weight': '400',
137
+ 'descriptions-label-width': '9rem',
138
+ 'descriptions-bordered-label-bg': 'var(--wu-hover-bg)',
139
+ 'signature-height': '12rem',
140
+ 'signature-ink': 'var(--wu-text)',
141
+ 'signature-line': 'var(--wu-border)',
142
+ 'chat-height': '32rem',
143
+ 'chat-bubble-radius': '1.125rem',
144
+ 'chat-bubble-bg': 'var(--wu-hover-bg)',
145
+ 'chat-bubble-color': 'var(--wu-text)',
146
+ 'chat-mine-bg': 'var(--wu-primary-color)',
147
+ 'chat-mine-color': 'var(--wu-primary-contrast)',
148
+ 'chat-meta-color': 'var(--wu-text-muted)',
149
+ 'chat-gap': '0.25rem',
150
+ 'scheduler-hour-height': '3rem',
151
+ 'scheduler-border': 'var(--wu-border)',
152
+ 'scheduler-today-bg': 'color-mix(in srgb, var(--wu-primary-color) 7%, transparent)',
153
+ 'scheduler-event-bg': 'color-mix(in srgb, var(--wu-primary-color) 14%, var(--wu-card-bg))',
154
+ 'scheduler-event-color': 'var(--wu-primary-soft-text)',
155
+ 'scheduler-event-bar': 'var(--wu-primary-color)',
128
156
  'primary-color': 'var(--wu-primary-500)',
129
157
  'primary-hover': 'var(--wu-primary-600)',
130
158
  'primary-active': 'var(--wu-primary-700)',
@@ -226,6 +254,7 @@ $families: (
226
254
  'tag-padding-x': '0.4rem',
227
255
  'tag-gap': '0.25rem',
228
256
  'tag-fill': '100%',
257
+ 'tag-soft-mix': '14%',
229
258
  'badge-size': '1.5rem',
230
259
  'badge-font-size': '0.75rem',
231
260
  'badge-font-weight': '700',
@@ -1210,6 +1239,34 @@ $families: (
1210
1239
  ),
1211
1240
  'arun': (
1212
1241
  light: (
1242
+ 'heading-font-family': 'var(--wu-font-family)',
1243
+ 'stat-gap': '0.875rem',
1244
+ 'stat-icon-size': '2.75rem',
1245
+ 'stat-label-size': '0.875rem',
1246
+ 'stat-value-size': '1.75rem',
1247
+ 'stat-value-weight': '700',
1248
+ 'descriptions-gap': '0.75rem 1.5rem',
1249
+ 'descriptions-label-color': 'var(--wu-text-muted)',
1250
+ 'descriptions-label-weight': '400',
1251
+ 'descriptions-label-width': '9rem',
1252
+ 'descriptions-bordered-label-bg': 'var(--wu-hover-bg)',
1253
+ 'signature-height': '12rem',
1254
+ 'signature-ink': 'var(--wu-text)',
1255
+ 'signature-line': 'var(--wu-border)',
1256
+ 'chat-height': '32rem',
1257
+ 'chat-bubble-radius': '1.125rem',
1258
+ 'chat-bubble-bg': 'var(--wu-hover-bg)',
1259
+ 'chat-bubble-color': 'var(--wu-text)',
1260
+ 'chat-mine-bg': 'var(--wu-primary-color)',
1261
+ 'chat-mine-color': 'var(--wu-primary-contrast)',
1262
+ 'chat-meta-color': 'var(--wu-text-muted)',
1263
+ 'chat-gap': '0.25rem',
1264
+ 'scheduler-hour-height': '3rem',
1265
+ 'scheduler-border': 'var(--wu-border)',
1266
+ 'scheduler-today-bg': 'color-mix(in srgb, var(--wu-primary-color) 7%, transparent)',
1267
+ 'scheduler-event-bg': 'color-mix(in srgb, var(--wu-primary-color) 14%, var(--wu-card-bg))',
1268
+ 'scheduler-event-color': 'var(--wu-primary-soft-text)',
1269
+ 'scheduler-event-bar': 'var(--wu-primary-color)',
1213
1270
  'primary-color': 'var(--wu-primary-500)',
1214
1271
  'primary-hover': 'var(--wu-primary-600)',
1215
1272
  'primary-active': 'var(--wu-primary-700)',
@@ -1311,6 +1368,7 @@ $families: (
1311
1368
  'tag-padding-x': '0.4rem',
1312
1369
  'tag-gap': '0.25rem',
1313
1370
  'tag-fill': '100%',
1371
+ 'tag-soft-mix': '14%',
1314
1372
  'badge-size': '1.5rem',
1315
1373
  'badge-font-size': '0.75rem',
1316
1374
  'badge-font-weight': '700',
@@ -2295,6 +2353,34 @@ $families: (
2295
2353
  ),
2296
2354
  'material-classic': (
2297
2355
  light: (
2356
+ 'heading-font-family': 'var(--wu-font-family)',
2357
+ 'stat-gap': '0.875rem',
2358
+ 'stat-icon-size': '2.75rem',
2359
+ 'stat-label-size': '0.875rem',
2360
+ 'stat-value-size': '1.75rem',
2361
+ 'stat-value-weight': '700',
2362
+ 'descriptions-gap': '0.75rem 1.5rem',
2363
+ 'descriptions-label-color': 'var(--wu-text-muted)',
2364
+ 'descriptions-label-weight': '400',
2365
+ 'descriptions-label-width': '9rem',
2366
+ 'descriptions-bordered-label-bg': 'var(--wu-hover-bg)',
2367
+ 'signature-height': '12rem',
2368
+ 'signature-ink': 'var(--wu-text)',
2369
+ 'signature-line': 'var(--wu-border)',
2370
+ 'chat-height': '32rem',
2371
+ 'chat-bubble-radius': '1.125rem',
2372
+ 'chat-bubble-bg': 'var(--wu-hover-bg)',
2373
+ 'chat-bubble-color': 'var(--wu-text)',
2374
+ 'chat-mine-bg': 'var(--wu-primary-color)',
2375
+ 'chat-mine-color': 'var(--wu-primary-contrast)',
2376
+ 'chat-meta-color': 'var(--wu-text-muted)',
2377
+ 'chat-gap': '0.25rem',
2378
+ 'scheduler-hour-height': '3rem',
2379
+ 'scheduler-border': 'var(--wu-border)',
2380
+ 'scheduler-today-bg': 'color-mix(in srgb, var(--wu-primary-color) 7%, transparent)',
2381
+ 'scheduler-event-bg': 'color-mix(in srgb, var(--wu-primary-color) 14%, var(--wu-card-bg))',
2382
+ 'scheduler-event-color': 'var(--wu-primary-soft-text)',
2383
+ 'scheduler-event-bar': 'var(--wu-primary-color)',
2298
2384
  'primary-color': 'var(--wu-primary-500)',
2299
2385
  'primary-hover': 'var(--wu-primary-600)',
2300
2386
  'primary-active': 'var(--wu-primary-700)',
@@ -2396,6 +2482,7 @@ $families: (
2396
2482
  'tag-padding-x': '0.5rem',
2397
2483
  'tag-gap': '0.25rem',
2398
2484
  'tag-fill': '100%',
2485
+ 'tag-soft-mix': '14%',
2399
2486
  'badge-size': '1.5rem',
2400
2487
  'badge-font-size': '0.75rem',
2401
2488
  'badge-font-weight': '700',
@@ -3352,6 +3439,34 @@ $families: (
3352
3439
  ),
3353
3440
  'mali': (
3354
3441
  light: (
3442
+ 'heading-font-family': 'var(--wu-font-family)',
3443
+ 'stat-gap': '0.875rem',
3444
+ 'stat-icon-size': '2.75rem',
3445
+ 'stat-label-size': '0.875rem',
3446
+ 'stat-value-size': '1.75rem',
3447
+ 'stat-value-weight': '700',
3448
+ 'descriptions-gap': '0.75rem 1.5rem',
3449
+ 'descriptions-label-color': 'var(--wu-text-muted)',
3450
+ 'descriptions-label-weight': '400',
3451
+ 'descriptions-label-width': '9rem',
3452
+ 'descriptions-bordered-label-bg': 'var(--wu-hover-bg)',
3453
+ 'signature-height': '12rem',
3454
+ 'signature-ink': 'var(--wu-text)',
3455
+ 'signature-line': 'var(--wu-border)',
3456
+ 'chat-height': '32rem',
3457
+ 'chat-bubble-radius': '1.125rem',
3458
+ 'chat-bubble-bg': 'var(--wu-hover-bg)',
3459
+ 'chat-bubble-color': 'var(--wu-text)',
3460
+ 'chat-mine-bg': 'var(--wu-primary-color)',
3461
+ 'chat-mine-color': 'var(--wu-primary-contrast)',
3462
+ 'chat-meta-color': 'var(--wu-text-muted)',
3463
+ 'chat-gap': '0.25rem',
3464
+ 'scheduler-hour-height': '3rem',
3465
+ 'scheduler-border': 'var(--wu-border)',
3466
+ 'scheduler-today-bg': 'color-mix(in srgb, var(--wu-primary-color) 7%, transparent)',
3467
+ 'scheduler-event-bg': 'color-mix(in srgb, var(--wu-primary-color) 14%, var(--wu-card-bg))',
3468
+ 'scheduler-event-color': 'var(--wu-primary-soft-text)',
3469
+ 'scheduler-event-bar': 'var(--wu-primary-color)',
3355
3470
  'primary-color': 'var(--wu-primary-500)',
3356
3471
  'primary-hover': 'var(--wu-primary-600)',
3357
3472
  'primary-active': 'var(--wu-primary-700)',
@@ -3453,6 +3568,7 @@ $families: (
3453
3568
  'tag-padding-x': '0.5rem',
3454
3569
  'tag-gap': '0.25rem',
3455
3570
  'tag-fill': '0%',
3571
+ 'tag-soft-mix': '14%',
3456
3572
  'badge-size': '1.5rem',
3457
3573
  'badge-font-size': '0.75rem',
3458
3574
  'badge-font-weight': '700',
@@ -4407,6 +4523,34 @@ $families: (
4407
4523
  ),
4408
4524
  'sila': (
4409
4525
  light: (
4526
+ 'heading-font-family': 'var(--wu-font-family)',
4527
+ 'stat-gap': '0.875rem',
4528
+ 'stat-icon-size': '2.75rem',
4529
+ 'stat-label-size': '0.875rem',
4530
+ 'stat-value-size': '1.75rem',
4531
+ 'stat-value-weight': '700',
4532
+ 'descriptions-gap': '0.75rem 1.5rem',
4533
+ 'descriptions-label-color': 'var(--wu-text-muted)',
4534
+ 'descriptions-label-weight': '400',
4535
+ 'descriptions-label-width': '9rem',
4536
+ 'descriptions-bordered-label-bg': 'var(--wu-hover-bg)',
4537
+ 'signature-height': '12rem',
4538
+ 'signature-ink': 'var(--wu-text)',
4539
+ 'signature-line': 'var(--wu-border)',
4540
+ 'chat-height': '32rem',
4541
+ 'chat-bubble-radius': '1.125rem',
4542
+ 'chat-bubble-bg': 'var(--wu-hover-bg)',
4543
+ 'chat-bubble-color': 'var(--wu-text)',
4544
+ 'chat-mine-bg': 'var(--wu-primary-color)',
4545
+ 'chat-mine-color': 'var(--wu-primary-contrast)',
4546
+ 'chat-meta-color': 'var(--wu-text-muted)',
4547
+ 'chat-gap': '0.25rem',
4548
+ 'scheduler-hour-height': '3rem',
4549
+ 'scheduler-border': 'var(--wu-border)',
4550
+ 'scheduler-today-bg': 'color-mix(in srgb, var(--wu-primary-color) 7%, transparent)',
4551
+ 'scheduler-event-bg': 'color-mix(in srgb, var(--wu-primary-color) 14%, var(--wu-card-bg))',
4552
+ 'scheduler-event-color': 'var(--wu-primary-soft-text)',
4553
+ 'scheduler-event-bar': 'var(--wu-primary-color)',
4410
4554
  'primary-color': 'var(--wu-primary-500)',
4411
4555
  'primary-hover': 'var(--wu-primary-600)',
4412
4556
  'primary-active': 'var(--wu-primary-700)',
@@ -4508,6 +4652,7 @@ $families: (
4508
4652
  'tag-padding-x': '0.5rem',
4509
4653
  'tag-gap': '0.25rem',
4510
4654
  'tag-fill': '0%',
4655
+ 'tag-soft-mix': '14%',
4511
4656
  'badge-size': '1.5rem',
4512
4657
  'badge-font-size': '0.75rem',
4513
4658
  'badge-font-weight': '700',
@@ -5462,6 +5607,34 @@ $families: (
5462
5607
  ),
5463
5608
  'material': (
5464
5609
  light: (
5610
+ 'heading-font-family': 'var(--wu-font-family)',
5611
+ 'stat-gap': '0.875rem',
5612
+ 'stat-icon-size': '2.75rem',
5613
+ 'stat-label-size': '0.875rem',
5614
+ 'stat-value-size': '1.75rem',
5615
+ 'stat-value-weight': '700',
5616
+ 'descriptions-gap': '0.75rem 1.5rem',
5617
+ 'descriptions-label-color': 'var(--wu-text-muted)',
5618
+ 'descriptions-label-weight': '400',
5619
+ 'descriptions-label-width': '9rem',
5620
+ 'descriptions-bordered-label-bg': 'var(--wu-hover-bg)',
5621
+ 'signature-height': '12rem',
5622
+ 'signature-ink': 'var(--wu-text)',
5623
+ 'signature-line': 'var(--wu-border)',
5624
+ 'chat-height': '32rem',
5625
+ 'chat-bubble-radius': '1.125rem',
5626
+ 'chat-bubble-bg': 'var(--wu-hover-bg)',
5627
+ 'chat-bubble-color': 'var(--wu-text)',
5628
+ 'chat-mine-bg': 'var(--wu-primary-color)',
5629
+ 'chat-mine-color': 'var(--wu-primary-contrast)',
5630
+ 'chat-meta-color': 'var(--wu-text-muted)',
5631
+ 'chat-gap': '0.25rem',
5632
+ 'scheduler-hour-height': '3rem',
5633
+ 'scheduler-border': 'var(--wu-border)',
5634
+ 'scheduler-today-bg': 'color-mix(in srgb, var(--wu-primary-color) 7%, transparent)',
5635
+ 'scheduler-event-bg': 'color-mix(in srgb, var(--wu-primary-color) 14%, var(--wu-card-bg))',
5636
+ 'scheduler-event-color': 'var(--wu-primary-soft-text)',
5637
+ 'scheduler-event-bar': 'var(--wu-primary-color)',
5465
5638
  'primary-color': 'var(--wu-primary-500)',
5466
5639
  'primary-hover': 'var(--wu-primary-400)',
5467
5640
  'primary-active': 'var(--wu-primary-300)',
@@ -5563,6 +5736,7 @@ $families: (
5563
5736
  'tag-padding-x': '0.5rem',
5564
5737
  'tag-gap': '0.25rem',
5565
5738
  'tag-fill': '0%',
5739
+ 'tag-soft-mix': '14%',
5566
5740
  'badge-size': '1.5rem',
5567
5741
  'badge-font-size': '0.75rem',
5568
5742
  'badge-font-weight': '700',
@@ -6519,6 +6693,34 @@ $families: (
6519
6693
  ),
6520
6694
  'phet': (
6521
6695
  light: (
6696
+ 'heading-font-family': 'var(--wu-font-family)',
6697
+ 'stat-gap': '0.875rem',
6698
+ 'stat-icon-size': '2.75rem',
6699
+ 'stat-label-size': '0.875rem',
6700
+ 'stat-value-size': '1.75rem',
6701
+ 'stat-value-weight': '700',
6702
+ 'descriptions-gap': '0.75rem 1.5rem',
6703
+ 'descriptions-label-color': 'var(--wu-text-muted)',
6704
+ 'descriptions-label-weight': '400',
6705
+ 'descriptions-label-width': '9rem',
6706
+ 'descriptions-bordered-label-bg': 'var(--wu-hover-bg)',
6707
+ 'signature-height': '12rem',
6708
+ 'signature-ink': 'var(--wu-text)',
6709
+ 'signature-line': 'var(--wu-border)',
6710
+ 'chat-height': '32rem',
6711
+ 'chat-bubble-radius': '1.125rem',
6712
+ 'chat-bubble-bg': 'var(--wu-hover-bg)',
6713
+ 'chat-bubble-color': 'var(--wu-text)',
6714
+ 'chat-mine-bg': 'var(--wu-primary-color)',
6715
+ 'chat-mine-color': 'var(--wu-primary-contrast)',
6716
+ 'chat-meta-color': 'var(--wu-text-muted)',
6717
+ 'chat-gap': '0.25rem',
6718
+ 'scheduler-hour-height': '3rem',
6719
+ 'scheduler-border': 'var(--wu-border)',
6720
+ 'scheduler-today-bg': 'color-mix(in srgb, var(--wu-primary-color) 7%, transparent)',
6721
+ 'scheduler-event-bg': 'color-mix(in srgb, var(--wu-primary-color) 14%, var(--wu-card-bg))',
6722
+ 'scheduler-event-color': 'var(--wu-primary-soft-text)',
6723
+ 'scheduler-event-bar': 'var(--wu-primary-color)',
6522
6724
  'primary-color': 'var(--wu-primary-600)',
6523
6725
  'primary-hover': 'var(--wu-primary-700)',
6524
6726
  'primary-active': 'var(--wu-primary-800)',
@@ -6620,6 +6822,7 @@ $families: (
6620
6822
  'tag-padding-x': '0.5rem',
6621
6823
  'tag-gap': '0.25rem',
6622
6824
  'tag-fill': '100%',
6825
+ 'tag-soft-mix': '14%',
6623
6826
  'badge-size': '1.5rem',
6624
6827
  'badge-font-size': '0.75rem',
6625
6828
  'badge-font-weight': '700',
@@ -7575,6 +7778,34 @@ $families: (
7575
7778
  ),
7576
7779
  'wira': (
7577
7780
  light: (
7781
+ 'heading-font-family': 'var(--wu-font-family)',
7782
+ 'stat-gap': '0.875rem',
7783
+ 'stat-icon-size': '2.75rem',
7784
+ 'stat-label-size': '0.875rem',
7785
+ 'stat-value-size': '1.75rem',
7786
+ 'stat-value-weight': '700',
7787
+ 'descriptions-gap': '0.75rem 1.5rem',
7788
+ 'descriptions-label-color': 'var(--wu-text-muted)',
7789
+ 'descriptions-label-weight': '400',
7790
+ 'descriptions-label-width': '9rem',
7791
+ 'descriptions-bordered-label-bg': 'var(--wu-hover-bg)',
7792
+ 'signature-height': '12rem',
7793
+ 'signature-ink': 'var(--wu-text)',
7794
+ 'signature-line': 'var(--wu-border)',
7795
+ 'chat-height': '32rem',
7796
+ 'chat-bubble-radius': '1.125rem',
7797
+ 'chat-bubble-bg': 'var(--wu-hover-bg)',
7798
+ 'chat-bubble-color': 'var(--wu-text)',
7799
+ 'chat-mine-bg': 'var(--wu-primary-color)',
7800
+ 'chat-mine-color': 'var(--wu-primary-contrast)',
7801
+ 'chat-meta-color': 'var(--wu-text-muted)',
7802
+ 'chat-gap': '0.25rem',
7803
+ 'scheduler-hour-height': '3rem',
7804
+ 'scheduler-border': 'var(--wu-border)',
7805
+ 'scheduler-today-bg': 'color-mix(in srgb, var(--wu-primary-color) 7%, transparent)',
7806
+ 'scheduler-event-bg': 'color-mix(in srgb, var(--wu-primary-color) 14%, var(--wu-card-bg))',
7807
+ 'scheduler-event-color': 'var(--wu-primary-soft-text)',
7808
+ 'scheduler-event-bar': 'var(--wu-primary-color)',
7578
7809
  'primary-color': 'var(--wu-primary-500)',
7579
7810
  'primary-hover': 'var(--wu-primary-600)',
7580
7811
  'primary-active': 'var(--wu-primary-700)',
@@ -7676,6 +7907,7 @@ $families: (
7676
7907
  'tag-padding-x': '0.5rem',
7677
7908
  'tag-gap': '0.25rem',
7678
7909
  'tag-fill': '0%',
7910
+ 'tag-soft-mix': '14%',
7679
7911
  'badge-size': '1.5rem',
7680
7912
  'badge-font-size': '0.75rem',
7681
7913
  'badge-font-weight': '700',
@@ -7978,8 +8210,8 @@ $families: (
7978
8210
  'aside-menu-item-color': 'var(--wu-text)',
7979
8211
  'aside-menu-item-icon-color': 'var(--wu-text-muted)',
7980
8212
  'aside-menu-item-hover-bg': 'var(--wu-hover-bg)',
7981
- 'aside-menu-item-active-bg': 'var(--wu-primary-color)',
7982
- 'aside-menu-item-active-color': 'var(--wu-primary-contrast)',
8213
+ 'aside-menu-item-active-bg': 'color-mix(in srgb, var(--wu-primary-color) 12%, transparent)',
8214
+ 'aside-menu-item-active-color': 'var(--wu-primary-color)',
7983
8215
  'aside-menu-group-active-color': 'var(--wu-primary-color)',
7984
8216
  'aside-menu-indent': '1rem',
7985
8217
  'aside-menu-section-color': 'var(--wu-text-muted)',
@@ -8109,10 +8341,10 @@ $families: (
8109
8341
  'table-header-border-width': '0 0 1px',
8110
8342
  'table-header-weight': '600',
8111
8343
  'table-border-color': 'var(--wu-border)',
8112
- 'table-head-bg': 'var(--wu-hover-bg)',
8113
- 'table-head-color': 'var(--wu-text)',
8114
- 'table-head-weight': '600',
8115
- 'table-head-hover-bg': 'color-mix(in srgb, var(--wu-hover-bg) 55%, var(--wu-border))',
8344
+ 'table-head-bg': 'transparent',
8345
+ 'table-head-color': 'var(--wu-text-muted)',
8346
+ 'table-head-weight': '500',
8347
+ 'table-head-hover-bg': 'var(--wu-hover-bg)',
8116
8348
  'table-cell-padding-y': 'calc(0.75rem * var(--wu-density))',
8117
8349
  'table-cell-padding-x': 'calc(1rem * var(--wu-density))',
8118
8350
  'table-row-bg': 'var(--wu-card-bg)',
package/theme/_index.scss CHANGED
@@ -27,6 +27,8 @@ $primary-contrast: null !default;
27
27
  $semantic: null !default;
28
28
  // ('Kanit', sans-serif)
29
29
  $font-family: null !default;
30
+ // Titles of cards, dialogs, drawers, panels …; null follows $font-family. ('Kanit', sans-serif)
31
+ $heading-font-family: null !default;
30
32
  $font-size: null !default; // px, emitted in rem
31
33
  $line-height: null !default;
32
34
  $radius: null !default; // px
@@ -46,6 +48,9 @@ $scheme: null !default;
46
48
  $material: null !default;
47
49
  // Component id → kebab-case (or camelCase) token keys: (card: (body-gap: 0px, bordered: false), table: (striped: true))
48
50
  $components: () !default;
51
+ // Any token by name, without --wu-: ('table-header-bg': transparent). Light and dark alike, unless $dark-tokens has it.
52
+ $tokens: () !default;
53
+ $dark-tokens: () !default;
49
54
 
50
55
  // ---------- reading settings ----------
51
56
 
@@ -312,6 +317,9 @@ $-light: map.merge(
312
317
  $-light: map.merge($-light, ('transition': '#{$-transition}ms'));
313
318
  @include -add(map.get(data.$families, $-family));
314
319
  @include -add(map.get(data.$materials, $-material));
320
+ @if $heading-font-family {
321
+ $-light: map.merge($-light, ('heading-font-family': -font-family($heading-font-family)));
322
+ }
315
323
 
316
324
  @if $-primary-contrast {
317
325
  $-light: map.merge($-light, ('primary-contrast': $-primary-contrast));
@@ -381,6 +389,27 @@ $-light: map.merge($-light, ('transition': '#{$-transition}ms'));
381
389
  }
382
390
  }
383
391
 
392
+ // $tokens: any token by name, without --wu-: ('table-header-bg': transparent, 'aside-menu-item-active-bg': …).
393
+ // A value here applies in light and dark mode alike; $dark-tokens gives dark mode its own.
394
+ @if not -is-map($tokens) {
395
+ @error 'wiraui: $tokens must be a map like (\'table-header-bg\': transparent), got `#{meta.inspect($tokens)}`.';
396
+ }
397
+ @if not -is-map($dark-tokens) {
398
+ @error 'wiraui: $dark-tokens must be a map like (\'table-header-bg\': #1e293b), got `#{meta.inspect($dark-tokens)}`.';
399
+ }
400
+ @each $k, $v in map.merge($tokens, $dark-tokens) {
401
+ @if not map.has-key($-light, $k) and not map.has-key($-dark, $k) {
402
+ @error 'wiraui: unknown token `#{$k}` (write the name without --wu-, e.g. \'table-header-bg\').';
403
+ }
404
+ }
405
+ @each $k, $v in $tokens {
406
+ $-light: map.merge($-light, ($k: '#{$v}'));
407
+ $-dark: map.remove($-dark, $k);
408
+ }
409
+ @each $k, $v in $dark-tokens {
410
+ $-dark: map.merge($-dark, ($k: '#{$v}'));
411
+ }
412
+
384
413
  @if $-scheme == 'dark' {
385
414
  $-light: map.merge($-light, $-dark);
386
415
  $-dark: ();
@@ -1,6 +1,6 @@
1
1
  /* ─────────────────────────────────────────────────────────────
2
2
  WiraUI · wiraui.theme.css
3
- Generated by WiraUI 0.1.0 · 03/11/2569 05:34
3
+ Generated by WiraUI 0.1.0 · 04/11/2569 19:09
4
4
  Use: add this file to angular.json → projects.<app>.architect.build.options.styles
5
5
  ───────────────────────────────────────────────────────────── */
6
6
  /* wiraui-config {"v":1,"preset":"glass","primary":"#f59e0b","primaryShades":null,"surface":"slate","primaryContrast":null,"semantic":{"success":"#22c55e","info":"#0ea5e9","warn":"#f59e0b","danger":"#ef4444","help":"#a855f7"},"fontFamily":"Anuphan","fontSize":14,"lineHeight":1.6,"radius":14,"density":"normal","shadow":"soft","ripple":false,"focusRing":"ring","transition":250,"darkMode":"class","scheme":"light","material":"glass","components":{}} */
@@ -115,6 +115,34 @@
115
115
  --wu-field-focus-offset: 0px;
116
116
  --wu-focus-ring-color: color-mix(in srgb, var(--wu-primary-color) 24%, transparent);
117
117
  --wu-transition: 250ms;
118
+ --wu-heading-font-family: var(--wu-font-family);
119
+ --wu-stat-gap: 0.875rem;
120
+ --wu-stat-icon-size: 2.75rem;
121
+ --wu-stat-label-size: 0.875rem;
122
+ --wu-stat-value-size: 1.75rem;
123
+ --wu-stat-value-weight: 700;
124
+ --wu-descriptions-gap: 0.75rem 1.5rem;
125
+ --wu-descriptions-label-color: var(--wu-text-muted);
126
+ --wu-descriptions-label-weight: 400;
127
+ --wu-descriptions-label-width: 9rem;
128
+ --wu-descriptions-bordered-label-bg: var(--wu-hover-bg);
129
+ --wu-signature-height: 12rem;
130
+ --wu-signature-ink: var(--wu-text);
131
+ --wu-signature-line: var(--wu-border);
132
+ --wu-chat-height: 32rem;
133
+ --wu-chat-bubble-radius: 1.125rem;
134
+ --wu-chat-bubble-bg: var(--wu-hover-bg);
135
+ --wu-chat-bubble-color: var(--wu-text);
136
+ --wu-chat-mine-bg: var(--wu-primary-color);
137
+ --wu-chat-mine-color: var(--wu-primary-contrast);
138
+ --wu-chat-meta-color: var(--wu-text-muted);
139
+ --wu-chat-gap: 0.25rem;
140
+ --wu-scheduler-hour-height: 3rem;
141
+ --wu-scheduler-border: var(--wu-border);
142
+ --wu-scheduler-today-bg: color-mix(in srgb, var(--wu-primary-color) 7%, transparent);
143
+ --wu-scheduler-event-bg: color-mix(in srgb, var(--wu-primary-color) 14%, var(--wu-card-bg));
144
+ --wu-scheduler-event-color: var(--wu-primary-soft-text);
145
+ --wu-scheduler-event-bar: var(--wu-primary-color);
118
146
  --wu-primary-color: var(--wu-primary-500);
119
147
  --wu-primary-hover: var(--wu-primary-600);
120
148
  --wu-primary-active: var(--wu-primary-700);
@@ -216,6 +244,7 @@
216
244
  --wu-tag-padding-x: 0.5rem;
217
245
  --wu-tag-gap: 0.25rem;
218
246
  --wu-tag-fill: 0%;
247
+ --wu-tag-soft-mix: 14%;
219
248
  --wu-badge-size: 1.5rem;
220
249
  --wu-badge-font-size: 0.75rem;
221
250
  --wu-badge-font-weight: 700;
@@ -518,8 +547,8 @@
518
547
  --wu-aside-menu-item-color: var(--wu-text);
519
548
  --wu-aside-menu-item-icon-color: var(--wu-text-muted);
520
549
  --wu-aside-menu-item-hover-bg: var(--wu-hover-bg);
521
- --wu-aside-menu-item-active-bg: var(--wu-primary-color);
522
- --wu-aside-menu-item-active-color: var(--wu-primary-contrast);
550
+ --wu-aside-menu-item-active-bg: color-mix(in srgb, var(--wu-primary-color) 12%, transparent);
551
+ --wu-aside-menu-item-active-color: var(--wu-primary-color);
523
552
  --wu-aside-menu-group-active-color: var(--wu-primary-color);
524
553
  --wu-aside-menu-indent: 1rem;
525
554
  --wu-aside-menu-section-color: var(--wu-text-muted);
@@ -649,10 +678,10 @@
649
678
  --wu-table-header-border-width: 0 0 1px;
650
679
  --wu-table-header-weight: 600;
651
680
  --wu-table-border-color: var(--wu-border);
652
- --wu-table-head-bg: var(--wu-hover-bg);
653
- --wu-table-head-color: var(--wu-text);
654
- --wu-table-head-weight: 600;
655
- --wu-table-head-hover-bg: color-mix(in srgb, var(--wu-hover-bg) 55%, var(--wu-border));
681
+ --wu-table-head-bg: transparent;
682
+ --wu-table-head-color: var(--wu-text-muted);
683
+ --wu-table-head-weight: 500;
684
+ --wu-table-head-hover-bg: var(--wu-hover-bg);
656
685
  --wu-table-cell-padding-y: calc(0.75rem * var(--wu-density));
657
686
  --wu-table-cell-padding-x: calc(1rem * var(--wu-density));
658
687
  --wu-table-row-bg: var(--wu-card-bg);
@@ -1,6 +1,6 @@
1
1
  /* ─────────────────────────────────────────────────────────────
2
2
  WiraUI · wiraui.theme.css
3
- Generated by WiraUI 0.1.0 · 03/11/2569 05:34
3
+ Generated by WiraUI 0.1.0 · 04/11/2569 19:09
4
4
  Use: add this file to angular.json → projects.<app>.architect.build.options.styles
5
5
  ───────────────────────────────────────────────────────────── */
6
6
  /* wiraui-config {"v":1,"preset":"glass","primary":"#3b82f6","primaryShades":null,"surface":"slate","primaryContrast":null,"semantic":{"success":"#22c55e","info":"#0ea5e9","warn":"#f59e0b","danger":"#ef4444","help":"#a855f7"},"fontFamily":"Anuphan","fontSize":14,"lineHeight":1.6,"radius":14,"density":"normal","shadow":"soft","ripple":false,"focusRing":"ring","transition":250,"darkMode":"class","scheme":"light","material":"glass","components":{}} */
@@ -115,6 +115,34 @@
115
115
  --wu-field-focus-offset: 0px;
116
116
  --wu-focus-ring-color: color-mix(in srgb, var(--wu-primary-color) 24%, transparent);
117
117
  --wu-transition: 250ms;
118
+ --wu-heading-font-family: var(--wu-font-family);
119
+ --wu-stat-gap: 0.875rem;
120
+ --wu-stat-icon-size: 2.75rem;
121
+ --wu-stat-label-size: 0.875rem;
122
+ --wu-stat-value-size: 1.75rem;
123
+ --wu-stat-value-weight: 700;
124
+ --wu-descriptions-gap: 0.75rem 1.5rem;
125
+ --wu-descriptions-label-color: var(--wu-text-muted);
126
+ --wu-descriptions-label-weight: 400;
127
+ --wu-descriptions-label-width: 9rem;
128
+ --wu-descriptions-bordered-label-bg: var(--wu-hover-bg);
129
+ --wu-signature-height: 12rem;
130
+ --wu-signature-ink: var(--wu-text);
131
+ --wu-signature-line: var(--wu-border);
132
+ --wu-chat-height: 32rem;
133
+ --wu-chat-bubble-radius: 1.125rem;
134
+ --wu-chat-bubble-bg: var(--wu-hover-bg);
135
+ --wu-chat-bubble-color: var(--wu-text);
136
+ --wu-chat-mine-bg: var(--wu-primary-color);
137
+ --wu-chat-mine-color: var(--wu-primary-contrast);
138
+ --wu-chat-meta-color: var(--wu-text-muted);
139
+ --wu-chat-gap: 0.25rem;
140
+ --wu-scheduler-hour-height: 3rem;
141
+ --wu-scheduler-border: var(--wu-border);
142
+ --wu-scheduler-today-bg: color-mix(in srgb, var(--wu-primary-color) 7%, transparent);
143
+ --wu-scheduler-event-bg: color-mix(in srgb, var(--wu-primary-color) 14%, var(--wu-card-bg));
144
+ --wu-scheduler-event-color: var(--wu-primary-soft-text);
145
+ --wu-scheduler-event-bar: var(--wu-primary-color);
118
146
  --wu-primary-color: var(--wu-primary-500);
119
147
  --wu-primary-hover: var(--wu-primary-600);
120
148
  --wu-primary-active: var(--wu-primary-700);
@@ -216,6 +244,7 @@
216
244
  --wu-tag-padding-x: 0.5rem;
217
245
  --wu-tag-gap: 0.25rem;
218
246
  --wu-tag-fill: 0%;
247
+ --wu-tag-soft-mix: 14%;
219
248
  --wu-badge-size: 1.5rem;
220
249
  --wu-badge-font-size: 0.75rem;
221
250
  --wu-badge-font-weight: 700;
@@ -518,8 +547,8 @@
518
547
  --wu-aside-menu-item-color: var(--wu-text);
519
548
  --wu-aside-menu-item-icon-color: var(--wu-text-muted);
520
549
  --wu-aside-menu-item-hover-bg: var(--wu-hover-bg);
521
- --wu-aside-menu-item-active-bg: var(--wu-primary-color);
522
- --wu-aside-menu-item-active-color: var(--wu-primary-contrast);
550
+ --wu-aside-menu-item-active-bg: color-mix(in srgb, var(--wu-primary-color) 12%, transparent);
551
+ --wu-aside-menu-item-active-color: var(--wu-primary-color);
523
552
  --wu-aside-menu-group-active-color: var(--wu-primary-color);
524
553
  --wu-aside-menu-indent: 1rem;
525
554
  --wu-aside-menu-section-color: var(--wu-text-muted);
@@ -649,10 +678,10 @@
649
678
  --wu-table-header-border-width: 0 0 1px;
650
679
  --wu-table-header-weight: 600;
651
680
  --wu-table-border-color: var(--wu-border);
652
- --wu-table-head-bg: var(--wu-hover-bg);
653
- --wu-table-head-color: var(--wu-text);
654
- --wu-table-head-weight: 600;
655
- --wu-table-head-hover-bg: color-mix(in srgb, var(--wu-hover-bg) 55%, var(--wu-border));
681
+ --wu-table-head-bg: transparent;
682
+ --wu-table-head-color: var(--wu-text-muted);
683
+ --wu-table-head-weight: 500;
684
+ --wu-table-head-hover-bg: var(--wu-hover-bg);
656
685
  --wu-table-cell-padding-y: calc(0.75rem * var(--wu-density));
657
686
  --wu-table-cell-padding-x: calc(1rem * var(--wu-density));
658
687
  --wu-table-row-bg: var(--wu-card-bg);