@breadstone/mosaik-themes 0.0.206 → 0.0.209
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/CHANGELOG.md +26 -0
- package/_index.scss +0 -12
- package/index.cjs +1457 -696
- package/index.cjs.map +1 -1
- package/index.d.mts +256 -58
- package/index.d.ts +256 -58
- package/index.js +1458 -697
- package/index.js.map +1 -1
- package/package.json +2 -5
- package/tailwind/v3/index.d.ts +0 -6
- package/tailwind/v3/index.d.ts.map +1 -1
- package/tailwind/v3/index.js +1 -7
- package/tailwind/v3/index.js.map +1 -1
- package/tailwind/v3/plugins/cosmopolitanTailwindPlugin.js +272 -12
- package/tailwind/v3/plugins/cosmopolitanTailwindPlugin.js.map +1 -1
- package/tailwind/v3/plugins/joyTailwindPlugin.js +6 -0
- package/tailwind/v3/plugins/joyTailwindPlugin.js.map +1 -1
- package/tailwind/v3/plugins/memphisTailwindPlugin.js +204 -140
- package/tailwind/v3/plugins/memphisTailwindPlugin.js.map +1 -1
- package/tailwind/v3/presets/cosmopolitanTailwindPresets.js +272 -12
- package/tailwind/v3/presets/cosmopolitanTailwindPresets.js.map +1 -1
- package/tailwind/v3/presets/joyTailwindPresets.js +6 -0
- package/tailwind/v3/presets/joyTailwindPresets.js.map +1 -1
- package/tailwind/v3/presets/memphisTailwindPresets.js +204 -140
- package/tailwind/v3/presets/memphisTailwindPresets.js.map +1 -1
- package/tailwind/v4/cosmopolitanTailwindPresets.css +232 -12
- package/tailwind/v4/joyTailwindPresets.css +2 -0
- package/tailwind/v4/memphisTailwindPresets.css +188 -140
- package/themes/___cosmopolitan-tokens.css +264 -20
- package/themes/___joy-tokens.css +2 -0
- package/themes/___memphis-tokens.css +188 -140
- package/themes/cosmopolitan-tokens.scss +264 -20
- package/themes/cosmopolitan.scss +661 -77
- package/themes/joy-tokens.scss +2 -0
- package/themes/joy.scss +341 -53
- package/themes/memphis-tokens.scss +188 -140
- package/themes/memphis.scss +527 -193
- package/tailwind/v3/plugins/bootstrapTailwindPlugin.d.ts +0 -2
- package/tailwind/v3/plugins/bootstrapTailwindPlugin.d.ts.map +0 -1
- package/tailwind/v3/plugins/bootstrapTailwindPlugin.js +0 -112
- package/tailwind/v3/plugins/bootstrapTailwindPlugin.js.map +0 -1
- package/tailwind/v3/plugins/fluentTailwindPlugin.d.ts +0 -2
- package/tailwind/v3/plugins/fluentTailwindPlugin.d.ts.map +0 -1
- package/tailwind/v3/plugins/fluentTailwindPlugin.js +0 -63
- package/tailwind/v3/plugins/fluentTailwindPlugin.js.map +0 -1
- package/tailwind/v3/plugins/materialTailwindPlugin.d.ts +0 -2
- package/tailwind/v3/plugins/materialTailwindPlugin.d.ts.map +0 -1
- package/tailwind/v3/plugins/materialTailwindPlugin.js +0 -53
- package/tailwind/v3/plugins/materialTailwindPlugin.js.map +0 -1
- package/tailwind/v3/presets/bootstrapTailwindPresets.d.ts +0 -2
- package/tailwind/v3/presets/bootstrapTailwindPresets.d.ts.map +0 -1
- package/tailwind/v3/presets/bootstrapTailwindPresets.js +0 -101
- package/tailwind/v3/presets/bootstrapTailwindPresets.js.map +0 -1
- package/tailwind/v3/presets/fluentTailwindPresets.d.ts +0 -2
- package/tailwind/v3/presets/fluentTailwindPresets.d.ts.map +0 -1
- package/tailwind/v3/presets/fluentTailwindPresets.js +0 -52
- package/tailwind/v3/presets/fluentTailwindPresets.js.map +0 -1
- package/tailwind/v3/presets/materialTailwindPresets.d.ts +0 -2
- package/tailwind/v3/presets/materialTailwindPresets.d.ts.map +0 -1
- package/tailwind/v3/presets/materialTailwindPresets.js +0 -42
- package/tailwind/v3/presets/materialTailwindPresets.js.map +0 -1
- package/tailwind/v4/bootstrapTailwindPresets.css +0 -86
- package/tailwind/v4/fluentTailwindPresets.css +0 -39
- package/tailwind/v4/materialTailwindPresets.css +0 -29
- package/themes/___bootstrap-tokens.css +0 -91
- package/themes/___fluent-tokens.css +0 -30
- package/themes/___material-tokens.css +0 -22
- package/themes/bootstrap-tokens.scss +0 -89
- package/themes/bootstrap.scss +0 -163
- package/themes/fluent-tokens.scss +0 -28
- package/themes/fluent.scss +0 -1591
- package/themes/material-tokens.scss +0 -20
- package/themes/material.scss +0 -94
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
$name: "material";
|
|
2
|
-
$font-family: 'Inter', Roboto, Helvetica, sans-serif;
|
|
3
|
-
$layout-radius: 12px;
|
|
4
|
-
$layout-space: 8px;
|
|
5
|
-
$layout-thickness: 2px;
|
|
6
|
-
$color-light-primary: #6200ee;
|
|
7
|
-
$color-light-secondary: #3700b3;
|
|
8
|
-
$color-light-tertiary: #03dac6;
|
|
9
|
-
$elevation-none: none;
|
|
10
|
-
$size-tiny: 2px;
|
|
11
|
-
$size-small: 4px;
|
|
12
|
-
$size-medium: 8px;
|
|
13
|
-
$size-large: 16px;
|
|
14
|
-
$size-giant: 32px;
|
|
15
|
-
$size-key-tiny: "tiny";
|
|
16
|
-
$size-key-small: "small";
|
|
17
|
-
$size-key-medium: "medium";
|
|
18
|
-
$size-key-large: "large";
|
|
19
|
-
$size-key-giant: "giant";
|
|
20
|
-
$size-key: $size-key-tiny $size-key-small $size-key-medium $size-key-large $size-key-giant;
|
package/themes/material.scss
DELETED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
@use 'sass:map';
|
|
2
|
-
@use 'sass:list';
|
|
3
|
-
@use 'sass:meta';
|
|
4
|
-
@mixin _generate-elevation-vars($map, $prefix, $mode) {
|
|
5
|
-
@each $key, $value in $map {
|
|
6
|
-
@if meta.type-of($value) == 'map' {
|
|
7
|
-
@each $level-key, $level-value in $value {
|
|
8
|
-
@each $part, $val in $level-value {
|
|
9
|
-
#{'--#{$prefix}-elevation-#{$mode}-#{$key}-#{$part}-#{$level-key}'}: #{$val};
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
} @else {
|
|
13
|
-
#{'--#{$prefix}-elevation-#{$mode}-#{$key}'}: #{$value};
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
}
|
|
17
|
-
@mixin _generate-elevation-composite($map, $prefix, $mode) {
|
|
18
|
-
@each $key, $value in $map {
|
|
19
|
-
@if meta.type-of($value) == 'map' {
|
|
20
|
-
$layers: ();
|
|
21
|
-
@each $layer-idx, $layer-token in $value {
|
|
22
|
-
$shadow: ();
|
|
23
|
-
@each $part in (offset-x, offset-y, blur, spread, color) {
|
|
24
|
-
$shadow: list.append($shadow, var(--#{$prefix}-elevation-#{$mode}-#{$key}-#{$part}-#{$layer-idx}), $separator: space);
|
|
25
|
-
}
|
|
26
|
-
$layers: list.append($layers, list.join($shadow, (), $separator: space), $separator: comma);
|
|
27
|
-
}
|
|
28
|
-
#{'--#{$prefix}-elevation-#{$mode}-#{$key}'}: #{$layers};
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
}
|
|
32
|
-
@mixin _remap-elevation-vars($map, $prefix, $mode) {
|
|
33
|
-
@each $key, $value in $map {
|
|
34
|
-
@if meta.type-of($value) == 'map' {
|
|
35
|
-
@each $level-key, $level-value in $value {
|
|
36
|
-
@each $part, $val in $level-value {
|
|
37
|
-
#{'--#{$prefix}-elevation-#{$key}-#{$part}-#{$level-key}'}: var(--#{$prefix}-elevation-#{$mode}-#{$key}-#{$part}-#{$level-key});
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
#{'--#{$prefix}-elevation-#{$key}'}: var(--#{$prefix}-elevation-#{$mode}-#{$key});
|
|
41
|
-
} @else {
|
|
42
|
-
#{'--#{$prefix}-elevation-#{$key}'}: var(--#{$prefix}-elevation-#{$mode}-#{$key});
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
@function box-shadow($x: 0px, $y: 0px, $blur: 0px, $spread: 0px, $color: rgba(0, 0, 0, 0.5), $inset: false) {
|
|
47
|
-
$shadow: #{$x} #{$y} #{$blur} #{$spread} #{$color};
|
|
48
|
-
@if $inset {
|
|
49
|
-
$shadow: inset $shadow;
|
|
50
|
-
}
|
|
51
|
-
@return $shadow;
|
|
52
|
-
}
|
|
53
|
-
@function box-shadow-with-color($shadows, $new-color) {
|
|
54
|
-
$output: ();
|
|
55
|
-
@each $shadow in $shadows {
|
|
56
|
-
$parts: ();
|
|
57
|
-
$color: null;
|
|
58
|
-
// break apart the shadow into components
|
|
59
|
-
@each $part in $shadow {
|
|
60
|
-
@if type-of($part) == 'color' {
|
|
61
|
-
$color: $part;
|
|
62
|
-
} @else {
|
|
63
|
-
$parts: append($parts, $part);
|
|
64
|
-
}
|
|
65
|
-
}
|
|
66
|
-
// append the new color in place of the original
|
|
67
|
-
$parts: append($parts, $new-color);
|
|
68
|
-
$output: append($output, $parts, comma);
|
|
69
|
-
}
|
|
70
|
-
@return $output;
|
|
71
|
-
}
|
|
72
|
-
$name: "material";
|
|
73
|
-
$font-family: 'Inter', Roboto, Helvetica, sans-serif;
|
|
74
|
-
$layout-radius: 12px;
|
|
75
|
-
$layout-space: 8px;
|
|
76
|
-
$layout-thickness: 2px;
|
|
77
|
-
$color-light-primary: #6200ee;
|
|
78
|
-
$color-light-secondary: #3700b3;
|
|
79
|
-
$color-light-tertiary: #03dac6;
|
|
80
|
-
$elevation-none: none;
|
|
81
|
-
$size-tiny: 2px;
|
|
82
|
-
$size-small: 4px;
|
|
83
|
-
$size-medium: 8px;
|
|
84
|
-
$size-large: 16px;
|
|
85
|
-
$size-giant: 32px;
|
|
86
|
-
$size-key-tiny: "tiny";
|
|
87
|
-
$size-key-small: "small";
|
|
88
|
-
$size-key-medium: "medium";
|
|
89
|
-
$size-key-large: "large";
|
|
90
|
-
$size-key-giant: "giant";
|
|
91
|
-
$size-key: $size-key-tiny $size-key-small $size-key-medium $size-key-large $size-key-giant;
|
|
92
|
-
@mixin material-style($radius: $layout-radius, $thickness: $layout-thickness, $space: $layout-space) {
|
|
93
|
-
$theme: 'material';
|
|
94
|
-
}
|