@inchurch/matcha-theme 20.0.11 → 20.277.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 +1186 -1212
- package/abstracts/_media-breakpoint.scss +23 -23
- package/abstracts/_theme-api.scss +230 -0
- package/abstracts/_typography.scss +127 -127
- package/base/_reset.scss +438 -438
- package/components/app-page-header.scss +259 -0
- package/components/matcha-accordion.scss +293 -157
- package/components/matcha-audio-player.scss +1 -2
- package/components/matcha-autocomplete.scss +10 -11
- package/components/matcha-avatar.scss +173 -33
- package/components/matcha-badge.scss +15 -15
- package/components/matcha-breadcrumb.scss +231 -126
- package/components/matcha-button-toggle.scss +46 -2
- package/components/matcha-buttons.scss +908 -784
- package/components/matcha-calendar.scss +99 -35
- package/components/matcha-cards.scss +58 -33
- package/components/matcha-chart-card.scss +5 -12
- package/components/matcha-checkbox.scss +191 -490
- package/components/matcha-chip.scss +297 -212
- package/components/matcha-color-pick.scss +1 -2
- package/components/matcha-command-palette.scss +290 -63
- package/components/matcha-crop.scss +406 -172
- package/components/matcha-date.scss +81 -81
- package/components/matcha-divider.scss +86 -31
- package/components/matcha-draggable.scss +4 -5
- package/components/matcha-drawer.scss +207 -66
- package/components/matcha-drop-image.scss +14 -0
- package/components/matcha-drop-list.scss +87 -47
- package/components/matcha-emoji.scss +2 -2
- package/components/matcha-empty-state.scss +195 -83
- package/components/matcha-file-uploader.scss +462 -0
- package/components/matcha-flag.scss +93 -52
- package/components/matcha-footer.scss +67 -164
- package/components/matcha-form-field.scss +55 -3
- package/components/matcha-form-section.scss +100 -101
- package/components/matcha-header.scss +134 -325
- package/components/matcha-highlight.scss +65 -197
- package/components/matcha-hint-text.scss +25 -4
- package/components/matcha-horizontal-tree.scss +316 -317
- package/components/matcha-icon.scss +37 -45
- package/components/matcha-image.scss +2 -3
- package/components/matcha-list.scss +14 -15
- package/components/matcha-menu.scss +15 -2
- package/components/matcha-modal.scss +59 -86
- package/components/matcha-nav.scss +362 -231
- package/components/matcha-notification.scss +412 -197
- package/components/matcha-option.scss +98 -23
- package/components/matcha-page-builder.scss +16 -16
- package/components/matcha-paginator.scss +688 -235
- package/components/matcha-panel.scss +42 -27
- 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-scrollbar.scss +1 -2
- package/components/matcha-scrollbox-shadow.scss +120 -122
- package/components/matcha-section.scss +5 -9
- package/components/matcha-select-multiple.scss +56 -0
- package/components/matcha-select.scss +10 -10
- package/components/matcha-skeleton.scss +24 -7
- package/components/matcha-slide-toggle.scss +80 -301
- package/components/matcha-slider.scss +174 -77
- package/components/matcha-snack-bar.scss +123 -131
- package/components/matcha-spin.scss +12 -103
- package/components/matcha-spinner.scss +76 -57
- package/components/matcha-status-pill.scss +82 -0
- package/components/matcha-stepper.scss +376 -177
- package/components/matcha-table.scss +568 -785
- package/components/matcha-tabs.scss +622 -469
- package/components/matcha-text-editor.scss +78 -78
- package/components/matcha-time.scss +2 -2
- package/components/matcha-toolbar.scss +359 -206
- package/components/matcha-tooltip.scss +158 -62
- package/components/matcha-tree-view.scss +189 -0
- package/fonts/manrope/manrope-latin-ext.woff2 +0 -0
- package/fonts/manrope/manrope-latin.woff2 +0 -0
- package/layout/matcha-page-layout.scss +4 -4
- package/main.scss +237 -265
- package/package.json +1 -1
- package/tokens/_animations-tokens.scss +37 -37
- package/tokens/_breakpoints-tokens.scss +35 -26
- package/tokens/_color-tokens.scss +1149 -1152
- package/tokens/_css-custom-properties.scss +704 -568
- package/tokens/_primitives.scss +82 -0
- package/tokens/_semantic-aliases.scss +120 -0
- 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/components/matcha-uploader.scss +0 -215
- 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
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@use "sass:map";
|
|
2
2
|
|
|
3
3
|
@mixin matcha-scrollbar-theme($theme) {
|
|
4
|
-
$is-dark: map.get($theme, is-dark);
|
|
5
4
|
|
|
6
5
|
:not(.is-mobile) {
|
|
7
6
|
::-webkit-scrollbar {
|
|
@@ -11,7 +10,7 @@
|
|
|
11
10
|
}
|
|
12
11
|
|
|
13
12
|
::-webkit-scrollbar:hover {
|
|
14
|
-
background-color: var(--matcha-color-surface-hover
|
|
13
|
+
background-color: var(--matcha-color-surface-hover);
|
|
15
14
|
}
|
|
16
15
|
|
|
17
16
|
::-webkit-scrollbar-thumb {
|
|
@@ -1,123 +1,121 @@
|
|
|
1
|
-
@mixin matcha-scrollbox-shadow($theme) {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
.scrollbox,
|
|
6
|
-
.scrollbox-
|
|
7
|
-
.scrollbox-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
linear-gradient(
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
linear-gradient(
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
background-
|
|
19
|
-
background-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
.scrollbox-
|
|
28
|
-
.scrollbox-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
rgba(0, 0, 0, 0
|
|
37
|
-
rgba(0, 0, 0, 0)
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
rgba(0, 0, 0, 0
|
|
43
|
-
rgba(0, 0, 0, 0)
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
rgba(0, 0, 0, 0
|
|
49
|
-
rgba(0, 0, 0, 0)
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
.scrollbox-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
.scrollbox-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
linear-gradient(rgba(
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
background-
|
|
118
|
-
|
|
119
|
-
background-
|
|
120
|
-
|
|
121
|
-
background-attachment: local, local, scroll, scroll;
|
|
122
|
-
}
|
|
1
|
+
@mixin matcha-scrollbox-shadow($theme) {
|
|
2
|
+
|
|
3
|
+
// Drop shadow inside of area when scrolled vertically
|
|
4
|
+
.scrollbox,
|
|
5
|
+
.scrollbox-vertical,
|
|
6
|
+
.scrollbox-v,
|
|
7
|
+
.scrollbox-y {
|
|
8
|
+
overflow: overlay;
|
|
9
|
+
background:
|
|
10
|
+
/* Shadow covers */
|
|
11
|
+
linear-gradient(var(--matcha-color-surface) 30%, rgba(255, 255, 255, 0)),
|
|
12
|
+
linear-gradient(rgba(255, 255, 255, 0), var(--matcha-color-surface) 70%) 0 100%,
|
|
13
|
+
/* Shadows */
|
|
14
|
+
linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%),
|
|
15
|
+
linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%) 0 100%;
|
|
16
|
+
|
|
17
|
+
background-repeat: no-repeat;
|
|
18
|
+
background-color: var(--matcha-color-surface);
|
|
19
|
+
background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
|
|
20
|
+
|
|
21
|
+
/* Opera doesn't support this in the shorthand */
|
|
22
|
+
background-attachment: local, local, scroll, scroll;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
// Drop shadow inside of area when scrolled horizontally
|
|
26
|
+
.scrollbox-horizontal,
|
|
27
|
+
.scrollbox-h,
|
|
28
|
+
.scrollbox-x {
|
|
29
|
+
box-shadow: 0px -16px 0px 0px inset var(--matcha-color-surface), 20px 0 16px -24px inset color-mix(in srgb, var(--matcha-color-fg) 15%, transparent),
|
|
30
|
+
-20px 0 16px -24px inset color-mix(in srgb, var(--matcha-color-fg) 15%, transparent), 0px 2px 2px 0px color-mix(in srgb, var(--matcha-color-fg) 3.5%, transparent), 0px 2px 2px 0px color-mix(in srgb, var(--matcha-color-fg) 3.5%, transparent),
|
|
31
|
+
0px 2px 2px 0px color-mix(in srgb, var(--matcha-color-fg) 3.5%, transparent);
|
|
32
|
+
overflow: auto;
|
|
33
|
+
background: linear-gradient(90deg,
|
|
34
|
+
rgba(0, 0, 0, 0.1),
|
|
35
|
+
rgba(0, 0, 0, 0) calc(0% + 10px),
|
|
36
|
+
rgba(0, 0, 0, 0) calc(100% - 10px),
|
|
37
|
+
rgba(0, 0, 0, 0.1));
|
|
38
|
+
|
|
39
|
+
background: -moz-linear-gradient(90deg,
|
|
40
|
+
rgba(0, 0, 0, 0.1),
|
|
41
|
+
rgba(0, 0, 0, 0) calc(0% + 10px),
|
|
42
|
+
rgba(0, 0, 0, 0) calc(100% - 10px),
|
|
43
|
+
rgba(0, 0, 0, 0.1));
|
|
44
|
+
|
|
45
|
+
background: -webkit-linear-gradient(0deg,
|
|
46
|
+
rgba(0, 0, 0, 0.1),
|
|
47
|
+
rgba(0, 0, 0, 0) calc(0% + 10px),
|
|
48
|
+
rgba(0, 0, 0, 0) calc(100% - 10px),
|
|
49
|
+
rgba(0, 0, 0, 0.1));
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.scrollbox-horizontal-content,
|
|
53
|
+
.scrollbox-h-content,
|
|
54
|
+
.scrollbox-x-content {
|
|
55
|
+
background: var(--matcha-color-surface);
|
|
56
|
+
background: linear-gradient(90deg,
|
|
57
|
+
var(--matcha-color-surface) 10px,
|
|
58
|
+
var(--matcha-color-surface),
|
|
59
|
+
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
60
|
+
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
61
|
+
var(--matcha-color-surface) 10px,
|
|
62
|
+
var(--matcha-color-surface));
|
|
63
|
+
background: -moz-linear-gradient(90deg,
|
|
64
|
+
var(--matcha-color-surface) 10px,
|
|
65
|
+
var(--matcha-color-surface),
|
|
66
|
+
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
67
|
+
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
68
|
+
var(--matcha-color-surface) 10px,
|
|
69
|
+
var(--matcha-color-surface));
|
|
70
|
+
background: -webkit-linear-gradient(0deg,
|
|
71
|
+
var(--matcha-color-surface) 10px,
|
|
72
|
+
var(--matcha-color-surface),
|
|
73
|
+
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
74
|
+
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
75
|
+
var(--matcha-color-surface) 10px,
|
|
76
|
+
var(--matcha-color-surface));
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.scrollbox-horizontal-content-background,
|
|
80
|
+
.scrollbox-h-content-background,
|
|
81
|
+
.scrollbox-x-content-background {
|
|
82
|
+
background: var(--matcha-color-bg);
|
|
83
|
+
background: linear-gradient(90deg,
|
|
84
|
+
var(--matcha-color-bg) 10px,
|
|
85
|
+
var(--matcha-color-bg),
|
|
86
|
+
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
87
|
+
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
88
|
+
var(--matcha-color-bg) 10px,
|
|
89
|
+
var(--matcha-color-bg));
|
|
90
|
+
background: -moz-linear-gradient(90deg,
|
|
91
|
+
var(--matcha-color-bg) 10px,
|
|
92
|
+
var(--matcha-color-bg),
|
|
93
|
+
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
94
|
+
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
95
|
+
var(--matcha-color-bg) 10px,
|
|
96
|
+
var(--matcha-color-bg));
|
|
97
|
+
background: -webkit-linear-gradient(0deg,
|
|
98
|
+
var(--matcha-color-bg) 10px,
|
|
99
|
+
var(--matcha-color-bg),
|
|
100
|
+
rgba(255, 255, 255, 0) calc(0% + 10px),
|
|
101
|
+
rgba(255, 255, 255, 0) calc(100% - 10px),
|
|
102
|
+
var(--matcha-color-bg) 10px,
|
|
103
|
+
var(--matcha-color-bg));
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
.scrollbox-background {
|
|
107
|
+
overflow: overlay;
|
|
108
|
+
background:
|
|
109
|
+
/* Shadow covers */
|
|
110
|
+
linear-gradient(var(--matcha-color-bg) 30%, rgba(255, 255, 255, 0)),
|
|
111
|
+
linear-gradient(rgba(255, 255, 255, 0), var(--matcha-color-bg) 70%) 0 100%,
|
|
112
|
+
/* Shadows */
|
|
113
|
+
linear-gradient(180deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%),
|
|
114
|
+
linear-gradient(0deg, rgba(0, 0, 0, 0.1) 0%, rgba(0, 0, 0, 0) 50%) 0 100%;
|
|
115
|
+
background-repeat: no-repeat;
|
|
116
|
+
background-color: var(--matcha-color-bg);
|
|
117
|
+
background-size: 100% 40px, 100% 40px, 100% 14px, 100% 14px;
|
|
118
|
+
/* Opera doesn't support this in the shorthand */
|
|
119
|
+
background-attachment: local, local, scroll, scroll;
|
|
120
|
+
}
|
|
123
121
|
}
|
|
@@ -8,22 +8,18 @@
|
|
|
8
8
|
// =============================================================================
|
|
9
9
|
|
|
10
10
|
@mixin matcha-section-theme($theme) {
|
|
11
|
-
$is-dark: map.get($theme, is-dark);
|
|
12
|
-
|
|
13
11
|
.matcha-section {
|
|
14
|
-
background: var(--matcha-color-surface
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
border: var(--matcha-border-hairline, 1px) solid rgba(#212121, 0.06); // ok: structural
|
|
18
|
-
}
|
|
12
|
+
background: var(--matcha-color-surface);
|
|
13
|
+
// Borda só-no-dark vira valor por modo (light = 0/transparent, sem mudar layout).
|
|
14
|
+
border: var(--matcha-section-border);
|
|
19
15
|
}
|
|
20
16
|
|
|
21
17
|
.matcha-section__subtitle {
|
|
22
|
-
color: var(--matcha-color-fg
|
|
18
|
+
color: var(--matcha-color-fg);
|
|
23
19
|
}
|
|
24
20
|
|
|
25
21
|
.matcha-section__description {
|
|
26
|
-
color: var(--matcha-color-text-label
|
|
22
|
+
color: var(--matcha-color-text-label);
|
|
27
23
|
}
|
|
28
24
|
}
|
|
29
25
|
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
@mixin matcha-select-multiple-theme($theme) {
|
|
2
|
+
$foreground: map-get($theme, foreground);
|
|
3
|
+
|
|
4
|
+
// O matcha-select-multiple reusa as classes .matcha-select-* do matcha-select
|
|
5
|
+
// (.matcha-select-container, .matcha-select-trigger, .matcha-select-value, etc.),
|
|
6
|
+
// então herda toda a aparência do trigger. Aqui replicamos apenas as regras
|
|
7
|
+
// ligadas ao seletor de elemento, que são específicas por tag.
|
|
8
|
+
matcha-select-multiple {
|
|
9
|
+
width: 100%;
|
|
10
|
+
display: flex;
|
|
11
|
+
align-items: center;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
// Campo de busca dentro do painel (fixo no topo enquanto rola as opções)
|
|
16
|
+
.matcha-select-multiple-search {
|
|
17
|
+
position: sticky;
|
|
18
|
+
top: 0;
|
|
19
|
+
z-index: 1;
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
gap: 8px;
|
|
23
|
+
padding: 8px 12px;
|
|
24
|
+
background: var(--matcha-color-surface);
|
|
25
|
+
border-bottom: 1px solid var(--matcha-color-bg);
|
|
26
|
+
|
|
27
|
+
.matcha-select-multiple-search-input {
|
|
28
|
+
flex: 1;
|
|
29
|
+
border: 0;
|
|
30
|
+
outline: none;
|
|
31
|
+
background: transparent;
|
|
32
|
+
color: map-get($foreground, text);
|
|
33
|
+
font-size: 14px;
|
|
34
|
+
line-height: 20px;
|
|
35
|
+
|
|
36
|
+
&::placeholder {
|
|
37
|
+
color: var(--matcha-color-text-muted);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
// Seção fixa das opções selecionadas (topo do painel, independente da busca)
|
|
43
|
+
.matcha-select-multiple-selected {
|
|
44
|
+
background: var(--matcha-color-surface);
|
|
45
|
+
border-bottom: 1px solid var(--matcha-color-bg);
|
|
46
|
+
|
|
47
|
+
.matcha-select-multiple-selected-header {
|
|
48
|
+
padding: 8px 12px 4px;
|
|
49
|
+
font-size: 11px;
|
|
50
|
+
font-weight: 600;
|
|
51
|
+
text-transform: uppercase;
|
|
52
|
+
letter-spacing: 0.04em;
|
|
53
|
+
color: var(--matcha-color-text-muted);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
@@ -68,7 +68,7 @@
|
|
|
68
68
|
box-sizing: border-box;
|
|
69
69
|
|
|
70
70
|
&:focus-visible:not([disabled]) {
|
|
71
|
-
outline: var(--matcha-state-focus-ring-width, 2px) solid var(--matcha-color-accent
|
|
71
|
+
outline: var(--matcha-state-focus-ring-width, 2px) solid var(--matcha-color-accent);
|
|
72
72
|
outline-offset: var(--matcha-state-focus-ring-offset, 2px);
|
|
73
73
|
}
|
|
74
74
|
}
|
|
@@ -79,10 +79,10 @@
|
|
|
79
79
|
overflow: hidden;
|
|
80
80
|
text-overflow: ellipsis;
|
|
81
81
|
white-space: nowrap;
|
|
82
|
-
color: var(--matcha-color-fg
|
|
82
|
+
color: var(--matcha-color-fg);
|
|
83
83
|
|
|
84
84
|
&.matcha-select-placeholder {
|
|
85
|
-
color: var(--matcha-color-text-placeholder
|
|
85
|
+
color: var(--matcha-color-text-placeholder);
|
|
86
86
|
}
|
|
87
87
|
}
|
|
88
88
|
|
|
@@ -95,7 +95,7 @@
|
|
|
95
95
|
margin: 0;
|
|
96
96
|
border: 0;
|
|
97
97
|
background: transparent;
|
|
98
|
-
color: var(--matcha-color-fg
|
|
98
|
+
color: var(--matcha-color-fg);
|
|
99
99
|
font: inherit;
|
|
100
100
|
font-family: var(--matcha-font-family);
|
|
101
101
|
outline: none;
|
|
@@ -103,11 +103,11 @@
|
|
|
103
103
|
cursor: text;
|
|
104
104
|
|
|
105
105
|
&::placeholder {
|
|
106
|
-
color: var(--matcha-color-text-placeholder
|
|
106
|
+
color: var(--matcha-color-text-placeholder);
|
|
107
107
|
}
|
|
108
108
|
|
|
109
109
|
&:disabled {
|
|
110
|
-
color: var(--matcha-color-disabled-fg
|
|
110
|
+
color: var(--matcha-color-disabled-fg);
|
|
111
111
|
cursor: not-allowed;
|
|
112
112
|
background: transparent;
|
|
113
113
|
}
|
|
@@ -255,7 +255,7 @@
|
|
|
255
255
|
}
|
|
256
256
|
|
|
257
257
|
.matcha-select-value {
|
|
258
|
-
color: var(--matcha-color-disabled-fg
|
|
258
|
+
color: var(--matcha-color-disabled-fg);
|
|
259
259
|
}
|
|
260
260
|
|
|
261
261
|
.matcha-select-arrow {
|
|
@@ -378,7 +378,7 @@
|
|
|
378
378
|
width: 16px;
|
|
379
379
|
height: 16px;
|
|
380
380
|
margin-top: -8px;
|
|
381
|
-
background-color: var(--matcha-color-
|
|
381
|
+
background-color: var(--matcha-color-accent);
|
|
382
382
|
mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>");
|
|
383
383
|
-webkit-mask-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path fill='white' d='M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z'/></svg>");
|
|
384
384
|
mask-size: contain;
|
|
@@ -540,7 +540,7 @@
|
|
|
540
540
|
width: 100%;
|
|
541
541
|
max-height: 90vh;
|
|
542
542
|
min-height: 50vh;
|
|
543
|
-
background: var(--matcha-color-surface-card);
|
|
543
|
+
background: var(--matcha-color-surface-card-strong, var(--matcha-color-surface-card));
|
|
544
544
|
border-top-left-radius: var(--matcha-radius-xl, 16px);
|
|
545
545
|
border-top-right-radius: var(--matcha-radius-xl, 16px);
|
|
546
546
|
box-shadow: 0 -4px 24px rgba(0, 0, 0, 0.18);
|
|
@@ -647,7 +647,7 @@
|
|
|
647
647
|
.matcha-select-sheet-safe-area {
|
|
648
648
|
flex: 0 0 auto;
|
|
649
649
|
height: calc(env(safe-area-inset-bottom, 0px) + var(--matcha-space-150, 12px));
|
|
650
|
-
background: var(--matcha-color-surface-card);
|
|
650
|
+
background: var(--matcha-color-surface-card-strong, var(--matcha-color-surface-card));
|
|
651
651
|
}
|
|
652
652
|
|
|
653
653
|
// Quando sheet-mode tá ativo, esconder a arrow do trigger faz menos sentido —
|
|
@@ -99,26 +99,25 @@
|
|
|
99
99
|
// ── Theme mixin ─────────────────────────────────────────────────────────────
|
|
100
100
|
|
|
101
101
|
@mixin matcha-skeleton-theme($theme) {
|
|
102
|
-
$is-dark: map.get($theme, is-dark);
|
|
103
102
|
|
|
104
103
|
.matcha-skeleton-line,
|
|
105
104
|
.matcha-skeleton-card__avatar,
|
|
106
105
|
.matcha-skeleton-card__image,
|
|
107
106
|
.matcha-skeleton-table__header,
|
|
108
107
|
.matcha-skeleton-table__cell-avatar {
|
|
109
|
-
background: var(--matcha-color-surface-card-alpha
|
|
108
|
+
background: var(--matcha-color-surface-card-alpha);
|
|
110
109
|
}
|
|
111
110
|
|
|
112
111
|
.matcha-skeleton-table__row--alt {
|
|
113
|
-
background: var(--matcha-color-surface-bg-alpha
|
|
112
|
+
background: var(--matcha-color-surface-bg-alpha);
|
|
114
113
|
}
|
|
115
114
|
|
|
116
115
|
.skeleton-animated-background {
|
|
117
116
|
background: linear-gradient(
|
|
118
117
|
to right,
|
|
119
|
-
var(--matcha-color-disabled-bg
|
|
120
|
-
|
|
121
|
-
var(--matcha-color-disabled-bg
|
|
118
|
+
var(--matcha-color-disabled-bg),
|
|
119
|
+
var(--matcha-skeleton-shimmer),
|
|
120
|
+
var(--matcha-color-disabled-bg)
|
|
122
121
|
);
|
|
123
122
|
background-size: 200% 100%;
|
|
124
123
|
animation: matcha-skeleton-shimmer 1s linear infinite;
|
|
@@ -132,7 +131,25 @@
|
|
|
132
131
|
@media (prefers-reduced-motion: reduce) {
|
|
133
132
|
.skeleton-animated-background {
|
|
134
133
|
animation: none;
|
|
135
|
-
background: var(--matcha-color-disabled-bg
|
|
134
|
+
background: var(--matcha-color-disabled-bg);
|
|
136
135
|
}
|
|
137
136
|
}
|
|
138
137
|
}
|
|
138
|
+
|
|
139
|
+
// ── Forced colors ──
|
|
140
|
+
@media (forced-colors: active) {
|
|
141
|
+
.skeleton,
|
|
142
|
+
.skeleton-animated-background {
|
|
143
|
+
background: GrayText !important;
|
|
144
|
+
border: 1px solid CanvasText;
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
// ── Print ──
|
|
149
|
+
// Skeleton é placeholder de loading — não tem motivo de aparecer em papel.
|
|
150
|
+
@media print {
|
|
151
|
+
.skeleton,
|
|
152
|
+
matcha-skeleton {
|
|
153
|
+
display: none !important;
|
|
154
|
+
}
|
|
155
|
+
}
|