@matteusan/himig 1.2.3 → 1.3.1

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 (45) hide show
  1. package/.yarn/cache/@matteusan-sentro-npm-0.1.25-9dadcacaf9-2964e33fdc.zip +0 -0
  2. package/.yarn/install-state.gz +0 -0
  3. package/_index.scss +21 -13
  4. package/ms-badge/_badge-extend.scss +3 -3
  5. package/ms-badge/_badge-styles.scss +8 -0
  6. package/ms-button/_button-extend.scss +3 -3
  7. package/ms-button/_button-mixins.scss +28 -17
  8. package/ms-button/_button-styles.scss +13 -9
  9. package/ms-button/_button-theme.scss +5 -5
  10. package/ms-card/_card-base.scss +243 -0
  11. package/{ms-surface/_surface-extend.scss → ms-card/_card-extend.scss} +6 -6
  12. package/{ms-item-card/_item-card-styles.scss → ms-card/_card-styles.scss} +28 -25
  13. package/{ms-item-card/_item-card-theme.scss → ms-card/_card-theme.scss} +27 -25
  14. package/{ms-sprite → ms-card}/_index.scss +1 -1
  15. package/ms-core/README.md +2 -0
  16. package/ms-core/_index.scss +2 -1
  17. package/{ms-sprite/_sprite-styles.scss → ms-core/component/_component-extend.scss} +28 -29
  18. package/{ms-surface → ms-core/component}/_index.scss +1 -2
  19. package/ms-core/package.json +15 -0
  20. package/ms-core/struct/_struct-utils.scss +3 -7
  21. package/ms-core/theme/_theme-merge.scss +1 -1
  22. package/ms-core/theme/_theme-properties.scss +9 -0
  23. package/ms-core/theme/_theme-setters.scss +5 -2
  24. package/ms-form-field/_form-field-base.scss +25 -22
  25. package/ms-form-field/_form-field-extend.scss +3 -3
  26. package/ms-form-field/_form-field-styles.scss +83 -72
  27. package/ms-form-field/_form-field-theme.scss +10 -8
  28. package/ms-list/_list-base.scss +1 -0
  29. package/ms-list/_list-extend.scss +3 -3
  30. package/ms-list/_list-theme.scss +2 -2
  31. package/ms-select-field/_index.scss +24 -0
  32. package/ms-select-field/_select-field-base.scss +108 -0
  33. package/ms-select-field/_select-field-extend.scss +53 -0
  34. package/ms-select-field/_select-field-styles.scss +203 -0
  35. package/{ms-surface/_surface-theme.scss → ms-select-field/_select-field-theme.scss} +29 -19
  36. package/{ms-item-card → ms-tick-field}/_index.scss +2 -2
  37. package/ms-tick-field/_tick-field-base.scss +78 -0
  38. package/{ms-item-card/_item-card-extend.scss → ms-tick-field/_tick-field-extend.scss} +6 -6
  39. package/ms-tick-field/_tick-field-styles.scss +121 -0
  40. package/ms-tick-field/_tick-field-theme.scss +77 -0
  41. package/ms-utils/_color-utils.scss +0 -1
  42. package/package.json +1 -1
  43. package/ms-item-card/_item-card-base.scss +0 -96
  44. package/ms-surface/_surface-base.scss +0 -111
  45. package/ms-surface/_surface-styles.scss +0 -88
@@ -0,0 +1,121 @@
1
+ //---------------------------------------------------
2
+ // Copyright (c) 2024 MatteuSan
3
+ //
4
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ // of this software and associated documentation files (the "Software"), to deal
6
+ // in the Software without restriction, including without limitation the rights
7
+ // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ // copies of the Software, and to permit persons to whom the Software is
9
+ // furnished to do so, subject to the following conditions:
10
+ //
11
+ // The above copyright notice and this permission notice shall be included in all
12
+ // copies or substantial portions of the Software.
13
+ //
14
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
+ // SOFTWARE.
21
+ //---------------------------------------------------
22
+
23
+ @use '../ms-core';
24
+ @use 'sass:list';
25
+ @use 'tick-field-base' as base;
26
+ @use 'tick-field-theme' as theme;
27
+
28
+ @mixin render(
29
+ $color: (),
30
+ $struct: (),
31
+ $typography: (),
32
+ $settings: ()
33
+ ) {
34
+ $color: ms-core.theme-merge(theme.$init-color, $color);
35
+ $struct: ms-core.theme-merge(theme.$init-struct, $struct);
36
+ $typography: ms-core.theme-merge(theme.$init-typography, $typography);
37
+ $settings: ms-core.theme-merge(theme.$init-settings, $settings);
38
+
39
+ @include base.init() {
40
+ @include ms-core.color-apply('tick-field', (
41
+ fill: ms-core.theme-get($color, 'fill'),
42
+ ink: ms-core.theme-get($color, 'ink'),
43
+ border: ms-core.theme-get($color, 'border'),
44
+ ));
45
+ @include ms-core.struct-apply('tick-field', (
46
+ radius: ms-core.theme-get($struct, 'radius'),
47
+ padding: ms-core.theme-get($struct, 'padding'),
48
+ gap: ms-core.theme-get($struct, 'gap'),
49
+ border-width: ms-core.theme-get($struct, 'border-width'),
50
+ border-style: ms-core.theme-get($struct, 'border-style'),
51
+ ));
52
+ @include ms-core.typography-bind('tick-field', (
53
+ family: ms-core.theme-get($typography, 'family'),
54
+ size: ms-core.theme-get($typography, 'size'),
55
+ weight: ms-core.theme-get($typography, 'weight'),
56
+ line-height: ms-core.theme-get($typography, 'line-height'),
57
+ ));
58
+ @include ms-core.typography-bind('tick-field-helper', (
59
+ family: ms-core.theme-get($typography, 'family'),
60
+ size: ms-core.theme-get($typography, 'size', 'helper'),
61
+ weight: ms-core.theme-get($typography, 'weight'),
62
+ line-height: ms-core.theme-get($typography, 'line-height'),
63
+ ));
64
+
65
+ @include ms-core.struct-bind('tick-field-text', (
66
+ gap: ms-core.theme-get($struct, 'gap', 'text'),
67
+ ));
68
+
69
+ &:hover,
70
+ &:has(.ms-tick-field__input:focus) {
71
+ @include ms-core.color-bind('tick-field', (
72
+ fill: ms-core.theme-get($color, 'fill', 'hover'),
73
+ border: ms-core.theme-get($color, 'border', 'hover'),
74
+ ));
75
+ }
76
+
77
+ &:has(.ms-tick-field__input:checked) {
78
+ @include ms-core.color-bind('tick-field', (
79
+ fill: ms-core.theme-get($color, 'fill', 'checked'),
80
+ border: ms-core.theme-get($color, 'border', 'checked'),
81
+ ));
82
+ }
83
+
84
+ .ms-tick-field__input {
85
+ @include ms-core.struct-apply('tick-field-input', (
86
+ width: 1.5rem,
87
+ height: 1.5rem,
88
+ margin: 0,
89
+ border-width: 'sm',
90
+ border-style: 'solid'
91
+ ));
92
+ @include ms-core.color-bind('tick-field-input', (
93
+ fill: ms-core.theme-get($color, 'fill', 'input'),
94
+ ink: ms-core.theme-get($color, 'ink', 'input'),
95
+ border: ms-core.theme-get($color, 'border', 'input'),
96
+ ));
97
+
98
+ &[type='checkbox'] {
99
+ @include ms-core.struct-radius('tick-field-input', ms-core.theme-get($struct, 'radius', 'input', 'checkbox'), 'bind');
100
+ }
101
+
102
+ &[type='radio'] {
103
+ @include ms-core.struct-radius('tick-field-input', ms-core.theme-get($struct, 'radius', 'input', 'radio'), 'bind');
104
+ }
105
+
106
+ &:hover,
107
+ &:focus {
108
+ @include ms-core.color-fill('tick-field-input', ms-core.theme-get($color, 'fill', 'input', 'hover'), 'bind');
109
+ @include ms-core.color-border('tick-field-input', ms-core.theme-get($color, 'border', 'input', 'hover'), 'bind');
110
+ }
111
+
112
+ &:checked {
113
+ @include ms-core.color-bind('tick-field-input', (
114
+ fill: ms-core.theme-get($color, 'fill', 'input', 'checked'),
115
+ ink: ms-core.theme-get($color, 'ink', 'input'),
116
+ border: ms-core.theme-get($color, 'border', 'input', 'checked'),
117
+ ));
118
+ }
119
+ }
120
+ }
121
+ }
@@ -0,0 +1,77 @@
1
+ //---------------------------------------------------
2
+ // Copyright (c) 2024 MatteuSan
3
+ //
4
+ // Permission is hereby granted, free of charge, to any person obtaining a copy
5
+ // of this software and associated documentation files (the "Software"), to deal
6
+ // in the Software without restriction, including without limitation the rights
7
+ // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
+ // copies of the Software, and to permit persons to whom the Software is
9
+ // furnished to do so, subject to the following conditions:
10
+ //
11
+ // The above copyright notice and this permission notice shall be included in all
12
+ // copies or substantial portions of the Software.
13
+ //
14
+ // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
+ // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
+ // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
+ // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
+ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
+ // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
+ // SOFTWARE.
21
+ //---------------------------------------------------
22
+
23
+ $init-color: (
24
+ fill: (
25
+ default: rgba(0 0 0 / 0),
26
+ hover: 'accent-alpha-300',
27
+ checked: 'accent-alpha-300',
28
+ input: (
29
+ default: rgba(0 0 0 / 0),
30
+ hover: 'accent-alpha-400',
31
+ checked: 'accent-400'
32
+ ),
33
+ ),
34
+ ink: (
35
+ default: 'surface-ink',
36
+ input: 'accent-ink'
37
+ ),
38
+ border: (
39
+ default: 'surface-300',
40
+ hover: 'accent-alpha-600',
41
+ checked: 'accent-400',
42
+ input: (
43
+ default: 'surface-300',
44
+ hover: 'accent-alpha-600',
45
+ checked: 'accent-400',
46
+ )
47
+ ),
48
+ );
49
+
50
+ $init-struct: (
51
+ radius: (
52
+ default: 'sm',
53
+ input: (
54
+ checkbox: 'xs',
55
+ radio: 'pill'
56
+ )
57
+ ),
58
+ padding: ('md' 'lg'),
59
+ gap: (
60
+ default: 0.7rem,
61
+ text: 0.3rem
62
+ ),
63
+ border-width: 'xs',
64
+ border-style: 'solid'
65
+ );
66
+
67
+ $init-typography: (
68
+ family: 'global',
69
+ size: (
70
+ default: 'global',
71
+ helper: 'small'
72
+ ),
73
+ weight: 'global',
74
+ line-height: 'global',
75
+ );
76
+
77
+ $init-settings: ();
@@ -31,7 +31,6 @@ $_colors: (
31
31
  'surface',
32
32
  'accent',
33
33
  'error',
34
- 'undefined',
35
34
  );
36
35
  $_tones: (200, 300, 400, 600, 800, 'ink');
37
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@matteusan/himig",
3
- "version": "1.2.3",
3
+ "version": "1.3.1",
4
4
  "description": "Matteu's personal design system for building user interfaces.",
5
5
  "repository": "https://github.com/MatteuSan/himig",
6
6
  "author": "Matteu <matteugt@gmail.com>",
@@ -1,96 +0,0 @@
1
- //---------------------------------------------------
2
- // Copyright (c) 2024 MatteuSan
3
- //
4
- // Permission is hereby granted, free of charge, to any person obtaining a copy
5
- // of this software and associated documentation files (the "Software"), to deal
6
- // in the Software without restriction, including without limitation the rights
7
- // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- // copies of the Software, and to permit persons to whom the Software is
9
- // furnished to do so, subject to the following conditions:
10
- //
11
- // The above copyright notice and this permission notice shall be included in all
12
- // copies or substantial portions of the Software.
13
- //
14
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
- // SOFTWARE.
21
- //---------------------------------------------------
22
-
23
- @use '../ms-core';
24
-
25
- @mixin init() {
26
- .ms-item-card {
27
- display: flex;
28
- flex-flow: column nowrap;
29
- @include ms-core.struct-apply('item-card', (
30
- width: 100%,
31
- height: auto,
32
- radius: inherit,
33
- ));
34
- @content;
35
-
36
- .ms-item-card__header {
37
- display: grid;
38
- grid-template-columns: 32px 1fr 32px;
39
- @include ms-core.color-apply('item-card', ms-core.$color-inherit-template);
40
- @include ms-core.struct-apply('item-card', (
41
- padding: inherit,
42
- gap: inherit,
43
- ));
44
- border-radius: ms-core.key-get('item-card-radius') ms-core.key-get('item-card-radius') 0 0;
45
-
46
- &:only-child {
47
- border-radius: ms-core.key-get('item-card-radius');
48
- }
49
-
50
- .ms-item-card__sprite {
51
- @include ms-core.sprite-styles();
52
- }
53
-
54
- .ms-item-card__mast {
55
- display: flex;
56
- flex-flow: column nowrap;
57
-
58
- .ms-item-card__title {
59
- @include ms-core.typography-apply('item-card-title', ms-core.$type-inherit-template);
60
- }
61
-
62
- .ms-item-card__subtitle {
63
- @include ms-core.typography-apply('item-card-subtitle', ms-core.$type-inherit-template);
64
- }
65
- }
66
-
67
- .ms-item-card__menu {
68
- &.is-open {
69
- .ms-item-card__menu-overlay {
70
- display: block;
71
- }
72
- }
73
-
74
- .ms-item-card__menu-overlay {
75
- display: none;
76
- position: fixed;
77
- top: 0;
78
- left: 0;
79
- right: 0;
80
- bottom: 0;
81
- z-index: 80;
82
- }
83
-
84
- .ms-list {
85
- z-index: 90;
86
- }
87
- }
88
- }
89
-
90
- .ms-item-card__footer {
91
- @include ms-core.struct-apply('item-card-footer', ms-core.$struct-inherit-template);
92
- border-radius: 0 0 ms-core.key-get('item-card-radius') ms-core.key-get('item-card-radius');
93
- @include ms-core.typography-apply('item-card-footer', ms-core.$type-inherit-template);
94
- }
95
- }
96
- }
@@ -1,111 +0,0 @@
1
- //---------------------------------------------------
2
- // Copyright (c) 2024 MatteuSan
3
- //
4
- // Permission is hereby granted, free of charge, to any person obtaining a copy
5
- // of this software and associated documentation files (the "Software"), to deal
6
- // in the Software without restriction, including without limitation the rights
7
- // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- // copies of the Software, and to permit persons to whom the Software is
9
- // furnished to do so, subject to the following conditions:
10
- //
11
- // The above copyright notice and this permission notice shall be included in all
12
- // copies or substantial portions of the Software.
13
- //
14
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
- // SOFTWARE.
21
- //---------------------------------------------------
22
-
23
- @use '../ms-core';
24
-
25
- @mixin init() {
26
- .ms-surface {
27
- @include ms-core.color-apply('surface', (
28
- fill: inherit,
29
- ink: inherit,
30
- border: inherit,
31
- ));
32
- @include ms-core.struct-apply('surface', (
33
- radius: 0,
34
- ));
35
- overflow: hidden;
36
- @content;
37
-
38
- .ms-surface__header {
39
- @include ms-core.color-apply('surface-header', (
40
- fill: inherit,
41
- ink: inherit,
42
- border: inherit,
43
- ));
44
- @include ms-core.struct-apply('surface-header', (
45
- padding: 0,
46
- ));
47
- @include ms-core.typography-apply('surface-header', (
48
- family: inherit,
49
- size: inherit,
50
- weight: inherit,
51
- line-height: inherit,
52
- ));
53
-
54
- .ms-surface__title,
55
- > :not([class^='ms-']) {
56
- @include ms-core.typography-apply('surface-header', (
57
- family: inherit,
58
- size: inherit,
59
- weight: inherit,
60
- line-height: inherit,
61
- ));
62
- }
63
- }
64
-
65
- .ms-surface__body {
66
- @include ms-core.color-apply('surface', (
67
- fill: inherit,
68
- ink: inherit,
69
- border: inherit,
70
- ));
71
- @include ms-core.struct-apply('surface', (
72
- padding: 0,
73
- ));
74
- @include ms-core.typography-apply('surface', (
75
- family: inherit,
76
- size: inherit,
77
- weight: inherit,
78
- line-height: inherit,
79
- ));
80
- }
81
-
82
- .ms-surface__row {
83
- @include ms-core.struct-apply('surface', (
84
- padding: 0,
85
- ));
86
- @include ms-core.typography-apply('surface', (
87
- family: inherit,
88
- size: inherit,
89
- weight: inherit,
90
- line-height: inherit,
91
- ));
92
- }
93
-
94
- .ms-surface__footer {
95
- @include ms-core.color-apply('surface-footer', (
96
- fill: inherit,
97
- ink: inherit,
98
- border: inherit,
99
- ));
100
- @include ms-core.struct-apply('surface-footer', (
101
- padding: 0,
102
- ));
103
- @include ms-core.typography-apply('surface-footer', (
104
- family: inherit,
105
- size: inherit,
106
- weight: inherit,
107
- line-height: inherit,
108
- ));
109
- }
110
- }
111
- }
@@ -1,88 +0,0 @@
1
- //---------------------------------------------------
2
- // Copyright (c) 2024 MatteuSan
3
- //
4
- // Permission is hereby granted, free of charge, to any person obtaining a copy
5
- // of this software and associated documentation files (the "Software"), to deal
6
- // in the Software without restriction, including without limitation the rights
7
- // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8
- // copies of the Software, and to permit persons to whom the Software is
9
- // furnished to do so, subject to the following conditions:
10
- //
11
- // The above copyright notice and this permission notice shall be included in all
12
- // copies or substantial portions of the Software.
13
- //
14
- // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15
- // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16
- // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17
- // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18
- // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19
- // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20
- // SOFTWARE.
21
- //---------------------------------------------------
22
-
23
- @use '../ms-core';
24
- @use 'sass:map';
25
-
26
- @use 'surface-base' as base;
27
- @use 'surface-theme' as theme;
28
-
29
- @mixin render(
30
- $color: (),
31
- $struct: (),
32
- $typography: (),
33
- $settings: ()
34
- ) {
35
- @include base.init() {
36
- @include ms-core.color-bind('surface', (
37
- fill: ms-core.theme-get(theme.$init-color, 'fill'),
38
- ink: ms-core.theme-get(theme.$init-color, 'ink'),
39
- border: ms-core.theme-get(theme.$init-color, 'border'),
40
- ));
41
- @include ms-core.color-bind('surface-header', (
42
- fill: ms-core.theme-get(theme.$init-color, 'fill', 'header'),
43
- ink: ms-core.theme-get(theme.$init-color, 'ink', 'header'),
44
- border: ms-core.theme-get(theme.$init-color, 'border', 'header'),
45
- ));
46
- @include ms-core.color-bind('surface-footer', (
47
- fill: ms-core.theme-get(theme.$init-color, 'fill', 'footer'),
48
- ink: ms-core.theme-get(theme.$init-color, 'ink', 'footer'),
49
- border: ms-core.theme-get(theme.$init-color, 'border', 'footer'),
50
- ));
51
-
52
- @include ms-core.struct-bind('surface', (
53
- radius: ms-core.theme-get(theme.$init-struct, 'radius'),
54
- padding: ms-core.theme-get(theme.$init-struct, 'padding'),
55
- ));
56
- @include ms-core.struct-bind('surface-header', (
57
- padding: ms-core.theme-get(theme.$init-struct, 'padding'),
58
- ));
59
- @include ms-core.struct-bind('surface-footer', (
60
- padding: ms-core.theme-get(theme.$init-struct, 'padding'),
61
- ));
62
-
63
- @include ms-core.typography-bind('surface', (
64
- family: ms-core.theme-get(theme.$init-typography, 'family'),
65
- size: ms-core.theme-get(theme.$init-typography, 'size'),
66
- weight: ms-core.theme-get(theme.$init-typography, 'weight'),
67
- line-height: ms-core.theme-get(theme.$init-typography, 'line-height'),
68
- ));
69
- @include ms-core.typography-bind('surface-header', (
70
- family: ms-core.theme-get(theme.$init-typography, 'family', 'header'),
71
- size: ms-core.theme-get(theme.$init-typography, 'size', 'header'),
72
- weight: ms-core.theme-get(theme.$init-typography, 'weight', 'header'),
73
- line-height: ms-core.theme-get(theme.$init-typography, 'line-height', 'header'),
74
- ));
75
- @include ms-core.typography-bind('surface-footer', (
76
- family: ms-core.theme-get(theme.$init-typography, 'family', 'footer'),
77
- size: ms-core.theme-get(theme.$init-typography, 'size', 'footer'),
78
- weight: ms-core.theme-get(theme.$init-typography, 'weight', 'footer'),
79
- line-height: ms-core.theme-get(theme.$init-typography, 'line-height', 'footer'),
80
- ));
81
-
82
- &:where(.is-raised) {
83
- @include ms-core.struct-apply('surface', (
84
- shadow: 'xs'
85
- ));
86
- }
87
- }
88
- }