@inchurch/matcha-theme 22.40.1 → 22.40.2

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 (93) hide show
  1. package/abstracts/_colors.scss +291 -291
  2. package/abstracts/_elevation.scss +108 -108
  3. package/abstracts/_functions.scss +321 -321
  4. package/abstracts/_media-breakpoint.scss +26 -26
  5. package/abstracts/_theme-api.scss +224 -224
  6. package/abstracts/_typography.scss +128 -128
  7. package/base/_reset.scss +487 -487
  8. package/components/app-page-header.scss +260 -260
  9. package/components/matcha-accordion.scss +297 -297
  10. package/components/matcha-audio-player.scss +31 -31
  11. package/components/matcha-autocomplete.scss +145 -145
  12. package/components/matcha-avatar.scss +426 -426
  13. package/components/matcha-badge.scss +120 -120
  14. package/components/matcha-breadcrumb.scss +231 -231
  15. package/components/matcha-button-toggle.scss +484 -484
  16. package/components/matcha-buttons.scss +973 -973
  17. package/components/matcha-calendar.scss +253 -253
  18. package/components/matcha-cards.scss +212 -212
  19. package/components/matcha-chart-card.scss +53 -53
  20. package/components/matcha-checkbox.scss +266 -266
  21. package/components/matcha-chip.scss +311 -311
  22. package/components/matcha-color-pick.scss +34 -34
  23. package/components/matcha-command-palette.scss +316 -316
  24. package/components/matcha-crop.scss +419 -419
  25. package/components/matcha-date.scss +81 -81
  26. package/components/matcha-divider.scss +100 -100
  27. package/components/matcha-draggable.scss +23 -23
  28. package/components/matcha-drawer.scss +376 -376
  29. package/components/matcha-drop-image.scss +14 -14
  30. package/components/matcha-drop-list.scss +430 -430
  31. package/components/matcha-emoji.scss +69 -69
  32. package/components/matcha-empty-state.scss +230 -230
  33. package/components/matcha-file-uploader.scss +650 -650
  34. package/components/matcha-flag.scss +103 -103
  35. package/components/matcha-footer.scss +91 -91
  36. package/components/matcha-form-field.scss +883 -883
  37. package/components/matcha-form-section.scss +100 -100
  38. package/components/matcha-header.scss +135 -135
  39. package/components/matcha-highlight.scss +164 -164
  40. package/components/matcha-hint-text.scss +90 -90
  41. package/components/matcha-horizontal-tree.scss +247 -247
  42. package/components/matcha-icon.scss +111 -111
  43. package/components/matcha-image.scss +60 -60
  44. package/components/matcha-list.scss +211 -211
  45. package/components/matcha-menu.scss +99 -99
  46. package/components/matcha-modal.scss +210 -210
  47. package/components/matcha-nav.scss +770 -770
  48. package/components/matcha-notification.scss +417 -417
  49. package/components/matcha-option.scss +170 -170
  50. package/components/matcha-page-builder.scss +4196 -4196
  51. package/components/matcha-paginator.scss +699 -699
  52. package/components/matcha-panel.scss +216 -216
  53. package/components/matcha-period.scss +174 -174
  54. package/components/matcha-profile-card.scss +50 -50
  55. package/components/matcha-progress-bar.scss +355 -355
  56. package/components/matcha-radio.scss +325 -325
  57. package/components/matcha-ripple.scss +7 -7
  58. package/components/matcha-scrollbar.scss +33 -33
  59. package/components/matcha-scrollbox-shadow.scss +120 -120
  60. package/components/matcha-section.scss +102 -102
  61. package/components/matcha-select-multiple.scss +56 -56
  62. package/components/matcha-select.scss +643 -643
  63. package/components/matcha-skeleton.scss +182 -182
  64. package/components/matcha-slide-toggle.scss +369 -369
  65. package/components/matcha-slider.scss +285 -285
  66. package/components/matcha-snack-bar.scss +259 -259
  67. package/components/matcha-spin.scss +164 -164
  68. package/components/matcha-spinner.scss +97 -97
  69. package/components/matcha-stepper.scss +376 -376
  70. package/components/matcha-table-cell.scss +107 -107
  71. package/components/matcha-table.scss +722 -722
  72. package/components/matcha-tabs.scss +642 -642
  73. package/components/matcha-text-editor.scss +111 -111
  74. package/components/matcha-time.scss +33 -33
  75. package/components/matcha-timepicker.scss +13 -13
  76. package/components/matcha-toolbar.scss +366 -366
  77. package/components/matcha-tooltip.scss +235 -235
  78. package/components/matcha-tree-view.scss +658 -658
  79. package/layout/matcha-page-layout.scss +778 -778
  80. package/main.scss +334 -334
  81. package/package.json +1 -1
  82. package/tokens/_animations-tokens.scss +37 -37
  83. package/tokens/_breakpoints-tokens.scss +35 -35
  84. package/tokens/_color-tokens.scss +288 -288
  85. package/tokens/_elevation-tokens.scss +33 -33
  86. package/tokens/_emit-tokens.scss +329 -329
  87. package/tokens/_material-palette.scss +1149 -1149
  88. package/tokens/_primitives.scss +98 -98
  89. package/tokens/_semantic-aliases.scss +120 -120
  90. package/tokens/_spacing-tokens.scss +94 -94
  91. package/tokens/_static-tokens.scss +137 -137
  92. package/tokens/_typography-tokens.scss +65 -65
  93. package/vendors/charts.scss +90 -90
package/base/_reset.scss CHANGED
@@ -1,487 +1,487 @@
1
- @mixin base-body-reset-theme($theme: ()) {
2
- // theme-agnóstico em valor (var); fica per-classe de tema pelo & (pinta o
3
- // elemento que carrega a classe). $theme vestigial (default ()).
4
- & {
5
- color: var(--matcha-color-fg);
6
- background: var(--matcha-color-surface-bg);
7
-
8
- *, *:before, *:after {
9
- box-sizing: border-box;
10
- }
11
-
12
- // Seleção de texto na cor da marca. Antes só existia escopada em input/
13
- // textarea (matcha-form-field) — no resto da aplicação valia o azul do
14
- // sistema operacional. `accent-text-on` é o foreground DERIVADO do accent
15
- // (matcha-text-on); `accent-contrast` é legado e sempre preto, não serve.
16
- // `background-color`, não `background`: ::selection só aceita um conjunto
17
- // pequeno de propriedades, e a shorthand não é garantida.
18
- &::selection,
19
- & ::selection {
20
- background-color: var(--matcha-color-accent);
21
- color: var(--matcha-color-accent-text-on);
22
- }
23
-
24
- // `a[matcha-cell-link]` — a âncora que identifica um registro numa listagem
25
- // (célula de tabela ou título de card). Global porque vale nas duas
26
- // superfícies; o realce da LINHA no hover é específico da tabela e mora em
27
- // components/matcha-table.scss.
28
- //
29
- // Por que âncora e não clique na linha/card inteiro: só com `href` o browser
30
- // entrega ctrl+clique, clique do meio e "abrir em nova aba" — e restringir o
31
- // alvo ao nome devolve a seleção de texto na listagem.
32
- a[matcha-cell-link] {
33
- display: inline-flex;
34
- align-items: center;
35
- gap: var(--matcha-space-50, 4px);
36
- color: inherit;
37
- text-decoration: none;
38
- cursor: pointer;
39
-
40
- // Affordance que não depende de cor (a11y) — o tom accent sozinho não
41
- // serve pra quem não distingue cor.
42
- &:hover {
43
- text-decoration: underline;
44
- }
45
-
46
- &:focus-visible {
47
- outline: 2px solid var(--matcha-color-accent);
48
- outline-offset: 2px;
49
- border-radius: var(--matcha-radius-sm, 2px);
50
- }
51
- }
52
- }
53
- }
54
-
55
- /*
56
- How to use
57
- @import '~matcha-ds/assets/scss/components/matcha-typography.scss';
58
- @include base-typography-theme($theme);
59
- */
60
- // -----------------------------------------------------------------------------------------------------
61
- // Typography [Theme]
62
- // -----------------------------------------------------------------------------------------------------
63
- @mixin base-typography-theme($theme) {
64
- // theme-agnóstico: tudo via var(--matcha-color-*) (runtime). $theme mantido só
65
- // na assinatura por retrocompat dos call sites.
66
-
67
- a {
68
- color: var(--matcha-color-accent);
69
- }
70
-
71
- pre > code{
72
- color: var(--matcha-color-info);
73
- }
74
- code {
75
- &:not(.highlight) {
76
- // Token em runtime (não getter compile-time): resolve no escopo de tema
77
- // MAIS PRÓXIMO, então temas aninhados (ex.: preview light dentro de body
78
- // dark) não colidem mais — antes geravam tarja escura sobre card claro.
79
- // Dark é value-preserving (#1c1f26); light adota o surface-card do DSV3.
80
- background-color: var(--matcha-color-surface-card);
81
- }
82
- }
83
-
84
- .changelog {
85
- .entry {
86
- background-color: var(--matcha-color-surface-card);
87
- }
88
- }
89
-
90
- .text-boxed {
91
- background-color: var(--matcha-color-text-boxed-bg);
92
- color: var(--matcha-color-text-boxed-fg);
93
- }
94
-
95
- .text-primary {
96
- color: var(--matcha-color-primary) !important;
97
- }
98
-
99
- .text-warn {
100
- color: var(--matcha-color-warn) !important;
101
- }
102
-
103
- .text-label {
104
- color: var(--matcha-color-text-label) !important;
105
- }
106
-
107
- .text-placeholder {
108
- color: var(--matcha-color-text-placeholder) !important;
109
- }
110
-
111
- .text-basic {
112
- color: var(--matcha-color-fg) !important;
113
- }
114
-
115
- // Changelog
116
- .changelog {
117
- .entry {
118
- .groups {
119
- .breaking-changes {
120
- .title {
121
- background: var(--matcha-color-danger);
122
- }
123
- }
124
-
125
- .new {
126
- .title {
127
- background: var(--matcha-color-success);
128
- }
129
- }
130
-
131
- .improved {
132
- .title {
133
- background: var(--matcha-prim-purple-500);
134
- }
135
- }
136
-
137
- .fixed {
138
- .title {
139
- background: var(--matcha-color-info);
140
- }
141
- }
142
- }
143
- }
144
- }
145
-
146
- // Code
147
- code {
148
- &:not(.highlight) {
149
- color: var(--matcha-color-info);
150
- }
151
- }
152
-
153
- // Mark
154
- mark {
155
- background: var(--matcha-color-warn);
156
- }
157
-
158
- // Message boxes
159
- .matcha-message-box,
160
- .matcha-msg-box,
161
- .message-box {
162
- background-color: var(--matcha-color-primary-alpha);
163
- border-left-color: var(--matcha-color-primary);
164
- color: var(--matcha-color-fg);
165
-
166
- &.error,
167
- &.warning,
168
- &.success,
169
- &.info,
170
- &--error,
171
- &--warning,
172
- &--success,
173
- &--info {
174
- color: var(--matcha-color-fg);
175
- }
176
-
177
- &--error,
178
- &.error {
179
- background-color: var(--matcha-color-danger-alpha);
180
- border-left-color: var(--matcha-color-danger);
181
- }
182
-
183
- &--warning,
184
- &.warning {
185
- background-color: var(--matcha-color-warn-alpha);
186
- border-left-color: var(--matcha-color-warn);
187
- }
188
-
189
- &--success,
190
- &.success {
191
- background-color: var(--matcha-color-success-alpha);
192
- border-left-color: var(--matcha-color-success);
193
- }
194
-
195
- &--info,
196
- &.info {
197
- background-color: var(--matcha-color-info-alpha);
198
- border-left-color: var(--matcha-color-info);
199
- }
200
- }
201
- }
202
-
203
- // -----------------------------------------------------------------------------------------------------
204
- // Typography [Style]
205
- // -----------------------------------------------------------------------------------------------------
206
- // Paragraph
207
- .par-xs,
208
- .p-tiny {
209
- font-size: 12px !important;
210
- }
211
-
212
- .par-sm,
213
- .par-p,
214
- .p-small {
215
- font-size: 14px !important;
216
- }
217
-
218
- .par-md,
219
- .par-m,
220
- .p-medium {
221
- font-size: 16px !important;
222
- }
223
-
224
- .par-lg,
225
- .p-large {
226
- font-size: 20px !important;
227
- }
228
-
229
- .par-xl,
230
- .p-huge {
231
- font-size: 24px !important;
232
- }
233
- .text-medium,
234
- .text-semibold {
235
- font-weight: 500;
236
- }
237
-
238
- .text-regular,
239
- .text-book {
240
- font-weight: 400;
241
- }
242
-
243
- .text-bold {
244
- font-weight: 700;
245
- }
246
-
247
- .text-black {
248
- font-weight: 900;
249
- }
250
-
251
- .matcha-message-box,
252
- .matcha-msg-box,
253
- .message-box {
254
- padding: 16px;
255
- border-left: 6px solid;
256
-
257
- &.error,
258
- &.warning,
259
- &.success,
260
- &.info,
261
- &--error,
262
- &--warning,
263
- &--success,
264
- &--info {
265
- padding: 16px;
266
- border-left: 6px solid;
267
- }
268
- }
269
-
270
- .title {
271
- line-height: 24px;
272
- margin: 0 0 16px 0;
273
- display: flex;
274
- align-items: center;
275
-
276
- .title-bullet {
277
- margin: 0px 8px 0 0;
278
- display: inline-block;
279
- position: relative;
280
- border-radius: 10px;
281
- }
282
-
283
- .title-content {
284
- line-height: 20px;
285
- display: -webkit-box;
286
- -webkit-line-clamp: 2;
287
- overflow: hidden;
288
- text-overflow: ellipsis;
289
- word-break: break-word;
290
- white-space: initial;
291
- -webkit-box-orient: vertical;
292
- text-transform: capitalize;
293
- }
294
- }
295
-
296
- .title-sm {
297
- display: block;
298
- overflow: hidden;
299
- text-overflow: ellipsis;
300
- white-space: nowrap;
301
- }
302
-
303
-
304
- // -----------------------------------------------------------------------------------------------------
305
- // @ Container helpers
306
- // -----------------------------------------------------------------------------------------------------
307
- .matcha-container {
308
- width: 100%;
309
- max-width: 1128px;
310
- margin-left:auto;
311
- margin-right:auto;
312
- }
313
-
314
- // -----------------------------------------------------------------------------------------------------
315
- // @ Combo helpers
316
- // -----------------------------------------------------------------------------------------------------
317
- .combo-image-text,
318
- .combo-checkbox-text,
319
- .combo-icon-text,
320
- .combo-double-line {
321
- display: flex;
322
- align-items: center;
323
- }
324
-
325
- .combo-image-text .side-text,
326
- .combo-checkbox-text .side-text,
327
- .combo-icon-text .side-text,
328
- .combo-double-line .side-text {
329
- display: inline-block;
330
- width: calc(100% - 48px);
331
- line-height: 20px;
332
- -webkit-line-clamp: 2;
333
- overflow: hidden;
334
- text-overflow: ellipsis;
335
- word-break: break-word;
336
- white-space: initial;
337
- -webkit-box-orient: vertical;
338
- }
339
-
340
- .combo-image-text .avatar,
341
- .combo-checkbox-text .avatar,
342
- .combo-icon-text .avatar,
343
- .combo-double-line .avatar {
344
- border-radius: 50px;
345
- min-width: 24px;
346
- min-height: 24px;
347
- }
348
-
349
- .one-line-text {
350
- line-height: 20px;
351
- display: -webkit-box;
352
- -webkit-line-clamp: 1;
353
- }
354
-
355
- .two-lines-text {
356
- line-height: 20px;
357
- display: -webkit-box;
358
- -webkit-line-clamp: 2;
359
- }
360
-
361
- .three-lines-text {
362
- line-height: 20px;
363
- display: -webkit-box;
364
- -webkit-line-clamp: 3;
365
- }
366
-
367
- .four-lines-text {
368
- line-height: 20px;
369
- display: -webkit-box;
370
- -webkit-line-clamp: 4;
371
- }
372
-
373
- .five-lines-text {
374
- line-height: 20px;
375
- display: -webkit-box;
376
- -webkit-line-clamp: 5;
377
- }
378
-
379
- .one-line-text,
380
- .two-lines-text,
381
- .three-lines-text,
382
- .four-lines-text,
383
- .five-lines-text {
384
- overflow: hidden;
385
- text-overflow: ellipsis;
386
- word-break: break-word;
387
- white-space: initial;
388
- -webkit-box-orient: vertical;
389
- }
390
- .word-break {
391
- word-break: break-word
392
- }
393
- .word-break-all {
394
- word-break: break-all
395
- }
396
-
397
- // Helpers pontuais migrados do matcha-core (DSV3): matcha-core é só a grade
398
- // gerada; helpers escritos à mão vivem aqui na base (junto de .word-break etc.).
399
- // (.break-word não migra — use .word-break acima, mesma regra.)
400
- .overflow-wrap-anywhere { overflow-wrap: anywhere; }
401
- .font-inherit { font-family: inherit; }
402
- .font-italic { font-style: italic; }
403
- .tabular-nums { font-variant-numeric: tabular-nums; }
404
- .user-select-none { -webkit-user-select: none; user-select: none; }
405
- .scrollbar-none {
406
- scrollbar-width: none;
407
- &::-webkit-scrollbar { display: none; }
408
- }
409
-
410
- // -----------------------------------------------------------------------------------------------------
411
- // @ Letter spacing helpers
412
- // -----------------------------------------------------------------------------------------------------
413
- .letter-spacing-condensed {
414
- letter-spacing: -.08em !important;
415
- }
416
- .letter-spacing-normal {
417
- letter-spacing: normal !important;
418
- }
419
- .letter-spacing-relaxed {
420
- letter-spacing: .08em !important;
421
- }
422
-
423
- // -----------------------------------------------------------------------------------------------------
424
- // @ Cursor helpers
425
- // -----------------------------------------------------------------------------------------------------
426
- .pointer-events-all {
427
- pointer-events: all
428
- }
429
- .pointer-events-none {
430
- pointer-events: none
431
- }
432
-
433
- // -----------------------------------------------------------------------------------------------------
434
- // @ Clear Shadows
435
- // -----------------------------------------------------------------------------------------------------
436
- .flatten,
437
- .no-shadow,
438
- .shadow-none {
439
- box-shadow: none !important;
440
- }
441
-
442
- // -----------------------------------------------------------------------------------------------------
443
- // @ Enable/Disable
444
- // -----------------------------------------------------------------------------------------------------
445
- .disabled {
446
- transition: opacity 100ms linear;
447
- opacity: .5;
448
- pointer-events: none
449
- }
450
- .enabled {
451
- transition: opacity 100ms linear;
452
- opacity: 1
453
- }
454
-
455
-
456
- // -----------------------------------------------------------------------------------------------------
457
- // @ Hover - Show/Hide
458
- // -----------------------------------------------------------------------------------------------------
459
- .on-hover-show:hover {
460
- opacity: 1;
461
- }
462
- .on-hover-hide:hover {
463
- opacity: 0;
464
- }
465
-
466
- // -----------------------------------------------------------------------------------------------------
467
- // @ Float
468
- // -----------------------------------------------------------------------------------------------------
469
- .clearfix::after {
470
- content: "";
471
- clear: both;
472
- display: table;
473
- }
474
- .left {
475
- float: left;
476
- }
477
- .right {
478
- float: right;
479
- }
480
- .list,
481
- .list-style-none {
482
- list-style: none;
483
- }
484
- .list-style-disc,
485
- .list-style-dot {
486
- list-style: disc;
487
- }
1
+ @mixin base-body-reset-theme($theme: ()) {
2
+ // theme-agnóstico em valor (var); fica per-classe de tema pelo & (pinta o
3
+ // elemento que carrega a classe). $theme vestigial (default ()).
4
+ & {
5
+ color: var(--matcha-color-fg);
6
+ background: var(--matcha-color-surface-bg);
7
+
8
+ *, *:before, *:after {
9
+ box-sizing: border-box;
10
+ }
11
+
12
+ // Seleção de texto na cor da marca. Antes só existia escopada em input/
13
+ // textarea (matcha-form-field) — no resto da aplicação valia o azul do
14
+ // sistema operacional. `accent-text-on` é o foreground DERIVADO do accent
15
+ // (matcha-text-on); `accent-contrast` é legado e sempre preto, não serve.
16
+ // `background-color`, não `background`: ::selection só aceita um conjunto
17
+ // pequeno de propriedades, e a shorthand não é garantida.
18
+ &::selection,
19
+ & ::selection {
20
+ background-color: var(--matcha-color-accent);
21
+ color: var(--matcha-color-accent-text-on);
22
+ }
23
+
24
+ // `a[matcha-cell-link]` — a âncora que identifica um registro numa listagem
25
+ // (célula de tabela ou título de card). Global porque vale nas duas
26
+ // superfícies; o realce da LINHA no hover é específico da tabela e mora em
27
+ // components/matcha-table.scss.
28
+ //
29
+ // Por que âncora e não clique na linha/card inteiro: só com `href` o browser
30
+ // entrega ctrl+clique, clique do meio e "abrir em nova aba" — e restringir o
31
+ // alvo ao nome devolve a seleção de texto na listagem.
32
+ a[matcha-cell-link] {
33
+ display: inline-flex;
34
+ align-items: center;
35
+ gap: var(--matcha-space-50, 4px);
36
+ color: inherit;
37
+ text-decoration: none;
38
+ cursor: pointer;
39
+
40
+ // Affordance que não depende de cor (a11y) — o tom accent sozinho não
41
+ // serve pra quem não distingue cor.
42
+ &:hover {
43
+ text-decoration: underline;
44
+ }
45
+
46
+ &:focus-visible {
47
+ outline: 2px solid var(--matcha-color-accent);
48
+ outline-offset: 2px;
49
+ border-radius: var(--matcha-radius-sm, 2px);
50
+ }
51
+ }
52
+ }
53
+ }
54
+
55
+ /*
56
+ How to use
57
+ @import '~matcha-ds/assets/scss/components/matcha-typography.scss';
58
+ @include base-typography-theme($theme);
59
+ */
60
+ // -----------------------------------------------------------------------------------------------------
61
+ // Typography [Theme]
62
+ // -----------------------------------------------------------------------------------------------------
63
+ @mixin base-typography-theme($theme) {
64
+ // theme-agnóstico: tudo via var(--matcha-color-*) (runtime). $theme mantido só
65
+ // na assinatura por retrocompat dos call sites.
66
+
67
+ a {
68
+ color: var(--matcha-color-accent);
69
+ }
70
+
71
+ pre > code{
72
+ color: var(--matcha-color-info);
73
+ }
74
+ code {
75
+ &:not(.highlight) {
76
+ // Token em runtime (não getter compile-time): resolve no escopo de tema
77
+ // MAIS PRÓXIMO, então temas aninhados (ex.: preview light dentro de body
78
+ // dark) não colidem mais — antes geravam tarja escura sobre card claro.
79
+ // Dark é value-preserving (#1c1f26); light adota o surface-card do DSV3.
80
+ background-color: var(--matcha-color-surface-card);
81
+ }
82
+ }
83
+
84
+ .changelog {
85
+ .entry {
86
+ background-color: var(--matcha-color-surface-card);
87
+ }
88
+ }
89
+
90
+ .text-boxed {
91
+ background-color: var(--matcha-color-text-boxed-bg);
92
+ color: var(--matcha-color-text-boxed-fg);
93
+ }
94
+
95
+ .text-primary {
96
+ color: var(--matcha-color-primary) !important;
97
+ }
98
+
99
+ .text-warn {
100
+ color: var(--matcha-color-warn) !important;
101
+ }
102
+
103
+ .text-label {
104
+ color: var(--matcha-color-text-label) !important;
105
+ }
106
+
107
+ .text-placeholder {
108
+ color: var(--matcha-color-text-placeholder) !important;
109
+ }
110
+
111
+ .text-basic {
112
+ color: var(--matcha-color-fg) !important;
113
+ }
114
+
115
+ // Changelog
116
+ .changelog {
117
+ .entry {
118
+ .groups {
119
+ .breaking-changes {
120
+ .title {
121
+ background: var(--matcha-color-danger);
122
+ }
123
+ }
124
+
125
+ .new {
126
+ .title {
127
+ background: var(--matcha-color-success);
128
+ }
129
+ }
130
+
131
+ .improved {
132
+ .title {
133
+ background: var(--matcha-prim-purple-500);
134
+ }
135
+ }
136
+
137
+ .fixed {
138
+ .title {
139
+ background: var(--matcha-color-info);
140
+ }
141
+ }
142
+ }
143
+ }
144
+ }
145
+
146
+ // Code
147
+ code {
148
+ &:not(.highlight) {
149
+ color: var(--matcha-color-info);
150
+ }
151
+ }
152
+
153
+ // Mark
154
+ mark {
155
+ background: var(--matcha-color-warn);
156
+ }
157
+
158
+ // Message boxes
159
+ .matcha-message-box,
160
+ .matcha-msg-box,
161
+ .message-box {
162
+ background-color: var(--matcha-color-primary-alpha);
163
+ border-left-color: var(--matcha-color-primary);
164
+ color: var(--matcha-color-fg);
165
+
166
+ &.error,
167
+ &.warning,
168
+ &.success,
169
+ &.info,
170
+ &--error,
171
+ &--warning,
172
+ &--success,
173
+ &--info {
174
+ color: var(--matcha-color-fg);
175
+ }
176
+
177
+ &--error,
178
+ &.error {
179
+ background-color: var(--matcha-color-danger-alpha);
180
+ border-left-color: var(--matcha-color-danger);
181
+ }
182
+
183
+ &--warning,
184
+ &.warning {
185
+ background-color: var(--matcha-color-warn-alpha);
186
+ border-left-color: var(--matcha-color-warn);
187
+ }
188
+
189
+ &--success,
190
+ &.success {
191
+ background-color: var(--matcha-color-success-alpha);
192
+ border-left-color: var(--matcha-color-success);
193
+ }
194
+
195
+ &--info,
196
+ &.info {
197
+ background-color: var(--matcha-color-info-alpha);
198
+ border-left-color: var(--matcha-color-info);
199
+ }
200
+ }
201
+ }
202
+
203
+ // -----------------------------------------------------------------------------------------------------
204
+ // Typography [Style]
205
+ // -----------------------------------------------------------------------------------------------------
206
+ // Paragraph
207
+ .par-xs,
208
+ .p-tiny {
209
+ font-size: 12px !important;
210
+ }
211
+
212
+ .par-sm,
213
+ .par-p,
214
+ .p-small {
215
+ font-size: 14px !important;
216
+ }
217
+
218
+ .par-md,
219
+ .par-m,
220
+ .p-medium {
221
+ font-size: 16px !important;
222
+ }
223
+
224
+ .par-lg,
225
+ .p-large {
226
+ font-size: 20px !important;
227
+ }
228
+
229
+ .par-xl,
230
+ .p-huge {
231
+ font-size: 24px !important;
232
+ }
233
+ .text-medium,
234
+ .text-semibold {
235
+ font-weight: 500;
236
+ }
237
+
238
+ .text-regular,
239
+ .text-book {
240
+ font-weight: 400;
241
+ }
242
+
243
+ .text-bold {
244
+ font-weight: 700;
245
+ }
246
+
247
+ .text-black {
248
+ font-weight: 900;
249
+ }
250
+
251
+ .matcha-message-box,
252
+ .matcha-msg-box,
253
+ .message-box {
254
+ padding: 16px;
255
+ border-left: 6px solid;
256
+
257
+ &.error,
258
+ &.warning,
259
+ &.success,
260
+ &.info,
261
+ &--error,
262
+ &--warning,
263
+ &--success,
264
+ &--info {
265
+ padding: 16px;
266
+ border-left: 6px solid;
267
+ }
268
+ }
269
+
270
+ .title {
271
+ line-height: 24px;
272
+ margin: 0 0 16px 0;
273
+ display: flex;
274
+ align-items: center;
275
+
276
+ .title-bullet {
277
+ margin: 0px 8px 0 0;
278
+ display: inline-block;
279
+ position: relative;
280
+ border-radius: 10px;
281
+ }
282
+
283
+ .title-content {
284
+ line-height: 20px;
285
+ display: -webkit-box;
286
+ -webkit-line-clamp: 2;
287
+ overflow: hidden;
288
+ text-overflow: ellipsis;
289
+ word-break: break-word;
290
+ white-space: initial;
291
+ -webkit-box-orient: vertical;
292
+ text-transform: capitalize;
293
+ }
294
+ }
295
+
296
+ .title-sm {
297
+ display: block;
298
+ overflow: hidden;
299
+ text-overflow: ellipsis;
300
+ white-space: nowrap;
301
+ }
302
+
303
+
304
+ // -----------------------------------------------------------------------------------------------------
305
+ // @ Container helpers
306
+ // -----------------------------------------------------------------------------------------------------
307
+ .matcha-container {
308
+ width: 100%;
309
+ max-width: 1128px;
310
+ margin-left:auto;
311
+ margin-right:auto;
312
+ }
313
+
314
+ // -----------------------------------------------------------------------------------------------------
315
+ // @ Combo helpers
316
+ // -----------------------------------------------------------------------------------------------------
317
+ .combo-image-text,
318
+ .combo-checkbox-text,
319
+ .combo-icon-text,
320
+ .combo-double-line {
321
+ display: flex;
322
+ align-items: center;
323
+ }
324
+
325
+ .combo-image-text .side-text,
326
+ .combo-checkbox-text .side-text,
327
+ .combo-icon-text .side-text,
328
+ .combo-double-line .side-text {
329
+ display: inline-block;
330
+ width: calc(100% - 48px);
331
+ line-height: 20px;
332
+ -webkit-line-clamp: 2;
333
+ overflow: hidden;
334
+ text-overflow: ellipsis;
335
+ word-break: break-word;
336
+ white-space: initial;
337
+ -webkit-box-orient: vertical;
338
+ }
339
+
340
+ .combo-image-text .avatar,
341
+ .combo-checkbox-text .avatar,
342
+ .combo-icon-text .avatar,
343
+ .combo-double-line .avatar {
344
+ border-radius: 50px;
345
+ min-width: 24px;
346
+ min-height: 24px;
347
+ }
348
+
349
+ .one-line-text {
350
+ line-height: 20px;
351
+ display: -webkit-box;
352
+ -webkit-line-clamp: 1;
353
+ }
354
+
355
+ .two-lines-text {
356
+ line-height: 20px;
357
+ display: -webkit-box;
358
+ -webkit-line-clamp: 2;
359
+ }
360
+
361
+ .three-lines-text {
362
+ line-height: 20px;
363
+ display: -webkit-box;
364
+ -webkit-line-clamp: 3;
365
+ }
366
+
367
+ .four-lines-text {
368
+ line-height: 20px;
369
+ display: -webkit-box;
370
+ -webkit-line-clamp: 4;
371
+ }
372
+
373
+ .five-lines-text {
374
+ line-height: 20px;
375
+ display: -webkit-box;
376
+ -webkit-line-clamp: 5;
377
+ }
378
+
379
+ .one-line-text,
380
+ .two-lines-text,
381
+ .three-lines-text,
382
+ .four-lines-text,
383
+ .five-lines-text {
384
+ overflow: hidden;
385
+ text-overflow: ellipsis;
386
+ word-break: break-word;
387
+ white-space: initial;
388
+ -webkit-box-orient: vertical;
389
+ }
390
+ .word-break {
391
+ word-break: break-word
392
+ }
393
+ .word-break-all {
394
+ word-break: break-all
395
+ }
396
+
397
+ // Helpers pontuais migrados do matcha-core (DSV3): matcha-core é só a grade
398
+ // gerada; helpers escritos à mão vivem aqui na base (junto de .word-break etc.).
399
+ // (.break-word não migra — use .word-break acima, mesma regra.)
400
+ .overflow-wrap-anywhere { overflow-wrap: anywhere; }
401
+ .font-inherit { font-family: inherit; }
402
+ .font-italic { font-style: italic; }
403
+ .tabular-nums { font-variant-numeric: tabular-nums; }
404
+ .user-select-none { -webkit-user-select: none; user-select: none; }
405
+ .scrollbar-none {
406
+ scrollbar-width: none;
407
+ &::-webkit-scrollbar { display: none; }
408
+ }
409
+
410
+ // -----------------------------------------------------------------------------------------------------
411
+ // @ Letter spacing helpers
412
+ // -----------------------------------------------------------------------------------------------------
413
+ .letter-spacing-condensed {
414
+ letter-spacing: -.08em !important;
415
+ }
416
+ .letter-spacing-normal {
417
+ letter-spacing: normal !important;
418
+ }
419
+ .letter-spacing-relaxed {
420
+ letter-spacing: .08em !important;
421
+ }
422
+
423
+ // -----------------------------------------------------------------------------------------------------
424
+ // @ Cursor helpers
425
+ // -----------------------------------------------------------------------------------------------------
426
+ .pointer-events-all {
427
+ pointer-events: all
428
+ }
429
+ .pointer-events-none {
430
+ pointer-events: none
431
+ }
432
+
433
+ // -----------------------------------------------------------------------------------------------------
434
+ // @ Clear Shadows
435
+ // -----------------------------------------------------------------------------------------------------
436
+ .flatten,
437
+ .no-shadow,
438
+ .shadow-none {
439
+ box-shadow: none !important;
440
+ }
441
+
442
+ // -----------------------------------------------------------------------------------------------------
443
+ // @ Enable/Disable
444
+ // -----------------------------------------------------------------------------------------------------
445
+ .disabled {
446
+ transition: opacity 100ms linear;
447
+ opacity: .5;
448
+ pointer-events: none
449
+ }
450
+ .enabled {
451
+ transition: opacity 100ms linear;
452
+ opacity: 1
453
+ }
454
+
455
+
456
+ // -----------------------------------------------------------------------------------------------------
457
+ // @ Hover - Show/Hide
458
+ // -----------------------------------------------------------------------------------------------------
459
+ .on-hover-show:hover {
460
+ opacity: 1;
461
+ }
462
+ .on-hover-hide:hover {
463
+ opacity: 0;
464
+ }
465
+
466
+ // -----------------------------------------------------------------------------------------------------
467
+ // @ Float
468
+ // -----------------------------------------------------------------------------------------------------
469
+ .clearfix::after {
470
+ content: "";
471
+ clear: both;
472
+ display: table;
473
+ }
474
+ .left {
475
+ float: left;
476
+ }
477
+ .right {
478
+ float: right;
479
+ }
480
+ .list,
481
+ .list-style-none {
482
+ list-style: none;
483
+ }
484
+ .list-style-disc,
485
+ .list-style-dot {
486
+ list-style: disc;
487
+ }