@appartmint/mint 1.0.8 → 1.0.10
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/dist/css/mint.css +134 -96
- package/dist/css/mint.css.map +1 -1
- package/dist/css/mint.min.css +1 -1
- package/dist/css/mint.min.css.map +1 -1
- package/package.json +1 -1
- package/src/scss/imports/components/_header.scss +0 -2
- package/src/scss/imports/overrides/_amplify.scss +33 -30
- package/src/scss/imports/overrides/_material.scss +7 -2
- package/src/scss/imports/util/_vars.scss +36 -1
package/package.json
CHANGED
|
@@ -23,7 +23,6 @@
|
|
|
23
23
|
background-color: css-var(header-back);
|
|
24
24
|
z-index: 10000;
|
|
25
25
|
height: css-var(header-height);
|
|
26
|
-
//padding: 0 calc(css-var(header-height) / 2);
|
|
27
26
|
|
|
28
27
|
&#{class(right)} {
|
|
29
28
|
#{id(wrapper)} {
|
|
@@ -429,7 +428,6 @@
|
|
|
429
428
|
border-radius: $header-link-border-radius;
|
|
430
429
|
|
|
431
430
|
@include break(xs) {
|
|
432
|
-
font-size: 4em;
|
|
433
431
|
padding: 1rem 1.5rem;
|
|
434
432
|
|
|
435
433
|
i {
|
|
@@ -6,40 +6,43 @@
|
|
|
6
6
|
|
|
7
7
|
/// Imports
|
|
8
8
|
@use '../util' as *;
|
|
9
|
+
@use '../components/buttons';
|
|
10
|
+
@use '../components/cards';
|
|
9
11
|
|
|
10
12
|
/// Amplify Styles
|
|
11
|
-
:root:root
|
|
12
|
-
--amplify-colors-background-error
|
|
13
|
-
--amplify-colors-border-primary
|
|
14
|
-
--amplify-colors-border-focus
|
|
15
|
-
--amplify-colors-font-hover
|
|
16
|
-
--amplify-colors-font-interactive
|
|
17
|
-
--amplify-colors-font-primary
|
|
18
|
-
--amplify-
|
|
19
|
-
--amplify-colors-font-
|
|
20
|
-
--amplify-colors-font-
|
|
21
|
-
--amplify-colors-font-
|
|
22
|
-
--amplify-colors-font-
|
|
13
|
+
:root:root {
|
|
14
|
+
@include css-var-ref(--amplify-colors-background-error, $amp-background-error);
|
|
15
|
+
@include css-var-ref(--amplify-colors-border-primary, $amp-border-primary);
|
|
16
|
+
@include css-var-ref(--amplify-colors-border-focus, $amp-border-focus);
|
|
17
|
+
@include css-var-ref(--amplify-colors-font-hover, $amp-font-hover);
|
|
18
|
+
@include css-var-ref(--amplify-colors-font-interactive, $amp-font-interactive);
|
|
19
|
+
@include css-var-ref(--amplify-colors-font-primary, $amp-font-primary);
|
|
20
|
+
@include css-var-ref(--amplify-components-fieldcontrol-color, --amplify-colors-font-primary);
|
|
21
|
+
@include css-var-ref(--amplify-colors-font-secondary, $amp-font-secondary);
|
|
22
|
+
@include css-var-ref(--amplify-colors-font-error, $amp-font-error);
|
|
23
|
+
@include css-var-ref(--amplify-colors-font-warning, $amp-font-warning);
|
|
24
|
+
@include css-var-ref(--amplify-colors-font-success, $amp-font-success);
|
|
25
|
+
@include css-var-ref(--amplify-colors-font-info, $amp-font-info);
|
|
23
26
|
|
|
24
|
-
--amplify-border-widths-small
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
[data-amplify-authenticator] {
|
|
28
|
-
[data-amplify-container] {
|
|
29
|
-
@extend .mint-card !optional;
|
|
27
|
+
@include css-var(--amplify-border-widths-small, $amp-border-width);
|
|
30
28
|
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
29
|
+
[data-amplify-authenticator] {
|
|
30
|
+
[data-amplify-container] {
|
|
31
|
+
@extend #{class(card)};
|
|
32
|
+
|
|
33
|
+
[data-amplify-router] {
|
|
34
|
+
@extend #{class(content)};
|
|
35
|
+
border: none;
|
|
36
|
+
}
|
|
34
37
|
}
|
|
35
38
|
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
39
|
+
|
|
40
|
+
[amplify-button] {
|
|
41
|
+
@extend #{class(btn)};
|
|
42
|
+
margin: auto;
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.amplify-icon {
|
|
46
|
+
display: block;
|
|
47
|
+
}
|
|
45
48
|
}
|
|
@@ -9,11 +9,16 @@
|
|
|
9
9
|
|
|
10
10
|
/// Material Styles
|
|
11
11
|
:root:root {
|
|
12
|
-
@include css-var(--mat-table-background-color,
|
|
12
|
+
@include css-var(--mat-table-background-color, $mat-table-bg);
|
|
13
|
+
@include css-var(--mat-paginator-container-background-color, $mat-table-bg);
|
|
14
|
+
@include css-var(--mat-table-row-item-label-text-color, $mat-table-fore);
|
|
15
|
+
@include css-var(--mat-table-header-headline-color, $mat-table-fore);
|
|
16
|
+
@include css-var(--mat-table-header-subheadline-color, $mat-table-fore);
|
|
17
|
+
@include css-var(--mat-paginator-container-text-color, $mat-table-fore);
|
|
13
18
|
}
|
|
14
19
|
|
|
15
20
|
.cdk-overlay-container {
|
|
16
21
|
.mat-mdc-select-panel {
|
|
17
|
-
background: css-var(
|
|
22
|
+
background: css-var($mat-select-bg);
|
|
18
23
|
}
|
|
19
24
|
}
|
|
@@ -175,12 +175,24 @@ $texture-border-repeat: round !default;
|
|
|
175
175
|
/// Backgrounds
|
|
176
176
|
$back-bg-blur: 0.15vw !default;
|
|
177
177
|
|
|
178
|
+
/// Material
|
|
179
|
+
$mat-table-bg: back !default;
|
|
180
|
+
$mat-table-fore: fore !default;
|
|
181
|
+
$mat-select-bg: brand-4 !default;
|
|
182
|
+
|
|
183
|
+
/// Amplify
|
|
184
|
+
$amp-font-primary: fore !default;
|
|
185
|
+
$amp-background-error: glow-0 !default;
|
|
186
|
+
$amp-font-warning: warning !default;
|
|
187
|
+
$amp-font-success: success !default;
|
|
188
|
+
$amp-font-info: info !default;
|
|
189
|
+
$amp-border-width: $border-width !default;
|
|
190
|
+
|
|
178
191
|
|
|
179
192
|
/// Themes
|
|
180
193
|
$theme-default: light !default;
|
|
181
194
|
|
|
182
195
|
/// Default Theme (light)
|
|
183
|
-
|
|
184
196
|
/// Buttons
|
|
185
197
|
$btn-back-default: brand-2;
|
|
186
198
|
$btn-back: $btn-back-default !default;
|
|
@@ -208,6 +220,21 @@ $header-link-fore-hover: $header-link-fore-hover-default !default;
|
|
|
208
220
|
$footer-heel-fore-default: back;
|
|
209
221
|
$footer-heel-fore: $footer-heel-fore-default !default;
|
|
210
222
|
|
|
223
|
+
/// Amplify
|
|
224
|
+
$amp-border-primary-default: brand-5;
|
|
225
|
+
$amp-border-primary: $amp-border-primary-default !default;
|
|
226
|
+
$amp-border-focus-default: brand-4;
|
|
227
|
+
$amp-border-focus: $amp-border-focus-default !default;
|
|
228
|
+
$amp-font-hover-default: brand-3;
|
|
229
|
+
$amp-font-hover: $amp-font-hover-default !default;
|
|
230
|
+
$amp-font-interactive-default: brand-5;
|
|
231
|
+
$amp-font-interactive: $amp-font-interactive-default !default;
|
|
232
|
+
$amp-font-secondary-default: brand-6;
|
|
233
|
+
$amp-font-secondary: $amp-font-secondary-default !default;
|
|
234
|
+
$amp-font-error-default: danger-5 !default;
|
|
235
|
+
$amp-font-error: $amp-font-error-default !default;
|
|
236
|
+
|
|
237
|
+
|
|
211
238
|
/// Dark Theme
|
|
212
239
|
@if ($theme-default == dark) {
|
|
213
240
|
|
|
@@ -222,4 +249,12 @@ $footer-heel-fore: $footer-heel-fore-default !default;
|
|
|
222
249
|
|
|
223
250
|
/// Footer
|
|
224
251
|
$footer-heel-fore: if($footer-heel-fore != $footer-heel-fore-default, $footer-heel-fore, fore);
|
|
252
|
+
|
|
253
|
+
/// Amplify
|
|
254
|
+
$amp-border-primary: if($amp-border-primary != $amp-border-primary-default, $amp-border-primary, brand-1);
|
|
255
|
+
$amp-border-focus: if($amp-border-focus != $amp-border-focus-default, $amp-border-focus, brand-3);
|
|
256
|
+
$amp-font-hover: if($amp-font-hover != $amp-font-hover-default, $amp-font-hover, brand-0);
|
|
257
|
+
$amp-font-interactive: if($amp-font-interactive != $amp-font-interactive-default, $amp-font-interactive, brand-1);
|
|
258
|
+
$amp-font-secondary: if($amp-font-secondary != $amp-font-secondary-default, $amp-font-secondary, brand-0);
|
|
259
|
+
$amp-font-error: if($amp-font-error != $amp-font-error-default, $amp-font-error, danger-4);
|
|
225
260
|
}
|