matcha-core 1.1.9 → 1.1.11
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/core.scss +43 -2
- package/matcha-core.css +22441 -8847
- package/matcha-core.min.css +1 -1
- package/package.json +1 -1
package/core.scss
CHANGED
|
@@ -38,7 +38,8 @@ $breakpoints: (
|
|
|
38
38
|
|
|
39
39
|
// Re-map the breakpoints for the helper classes
|
|
40
40
|
$helper-breakpoints: (
|
|
41
|
-
|
|
41
|
+
initial: null,
|
|
42
|
+
xs: 'xs',
|
|
42
43
|
sm: 'gt-xs',
|
|
43
44
|
md: 'gt-sm',
|
|
44
45
|
lg: 'gt-md',
|
|
@@ -1099,9 +1100,49 @@ $helper-breakpoints: (
|
|
|
1099
1100
|
}
|
|
1100
1101
|
@include generate-border-size-classes($helper-breakpoints);
|
|
1101
1102
|
|
|
1103
|
+
// -----------------------------------------------------------------------------------------------------
|
|
1104
|
+
// @ Border Style
|
|
1105
|
+
// -----------------------------------------------------------------------------------------------------
|
|
1106
|
+
@mixin generate-border-style-classes($helper-breakpoints){
|
|
1107
|
+
$border-styles: (
|
|
1108
|
+
solid: solid,
|
|
1109
|
+
dashed: dashed,
|
|
1110
|
+
dotted: dotted,
|
|
1111
|
+
double: double,
|
|
1112
|
+
groove: groove,
|
|
1113
|
+
ridge: ridge,
|
|
1114
|
+
inset: inset,
|
|
1115
|
+
outset: outset,
|
|
1116
|
+
none: none
|
|
1117
|
+
);
|
|
1118
|
+
|
|
1119
|
+
$border-directions: (
|
|
1120
|
+
bottom: (solid: solid, dashed: dashed, dotted: dotted, double: double, groove: groove, ridge: ridge, inset: inset, outset: outset, none: none),
|
|
1121
|
+
top: (solid: solid, dashed: dashed, dotted: dotted, double: double, groove: groove, ridge: ridge, inset: inset, outset: outset, none: none),
|
|
1122
|
+
left: (solid: solid, dashed: dashed, dotted: dotted, double: double, groove: groove, ridge: ridge, inset: inset, outset: outset, none: none),
|
|
1123
|
+
right: (solid: solid, dashed: dashed, dotted: dotted, double: double, groove: groove, ridge: ridge, inset: inset, outset: outset, none: none)
|
|
1124
|
+
);
|
|
1125
|
+
|
|
1126
|
+
@each $breakpoint, $materialBreakpoint in $helper-breakpoints {
|
|
1127
|
+
@include media-breakpoint($materialBreakpoint) {
|
|
1128
|
+
$infix: if($materialBreakpoint == null, "", "-#{$breakpoint}");
|
|
1129
|
+
|
|
1130
|
+
// Classes para estilo de borda geral
|
|
1131
|
+
@each $class, $value in $border-styles {
|
|
1132
|
+
.border-style#{$infix}-#{$class} {
|
|
1133
|
+
border-style: $value;
|
|
1134
|
+
}
|
|
1135
|
+
.border-style#{$infix}-#{$class}--force {
|
|
1136
|
+
border-style: $value !important;
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
}
|
|
1141
|
+
}
|
|
1142
|
+
@include generate-border-style-classes($helper-breakpoints);
|
|
1102
1143
|
|
|
1103
1144
|
// -----------------------------------------------------------------------------------------------------
|
|
1104
|
-
// @ Border
|
|
1145
|
+
// @ Border Radius Helpers
|
|
1105
1146
|
// -----------------------------------------------------------------------------------------------------
|
|
1106
1147
|
@mixin generate-radius-classes($helper-breakpoints){
|
|
1107
1148
|
$radius-directions: (bottom: b, top: t, left: l, right: r);
|