sass-zero 0.0.44 → 0.0.45
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Example.html +12 -12
- data/README.md +2 -0
- data/app/assets/stylesheets/sass-zero/base/preflight.scss +2 -1
- data/app/assets/stylesheets/sass-zero/breadboard.scss +20 -21
- data/app/assets/stylesheets/sass-zero/mixins.scss +29 -13
- data/app/assets/stylesheets/sass-zero/utilities.scss +9 -0
- data/app/assets/stylesheets/sass-zero/utilities/align.scss +28 -0
- data/app/assets/stylesheets/sass-zero/utilities/container.scss +36 -0
- data/app/assets/stylesheets/sass-zero/utilities/layout.scss +40 -3
- data/app/assets/stylesheets/sass-zero/utilities/list.scss +19 -9
- data/app/assets/stylesheets/sass-zero/utilities/position.scss +2 -2
- data/app/assets/stylesheets/sass-zero/utilities/text.scss +83 -79
- data/lib/sass/zero/version.rb +1 -1
- data/package.json +1 -1
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 90335efa16cb09716e4c31bd9cb7df2469d9e586ce409ac5db752ef195f367a5
|
4
|
+
data.tar.gz: 867fd4aec244f7886f26d438734e92d3e7511d9be443983632d673a12a4296b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 14ac230bce5200038c588cbca45e565931061251a1e401ccf3699a1c326ef55eb0caf3806b6c29124a6641847567891d69e3d43c0b0280cf8ba26f4d7ac66ee3
|
7
|
+
data.tar.gz: b525273b68b1538a8102dbeb0ccd9abeaa9bcb5f60e1fea95829613fdcdfcdb354b991e228e22c6fd915fb4c515374cedac40d775c233ac8b5289ef3735948d9
|
data/Example.html
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
<main>
|
1
|
+
<main class="container">
|
2
2
|
<p>The base type is 1.6rem (16px) over 1.6 line height (24px)</p>
|
3
3
|
<a href="#">Anchor</a>
|
4
4
|
<em>Emphasis</em>
|
@@ -24,9 +24,9 @@
|
|
24
24
|
|
25
25
|
<form class="push-lg--bottom">
|
26
26
|
<div class="push-md--bottom">
|
27
|
-
<label for="nameField">Name</label>
|
27
|
+
<label for="nameField" class="u-display-b txt--bold">Name</label>
|
28
28
|
<input type="text" placeholder="CJ Patoilo" id="nameField" class="input">
|
29
|
-
<label for="ageRangeField">Age Range</label>
|
29
|
+
<label for="ageRangeField" class="u-display-b txt--bold">Age Range</label>
|
30
30
|
|
31
31
|
<select id="ageRangeField" class="input input--select">
|
32
32
|
<option value="0-13">0-13</option>
|
@@ -35,36 +35,36 @@
|
|
35
35
|
<option value="24+">24+</option>
|
36
36
|
</select>
|
37
37
|
|
38
|
-
<label for="commentField">Comment</label>
|
38
|
+
<label for="commentField" class="u-display-b txt--bold">Comment</label>
|
39
39
|
<textarea placeholder="Hi CJ …" id="commentField" rows="3" class="input"></textarea>
|
40
40
|
|
41
41
|
<div class="push-md--bottom">
|
42
42
|
<div>
|
43
43
|
<input type="checkbox" name="option1" value="1" class="checkbox" checked>
|
44
|
-
<label for="option1">Option 1</label>
|
44
|
+
<label for="option1" class="u-display-ib">Option 1</label>
|
45
45
|
</div>
|
46
46
|
<div>
|
47
47
|
<input type="checkbox" name="option2" value="2" class="checkbox">
|
48
|
-
<label for="option2">Option 2</label>
|
48
|
+
<label for="option2" class="u-display-ib">Option 2</label>
|
49
49
|
</div>
|
50
50
|
<div>
|
51
51
|
<input type="checkbox" name="option3" value="3" class="checkbox">
|
52
|
-
<label for="option3">Option 3</label>
|
52
|
+
<label for="option3" class="u-display-ib">Option 3</label>
|
53
53
|
</div>
|
54
54
|
</div>
|
55
55
|
|
56
56
|
<div class="push-md--bottom">
|
57
57
|
<div>
|
58
58
|
<input type="radio" name="radio" value="1" class="radio" checked>
|
59
|
-
<label for="radio">Option 1</label>
|
59
|
+
<label for="radio" class="u-display-ib">Option 1</label>
|
60
60
|
</div>
|
61
61
|
<div>
|
62
62
|
<input type="radio" name="radio" value="2" class="radio">
|
63
|
-
<label for="radio">Option 2</label>
|
63
|
+
<label for="radio" class="u-display-ib">Option 2</label>
|
64
64
|
</div>
|
65
65
|
<div>
|
66
66
|
<input type="radio" name="radio" value="3" class="radio">
|
67
|
-
<label for="radio">Option 3</label>
|
67
|
+
<label for="radio" class="u-display-ib">Option 3</label>
|
68
68
|
</div>
|
69
69
|
</div>
|
70
70
|
</div>
|
@@ -113,13 +113,13 @@
|
|
113
113
|
|
114
114
|
<hr>
|
115
115
|
|
116
|
-
<ul>
|
116
|
+
<ul class="list--unindented ">
|
117
117
|
<li>Unordered list item 1</li>
|
118
118
|
<li>Unordered list item 2</li>
|
119
119
|
<li>Unordered list item 3</li>
|
120
120
|
</ul>
|
121
121
|
|
122
|
-
<ol>
|
122
|
+
<ol class="list--unindented ">
|
123
123
|
<li>Ordered list item 1</li>
|
124
124
|
<li>Ordered list item 2</li>
|
125
125
|
<li>Ordered list item 3</li>
|
data/README.md
CHANGED
@@ -51,7 +51,9 @@ Developers should be able to produce your own design, [Refactoring UI](https://r
|
|
51
51
|
|
52
52
|
### Utilities
|
53
53
|
|
54
|
+
- [Align](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/utilities/align.scss)
|
54
55
|
- [Animation](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/utilities/animation.scss)
|
56
|
+
- [Container](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/utilities/container.scss)
|
55
57
|
- [Margin Push](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/utilities/push.scss)
|
56
58
|
- [Margin Pull](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/utilities/pull.scss)
|
57
59
|
- [Margin Reset](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/utilities/flush.scss)
|
@@ -1,6 +1,11 @@
|
|
1
1
|
@import "sass-zero/variables";
|
2
2
|
@import "sass-zero/mixins";
|
3
3
|
|
4
|
+
$font-family: $font-sans;
|
5
|
+
|
6
|
+
$radius-input: $rounded;
|
7
|
+
$radius-button: $rounded;
|
8
|
+
|
4
9
|
$color-bg--main: $white;
|
5
10
|
$color-bg--surface: $gray-100;
|
6
11
|
$color-primary: $gray-900;
|
@@ -14,12 +19,8 @@ $image-checked-radio-white: url('data:image/svg+xml,<svg viewBox="0 0 16 16"
|
|
14
19
|
html {
|
15
20
|
background: $color-bg--main;
|
16
21
|
color: $color-txt;
|
17
|
-
font-
|
18
|
-
|
19
|
-
|
20
|
-
main {
|
21
|
-
padding-right: $size-2;
|
22
|
-
padding-left: $size-2;
|
22
|
+
font-family: $font-family;
|
23
|
+
font-size: 16px;
|
23
24
|
}
|
24
25
|
|
25
26
|
blockquote {
|
@@ -29,7 +30,7 @@ blockquote {
|
|
29
30
|
}
|
30
31
|
|
31
32
|
.btn {
|
32
|
-
border-radius: $
|
33
|
+
border-radius: $radius-button;
|
33
34
|
border-width: $border;
|
34
35
|
display: inline-block;
|
35
36
|
font-weight: $font-bold;
|
@@ -65,7 +66,7 @@ blockquote {
|
|
65
66
|
|
66
67
|
code {
|
67
68
|
background-color: $color-bg--surface;
|
68
|
-
border-radius: $rounded;
|
69
|
+
border-radius: $rounded-xl;
|
69
70
|
font-size: $text-sm;
|
70
71
|
margin: $size-0 $size-1;
|
71
72
|
padding: $size-1 $size-2;
|
@@ -93,7 +94,7 @@ hr {
|
|
93
94
|
.input {
|
94
95
|
appearance: none;
|
95
96
|
background-color: $transparent;
|
96
|
-
border-radius: $
|
97
|
+
border-radius: $radius-input;
|
97
98
|
border-width: $border;
|
98
99
|
padding: $size-2 $size-3;
|
99
100
|
width: $size-full;
|
@@ -142,21 +143,24 @@ hr {
|
|
142
143
|
}
|
143
144
|
}
|
144
145
|
|
145
|
-
label, legend, dt {
|
146
|
-
display: inline-block;
|
147
|
-
margin-bottom: $size-1;
|
148
|
-
}
|
149
|
-
|
150
146
|
a {
|
151
147
|
font-weight: $font-bold;
|
152
148
|
}
|
153
149
|
|
150
|
+
ul, ol {
|
151
|
+
padding-left: $size-10;
|
152
|
+
}
|
153
|
+
|
154
154
|
ul {
|
155
|
-
list-style: disc
|
155
|
+
list-style: disc outside;
|
156
156
|
}
|
157
157
|
|
158
158
|
ol {
|
159
|
-
list-style: decimal
|
159
|
+
list-style: decimal outside;
|
160
|
+
}
|
161
|
+
|
162
|
+
label, legend, dt {
|
163
|
+
margin-bottom: $size-1;
|
160
164
|
}
|
161
165
|
|
162
166
|
h1, h2, h3, h4, h5, h6, .hdg {
|
@@ -209,8 +213,3 @@ h5, .hdg--lg {
|
|
209
213
|
h6, .hdg--base {
|
210
214
|
font-size: $text-base;
|
211
215
|
}
|
212
|
-
|
213
|
-
@media (min-width: $breakpoint-md) {
|
214
|
-
html { font-size: 16px; }
|
215
|
-
main { @include make-container($size-10, $breakpoint-xl); }
|
216
|
-
}
|
@@ -1,12 +1,7 @@
|
|
1
1
|
@import "sass-zero/variables/border";
|
2
2
|
@import "sass-zero/variables/effects";
|
3
3
|
@import "sass-zero/variables/spacing";
|
4
|
-
|
5
|
-
@mixin ellipsis {
|
6
|
-
text-overflow: ellipsis;
|
7
|
-
white-space: nowrap;
|
8
|
-
overflow: hidden;
|
9
|
-
}
|
4
|
+
@import "sass-zero/variables/zindex";
|
10
5
|
|
11
6
|
@mixin antialiased {
|
12
7
|
-webkit-font-smoothing: antialiased;
|
@@ -26,11 +21,10 @@
|
|
26
21
|
}
|
27
22
|
}
|
28
23
|
|
29
|
-
@mixin
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
background-repeat: no-repeat;
|
24
|
+
@mixin ellipsis {
|
25
|
+
text-overflow: ellipsis;
|
26
|
+
white-space: nowrap;
|
27
|
+
overflow: hidden;
|
34
28
|
}
|
35
29
|
|
36
30
|
@mixin input-selection($color) {
|
@@ -42,6 +36,13 @@
|
|
42
36
|
width: $size-4;
|
43
37
|
}
|
44
38
|
|
39
|
+
@mixin checked {
|
40
|
+
border-color: transparent;
|
41
|
+
background-color: currentColor;
|
42
|
+
background-position: center;
|
43
|
+
background-repeat: no-repeat;
|
44
|
+
}
|
45
|
+
|
45
46
|
@mixin outline-none {
|
46
47
|
outline: 2px solid transparent;
|
47
48
|
outline-offset: 2px;
|
@@ -57,6 +58,22 @@
|
|
57
58
|
outline-offset: 2px;
|
58
59
|
}
|
59
60
|
|
61
|
+
@mixin divider($color) {
|
62
|
+
position: relative;
|
63
|
+
z-index: $z-10;
|
64
|
+
|
65
|
+
::before {
|
66
|
+
content: '';
|
67
|
+
position: absolute;
|
68
|
+
top: 50%;
|
69
|
+
left: $size-0;
|
70
|
+
right: $size-0;
|
71
|
+
height: $size-px;
|
72
|
+
background-color: $color;
|
73
|
+
z-index: -1;
|
74
|
+
}
|
75
|
+
}
|
76
|
+
|
60
77
|
@mixin space-x($space, $reverse: false) {
|
61
78
|
& > :not([hidden]) ~ :not([hidden]) {
|
62
79
|
@if $reverse {
|
@@ -77,11 +94,10 @@
|
|
77
94
|
}
|
78
95
|
}
|
79
96
|
|
80
|
-
@mixin make-container($padding-x
|
97
|
+
@mixin make-container($padding-x: $size-4) {
|
81
98
|
width: 100%;
|
82
99
|
padding-right: $padding-x;
|
83
100
|
padding-left: $padding-x;
|
84
101
|
margin-right: $size-auto;
|
85
102
|
margin-left: $size-auto;
|
86
|
-
max-width: $max-width;
|
87
103
|
}
|
@@ -1,4 +1,13 @@
|
|
1
|
+
$color-txt: #18181b;
|
2
|
+
$color-txt--subtle: #3f3f46;
|
3
|
+
$color-txt--subtle-reversed: #fff;
|
4
|
+
$color-txt--decorated: #3b82f6;
|
5
|
+
|
6
|
+
$color-bg--highlight: #f4f4f5;
|
7
|
+
|
8
|
+
@import "sass-zero/utilities/align";
|
1
9
|
@import "sass-zero/utilities/animation";
|
10
|
+
@import "sass-zero/utilities/container";
|
2
11
|
@import "sass-zero/utilities/flex";
|
3
12
|
@import "sass-zero/utilities/flush";
|
4
13
|
@import "sass-zero/utilities/layout";
|
@@ -0,0 +1,28 @@
|
|
1
|
+
.align--top {
|
2
|
+
vertical-align: top;
|
3
|
+
}
|
4
|
+
|
5
|
+
.align--middle {
|
6
|
+
vertical-align: middle;
|
7
|
+
}
|
8
|
+
|
9
|
+
.align--bottom {
|
10
|
+
vertical-align: bottom;
|
11
|
+
}
|
12
|
+
|
13
|
+
.align--left {
|
14
|
+
text-align: left;
|
15
|
+
}
|
16
|
+
|
17
|
+
.align--center {
|
18
|
+
text-align: center;
|
19
|
+
}
|
20
|
+
|
21
|
+
.align--right {
|
22
|
+
text-align: right;
|
23
|
+
}
|
24
|
+
|
25
|
+
.centered {
|
26
|
+
margin-left: auto;
|
27
|
+
margin-right: auto
|
28
|
+
}
|
@@ -0,0 +1,36 @@
|
|
1
|
+
@import "sass-zero/variables/breakpoints";
|
2
|
+
@import "sass-zero/mixins";
|
3
|
+
|
4
|
+
.container {
|
5
|
+
@include make-container;
|
6
|
+
}
|
7
|
+
|
8
|
+
@media (min-width: $breakpoint-sm) {
|
9
|
+
.container {
|
10
|
+
max-width: $breakpoint-sm;
|
11
|
+
}
|
12
|
+
}
|
13
|
+
|
14
|
+
@media (min-width: $breakpoint-md) {
|
15
|
+
.container {
|
16
|
+
max-width: $breakpoint-md;
|
17
|
+
}
|
18
|
+
}
|
19
|
+
|
20
|
+
@media (min-width: $breakpoint-lg) {
|
21
|
+
.container {
|
22
|
+
max-width: $breakpoint-lg;
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
@media (min-width: $breakpoint-xl) {
|
27
|
+
.container {
|
28
|
+
max-width: $breakpoint-xl;
|
29
|
+
}
|
30
|
+
}
|
31
|
+
|
32
|
+
@media (min-width: $breakpoint-2xl) {
|
33
|
+
.container {
|
34
|
+
max-width: $breakpoint-2xl;
|
35
|
+
}
|
36
|
+
}
|
@@ -6,13 +6,26 @@
|
|
6
6
|
width: 100%;
|
7
7
|
}
|
8
8
|
|
9
|
+
.u-full-height {
|
10
|
+
height:100%
|
11
|
+
}
|
12
|
+
|
9
13
|
.u-min-width {
|
10
14
|
min-width: 0;
|
11
15
|
}
|
12
16
|
|
13
17
|
.u-disabled {
|
14
18
|
pointer-events: none;
|
15
|
-
opacity: $opacity-
|
19
|
+
opacity: $opacity-30;
|
20
|
+
}
|
21
|
+
|
22
|
+
.u-off-screen {
|
23
|
+
position: absolute;
|
24
|
+
left: -9999em;
|
25
|
+
}
|
26
|
+
|
27
|
+
.u-overflow-auto {
|
28
|
+
overflow: auto;
|
16
29
|
}
|
17
30
|
|
18
31
|
.u-unscrollable {
|
@@ -35,9 +48,25 @@
|
|
35
48
|
display: none !important;
|
36
49
|
}
|
37
50
|
|
38
|
-
.u-
|
39
|
-
|
51
|
+
.u-visibility-hidden {
|
52
|
+
visibility: hidden;
|
53
|
+
}
|
54
|
+
|
55
|
+
.u-pointer-events-n {
|
56
|
+
pointer-events: none;
|
57
|
+
}
|
58
|
+
|
59
|
+
.u-margin-centered {
|
40
60
|
margin-left: auto;
|
61
|
+
margin-right: auto;
|
62
|
+
}
|
63
|
+
|
64
|
+
.u-wrap {
|
65
|
+
display: block;
|
66
|
+
}
|
67
|
+
|
68
|
+
.u-nowrap {
|
69
|
+
white-space: nowrap;
|
41
70
|
}
|
42
71
|
|
43
72
|
.u-clearfix {
|
@@ -68,6 +97,14 @@
|
|
68
97
|
clear: right;
|
69
98
|
}
|
70
99
|
|
100
|
+
.u-hide {
|
101
|
+
display: none;
|
102
|
+
}
|
103
|
+
|
104
|
+
.u-hide-focus {
|
105
|
+
outline: none !important;
|
106
|
+
}
|
107
|
+
|
71
108
|
@media (max-width: $breakpoint-md - 1) {
|
72
109
|
.u-hide\@small {
|
73
110
|
display: none;
|
@@ -1,12 +1,16 @@
|
|
1
1
|
@import "sass-zero/variables/spacing";
|
2
|
-
@import "sass-zero/variables/colors";
|
3
2
|
@import "sass-zero/mixins";
|
4
3
|
|
5
4
|
.list--unindented {
|
6
|
-
padding-left: $size-
|
5
|
+
padding-left: $size-4;
|
6
|
+
}
|
7
|
+
|
8
|
+
.list--flush {
|
9
|
+
padding-left: $size-0;
|
7
10
|
}
|
8
11
|
|
9
12
|
.list--unbulleted {
|
13
|
+
padding-left: $size-0;
|
10
14
|
list-style: none;
|
11
15
|
}
|
12
16
|
|
@@ -14,18 +18,24 @@
|
|
14
18
|
@include space-y($size-2);
|
15
19
|
}
|
16
20
|
|
17
|
-
.list--
|
18
|
-
|
19
|
-
|
20
|
-
border-radius: $rounded;
|
21
|
+
.list--inside-bulleted {
|
22
|
+
padding-left: $size-0;
|
23
|
+
list-style-position: inside;
|
21
24
|
}
|
22
25
|
|
23
|
-
.list--ruled
|
24
|
-
padding: $size-3 $size-4;
|
26
|
+
.list--ruled-top {
|
25
27
|
border-top-width: $border;
|
26
28
|
}
|
27
29
|
|
30
|
+
.list--inline {
|
31
|
+
@include space-x($size-2);
|
32
|
+
}
|
33
|
+
|
28
34
|
.list--inline > li {
|
29
|
-
margin-right: $size-2;
|
30
35
|
display: inline-block;
|
31
36
|
}
|
37
|
+
|
38
|
+
.list--ruled > li {
|
39
|
+
padding: $size-4 $size-2;
|
40
|
+
border-top-width: $border;
|
41
|
+
}
|
@@ -1,72 +1,38 @@
|
|
1
1
|
@import "sass-zero/variables/typography";
|
2
2
|
@import "sass-zero/variables/spacing";
|
3
|
-
@import "sass-zero/variables/colors";
|
4
|
-
@import "sass-zero/variables/border";
|
5
3
|
@import "sass-zero/mixins";
|
6
4
|
|
7
|
-
.txt--
|
8
|
-
font-
|
9
|
-
line-height: $leading-4;
|
10
|
-
}
|
11
|
-
|
12
|
-
.txt--sm {
|
13
|
-
font-size: $text-sm;
|
14
|
-
line-height: $leading-5;
|
15
|
-
}
|
16
|
-
|
17
|
-
.txt--md {
|
18
|
-
font-size: $text-base;
|
19
|
-
line-height: $leading-6;
|
20
|
-
}
|
21
|
-
|
22
|
-
.txt--lg {
|
23
|
-
font-size: $text-lg;
|
24
|
-
line-height: $leading-7;
|
25
|
-
}
|
26
|
-
|
27
|
-
.txt--xl {
|
28
|
-
font-size: $text-xl;
|
29
|
-
line-height: $leading-7;
|
30
|
-
}
|
31
|
-
|
32
|
-
.txt--2xl {
|
33
|
-
font-size: $text-2xl;
|
34
|
-
line-height: $leading-8;
|
5
|
+
.txt--normal {
|
6
|
+
font-weight: $font-normal !important;
|
35
7
|
}
|
36
8
|
|
37
|
-
.txt--
|
38
|
-
font-
|
39
|
-
line-height: $leading-9;
|
9
|
+
.txt--bold {
|
10
|
+
font-weight: $font-bold;
|
40
11
|
}
|
41
12
|
|
42
|
-
.txt--
|
43
|
-
|
44
|
-
line-height: $leading-10;
|
13
|
+
.txt--underline {
|
14
|
+
text-decoration: underline;
|
45
15
|
}
|
46
16
|
|
47
|
-
.txt--
|
48
|
-
|
49
|
-
line-height: $leading-4;
|
17
|
+
.txt--uppercase {
|
18
|
+
text-transform: uppercase;
|
50
19
|
}
|
51
20
|
|
52
|
-
.txt--
|
53
|
-
|
54
|
-
line-height: $leading-4;
|
21
|
+
.txt--subtle {
|
22
|
+
color: $color-txt--subtle;
|
55
23
|
}
|
56
24
|
|
57
|
-
.txt--
|
58
|
-
|
59
|
-
line-height: $leading-4;
|
25
|
+
.txt--subtle-reversed {
|
26
|
+
color: $color-txt--subtle-reversed;
|
60
27
|
}
|
61
28
|
|
62
|
-
.txt--
|
63
|
-
|
64
|
-
line-height: $leading-4;
|
29
|
+
.txt--full-contrast {
|
30
|
+
color: $color-txt;
|
65
31
|
}
|
66
32
|
|
67
|
-
.txt--
|
68
|
-
font-size: $text-
|
69
|
-
|
33
|
+
.txt--meta {
|
34
|
+
font-size: $text-sm;
|
35
|
+
color: $color-txt--subtle;
|
70
36
|
}
|
71
37
|
|
72
38
|
.txt--nowrap {
|
@@ -89,62 +55,100 @@
|
|
89
55
|
@include ellipsis;
|
90
56
|
}
|
91
57
|
|
92
|
-
.txt--
|
93
|
-
|
58
|
+
.txt--dimmed {
|
59
|
+
opacity: $opacity-75;
|
94
60
|
}
|
95
61
|
|
96
|
-
.txt--
|
97
|
-
|
62
|
+
.txt--very-dimmed {
|
63
|
+
opacity: $opacity-50;
|
98
64
|
}
|
99
65
|
|
100
|
-
.txt--
|
101
|
-
color: $
|
66
|
+
.txt--highlight {
|
67
|
+
background-color: $color-bg--highlight;
|
68
|
+
border-radius: $rounded-full;
|
69
|
+
padding: $size-0 $size-1;
|
102
70
|
}
|
103
71
|
|
104
|
-
.txt--
|
105
|
-
|
72
|
+
.txt--overflow-hidden {
|
73
|
+
overflow: hidden;
|
106
74
|
}
|
107
75
|
|
108
|
-
.txt--
|
109
|
-
|
76
|
+
.txt--xs {
|
77
|
+
font-size: $text-xs;
|
78
|
+
line-height: $leading-4;
|
110
79
|
}
|
111
80
|
|
112
|
-
.txt--
|
113
|
-
|
114
|
-
|
115
|
-
|
81
|
+
.txt--sm {
|
82
|
+
font-size: $text-sm;
|
83
|
+
line-height: $leading-5;
|
84
|
+
}
|
85
|
+
|
86
|
+
.txt--md {
|
87
|
+
font-size: $text-base;
|
88
|
+
line-height: $leading-6;
|
89
|
+
}
|
90
|
+
|
91
|
+
.txt--lg {
|
92
|
+
font-size: $text-lg;
|
93
|
+
line-height: $leading-7;
|
116
94
|
}
|
117
95
|
|
118
|
-
.
|
119
|
-
|
96
|
+
.txt--xl {
|
97
|
+
font-size: $text-xl;
|
98
|
+
line-height: $leading-7;
|
99
|
+
}
|
100
|
+
|
101
|
+
.txt--2xl {
|
102
|
+
font-size: $text-2xl;
|
103
|
+
line-height: $leading-8;
|
104
|
+
}
|
105
|
+
|
106
|
+
.txt--3xl {
|
107
|
+
font-size: $text-3xl;
|
108
|
+
line-height: $leading-9;
|
109
|
+
}
|
110
|
+
|
111
|
+
.txt--4xl {
|
112
|
+
font-size: $text-4xl;
|
113
|
+
line-height: $leading-10;
|
120
114
|
}
|
121
115
|
|
122
|
-
.
|
123
|
-
|
116
|
+
.txt--5xl {
|
117
|
+
font-size: $text-5xl;
|
118
|
+
line-height: $leading-none;
|
124
119
|
}
|
125
120
|
|
126
|
-
.
|
127
|
-
|
121
|
+
.txt--6xl {
|
122
|
+
font-size: $text-6xl;
|
123
|
+
line-height: $leading-none;
|
128
124
|
}
|
129
125
|
|
130
|
-
.
|
131
|
-
|
126
|
+
.txt--7xl {
|
127
|
+
font-size: $text-7xl;
|
128
|
+
line-height: $leading-none;
|
132
129
|
}
|
133
130
|
|
134
|
-
.
|
135
|
-
|
131
|
+
.txt--8xl {
|
132
|
+
font-size: $text-8xl;
|
133
|
+
line-height: $leading-none;
|
136
134
|
}
|
137
135
|
|
138
|
-
.
|
139
|
-
|
136
|
+
.txt--9xl {
|
137
|
+
font-size: $text-9xl;
|
138
|
+
line-height: $leading-none;
|
140
139
|
}
|
141
140
|
|
142
141
|
.decorated {
|
143
|
-
color: $
|
142
|
+
color: $color-txt--decorated;
|
144
143
|
text-decoration: underline;
|
145
144
|
}
|
146
145
|
|
147
146
|
.decorated--subtle {
|
148
|
-
color: $
|
147
|
+
color: $color-txt--subtle;
|
149
148
|
text-decoration: underline;
|
150
149
|
}
|
150
|
+
|
151
|
+
.undecorated {
|
152
|
+
color: inherit;
|
153
|
+
text-decoration: none;
|
154
|
+
}
|
data/lib/sass/zero/version.rb
CHANGED
data/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "sass-zero",
|
3
|
-
"version": "0.0.
|
3
|
+
"version": "0.0.45",
|
4
4
|
"description": "A CSS framework for rapid UI development based on tailwindcss, miligram and BEM.",
|
5
5
|
"homepage": "https://github.com/lazaronixon/sass-zero",
|
6
6
|
"repository": "lazaronixon/sass-zero",
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass-zero
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.45
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lazaronixon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-12-
|
11
|
+
date: 2020-12-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: autoprefixer-rails
|
@@ -42,7 +42,9 @@ files:
|
|
42
42
|
- app/assets/stylesheets/sass-zero/breadboard.scss
|
43
43
|
- app/assets/stylesheets/sass-zero/mixins.scss
|
44
44
|
- app/assets/stylesheets/sass-zero/utilities.scss
|
45
|
+
- app/assets/stylesheets/sass-zero/utilities/align.scss
|
45
46
|
- app/assets/stylesheets/sass-zero/utilities/animation.scss
|
47
|
+
- app/assets/stylesheets/sass-zero/utilities/container.scss
|
46
48
|
- app/assets/stylesheets/sass-zero/utilities/flex.scss
|
47
49
|
- app/assets/stylesheets/sass-zero/utilities/flush.scss
|
48
50
|
- app/assets/stylesheets/sass-zero/utilities/layout.scss
|