@lumx/core 3.1.0 → 3.1.2
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/CONTRIBUTING.md → CONTRIBUTING.md} +0 -0
- package/{dist/LICENSE.md → LICENSE.md} +0 -0
- package/{dist/css → css}/_retro-compat-v2.css +0 -0
- package/{dist/css → css}/design-tokens.css +0 -0
- package/{dist/css → css}/material.css +0 -0
- package/{dist/js → js}/constants/design-tokens.js +0 -0
- package/{dist/js → js}/constants/design-tokens.min.js +0 -0
- package/{dist/js → js}/constants/design-tokens.min.js.map +0 -0
- package/{dist/js → js}/constants/design-tokens.ts +0 -0
- package/{dist/js → js}/constants/index.js +0 -0
- package/{dist/js → js}/constants/index.min.js +0 -0
- package/{dist/js → js}/constants/index.min.js.map +0 -0
- package/{dist/js → js}/constants/index.ts +0 -0
- package/{dist/js → js}/constants/keycodes.js +0 -0
- package/{dist/js → js}/constants/keycodes.min.js +0 -0
- package/{dist/js → js}/constants/keycodes.min.js.map +0 -0
- package/{dist/js → js}/constants/keycodes.ts +0 -0
- package/{dist/js → js}/custom-colors.js +0 -0
- package/{dist/js → js}/custom-colors.min.js +0 -0
- package/js/custom-colors.min.js.map +1 -0
- package/{dist/js → js}/custom-colors.ts +0 -0
- package/{dist/js → js}/date-picker.js +0 -0
- package/{dist/js → js}/date-picker.min.js +0 -0
- package/js/date-picker.min.js.map +1 -0
- package/{dist/js → js}/date-picker.ts +0 -0
- package/{dist/js → js}/utils.js +0 -0
- package/{dist/js → js}/utils.min.js +0 -0
- package/js/utils.min.js.map +1 -0
- package/{dist/js → js}/utils.ts +0 -0
- package/{dist/lumx.css → lumx.css} +1 -1
- package/{dist/lumx.min.css → lumx.min.css} +1 -1
- package/package.json +1 -1
- package/{dist/scss → scss}/_components.scss +0 -0
- package/{dist/scss → scss}/_core.scss +0 -0
- package/{dist/scss → scss}/_design-tokens.scss +0 -0
- package/{dist/scss → scss}/_retro-compat-v2.scss +0 -0
- package/{dist/scss → scss}/components/avatar/_index.scss +0 -0
- package/{dist/scss → scss}/components/badge/_index.scss +0 -0
- package/{dist/scss → scss}/components/button/_index.scss +0 -0
- package/{dist/scss → scss}/components/button/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/button/_variables.scss +0 -0
- package/{dist/scss → scss}/components/checkbox/_index.scss +0 -0
- package/{dist/scss → scss}/components/checkbox/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/chip/_index.scss +0 -0
- package/{dist/scss → scss}/components/chip/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/chip/_variables.scss +0 -0
- package/{dist/scss → scss}/components/comment-block/_index.scss +0 -0
- package/{dist/scss → scss}/components/date-picker/_index.scss +0 -0
- package/{dist/scss → scss}/components/dialog/_index.scss +0 -0
- package/{dist/scss → scss}/components/dialog/_variables.scss +0 -0
- package/{dist/scss → scss}/components/divider/_index.scss +0 -0
- package/{dist/scss → scss}/components/divider/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/divider/_variables.scss +0 -0
- package/{dist/scss → scss}/components/drag-handle/_index.scss +0 -0
- package/{dist/scss → scss}/components/dropdown/_index.scss +0 -0
- package/{dist/scss → scss}/components/expansion-panel/_index.scss +0 -0
- package/{dist/scss → scss}/components/expansion-panel/_variables.scss +0 -0
- package/{dist/scss → scss}/components/flag/_index.scss +0 -0
- package/{dist/scss → scss}/components/flex-box/_index.scss +0 -0
- package/{dist/scss → scss}/components/generic-block/_index.scss +0 -0
- package/{dist/scss → scss}/components/grid/_index.scss +0 -0
- package/{dist/scss → scss}/components/grid-column/_index.scss +0 -0
- package/{dist/scss → scss}/components/icon/_index.scss +0 -0
- package/{dist/scss → scss}/components/icon/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/icon/_variables.scss +0 -0
- package/{dist/scss → scss}/components/image-block/_index.scss +0 -0
- package/{dist/scss → scss}/components/inline-list/_index.scss +0 -0
- package/{dist/scss → scss}/components/input-helper/_index.scss +0 -0
- package/{dist/scss → scss}/components/input-helper/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/input-helper/_variables.scss +0 -0
- package/{dist/scss → scss}/components/input-label/_index.scss +0 -0
- package/{dist/scss → scss}/components/input-label/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/lightbox/_index.scss +0 -0
- package/{dist/scss → scss}/components/lightbox/_variables.scss +0 -0
- package/{dist/scss → scss}/components/link/_index.scss +0 -0
- package/{dist/scss → scss}/components/link/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/link-preview/_index.scss +0 -0
- package/{dist/scss → scss}/components/list/_index.scss +0 -0
- package/{dist/scss → scss}/components/list/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/list/_variables.scss +0 -0
- package/{dist/scss → scss}/components/message/_index.scss +0 -0
- package/{dist/scss → scss}/components/mosaic/_index.scss +0 -0
- package/{dist/scss → scss}/components/notification/_index.scss +0 -0
- package/{dist/scss → scss}/components/notification/_variables.scss +0 -0
- package/{dist/scss → scss}/components/notification-block/_index.scss +0 -0
- package/{dist/scss → scss}/components/popover/_index.scss +0 -0
- package/{dist/scss → scss}/components/popover/_variables.scss +0 -0
- package/{dist/scss → scss}/components/post-block/_index.scss +0 -0
- package/{dist/scss → scss}/components/progress/_index.scss +0 -0
- package/{dist/scss → scss}/components/progress/_variables.scss +0 -0
- package/{dist/scss → scss}/components/progress-tracker/_index.scss +0 -0
- package/{dist/scss → scss}/components/progress-tracker/_variables.scss +0 -0
- package/{dist/scss → scss}/components/radio-button/_index.scss +0 -0
- package/{dist/scss → scss}/components/radio-button/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/select/_index.scss +0 -0
- package/{dist/scss → scss}/components/select/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/side-navigation/_index.scss +0 -0
- package/{dist/scss → scss}/components/side-navigation/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/skeleton/_index.scss +0 -0
- package/{dist/scss → scss}/components/skeleton/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/slider/_index.scss +0 -0
- package/{dist/scss → scss}/components/slideshow/_index.scss +0 -0
- package/{dist/scss → scss}/components/slideshow/_variables.scss +0 -0
- package/{dist/scss → scss}/components/switch/_index.scss +0 -0
- package/{dist/scss → scss}/components/switch/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/table/_index.scss +0 -0
- package/{dist/scss → scss}/components/table/_mixins.scss +0 -0
- package/{src/scss → scss}/components/tabs/_index.scss +5 -1
- package/{dist/scss → scss}/components/tabs/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/text/_index.scss +0 -0
- package/{dist/scss → scss}/components/text-field/_index.scss +0 -0
- package/{dist/scss → scss}/components/text-field/_mixins.scss +0 -0
- package/{dist/scss → scss}/components/text-field/_variables.scss +0 -0
- package/{dist/scss → scss}/components/thumbnail/_index.scss +0 -0
- package/{dist/scss → scss}/components/thumbnail/_variables.scss +0 -0
- package/{dist/scss → scss}/components/toolbar/_index.scss +0 -0
- package/{dist/scss → scss}/components/toolbar/_variables.scss +0 -0
- package/{dist/scss → scss}/components/tooltip/_index.scss +0 -0
- package/{dist/scss → scss}/components/tooltip/_variables.scss +0 -0
- package/{dist/scss → scss}/components/uploader/_index.scss +0 -0
- package/{dist/scss → scss}/components/user-block/_index.scss +0 -0
- package/{dist/scss → scss}/core/base/_functions.scss +0 -0
- package/{dist/scss → scss}/core/base/_helpers.scss +0 -0
- package/{dist/scss → scss}/core/base/_index.scss +0 -0
- package/{dist/scss → scss}/core/base/_normalize.scss +0 -0
- package/{dist/scss → scss}/core/base/_variables.scss +0 -0
- package/{dist/scss → scss}/core/color/_functions.scss +0 -0
- package/{dist/scss → scss}/core/color/_index.scss +0 -0
- package/{dist/scss → scss}/core/color/_variables.scss +0 -0
- package/{dist/scss → scss}/core/elevation/_mixins.scss +0 -0
- package/{dist/scss → scss}/core/elevation/_variables.scss +0 -0
- package/{dist/scss → scss}/core/size/_variables.scss +0 -0
- package/{dist/scss → scss}/core/spacing/_index.scss +0 -0
- package/{dist/scss → scss}/core/spacing/_variables.scss +0 -0
- package/{dist/scss → scss}/core/state/_mixins.scss +0 -0
- package/{dist/scss → scss}/core/state/_variables.scss +0 -0
- package/{dist/scss → scss}/core/typography/_index.scss +0 -0
- package/{dist/scss → scss}/core/typography/_mixins.scss +0 -0
- package/{dist/scss → scss}/core/typography/_variables.scss +0 -0
- package/{dist/scss → scss}/lumx.scss +0 -0
- package/dist/js/custom-colors.min.js.map +0 -1
- package/dist/js/date-picker.min.js.map +0 -1
- package/dist/js/utils.min.js.map +0 -1
- package/dist/package.json +0 -81
- package/dist/scss/components/tabs/_index.scss +0 -111
- package/src/css/_retro-compat-v2.css +0 -117
- package/src/css/design-tokens.css +0 -544
- package/src/css/material.css +0 -62
- package/src/js/constants/design-tokens.ts +0 -2157
- package/src/js/constants/index.ts +0 -35
- package/src/js/constants/keycodes.ts +0 -44
- package/src/js/custom-colors.ts +0 -56
- package/src/js/date-picker.ts +0 -71
- package/src/js/utils.ts +0 -296
- package/src/scss/_components.scss +0 -35
- package/src/scss/_core.scss +0 -12
- package/src/scss/_design-tokens.scss +0 -1667
- package/src/scss/_retro-compat-v2.scss +0 -95
- package/src/scss/components/avatar/_index.scss +0 -42
- package/src/scss/components/badge/_index.scss +0 -47
- package/src/scss/components/button/_index.scss +0 -166
- package/src/scss/components/button/_mixins.scss +0 -271
- package/src/scss/components/button/_variables.scss +0 -6
- package/src/scss/components/checkbox/_index.scss +0 -231
- package/src/scss/components/checkbox/_mixins.scss +0 -69
- package/src/scss/components/chip/_index.scss +0 -156
- package/src/scss/components/chip/_mixins.scss +0 -37
- package/src/scss/components/chip/_variables.scss +0 -1
- package/src/scss/components/comment-block/_index.scss +0 -170
- package/src/scss/components/date-picker/_index.scss +0 -67
- package/src/scss/components/dialog/_index.scss +0 -169
- package/src/scss/components/dialog/_variables.scss +0 -8
- package/src/scss/components/divider/_index.scss +0 -39
- package/src/scss/components/divider/_mixins.scss +0 -60
- package/src/scss/components/divider/_variables.scss +0 -7
- package/src/scss/components/drag-handle/_index.scss +0 -7
- package/src/scss/components/dropdown/_index.scss +0 -22
- package/src/scss/components/expansion-panel/_index.scss +0 -80
- package/src/scss/components/expansion-panel/_variables.scss +0 -2
- package/src/scss/components/flag/_index.scss +0 -41
- package/src/scss/components/flex-box/_index.scss +0 -132
- package/src/scss/components/generic-block/_index.scss +0 -11
- package/src/scss/components/grid/_index.scss +0 -147
- package/src/scss/components/grid-column/_index.scss +0 -18
- package/src/scss/components/icon/_index.scss +0 -106
- package/src/scss/components/icon/_mixins.scss +0 -42
- package/src/scss/components/icon/_variables.scss +0 -6
- package/src/scss/components/image-block/_index.scss +0 -108
- package/src/scss/components/inline-list/_index.scss +0 -15
- package/src/scss/components/input-helper/_index.scss +0 -27
- package/src/scss/components/input-helper/_mixins.scss +0 -12
- package/src/scss/components/input-helper/_variables.scss +0 -1
- package/src/scss/components/input-label/_index.scss +0 -23
- package/src/scss/components/input-label/_mixins.scss +0 -12
- package/src/scss/components/lightbox/_index.scss +0 -59
- package/src/scss/components/lightbox/_variables.scss +0 -1
- package/src/scss/components/link/_index.scss +0 -35
- package/src/scss/components/link/_mixins.scss +0 -25
- package/src/scss/components/link-preview/_index.scss +0 -95
- package/src/scss/components/list/_index.scss +0 -96
- package/src/scss/components/list/_mixins.scss +0 -128
- package/src/scss/components/list/_variables.scss +0 -7
- package/src/scss/components/message/_index.scss +0 -36
- package/src/scss/components/mosaic/_index.scss +0 -120
- package/src/scss/components/notification/_index.scss +0 -78
- package/src/scss/components/notification/_variables.scss +0 -3
- package/src/scss/components/notification-block/_index.scss +0 -42
- package/src/scss/components/popover/_index.scss +0 -64
- package/src/scss/components/popover/_variables.scss +0 -1
- package/src/scss/components/post-block/_index.scss +0 -101
- package/src/scss/components/progress/_index.scss +0 -190
- package/src/scss/components/progress/_variables.scss +0 -12
- package/src/scss/components/progress-tracker/_index.scss +0 -131
- package/src/scss/components/progress-tracker/_variables.scss +0 -2
- package/src/scss/components/radio-button/_index.scss +0 -180
- package/src/scss/components/radio-button/_mixins.scss +0 -82
- package/src/scss/components/select/_index.scss +0 -295
- package/src/scss/components/select/_mixins.scss +0 -36
- package/src/scss/components/side-navigation/_index.scss +0 -69
- package/src/scss/components/side-navigation/_mixins.scss +0 -61
- package/src/scss/components/skeleton/_index.scss +0 -143
- package/src/scss/components/skeleton/_mixins.scss +0 -9
- package/src/scss/components/slider/_index.scss +0 -209
- package/src/scss/components/slideshow/_index.scss +0 -171
- package/src/scss/components/slideshow/_variables.scss +0 -1
- package/src/scss/components/switch/_index.scss +0 -257
- package/src/scss/components/switch/_mixins.scss +0 -77
- package/src/scss/components/table/_index.scss +0 -138
- package/src/scss/components/table/_mixins.scss +0 -115
- package/src/scss/components/tabs/_mixins.scss +0 -104
- package/src/scss/components/text/_index.scss +0 -29
- package/src/scss/components/text-field/_index.scss +0 -323
- package/src/scss/components/text-field/_mixins.scss +0 -149
- package/src/scss/components/text-field/_variables.scss +0 -2
- package/src/scss/components/thumbnail/_index.scss +0 -227
- package/src/scss/components/thumbnail/_variables.scss +0 -6
- package/src/scss/components/toolbar/_index.scss +0 -38
- package/src/scss/components/toolbar/_variables.scss +0 -1
- package/src/scss/components/tooltip/_index.scss +0 -91
- package/src/scss/components/tooltip/_variables.scss +0 -4
- package/src/scss/components/uploader/_index.scss +0 -115
- package/src/scss/components/user-block/_index.scss +0 -106
- package/src/scss/core/base/_functions.scss +0 -3
- package/src/scss/core/base/_helpers.scss +0 -21
- package/src/scss/core/base/_index.scss +0 -54
- package/src/scss/core/base/_normalize.scss +0 -353
- package/src/scss/core/base/_variables.scss +0 -39
- package/src/scss/core/color/_functions.scss +0 -7
- package/src/scss/core/color/_index.scss +0 -15
- package/src/scss/core/color/_variables.scss +0 -4
- package/src/scss/core/elevation/_mixins.scss +0 -10
- package/src/scss/core/elevation/_variables.scss +0 -7
- package/src/scss/core/size/_variables.scss +0 -3
- package/src/scss/core/spacing/_index.scss +0 -15
- package/src/scss/core/spacing/_variables.scss +0 -22
- package/src/scss/core/state/_mixins.scss +0 -127
- package/src/scss/core/state/_variables.scss +0 -1
- package/src/scss/core/typography/_index.scss +0 -16
- package/src/scss/core/typography/_mixins.scss +0 -25
- package/src/scss/core/typography/_variables.scss +0 -6
- package/src/scss/lumx.scss +0 -69
- package/style-dictionary/.eslintignore +0 -1
- package/style-dictionary/README.md +0 -19
- package/style-dictionary/config/_run.js +0 -12
- package/style-dictionary/config/_transform-group.js +0 -16
- package/style-dictionary/config/gen-css-variables.js +0 -25
- package/style-dictionary/config/gen-scss-variables.js +0 -65
- package/style-dictionary/config/gen-ts-variables.js +0 -52
- package/style-dictionary/config/utils/_color-attributes.js +0 -24
- package/style-dictionary/config/utils/_color-rgba-value.js +0 -22
- package/style-dictionary/config/utils/_css-prefer-variable.js +0 -24
- package/style-dictionary/config/utils/_genHeader.js +0 -3
- package/style-dictionary/config/utils/_lumx-variables.js +0 -12
- package/style-dictionary/config/utils/_pickFieldsInTree.js +0 -22
- package/style-dictionary/config/utils/_prettier-scss.js +0 -13
- package/style-dictionary/config/utils/_prettier-ts.js +0 -13
- package/style-dictionary/config/utils/_resolve-structure-alias.js +0 -76
- package/style-dictionary/index.js +0 -11
- package/style-dictionary/properties/components/button.json +0 -206
- package/style-dictionary/properties/components/material.json +0 -64
- package/style-dictionary/properties/components/navigation.json +0 -207
- package/style-dictionary/properties/components/tabs.json +0 -168
- package/style-dictionary/properties/components/text-field.json +0 -167
- package/style-dictionary/properties/core/border-radius.json +0 -3
- package/style-dictionary/properties/core/color.json +0 -421
- package/style-dictionary/properties/core/size.json +0 -11
- package/style-dictionary/properties/core/spacing.json +0 -11
- package/style-dictionary/properties/core/typography.json +0 -127
- package/tsconfig.json +0 -3
- package/webpack.config.js +0 -202
|
@@ -1,353 +0,0 @@
|
|
|
1
|
-
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
|
2
|
-
|
|
3
|
-
/* Document
|
|
4
|
-
========================================================================== */
|
|
5
|
-
|
|
6
|
-
/**
|
|
7
|
-
* 1. Correct the line height in all browsers.
|
|
8
|
-
* 2. Prevent adjustments of font size after orientation changes in iOS.
|
|
9
|
-
*/
|
|
10
|
-
|
|
11
|
-
html {
|
|
12
|
-
line-height: 1.15; /* 1 */
|
|
13
|
-
-webkit-text-size-adjust: 100%; /* 2 */
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/* Sections
|
|
17
|
-
========================================================================== */
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
* Remove the margin in all browsers.
|
|
21
|
-
*/
|
|
22
|
-
|
|
23
|
-
body {
|
|
24
|
-
margin: 0;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
/**
|
|
28
|
-
* Render the `main` element consistently in IE.
|
|
29
|
-
*/
|
|
30
|
-
|
|
31
|
-
main {
|
|
32
|
-
display: block;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
/**
|
|
36
|
-
* Correct the font size and margin on `h1` elements within `section` and
|
|
37
|
-
* `article` contexts in Chrome, Firefox, and Safari.
|
|
38
|
-
*/
|
|
39
|
-
|
|
40
|
-
h1 {
|
|
41
|
-
margin: 0.67em 0;
|
|
42
|
-
font-size: 2em;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
/* Grouping content
|
|
46
|
-
========================================================================== */
|
|
47
|
-
|
|
48
|
-
/**
|
|
49
|
-
* 1. Add the correct box sizing in Firefox.
|
|
50
|
-
* 2. Show the overflow in Edge and IE.
|
|
51
|
-
*/
|
|
52
|
-
|
|
53
|
-
hr {
|
|
54
|
-
overflow: visible; /* 2 */
|
|
55
|
-
height: 0; /* 1 */
|
|
56
|
-
box-sizing: content-box; /* 1 */
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
/**
|
|
60
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
61
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
|
62
|
-
*/
|
|
63
|
-
|
|
64
|
-
pre {
|
|
65
|
-
/* stylelint-disable-next-line font-family-no-duplicate-names */
|
|
66
|
-
font-family: monospace, monospace; /* 1 */
|
|
67
|
-
font-size: 1em; /* 2 */
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
/* Text-level semantics
|
|
71
|
-
========================================================================== */
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* Remove the gray background on active links in IE 10.
|
|
75
|
-
*/
|
|
76
|
-
|
|
77
|
-
a {
|
|
78
|
-
background-color: transparent;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
/**
|
|
82
|
-
* 1. Remove the bottom border in Chrome 57-
|
|
83
|
-
* 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
|
|
84
|
-
*/
|
|
85
|
-
|
|
86
|
-
abbr[title] {
|
|
87
|
-
border-bottom: none; /* 1 */
|
|
88
|
-
text-decoration: underline; /* 2 */
|
|
89
|
-
text-decoration: underline dotted; /* 2 */
|
|
90
|
-
}
|
|
91
|
-
|
|
92
|
-
/**
|
|
93
|
-
* Add the correct font weight in Chrome, Edge, and Safari.
|
|
94
|
-
*/
|
|
95
|
-
|
|
96
|
-
b,
|
|
97
|
-
strong {
|
|
98
|
-
font-weight: bolder;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
/**
|
|
102
|
-
* 1. Correct the inheritance and scaling of font size in all browsers.
|
|
103
|
-
* 2. Correct the odd `em` font sizing in all browsers.
|
|
104
|
-
*/
|
|
105
|
-
|
|
106
|
-
code,
|
|
107
|
-
kbd,
|
|
108
|
-
samp {
|
|
109
|
-
/* stylelint-disable-next-line font-family-no-duplicate-names */
|
|
110
|
-
font-family: monospace, monospace; /* 1 */
|
|
111
|
-
font-size: 1em; /* 2 */
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
/**
|
|
115
|
-
* Add the correct font size in all browsers.
|
|
116
|
-
*/
|
|
117
|
-
|
|
118
|
-
small {
|
|
119
|
-
font-size: 80%;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
/**
|
|
123
|
-
* Prevent `sub` and `sup` elements from affecting the line height in
|
|
124
|
-
* all browsers.
|
|
125
|
-
*/
|
|
126
|
-
|
|
127
|
-
sub,
|
|
128
|
-
sup {
|
|
129
|
-
position: relative;
|
|
130
|
-
font-size: 75%;
|
|
131
|
-
line-height: 0;
|
|
132
|
-
vertical-align: baseline;
|
|
133
|
-
}
|
|
134
|
-
|
|
135
|
-
sub {
|
|
136
|
-
bottom: -0.25em;
|
|
137
|
-
}
|
|
138
|
-
|
|
139
|
-
sup {
|
|
140
|
-
top: -0.5em;
|
|
141
|
-
}
|
|
142
|
-
|
|
143
|
-
/* Embedded content
|
|
144
|
-
========================================================================== */
|
|
145
|
-
|
|
146
|
-
/**
|
|
147
|
-
* Remove the border on images inside links in IE 10.
|
|
148
|
-
*/
|
|
149
|
-
|
|
150
|
-
img {
|
|
151
|
-
border-style: none;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
/* Forms
|
|
155
|
-
========================================================================== */
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* 1. Change the font styles in all browsers.
|
|
159
|
-
* 2. Remove the margin in Firefox and Safari.
|
|
160
|
-
*/
|
|
161
|
-
|
|
162
|
-
button,
|
|
163
|
-
input,
|
|
164
|
-
optgroup,
|
|
165
|
-
select,
|
|
166
|
-
textarea {
|
|
167
|
-
margin: 0; /* 2 */
|
|
168
|
-
font-family: inherit; /* 1 */
|
|
169
|
-
font-size: 100%; /* 1 */
|
|
170
|
-
line-height: 1.15; /* 1 */
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
/**
|
|
174
|
-
* Show the overflow in IE.
|
|
175
|
-
* 1. Show the overflow in Edge.
|
|
176
|
-
*/
|
|
177
|
-
|
|
178
|
-
button,
|
|
179
|
-
input {
|
|
180
|
-
/* 1 */
|
|
181
|
-
overflow: visible;
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* Remove the inheritance of text transform in Edge, Firefox, and IE.
|
|
186
|
-
* 1. Remove the inheritance of text transform in Firefox.
|
|
187
|
-
*/
|
|
188
|
-
|
|
189
|
-
button,
|
|
190
|
-
select {
|
|
191
|
-
/* 1 */
|
|
192
|
-
text-transform: none;
|
|
193
|
-
}
|
|
194
|
-
|
|
195
|
-
/**
|
|
196
|
-
* Correct the inability to style clickable types in iOS and Safari.
|
|
197
|
-
*/
|
|
198
|
-
|
|
199
|
-
button,
|
|
200
|
-
[type='button'],
|
|
201
|
-
[type='reset'],
|
|
202
|
-
[type='submit'] {
|
|
203
|
-
-webkit-appearance: button;
|
|
204
|
-
}
|
|
205
|
-
|
|
206
|
-
/**
|
|
207
|
-
* Remove the inner border and padding in Firefox.
|
|
208
|
-
*/
|
|
209
|
-
|
|
210
|
-
button::-moz-focus-inner,
|
|
211
|
-
[type='button']::-moz-focus-inner,
|
|
212
|
-
[type='reset']::-moz-focus-inner,
|
|
213
|
-
[type='submit']::-moz-focus-inner {
|
|
214
|
-
padding: 0;
|
|
215
|
-
border-style: none;
|
|
216
|
-
}
|
|
217
|
-
|
|
218
|
-
/**
|
|
219
|
-
* Restore the focus styles unset by the previous rule.
|
|
220
|
-
*/
|
|
221
|
-
|
|
222
|
-
button:-moz-focusring,
|
|
223
|
-
[type='button']:-moz-focusring,
|
|
224
|
-
[type='reset']:-moz-focusring,
|
|
225
|
-
[type='submit']:-moz-focusring {
|
|
226
|
-
outline: 1px dotted ButtonText;
|
|
227
|
-
}
|
|
228
|
-
|
|
229
|
-
/**
|
|
230
|
-
* Correct the padding in Firefox.
|
|
231
|
-
*/
|
|
232
|
-
|
|
233
|
-
fieldset {
|
|
234
|
-
padding: 0.35em 0.75em 0.625em;
|
|
235
|
-
}
|
|
236
|
-
|
|
237
|
-
/**
|
|
238
|
-
* 1. Correct the text wrapping in Edge and IE.
|
|
239
|
-
* 2. Correct the color inheritance from `fieldset` elements in IE.
|
|
240
|
-
* 3. Remove the padding so developers are not caught out when they zero out
|
|
241
|
-
* `fieldset` elements in all browsers.
|
|
242
|
-
*/
|
|
243
|
-
|
|
244
|
-
legend {
|
|
245
|
-
display: table; /* 1 */
|
|
246
|
-
max-width: 100%; /* 1 */
|
|
247
|
-
box-sizing: border-box; /* 1 */
|
|
248
|
-
padding: 0; /* 3 */
|
|
249
|
-
color: inherit; /* 2 */
|
|
250
|
-
white-space: normal; /* 1 */
|
|
251
|
-
}
|
|
252
|
-
|
|
253
|
-
/**
|
|
254
|
-
* Add the correct vertical alignment in Chrome, Firefox, and Opera.
|
|
255
|
-
*/
|
|
256
|
-
|
|
257
|
-
progress {
|
|
258
|
-
vertical-align: baseline;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
/**
|
|
262
|
-
* Remove the default vertical scrollbar in IE 10+.
|
|
263
|
-
*/
|
|
264
|
-
|
|
265
|
-
textarea {
|
|
266
|
-
overflow: auto;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
/**
|
|
270
|
-
* 1. Add the correct box sizing in IE 10.
|
|
271
|
-
* 2. Remove the padding in IE 10.
|
|
272
|
-
*/
|
|
273
|
-
|
|
274
|
-
[type='checkbox'],
|
|
275
|
-
[type='radio'] {
|
|
276
|
-
box-sizing: border-box; /* 1 */
|
|
277
|
-
padding: 0; /* 2 */
|
|
278
|
-
}
|
|
279
|
-
|
|
280
|
-
/**
|
|
281
|
-
* Correct the cursor style of increment and decrement buttons in Chrome.
|
|
282
|
-
*/
|
|
283
|
-
|
|
284
|
-
[type='number']::-webkit-inner-spin-button,
|
|
285
|
-
[type='number']::-webkit-outer-spin-button {
|
|
286
|
-
height: auto;
|
|
287
|
-
}
|
|
288
|
-
|
|
289
|
-
/**
|
|
290
|
-
* 1. Correct the odd appearance in Chrome and Safari.
|
|
291
|
-
* 2. Correct the outline style in Safari.
|
|
292
|
-
*/
|
|
293
|
-
|
|
294
|
-
[type='search'] {
|
|
295
|
-
-webkit-appearance: textfield; /* 1 */
|
|
296
|
-
outline-offset: -2px; /* 2 */
|
|
297
|
-
}
|
|
298
|
-
|
|
299
|
-
/**
|
|
300
|
-
* Remove the inner padding in Chrome and Safari on macOS.
|
|
301
|
-
*/
|
|
302
|
-
|
|
303
|
-
[type='search']::-webkit-search-decoration {
|
|
304
|
-
-webkit-appearance: none;
|
|
305
|
-
}
|
|
306
|
-
|
|
307
|
-
/**
|
|
308
|
-
* 1. Correct the inability to style clickable types in iOS and Safari.
|
|
309
|
-
* 2. Change font properties to `inherit` in Safari.
|
|
310
|
-
*/
|
|
311
|
-
|
|
312
|
-
::-webkit-file-upload-button {
|
|
313
|
-
-webkit-appearance: button; /* 1 */
|
|
314
|
-
font: inherit; /* 2 */
|
|
315
|
-
}
|
|
316
|
-
|
|
317
|
-
/* Interactive
|
|
318
|
-
========================================================================== */
|
|
319
|
-
|
|
320
|
-
/*
|
|
321
|
-
* Add the correct display in Edge, IE 10+, and Firefox.
|
|
322
|
-
*/
|
|
323
|
-
|
|
324
|
-
details {
|
|
325
|
-
display: block;
|
|
326
|
-
}
|
|
327
|
-
|
|
328
|
-
/*
|
|
329
|
-
* Add the correct display in all browsers.
|
|
330
|
-
*/
|
|
331
|
-
|
|
332
|
-
summary {
|
|
333
|
-
display: list-item;
|
|
334
|
-
}
|
|
335
|
-
|
|
336
|
-
/* Misc
|
|
337
|
-
========================================================================== */
|
|
338
|
-
|
|
339
|
-
/**
|
|
340
|
-
* Add the correct display in IE 10+.
|
|
341
|
-
*/
|
|
342
|
-
|
|
343
|
-
template {
|
|
344
|
-
display: none;
|
|
345
|
-
}
|
|
346
|
-
|
|
347
|
-
/**
|
|
348
|
-
* Add the correct display in IE 10.
|
|
349
|
-
*/
|
|
350
|
-
|
|
351
|
-
[hidden] {
|
|
352
|
-
display: none;
|
|
353
|
-
}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
$lumx-base-prefix: "lumx";
|
|
2
|
-
$lumx-base-constants: (
|
|
3
|
-
"emphasis": (
|
|
4
|
-
"HIGH": "emphasis-high",
|
|
5
|
-
"MEDIUM": "emphasis-medium",
|
|
6
|
-
"LOW": "emphasis-low",
|
|
7
|
-
"SELECTED": "emphasis-selected",
|
|
8
|
-
),
|
|
9
|
-
"position": (
|
|
10
|
-
"TOP": "position-top",
|
|
11
|
-
"RIGHT": "position-right",
|
|
12
|
-
"BOTTOM": "position-bottom",
|
|
13
|
-
"LEFT": "position-left",
|
|
14
|
-
"CENTER": "position-center",
|
|
15
|
-
),
|
|
16
|
-
"size": (
|
|
17
|
-
"XXS": "xxs",
|
|
18
|
-
"XS": "xs",
|
|
19
|
-
"S": "s",
|
|
20
|
-
"M": "m",
|
|
21
|
-
"L": "l",
|
|
22
|
-
"XL": "xl",
|
|
23
|
-
"XXL": "xxl",
|
|
24
|
-
),
|
|
25
|
-
"state": (
|
|
26
|
-
"DEFAULT": "state-default",
|
|
27
|
-
"HOVER": "state-hover",
|
|
28
|
-
"ACTIVE": "state-active",
|
|
29
|
-
"FOCUS": "state-focus",
|
|
30
|
-
),
|
|
31
|
-
"theme": (
|
|
32
|
-
"LIGHT": "theme-light",
|
|
33
|
-
"DARK": "theme-dark",
|
|
34
|
-
),
|
|
35
|
-
);
|
|
36
|
-
$lumx-base-layers: (
|
|
37
|
-
"high": 999,
|
|
38
|
-
"higher": 9999,
|
|
39
|
-
);
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Color (font & background)
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
|
-
@each $color-key, $color in $lumx-color-palette {
|
|
6
|
-
@each $color-variant in $lumx-color-variants {
|
|
7
|
-
.#{$lumx-base-prefix}-color-background-#{$color-key}-#{$color-variant} {
|
|
8
|
-
background-color: lumx-color-variant($color-key, $color-variant);
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.#{$lumx-base-prefix}-color-font-#{$color-key}-#{$color-variant} {
|
|
12
|
-
color: lumx-color-variant($color-key, $color-variant);
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
@use "sass:string";
|
|
3
|
-
|
|
4
|
-
@mixin lumx-elevation($elevation, $variant: "L4") {
|
|
5
|
-
@if $elevation == 0 {
|
|
6
|
-
box-shadow: none;
|
|
7
|
-
} @else {
|
|
8
|
-
box-shadow: string.unquote(map.get($lumx-elevation-shadows, $elevation)) lumx-color-variant("dark", $variant);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Spacing
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
|
-
@each $property-namespace, $property in $lumx-spacing-properties {
|
|
6
|
-
@each $direction-namespace, $direction-rules in $lumx-spacing-directions {
|
|
7
|
-
@each $size-namespace, $size in $lumx-spacing-sizes {
|
|
8
|
-
.#{$lumx-base-prefix}-spacing-#{$property-namespace}#{$direction-namespace}#{$size-namespace} {
|
|
9
|
-
@each $direction in $direction-rules {
|
|
10
|
-
#{$property}#{$direction}: $size !important;
|
|
11
|
-
}
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
$lumx-spacing-unit: $lumx-spacing-unit-regular;
|
|
2
|
-
$lumx-spacing-directions: (
|
|
3
|
-
null: null,
|
|
4
|
-
"-top": "-top",
|
|
5
|
-
"-right": "-right",
|
|
6
|
-
"-bottom": "-bottom",
|
|
7
|
-
"-left": "-left",
|
|
8
|
-
"-horizontal": "-left" "-right",
|
|
9
|
-
"-vertical": "-top" "-bottom",
|
|
10
|
-
);
|
|
11
|
-
$lumx-spacing-properties: (
|
|
12
|
-
"padding": "padding",
|
|
13
|
-
"margin": "margin",
|
|
14
|
-
);
|
|
15
|
-
$lumx-spacing-sizes: (
|
|
16
|
-
null: $lumx-spacing-unit-regular,
|
|
17
|
-
"-tiny": $lumx-spacing-unit-tiny,
|
|
18
|
-
"-regular": $lumx-spacing-unit-regular,
|
|
19
|
-
"-big": $lumx-spacing-unit-big,
|
|
20
|
-
"-huge": $lumx-spacing-unit-huge,
|
|
21
|
-
"-none": 0,
|
|
22
|
-
);
|
|
@@ -1,127 +0,0 @@
|
|
|
1
|
-
@mixin lumx-state-high($state, $color, $theme) {
|
|
2
|
-
@if $state == lumx-base-const("state", "DEFAULT") {
|
|
3
|
-
@if $theme == lumx-base-const("theme", "LIGHT") {
|
|
4
|
-
background-color: lumx-color-variant($color, "N");
|
|
5
|
-
|
|
6
|
-
@if $color == "yellow" {
|
|
7
|
-
color: lumx-color-variant("dark", "L1");
|
|
8
|
-
} @else {
|
|
9
|
-
color: lumx-color-variant("light", "N");
|
|
10
|
-
}
|
|
11
|
-
} @else if $theme == lumx-base-const("theme", "DARK") {
|
|
12
|
-
color: lumx-color-variant($color, "N");
|
|
13
|
-
background-color: lumx-color-variant("light", "N");
|
|
14
|
-
}
|
|
15
|
-
} @else if $state == lumx-base-const("state", "HOVER") {
|
|
16
|
-
@if $theme == lumx-base-const("theme", "LIGHT") {
|
|
17
|
-
background-color: lumx-color-variant($color, "D1");
|
|
18
|
-
} @else if $theme == lumx-base-const("theme", "DARK") {
|
|
19
|
-
background-color: lumx-color-variant("light", "L1");
|
|
20
|
-
}
|
|
21
|
-
} @else if $state == lumx-base-const("state", "ACTIVE") {
|
|
22
|
-
@if $theme == lumx-base-const("theme", "LIGHT") {
|
|
23
|
-
background-color: lumx-color-variant($color, "D2");
|
|
24
|
-
} @else if $theme == lumx-base-const("theme", "DARK") {
|
|
25
|
-
background-color: lumx-color-variant("light", "L2");
|
|
26
|
-
}
|
|
27
|
-
} @else if $state == lumx-base-const("state", "FOCUS") {
|
|
28
|
-
outline-offset: 2px;
|
|
29
|
-
|
|
30
|
-
@if $theme == lumx-base-const("theme", "LIGHT") {
|
|
31
|
-
outline: 2px solid lumx-color-variant("dark", "N");
|
|
32
|
-
} @else if $theme == lumx-base-const("theme", "DARK") {
|
|
33
|
-
outline: 2px solid lumx-color-variant("light", "N");
|
|
34
|
-
}
|
|
35
|
-
}
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
@mixin lumx-state-medium($state, $color) {
|
|
39
|
-
@if $state == lumx-base-const("state", "DEFAULT") {
|
|
40
|
-
background-color: lumx-color-variant($color, "L5");
|
|
41
|
-
|
|
42
|
-
@if $color == "yellow" {
|
|
43
|
-
color: lumx-color-variant("dark", "L1");
|
|
44
|
-
} @else {
|
|
45
|
-
color: lumx-color-variant($color, "N");
|
|
46
|
-
}
|
|
47
|
-
} @else if $state == lumx-base-const("state", "HOVER") {
|
|
48
|
-
background-color: lumx-color-variant($color, "L4");
|
|
49
|
-
} @else if $state == lumx-base-const("state", "ACTIVE") {
|
|
50
|
-
background-color: lumx-color-variant($color, "L3");
|
|
51
|
-
} @else if $state == lumx-base-const("state", "FOCUS") {
|
|
52
|
-
outline: 2px solid lumx-color-variant($color, "N");
|
|
53
|
-
outline-offset: 2px;
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
@mixin lumx-state-as-selected($state, $theme) {
|
|
58
|
-
@if $theme == lumx-base-const("theme", "LIGHT") {
|
|
59
|
-
@if $state == lumx-base-const("state", "DEFAULT") {
|
|
60
|
-
color: lumx-color-variant("primary", "D2");
|
|
61
|
-
background-color: lumx-color-variant("primary", "L5");
|
|
62
|
-
} @else if $state == lumx-base-const("state", "HOVER") {
|
|
63
|
-
background-color: lumx-color-variant("primary", "L4");
|
|
64
|
-
} @else if $state == lumx-base-const("state", "ACTIVE") {
|
|
65
|
-
background-color: lumx-color-variant("primary", "L3");
|
|
66
|
-
} @else if $state == lumx-base-const("state", "FOCUS") {
|
|
67
|
-
outline: 2px solid lumx-color-variant("dark", "N");
|
|
68
|
-
outline-offset: 2px;
|
|
69
|
-
}
|
|
70
|
-
} @else if $theme == lumx-base-const("theme", "DARK") {
|
|
71
|
-
@if $state == lumx-base-const("state", "DEFAULT") {
|
|
72
|
-
color: lumx-color-variant("light", "N");
|
|
73
|
-
background-color: lumx-color-variant("light", "L3");
|
|
74
|
-
} @else if $state == lumx-base-const("state", "HOVER") {
|
|
75
|
-
background-color: lumx-color-variant("light", "L4");
|
|
76
|
-
} @else if $state == lumx-base-const("state", "ACTIVE") {
|
|
77
|
-
background-color: lumx-color-variant("light", "L5");
|
|
78
|
-
} @else if $state == lumx-base-const("state", "FOCUS") {
|
|
79
|
-
outline: 2px solid lumx-color-variant("light", "N");
|
|
80
|
-
outline-offset: 2px;
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
@mixin lumx-state-low($state, $color) {
|
|
86
|
-
@if $state == lumx-base-const("state", "DEFAULT") {
|
|
87
|
-
color: lumx-color-variant($color, "N");
|
|
88
|
-
background-color: transparent;
|
|
89
|
-
} @else if $state == lumx-base-const("state", "HOVER") {
|
|
90
|
-
background-color: lumx-color-variant($color, "L5");
|
|
91
|
-
} @else if $state == lumx-base-const("state", "ACTIVE") {
|
|
92
|
-
background-color: lumx-color-variant($color, "L4");
|
|
93
|
-
} @else if $state == lumx-base-const("state", "FOCUS") {
|
|
94
|
-
outline: 2px solid lumx-color-variant($color, "N");
|
|
95
|
-
outline-offset: 2px;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
@mixin lumx-state-disabled-text($theme) {
|
|
100
|
-
pointer-events: none;
|
|
101
|
-
|
|
102
|
-
@if $theme == lumx-base-const("theme", "LIGHT") {
|
|
103
|
-
color: lumx-color-variant("dark", "L3");
|
|
104
|
-
} @else if $theme == lumx-base-const("theme", "DARK") {
|
|
105
|
-
color: lumx-color-variant("light", "L3");
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
@mixin lumx-state-disabled-input() {
|
|
110
|
-
pointer-events: none;
|
|
111
|
-
opacity: 0.5;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
@mixin lumx-state($state, $emphasis, $color, $theme: null) {
|
|
115
|
-
@if $emphasis == lumx-base-const("emphasis", "HIGH") {
|
|
116
|
-
@include lumx-state-high($state, $color, $theme);
|
|
117
|
-
} @else if $emphasis == lumx-base-const("emphasis", "MEDIUM") or $emphasis == lumx-base-const("emphasis", "SELECTED") {
|
|
118
|
-
@include lumx-state-medium($state, $color);
|
|
119
|
-
} @else if $emphasis == lumx-base-const("emphasis", "LOW") {
|
|
120
|
-
@include lumx-state-low($state, $color);
|
|
121
|
-
}
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
@mixin lumx-state-transition() {
|
|
125
|
-
transition-duration: $lumx-state-transition-duration;
|
|
126
|
-
transition-property: background-color, box-shadow, color;
|
|
127
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
$lumx-state-transition-duration: 150ms;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
/* ==========================================================================
|
|
2
|
-
Typography
|
|
3
|
-
========================================================================== */
|
|
4
|
-
|
|
5
|
-
@each $key, $style in $lumx-typography-interface {
|
|
6
|
-
.#{$lumx-base-prefix}-typography-#{$key},
|
|
7
|
-
.#{$lumx-base-prefix}-typography-interface-#{$key} {
|
|
8
|
-
@include lumx-typography($key);
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
@each $key, $style in $lumx-typography-custom {
|
|
13
|
-
.#{$lumx-base-prefix}-typography-custom-#{$key} {
|
|
14
|
-
@include lumx-typography($key, "custom");
|
|
15
|
-
}
|
|
16
|
-
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
|
|
3
|
-
@mixin lumx-typography-base() {
|
|
4
|
-
font-family: var(--lumx-typography-font-family);
|
|
5
|
-
-moz-osx-font-smoothing: grayscale;
|
|
6
|
-
-webkit-font-smoothing: antialiased;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
@mixin lumx-typography($key, $type: "interface") {
|
|
10
|
-
@if $type == "custom" {
|
|
11
|
-
font-family: var(--lumx-typography-custom-#{$key}-font-family);
|
|
12
|
-
font-size: var(--lumx-typography-custom-#{$key}-font-size);
|
|
13
|
-
font-style: var(--lumx-typography-custom-#{$key}-font-style);
|
|
14
|
-
font-weight: var(--lumx-typography-custom-#{$key}-font-weight);
|
|
15
|
-
line-height: var(--lumx-typography-custom-#{$key}-line-height);
|
|
16
|
-
} @else if $type == "interface" {
|
|
17
|
-
font-size: map.get(map.get($lumx-typography-interface, $key), "font-size");
|
|
18
|
-
font-weight: var(--lumx-typography-interface-#{$key}-font-weight);
|
|
19
|
-
line-height: map.get(map.get($lumx-typography-interface, $key), "line-height");
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
@if $key == "overline" {
|
|
23
|
-
text-transform: uppercase;
|
|
24
|
-
}
|
|
25
|
-
}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
@use "sass:map";
|
|
2
|
-
|
|
3
|
-
$lumx-typography-default-font-size: 16px;
|
|
4
|
-
$lumx-typography-default-line-height: 24px;
|
|
5
|
-
$lumx-typography-interface: map.get(map.get($lumx-design-tokens, "typography"), "interface");
|
|
6
|
-
$lumx-typography-custom: map.get(map.get($lumx-design-tokens, "typography"), "custom");
|