@inchurch/matcha-theme 20.0.8 → 20.276.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.
- package/abstracts/_colors.scss +404 -404
- package/abstracts/_elevation.scss +102 -102
- package/abstracts/_functions.scss +1212 -1212
- package/abstracts/_media-breakpoint.scss +23 -23
- package/abstracts/_typography.scss +127 -127
- package/base/_reset.scss +438 -438
- package/components/app-page-header.scss +260 -0
- package/components/matcha-accordion.scss +294 -157
- package/components/matcha-avatar.scss +171 -31
- package/components/matcha-badge.scss +4 -4
- package/components/matcha-breadcrumb.scss +232 -126
- package/components/matcha-button-toggle.scss +44 -0
- package/components/matcha-buttons.scss +908 -784
- package/components/matcha-calendar.scss +70 -2
- package/components/matcha-cards.scss +28 -2
- package/components/matcha-checkbox.scss +191 -490
- package/components/matcha-chip.scss +297 -212
- package/components/matcha-command-palette.scss +291 -63
- package/components/matcha-crop.scss +407 -172
- package/components/matcha-date.scss +81 -81
- package/components/matcha-divider.scss +86 -31
- package/components/matcha-drawer.scss +201 -50
- package/components/matcha-drop-image.scss +14 -0
- package/components/matcha-drop-list.scss +42 -1
- package/components/matcha-empty-state.scss +195 -83
- package/components/matcha-flag.scss +93 -52
- package/components/matcha-footer.scss +68 -164
- package/components/matcha-form-field.scss +52 -0
- package/components/matcha-form-section.scss +101 -101
- package/components/matcha-header.scss +135 -325
- package/components/matcha-highlight.scss +65 -197
- package/components/matcha-hint-text.scss +21 -0
- package/components/matcha-horizontal-tree.scss +317 -317
- package/components/matcha-icon.scss +17 -25
- package/components/matcha-list.scss +5 -5
- package/components/matcha-menu.scss +13 -0
- package/components/matcha-modal.scss +58 -84
- package/components/matcha-nav.scss +361 -230
- package/components/matcha-notification.scss +413 -197
- package/components/matcha-option.scss +79 -23
- package/components/matcha-paginator.scss +689 -235
- package/components/matcha-panel.scss +42 -26
- package/components/matcha-profile-card.scss +50 -50
- package/components/matcha-progress-bar.scss +257 -153
- package/components/matcha-radio.scss +244 -452
- package/components/matcha-scrollbox-shadow.scss +122 -122
- package/components/matcha-select.scss +3 -3
- package/components/matcha-skeleton.scss +18 -0
- package/components/matcha-slide-toggle.scss +47 -2
- package/components/matcha-slider.scss +172 -75
- package/components/matcha-snack-bar.scss +114 -121
- package/components/matcha-spinner.scss +76 -57
- package/components/matcha-status-pill.scss +82 -0
- package/components/matcha-stepper.scss +377 -177
- package/components/matcha-table.scss +569 -785
- package/components/matcha-tabs.scss +624 -469
- package/components/matcha-text-editor.scss +98 -144
- package/components/matcha-toolbar.scss +359 -206
- package/components/matcha-tooltip.scss +156 -62
- package/components/matcha-tree-view.scss +189 -0
- package/components/matcha-uploader.scss +240 -62
- package/fonts/manrope/manrope-latin-ext.woff2 +0 -0
- package/fonts/manrope/manrope-latin.woff2 +0 -0
- package/layout/matcha-page-layout.scss +776 -0
- package/main.scss +232 -261
- package/package.json +1 -1
- package/tokens/_animations-tokens.scss +37 -37
- package/tokens/_breakpoints-tokens.scss +35 -26
- package/tokens/_color-tokens.scss +1152 -1152
- package/tokens/_css-custom-properties.scss +650 -568
- package/tokens/_spacing-tokens.scss +94 -94
- package/vendors/angular-editor.scss +56 -56
- package/vendors/angular-material-fixes.scss +297 -297
- package/vendors/charts.scss +92 -92
- package/vendors/ng5-slider.scss +56 -56
- package/vendors/ngx-material-timepicker.scss +50 -50
- package/fonts/CircularStd-Black.eot +0 -0
- package/fonts/CircularStd-Black.svg +0 -3426
- package/fonts/CircularStd-Black.ttf +0 -0
- package/fonts/CircularStd-Black.woff +0 -0
- package/fonts/CircularStd-Black.woff2 +0 -0
- package/fonts/CircularStd-Bold.eot +0 -0
- package/fonts/CircularStd-Bold.otf +0 -0
- package/fonts/CircularStd-Bold.svg +0 -13532
- package/fonts/CircularStd-Bold.ttf +0 -0
- package/fonts/CircularStd-Bold.woff +0 -0
- package/fonts/CircularStd-Bold.woff2 +0 -0
- package/fonts/CircularStd-Medium.eot +0 -0
- package/fonts/CircularStd-Medium.otf +0 -0
- package/fonts/CircularStd-Medium.svg +0 -13511
- package/fonts/CircularStd-Medium.ttf +0 -0
- package/fonts/CircularStd-Medium.woff +0 -0
- package/fonts/CircularStd-Medium.woff2 +0 -0
- package/fonts/CircularStd-Regular.eot +0 -0
- package/fonts/CircularStd-Regular.otf +0 -0
- package/fonts/CircularStd-Regular.svg +0 -2378
- package/fonts/CircularStd-Regular.ttf +0 -0
- package/fonts/CircularStd-Regular.woff +0 -0
- package/fonts/CircularStd-Regular.woff2 +0 -0
|
@@ -83,8 +83,14 @@
|
|
|
83
83
|
background-color: var(--matcha-color-accent-alpha, #{getAccentAlpha($theme)});
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
// Selected
|
|
87
|
-
&.is-selected
|
|
86
|
+
// Selected single (Figma: outlined accent, NÃO filled — preserva text-primary)
|
|
87
|
+
&.is-selected:not(.is-range-start):not(.is-range-end) {
|
|
88
|
+
background-color: transparent;
|
|
89
|
+
color: var(--matcha-color-text-primary, var(--matcha-color-fg, #{getForeground($theme)}));
|
|
90
|
+
box-shadow: inset 0 0 0 var(--matcha-border-thin, 2px) var(--matcha-color-accent, #{getAccent($theme)});
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
// Range anchors (start/end): filled accent — destaque visual dos pontos do range
|
|
88
94
|
&.is-range-start,
|
|
89
95
|
&.is-range-end {
|
|
90
96
|
background-color: var(--matcha-color-accent, #{getAccent($theme)});
|
|
@@ -152,3 +158,65 @@
|
|
|
152
158
|
}
|
|
153
159
|
}
|
|
154
160
|
}
|
|
161
|
+
|
|
162
|
+
// ── Forced colors (Windows High Contrast) ──
|
|
163
|
+
// Calendar tem muitos estados (selected, today, disabled) — todos precisam
|
|
164
|
+
// distinção visível via system tokens.
|
|
165
|
+
@media (forced-colors: active) {
|
|
166
|
+
matcha-calendar {
|
|
167
|
+
border: 1px solid CanvasText;
|
|
168
|
+
background: Canvas;
|
|
169
|
+
|
|
170
|
+
.matcha-calendar-day-cell {
|
|
171
|
+
border: 1px solid transparent;
|
|
172
|
+
|
|
173
|
+
&.is-selected {
|
|
174
|
+
background: Highlight !important;
|
|
175
|
+
color: HighlightText !important;
|
|
176
|
+
border-color: HighlightText;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
// Today — outlined (não usa Highlight pra não confundir com selected)
|
|
180
|
+
&.is-today:not(.is-selected) {
|
|
181
|
+
border-color: CanvasText !important;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
&.is-disabled,
|
|
185
|
+
&[disabled] {
|
|
186
|
+
color: GrayText !important;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
&:focus-visible {
|
|
190
|
+
outline: 2px solid CanvasText !important;
|
|
191
|
+
outline-offset: -2px;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.matcha-calendar-today-btn:focus-visible {
|
|
196
|
+
outline: 2px solid CanvasText !important;
|
|
197
|
+
}
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
// ── Reduced motion ──
|
|
202
|
+
// Calendar tem transitions em hover/select e nav arrows.
|
|
203
|
+
@media (prefers-reduced-motion: reduce) {
|
|
204
|
+
matcha-calendar {
|
|
205
|
+
*,
|
|
206
|
+
*::before,
|
|
207
|
+
*::after {
|
|
208
|
+
transition: none !important;
|
|
209
|
+
animation: none !important;
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
// ── Print ──
|
|
215
|
+
// Calendar é informacional — mantém visível, sem shadow + break-inside avoid.
|
|
216
|
+
@media print {
|
|
217
|
+
matcha-calendar {
|
|
218
|
+
box-shadow: none !important;
|
|
219
|
+
border: 1px solid currentColor;
|
|
220
|
+
break-inside: avoid;
|
|
221
|
+
}
|
|
222
|
+
}
|
|
@@ -58,8 +58,9 @@
|
|
|
58
58
|
background-color: var(--matcha-color-danger-alpha, #{getDangerAlpha($theme)});
|
|
59
59
|
color: var(--matcha-color-fg, #{getForeground($theme)});
|
|
60
60
|
}
|
|
61
|
+
// Figma DSV3: alpha + color=surface usa surface-bg (#111318), não surface-alpha.
|
|
61
62
|
&[color="surface"] {
|
|
62
|
-
background-color: #{
|
|
63
|
+
background-color: var(--matcha-color-surface-bg, #{getBackground($theme)});
|
|
63
64
|
color: var(--matcha-color-fg, #{getForeground($theme)});
|
|
64
65
|
}
|
|
65
66
|
&[color="bg"] {
|
|
@@ -69,9 +70,12 @@
|
|
|
69
70
|
}
|
|
70
71
|
|
|
71
72
|
// ── Outline modifier ──
|
|
73
|
+
// Figma DSV3: border 1px surface-border (rgba 255,255,255,0.12 dark).
|
|
74
|
+
// Antes era `inset 2px currentColor` — divergia da spec e ficava grosso demais.
|
|
72
75
|
&[outline]:not([outline="false"]) {
|
|
73
76
|
background: transparent;
|
|
74
|
-
|
|
77
|
+
border: var(--matcha-border-hairline, 1px) solid var(--matcha-color-surface-border, rgba(255, 255, 255, 0.12));
|
|
78
|
+
box-shadow: none;
|
|
75
79
|
|
|
76
80
|
&:not([color]) {
|
|
77
81
|
color: var(--matcha-color-fg, #{getForeground($theme)});
|
|
@@ -203,3 +207,25 @@ matcha-card,
|
|
|
203
207
|
}
|
|
204
208
|
}
|
|
205
209
|
}
|
|
210
|
+
|
|
211
|
+
// ── Forced colors (Windows High Contrast) ──
|
|
212
|
+
@media (forced-colors: active) {
|
|
213
|
+
matcha-card,
|
|
214
|
+
.matcha-card,
|
|
215
|
+
.matcha-card-flat {
|
|
216
|
+
border: 1px solid CanvasText !important;
|
|
217
|
+
background: Canvas !important;
|
|
218
|
+
box-shadow: none !important;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
// ── Print ──
|
|
223
|
+
// Cards visíveis (contêm conteúdo), sem shadow + break-inside avoid.
|
|
224
|
+
@media print {
|
|
225
|
+
matcha-card,
|
|
226
|
+
.matcha-card,
|
|
227
|
+
.matcha-card-flat {
|
|
228
|
+
box-shadow: none !important;
|
|
229
|
+
break-inside: avoid;
|
|
230
|
+
}
|
|
231
|
+
}
|