matcha-theme 1.0.24 → 1.0.25
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
CHANGED
|
@@ -377,6 +377,19 @@ $index: 0;
|
|
|
377
377
|
#{$attribute}: map-get($warn, default) !important;
|
|
378
378
|
}
|
|
379
379
|
}
|
|
380
|
+
|
|
381
|
+
@if ($attribute == "color") {
|
|
382
|
+
.primary {
|
|
383
|
+
#{$attribute}: map-get($primary, default-contrast) !important;
|
|
384
|
+
}
|
|
385
|
+
.accent {
|
|
386
|
+
#{$attribute}: map-get($accent, default-contrast) !important;
|
|
387
|
+
}
|
|
388
|
+
.warn {
|
|
389
|
+
#{$attribute}: map-get($warn, default-contrast) !important;
|
|
390
|
+
}
|
|
391
|
+
}
|
|
392
|
+
|
|
380
393
|
.#{$attribute}-primary {
|
|
381
394
|
#{$attribute}: map-get($primary, default) !important;
|
|
382
395
|
&-alpha {
|
|
@@ -172,7 +172,7 @@
|
|
|
172
172
|
// Note: The spec doesn't mention letter spacing. The values here come from
|
|
173
173
|
// eyeballing it until it looked exactly like the spec examples.
|
|
174
174
|
@function matcha-typography-config(
|
|
175
|
-
$font-family: '
|
|
175
|
+
$font-family: 'CircularStd, "Helvetica Neue", "Arial", sans-serif, "angular";',
|
|
176
176
|
$display-4: matcha-typography-level(112px, 112px, 300, $letter-spacing: -0.05em),
|
|
177
177
|
$display-3: matcha-typography-level(56px, 56px, 400, $letter-spacing: -0.02em),
|
|
178
178
|
$display-2: matcha-typography-level(45px, 48px, 400, $letter-spacing: -0.005em),
|
|
@@ -13,39 +13,41 @@
|
|
|
13
13
|
transition: all 50ms linear;
|
|
14
14
|
overflow: hidden;
|
|
15
15
|
position: relative;
|
|
16
|
+
font-size: 16px;
|
|
17
|
+
font-weight: 700;
|
|
16
18
|
&-xs {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
19
|
+
padding: 0 px-to-rem(32px);
|
|
20
|
+
border-radius: px-to-rem(8px);
|
|
21
|
+
line-height: px-to-rem(32px);
|
|
22
|
+
max-height: px-to-rem(32px);
|
|
21
23
|
}
|
|
22
24
|
|
|
23
25
|
&-sm {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
26
|
+
padding: 0 px-to-rem(32px);
|
|
27
|
+
border-radius: px-to-rem(8px);
|
|
28
|
+
line-height: px-to-rem(40px);
|
|
29
|
+
max-height: px-to-rem(40px);
|
|
28
30
|
}
|
|
29
31
|
|
|
30
32
|
&-md {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
33
|
+
padding: 0 px-to-rem(32px);
|
|
34
|
+
border-radius: px-to-rem(8px);
|
|
35
|
+
line-height: px-to-rem(48px);
|
|
36
|
+
max-height: px-to-rem(48px);
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
&-lg {
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
padding: 0 px-to-rem(32px);
|
|
41
|
+
border-radius: px-to-rem(8px);
|
|
42
|
+
line-height: px-to-rem(56px);
|
|
43
|
+
max-height: px-to-rem(56px);
|
|
42
44
|
}
|
|
43
45
|
|
|
44
46
|
&-xl {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
padding: 0 px-to-rem(32px);
|
|
48
|
+
border-radius: px-to-rem(8px);
|
|
49
|
+
line-height: px-to-rem(56px);
|
|
50
|
+
max-height: px-to-rem(56px);
|
|
49
51
|
}
|
|
50
52
|
|
|
51
53
|
&-main {
|
|
@@ -59,7 +61,7 @@
|
|
|
59
61
|
&-md,
|
|
60
62
|
&-lg,
|
|
61
63
|
&-xl {
|
|
62
|
-
min-width:
|
|
64
|
+
min-width: 24px;
|
|
63
65
|
|
|
64
66
|
&.stroked {
|
|
65
67
|
box-shadow: 0px 0px 0px 2px inset;
|
|
@@ -107,6 +109,15 @@
|
|
|
107
109
|
text-decoration: underline;
|
|
108
110
|
padding: 0;
|
|
109
111
|
}
|
|
112
|
+
|
|
113
|
+
&-icon {
|
|
114
|
+
aspect-ratio: 1;
|
|
115
|
+
padding: 0 !important;
|
|
116
|
+
display: flex;
|
|
117
|
+
align-items: center;
|
|
118
|
+
justify-content: center;
|
|
119
|
+
}
|
|
120
|
+
|
|
110
121
|
.ripple {
|
|
111
122
|
position: absolute;
|
|
112
123
|
background: rgba(0,0,0,.15);
|