@breadstone/mosaik-themes 0.0.205 → 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.
Files changed (80) hide show
  1. package/CHANGELOG.md +143 -0
  2. package/_index.scss +0 -12
  3. package/index.cjs +1457 -696
  4. package/index.cjs.map +1 -1
  5. package/index.d.mts +256 -58
  6. package/index.d.ts +256 -58
  7. package/index.js +1458 -697
  8. package/index.js.map +1 -1
  9. package/package.json +6 -3
  10. package/tailwind/v3/index.d.ts +0 -6
  11. package/tailwind/v3/index.d.ts.map +1 -1
  12. package/tailwind/v3/index.js +1 -7
  13. package/tailwind/v3/index.js.map +1 -1
  14. package/tailwind/v3/plugins/cosmopolitanTailwindPlugin.js +272 -12
  15. package/tailwind/v3/plugins/cosmopolitanTailwindPlugin.js.map +1 -1
  16. package/tailwind/v3/plugins/joyTailwindPlugin.js +6 -0
  17. package/tailwind/v3/plugins/joyTailwindPlugin.js.map +1 -1
  18. package/tailwind/v3/plugins/memphisTailwindPlugin.js +204 -140
  19. package/tailwind/v3/plugins/memphisTailwindPlugin.js.map +1 -1
  20. package/tailwind/v3/presets/cosmopolitanTailwindPresets.js +272 -12
  21. package/tailwind/v3/presets/cosmopolitanTailwindPresets.js.map +1 -1
  22. package/tailwind/v3/presets/joyTailwindPresets.js +6 -0
  23. package/tailwind/v3/presets/joyTailwindPresets.js.map +1 -1
  24. package/tailwind/v3/presets/memphisTailwindPresets.js +204 -140
  25. package/tailwind/v3/presets/memphisTailwindPresets.js.map +1 -1
  26. package/tailwind/v4/cosmopolitanTailwindPresets.css +305 -0
  27. package/tailwind/v4/joyTailwindPresets.css +321 -0
  28. package/tailwind/v4/memphisTailwindPresets.css +322 -0
  29. package/themes/___cosmopolitan-tokens.css +264 -20
  30. package/themes/___joy-tokens.css +2 -0
  31. package/themes/___memphis-tokens.css +188 -140
  32. package/themes/cosmopolitan-tokens.scss +264 -20
  33. package/themes/cosmopolitan.scss +661 -77
  34. package/themes/joy-tokens.scss +2 -0
  35. package/themes/joy.scss +341 -53
  36. package/themes/memphis-tokens.scss +188 -140
  37. package/themes/memphis.scss +527 -193
  38. package/index.node.cjs +0 -2710
  39. package/index.node.cjs.map +0 -1
  40. package/index.node.d.mts +0 -468
  41. package/index.node.d.ts +0 -468
  42. package/index.node.js +0 -2695
  43. package/index.node.js.map +0 -1
  44. package/tailwind/v3/plugins/base/c.d.ts +0 -44
  45. package/tailwind/v3/plugins/base/c.d.ts.map +0 -1
  46. package/tailwind/v3/plugins/base/c.js +0 -155
  47. package/tailwind/v3/plugins/base/c.js.map +0 -1
  48. package/tailwind/v3/plugins/bootstrapTailwindPlugin.d.ts +0 -2
  49. package/tailwind/v3/plugins/bootstrapTailwindPlugin.d.ts.map +0 -1
  50. package/tailwind/v3/plugins/bootstrapTailwindPlugin.js +0 -112
  51. package/tailwind/v3/plugins/bootstrapTailwindPlugin.js.map +0 -1
  52. package/tailwind/v3/plugins/fluentTailwindPlugin.d.ts +0 -2
  53. package/tailwind/v3/plugins/fluentTailwindPlugin.d.ts.map +0 -1
  54. package/tailwind/v3/plugins/fluentTailwindPlugin.js +0 -63
  55. package/tailwind/v3/plugins/fluentTailwindPlugin.js.map +0 -1
  56. package/tailwind/v3/plugins/materialTailwindPlugin.d.ts +0 -2
  57. package/tailwind/v3/plugins/materialTailwindPlugin.d.ts.map +0 -1
  58. package/tailwind/v3/plugins/materialTailwindPlugin.js +0 -53
  59. package/tailwind/v3/plugins/materialTailwindPlugin.js.map +0 -1
  60. package/tailwind/v3/presets/bootstrapTailwindPresets.d.ts +0 -2
  61. package/tailwind/v3/presets/bootstrapTailwindPresets.d.ts.map +0 -1
  62. package/tailwind/v3/presets/bootstrapTailwindPresets.js +0 -101
  63. package/tailwind/v3/presets/bootstrapTailwindPresets.js.map +0 -1
  64. package/tailwind/v3/presets/fluentTailwindPresets.d.ts +0 -2
  65. package/tailwind/v3/presets/fluentTailwindPresets.d.ts.map +0 -1
  66. package/tailwind/v3/presets/fluentTailwindPresets.js +0 -52
  67. package/tailwind/v3/presets/fluentTailwindPresets.js.map +0 -1
  68. package/tailwind/v3/presets/materialTailwindPresets.d.ts +0 -2
  69. package/tailwind/v3/presets/materialTailwindPresets.d.ts.map +0 -1
  70. package/tailwind/v3/presets/materialTailwindPresets.js +0 -42
  71. package/tailwind/v3/presets/materialTailwindPresets.js.map +0 -1
  72. package/themes/___bootstrap-tokens.css +0 -91
  73. package/themes/___fluent-tokens.css +0 -30
  74. package/themes/___material-tokens.css +0 -22
  75. package/themes/bootstrap-tokens.scss +0 -89
  76. package/themes/bootstrap.scss +0 -163
  77. package/themes/fluent-tokens.scss +0 -28
  78. package/themes/fluent.scss +0 -1591
  79. package/themes/material-tokens.scss +0 -20
  80. 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;
@@ -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
- }