@breadstone/mosaik-themes 0.0.31 → 0.0.33
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/Themes/bootstrap.scss +0 -15
- package/Themes/cosmopolitan.scss +4073 -4303
- package/Themes/fluent.scss +33 -100
- package/Themes/joy.scss +3956 -4196
- package/Themes/material.scss +0 -15
- package/Themes/retro.scss +3695 -3926
- package/Theming/Utils/CssLength.d.ts +22 -2
- package/Theming/Utils/CssLength.d.ts.map +1 -1
- package/Theming/Utils/CssLength.js +37 -4
- package/Theming/Utils/CssLength.js.map +1 -1
- package/_index.scss +24 -0
- package/package.json +10 -2
package/Themes/bootstrap.scss
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
@use 'sass:map';
|
|
2
2
|
@use 'sass:list';
|
|
3
3
|
@use 'sass:meta';
|
|
4
|
-
|
|
5
4
|
@mixin _generate-elevation-vars($map, $prefix, $mode) {
|
|
6
5
|
@each $key, $value in $map {
|
|
7
6
|
@if meta.type-of($value) == 'map' {
|
|
@@ -15,7 +14,6 @@
|
|
|
15
14
|
}
|
|
16
15
|
}
|
|
17
16
|
}
|
|
18
|
-
|
|
19
17
|
@mixin _generate-elevation-composite($map, $prefix, $mode) {
|
|
20
18
|
@each $key, $value in $map {
|
|
21
19
|
@if meta.type-of($value) == 'map' {
|
|
@@ -31,7 +29,6 @@
|
|
|
31
29
|
}
|
|
32
30
|
}
|
|
33
31
|
}
|
|
34
|
-
|
|
35
32
|
@mixin _remap-elevation-vars($map, $prefix, $mode) {
|
|
36
33
|
@each $key, $value in $map {
|
|
37
34
|
@if meta.type-of($value) == 'map' {
|
|
@@ -46,24 +43,18 @@
|
|
|
46
43
|
}
|
|
47
44
|
}
|
|
48
45
|
}
|
|
49
|
-
|
|
50
46
|
@function box-shadow($x: 0px, $y: 0px, $blur: 0px, $spread: 0px, $color: rgba(0, 0, 0, 0.5), $inset: false) {
|
|
51
47
|
$shadow: #{$x} #{$y} #{$blur} #{$spread} #{$color};
|
|
52
|
-
|
|
53
48
|
@if $inset {
|
|
54
49
|
$shadow: inset $shadow;
|
|
55
50
|
}
|
|
56
|
-
|
|
57
51
|
@return $shadow;
|
|
58
52
|
}
|
|
59
|
-
|
|
60
53
|
@function box-shadow-with-color($shadows, $new-color) {
|
|
61
54
|
$output: ();
|
|
62
|
-
|
|
63
55
|
@each $shadow in $shadows {
|
|
64
56
|
$parts: ();
|
|
65
57
|
$color: null;
|
|
66
|
-
|
|
67
58
|
// break apart the shadow into components
|
|
68
59
|
@each $part in $shadow {
|
|
69
60
|
@if type-of($part) == 'color' {
|
|
@@ -72,15 +63,12 @@
|
|
|
72
63
|
$parts: append($parts, $part);
|
|
73
64
|
}
|
|
74
65
|
}
|
|
75
|
-
|
|
76
66
|
// append the new color in place of the original
|
|
77
67
|
$parts: append($parts, $new-color);
|
|
78
68
|
$output: append($output, $parts, comma);
|
|
79
69
|
}
|
|
80
|
-
|
|
81
70
|
@return $output;
|
|
82
71
|
}
|
|
83
|
-
|
|
84
72
|
$name: "bootstrap";
|
|
85
73
|
$font-family: 'Inter', Roboto, Helvetica, sans-serif;
|
|
86
74
|
$layout-radius: 12px;
|
|
@@ -159,9 +147,6 @@ $typography-headline6-letter-spacing: 0;
|
|
|
159
147
|
$typography-headline6-text-decoration: none;
|
|
160
148
|
$typography-headline6-text-transform: none;
|
|
161
149
|
$elevation-none: none;
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
150
|
@mixin bootstrap-style($radius: $layout-radius, $thickness: $layout-thickness, $space: $layout-space) {
|
|
166
151
|
$theme: 'bootstrap';
|
|
167
152
|
}
|