piecss 0.7.6 → 0.7.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.
- checksums.yaml +4 -4
- data/sass/piecss/utilities/_typography.scss +2 -2
- data/sass/piecss/utilities/_unit.scss +5 -5
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 6c9a946ff4dad8e55eba3dc7d234e78d0d9aed5a
|
|
4
|
+
data.tar.gz: 00e9d96eff39ebbad37ca9b84626ef350077e1dd
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f71103a761ed3ce89b9887741d2334c3a7f12eeb0ffe7e08d8cb3335004d20b827e3d542e46b715aa4d6e701e23c8d9b1a156a9619bcbc8a107cab31754af558
|
|
7
|
+
data.tar.gz: f0cedfbbd8b97d8bbd63619da97e087134ef477b3cd91d177820c8f9c478f277c8e3ee7956ba2eeb32d2d3d4d1a414f6de9f79b6bef5094f651292fd1486d617
|
|
@@ -168,7 +168,7 @@
|
|
|
168
168
|
@if not($font-size) {
|
|
169
169
|
$font-size: $argument;
|
|
170
170
|
}
|
|
171
|
-
@
|
|
171
|
+
@else if not($line-height) {
|
|
172
172
|
$line-height: $argument;
|
|
173
173
|
}
|
|
174
174
|
}
|
|
@@ -190,7 +190,7 @@
|
|
|
190
190
|
@if $font-size and $line-height {
|
|
191
191
|
$font: append($font, #{$font-size}/#{$line-height});
|
|
192
192
|
}
|
|
193
|
-
@
|
|
193
|
+
@else if $font-size {
|
|
194
194
|
$font: append($font, #{$font-size});
|
|
195
195
|
}
|
|
196
196
|
$font: append($font, #{$font-family});
|
|
@@ -62,10 +62,10 @@
|
|
|
62
62
|
// Now, calculate the correct contextual value in requested unit
|
|
63
63
|
@if unit($unit) == "px" {
|
|
64
64
|
}
|
|
65
|
-
@
|
|
65
|
+
@else if unit($unit) == "%" {
|
|
66
66
|
$number: percentage($number / $context);
|
|
67
67
|
}
|
|
68
|
-
@
|
|
68
|
+
@else if unit($unit) == "rem" {
|
|
69
69
|
$number: $number / $default-font-size * $unit;
|
|
70
70
|
}
|
|
71
71
|
@else {
|
|
@@ -124,13 +124,13 @@
|
|
|
124
124
|
|
|
125
125
|
@if unit($value) == "px" {
|
|
126
126
|
}
|
|
127
|
-
@
|
|
127
|
+
@else if unit($value) == "rem" {
|
|
128
128
|
$value: rem-to-px($value);
|
|
129
129
|
}
|
|
130
|
-
@
|
|
130
|
+
@else if unit($value) == "em" {
|
|
131
131
|
$value: em-to-px($value, $context);
|
|
132
132
|
}
|
|
133
|
-
@
|
|
133
|
+
@else if unit($value) == "%" {
|
|
134
134
|
$value: percentage-to-px($value);
|
|
135
135
|
}
|
|
136
136
|
|