@appartmint/mint 1.0.7 → 1.0.8
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 +97 -0
- 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/_index.scss +4 -2
- package/src/scss/imports/components/_index.scss +7 -0
- package/src/scss/imports/overrides/_amplify.scss +45 -0
- package/src/scss/imports/overrides/_full-calendar.scss +46 -0
- package/src/scss/imports/overrides/_index.scss +11 -0
- package/src/scss/imports/overrides/_material.scss +19 -0
- package/src/scss/imports/overrides/_swiper.scss +55 -0
- package/src/scss/imports/util/_index.scss +4 -3
- package/src/scss/imports/util/_util.scss +18 -2
package/package.json
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
/// _index.scss -
|
|
1
|
+
/// _index.scss - Forward all overrides
|
|
2
2
|
/// @author App Art Mint LLC
|
|
3
3
|
///
|
|
4
|
-
/// @group
|
|
4
|
+
/// @group Index
|
|
5
|
+
@charset 'utf-8';
|
|
5
6
|
|
|
6
7
|
/// Imports
|
|
7
8
|
@use './components';
|
|
8
9
|
@use './global';
|
|
10
|
+
@use './overrides';
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/// _amplify.scss - Amplify styles
|
|
2
|
+
/// @author App Art Mint LLC
|
|
3
|
+
///
|
|
4
|
+
/// @group Overrides
|
|
5
|
+
@charset 'utf-8';
|
|
6
|
+
|
|
7
|
+
/// Imports
|
|
8
|
+
@use '../util' as *;
|
|
9
|
+
|
|
10
|
+
/// Amplify Styles
|
|
11
|
+
:root:root:root {
|
|
12
|
+
--amplify-colors-background-error: #{css-var(glow-0)};
|
|
13
|
+
--amplify-colors-border-primary: #{css-var(brand-1)};
|
|
14
|
+
--amplify-colors-border-focus: #{css-var(brand-3)};
|
|
15
|
+
--amplify-colors-font-hover: #{css-var(brand-0)};
|
|
16
|
+
--amplify-colors-font-interactive: #{css-var(brand-1)};
|
|
17
|
+
--amplify-colors-font-primary: #{css-var('white')};
|
|
18
|
+
--amplify-colors-font-secondary: #{css-var(brand-0)};
|
|
19
|
+
--amplify-colors-font-error: #{css-var(danger)};
|
|
20
|
+
--amplify-colors-font-warning: #{css-var(warning)};
|
|
21
|
+
--amplify-colors-font-success: #{css-var(success)};
|
|
22
|
+
--amplify-colors-font-info: #{css-var(info)};
|
|
23
|
+
|
|
24
|
+
--amplify-border-widths-small: $border-width;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
[data-amplify-authenticator] {
|
|
28
|
+
[data-amplify-container] {
|
|
29
|
+
@extend .mint-card !optional;
|
|
30
|
+
|
|
31
|
+
[data-amplify-router] {
|
|
32
|
+
@extend .mint-content !optional;
|
|
33
|
+
border: none;
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
[amplify-button] {
|
|
39
|
+
@extend .mint-btn !optional;
|
|
40
|
+
margin: auto;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.amplify-icon {
|
|
44
|
+
display: block;
|
|
45
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
/// _amplify.scss - Amplify styles
|
|
2
|
+
/// @author App Art Mint LLC
|
|
3
|
+
///
|
|
4
|
+
/// @group Overrides
|
|
5
|
+
@charset 'utf-8';
|
|
6
|
+
|
|
7
|
+
/// Imports
|
|
8
|
+
@use '../util' as *;
|
|
9
|
+
|
|
10
|
+
/// FullCalendar Styles
|
|
11
|
+
.fc {
|
|
12
|
+
--fc-page-bg-color: #{css-var(brand-6)};
|
|
13
|
+
.fc-toolbar {
|
|
14
|
+
flex-wrap: wrap;
|
|
15
|
+
justify-content: space-around;
|
|
16
|
+
gap: 1rem;
|
|
17
|
+
|
|
18
|
+
&-title {
|
|
19
|
+
@include break-max(sm) {
|
|
20
|
+
font-size: 1.25rem;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
.fc-timegrid {
|
|
25
|
+
&-divider {
|
|
26
|
+
padding: 0;
|
|
27
|
+
}
|
|
28
|
+
&-slot-minor {
|
|
29
|
+
border-top-style: groove;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
.fc-list-table {
|
|
33
|
+
--fc-list-event-hover-bg-color: #{css-var(brand-4)};
|
|
34
|
+
|
|
35
|
+
@include break-max(sm) {
|
|
36
|
+
word-break: normal;
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
.fc-list-event-time {
|
|
40
|
+
@include break-max(xs) {
|
|
41
|
+
white-space: normal;
|
|
42
|
+
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// _material.scss - Material styles
|
|
2
|
+
/// @author App Art Mint LLC
|
|
3
|
+
///
|
|
4
|
+
/// @group Overrides
|
|
5
|
+
@charset 'utf-8';
|
|
6
|
+
|
|
7
|
+
/// Imports
|
|
8
|
+
@use '../util' as *;
|
|
9
|
+
|
|
10
|
+
/// Material Styles
|
|
11
|
+
:root:root {
|
|
12
|
+
@include css-var(--mat-table-background-color, transparent);
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.cdk-overlay-container {
|
|
16
|
+
.mat-mdc-select-panel {
|
|
17
|
+
background: css-var(brand-4)
|
|
18
|
+
}
|
|
19
|
+
}
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/// _swiper.scss - Swiper styles
|
|
2
|
+
/// @author App Art Mint LLC
|
|
3
|
+
///
|
|
4
|
+
/// @group Overrides
|
|
5
|
+
@charset 'utf-8';
|
|
6
|
+
|
|
7
|
+
/// Imports
|
|
8
|
+
@use '../util' as *;
|
|
9
|
+
|
|
10
|
+
/// Variables
|
|
11
|
+
$arrows-offset: 1rem;
|
|
12
|
+
$arrows-size: 2rem;
|
|
13
|
+
|
|
14
|
+
/// Swiper Styles
|
|
15
|
+
:root {
|
|
16
|
+
@include css-var-ref(--swiper-navigation-color, fore);
|
|
17
|
+
@include css-var-ref(--swiper-pagination-color, brand);
|
|
18
|
+
@include css-var(--swiper-navigation-size, $arrows-size);
|
|
19
|
+
|
|
20
|
+
.swiper {
|
|
21
|
+
max-width: 100%;
|
|
22
|
+
|
|
23
|
+
@include break(xs) {
|
|
24
|
+
@include css-var(--swiper-navigation-sides-offset, $arrows-offset);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&-slide {
|
|
28
|
+
@include break(xs) {
|
|
29
|
+
padding: $arrows-offset + $arrows-size;
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&-button {
|
|
34
|
+
&-prev,
|
|
35
|
+
&-next {
|
|
36
|
+
&::after {
|
|
37
|
+
font-family: "Font Awesome 6 Pro";
|
|
38
|
+
font-weight: 900;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
&-prev {
|
|
43
|
+
&::after {
|
|
44
|
+
content: '\f053';
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
&-next {
|
|
49
|
+
&::after {
|
|
50
|
+
content: '\f054';
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
@@ -200,7 +200,11 @@ $bootstrap5: false !default;
|
|
|
200
200
|
@error 'The css-var function requires a string value.';
|
|
201
201
|
}
|
|
202
202
|
|
|
203
|
-
@
|
|
203
|
+
@if (string.index($base, '--') != 1) {
|
|
204
|
+
$base: css-prefix($base);
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
@return var(#{$base});
|
|
204
208
|
}
|
|
205
209
|
|
|
206
210
|
/// Negates a provided CSS-selector
|
|
@@ -454,7 +458,15 @@ $bootstrap5: false !default;
|
|
|
454
458
|
/// @param {Any} $val - the value of the CSS var
|
|
455
459
|
/// @output a prefixed CSS var definition
|
|
456
460
|
@mixin css-var ($key, $val) {
|
|
457
|
-
|
|
461
|
+
@if (type-of($key) != 'string') {
|
|
462
|
+
@error 'The css-var mixin requires a string for the $key argument.';
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
@if (string.index($key, '--') != 1) {
|
|
466
|
+
$key: css-prefix($key);
|
|
467
|
+
}
|
|
468
|
+
|
|
469
|
+
#{$key}: #{$val};
|
|
458
470
|
}
|
|
459
471
|
|
|
460
472
|
/// Creates a prefixed CSS var reference
|
|
@@ -467,6 +479,10 @@ $bootstrap5: false !default;
|
|
|
467
479
|
/// @param {String} $key2 - the key of the referenced CSS var
|
|
468
480
|
/// @output a prefixed CSS var reference
|
|
469
481
|
@mixin css-var-ref ($key1, $key2) {
|
|
482
|
+
@if (type-of($key1) != 'string' or type-of($key2) != 'string') {
|
|
483
|
+
@error 'The css-var-ref mixin requires string values for both parameters.';
|
|
484
|
+
}
|
|
485
|
+
|
|
470
486
|
@include css-var($key1, css-var($key2));
|
|
471
487
|
}
|
|
472
488
|
|