@maltjoy/themes 3.7.4 → 3.8.0
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/default.css.map +1 -1
- package/package.json +1 -1
- package/src/_tools.scss +6 -6
- package/src/themes/default.scss +6 -0
package/dist/default.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sourceRoot":"","sources":["../src/themes/default.scss","../src/tokens/src/colors/_index.scss","../src/tokens/src/elevations/_index.scss","../src/tokens/src/fonts/_index.scss","../src/tokens/src/radius/_index.scss","../src/tokens/src/spacing/_index.scss","../src/tokens/src/animations/_index.scss","../src/tokens/src/zindex/_index.scss","../src/tokens/src/forms/index.scss"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"sourceRoot":"","sources":["../src/themes/default.scss","../src/tokens/src/colors/_index.scss","../src/tokens/src/elevations/_index.scss","../src/tokens/src/fonts/_index.scss","../src/tokens/src/radius/_index.scss","../src/tokens/src/spacing/_index.scss","../src/tokens/src/animations/_index.scss","../src/tokens/src/zindex/_index.scss","../src/tokens/src/forms/index.scss"],"names":[],"mappings":"AAeA,WACE,6BACA,+EACA,gBACA,kBACA,kBAKF,WACE,6BACA,+EACA,gBACA,kBACA,kBAGF,WACE,sBACA,sEACA,gBACA,kBACA,kBAGF,WACE,sBACA,yEACA,gBACA,kBACA,kBAGF,MC0DQ,gKAIA,wIAIA,oIAIA,4IAKA,wJAIA,gKAKA,gOA8BA,oOAOA,kGA7BA,gGAKA,4GAKA,gGAKA,0FAmBJ,2CCnKI,wSCiBN,yDACA,sEAGA,kCACA,kCACA,kCACA,kCACA,kCACA,kCAGA,oCACA,oCACA,oCACA,oCAGA,8BACA,4BAGA,8BACA,8BCzCM,qJCOJ,6BAGI,muBCfJ,uCACA,yCACA,sCACA,8CCCF,qCACA,gCACA,kCACA,sCACA,gCACA,iCACA,kCCDA,6BAGA,2DACA,0DACA,yDACA,2DACA,yDAEA,qEACA,oEACA,mEACA,qEACA,oEAEA,8DACA,kCACA","file":"default.css"}
|
package/package.json
CHANGED
package/src/_tools.scss
CHANGED
|
@@ -101,7 +101,7 @@ $FONTS_MAP: (
|
|
|
101
101
|
)
|
|
102
102
|
) !default;
|
|
103
103
|
|
|
104
|
-
@mixin getFontBySize($font: primary-400) {
|
|
104
|
+
@mixin getFontBySize($font: primary-400, $important: null) {
|
|
105
105
|
$fontProperties: map-get($FONTS_MAP, $font);
|
|
106
106
|
$fontFamily: map-get($fontProperties, fontFamily);
|
|
107
107
|
$fontSize: map-get($fontProperties, fontSize);
|
|
@@ -110,15 +110,15 @@ $FONTS_MAP: (
|
|
|
110
110
|
$fontLineHeight: map-get($fontProperties, lineHeight);
|
|
111
111
|
|
|
112
112
|
@if $fontFamily != null {
|
|
113
|
-
font-family: $fontFamily;
|
|
113
|
+
font-family: $fontFamily $important;
|
|
114
114
|
}
|
|
115
|
-
font-weight: $fontWeight;
|
|
116
|
-
font-size: $fontSize;
|
|
117
|
-
line-height: $fontLineHeight;
|
|
115
|
+
font-weight: $fontWeight $important;
|
|
116
|
+
font-size: $fontSize $important;
|
|
117
|
+
line-height: $fontLineHeight $important;
|
|
118
118
|
|
|
119
119
|
@if $fontSizeMobile!= null {
|
|
120
120
|
@media (max-width: 767px) {
|
|
121
|
-
font-size: $fontSizeMobile;
|
|
121
|
+
font-size: $fontSizeMobile $important;
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
}
|
package/src/themes/default.scss
CHANGED
|
@@ -7,6 +7,12 @@
|
|
|
7
7
|
@use '../tokens/src/spacing';
|
|
8
8
|
@use '../tokens/src/zindex';
|
|
9
9
|
|
|
10
|
+
// @use '../tools';
|
|
11
|
+
|
|
12
|
+
// .this-is-a-test {
|
|
13
|
+
// @include tools.getFontBySize(primary-200);
|
|
14
|
+
// }
|
|
15
|
+
|
|
10
16
|
@font-face {
|
|
11
17
|
font-family: 'Agrandir Tight';
|
|
12
18
|
src: url('./fonts/agrandir/agrandir-tightmedium-webfont.woff2') format('woff2');
|