@lucca-front/scss 17.3.6 → 17.3.7
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lucca-front/scss",
|
|
3
|
-
"version": "17.3.
|
|
3
|
+
"version": "17.3.7",
|
|
4
4
|
"description": "A Sass framework for Lucca products.",
|
|
5
5
|
"main": "src/main.scss",
|
|
6
6
|
"scripts": {},
|
|
@@ -23,6 +23,6 @@
|
|
|
23
23
|
"normalize.css": "^8.0.0"
|
|
24
24
|
},
|
|
25
25
|
"peerDependencies": {
|
|
26
|
-
"@lucca-front/icons": "v17.3.
|
|
26
|
+
"@lucca-front/icons": "v17.3.7"
|
|
27
27
|
}
|
|
28
28
|
}
|
|
@@ -8,25 +8,30 @@
|
|
|
8
8
|
@return math.div($value, 16px) * 1em;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
|
+
// Range queries have been supported since Safari 16.4. They can therefore be used in theory.
|
|
12
|
+
// However, they only provide a different syntax and penalize some users who don’t have their browser up to date.
|
|
13
|
+
|
|
11
14
|
// les requêtes simples et multiples
|
|
12
15
|
|
|
13
16
|
@mixin query($breakpoint, $property: 'width', $max: false, $at: 'media', $name: '') {
|
|
14
|
-
$
|
|
17
|
+
$reversed: '';
|
|
15
18
|
|
|
16
19
|
@if $max {
|
|
17
|
-
$
|
|
20
|
+
$reversed: 'not all and';
|
|
18
21
|
}
|
|
19
22
|
|
|
20
23
|
@if map.get(config.$breakpoints, $breakpoint) {
|
|
21
24
|
$breakpoint: pxToEm(map.get(config.$breakpoints, $breakpoint));
|
|
22
25
|
}
|
|
23
26
|
|
|
24
|
-
@#{$at} #{$name}
|
|
27
|
+
@#{$at} #{$name} #{$reversed} (min-#{$property}: #{$breakpoint}) {
|
|
25
28
|
@content;
|
|
26
29
|
}
|
|
27
30
|
}
|
|
28
31
|
|
|
29
32
|
@mixin queries($breakpoint1, $breakpoint2, $property: 'width', $at: 'media', $name: '') {
|
|
33
|
+
$reversed: 'not all and';
|
|
34
|
+
|
|
30
35
|
@if map.get(config.$breakpoints, $breakpoint1) {
|
|
31
36
|
$breakpoint1: pxToEm(map.get(config.$breakpoints, $breakpoint1));
|
|
32
37
|
}
|
|
@@ -42,8 +47,10 @@
|
|
|
42
47
|
$breakpoint1: $breakpointTmp;
|
|
43
48
|
}
|
|
44
49
|
|
|
45
|
-
@#{$at} #{$name} (
|
|
46
|
-
|
|
50
|
+
@#{$at} #{$name} (min-#{$property}: #{$breakpoint1}) {
|
|
51
|
+
@#{$at} #{$name} #{$reversed} (min-#{$property}: #{$breakpoint2}) {
|
|
52
|
+
@content;
|
|
53
|
+
}
|
|
47
54
|
}
|
|
48
55
|
}
|
|
49
56
|
|