sass-zero 0.0.25 → 0.0.28

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d8d82d8f5a9efa27cc99f5d0b2016710b802e511a7bc6f853157ddee5807ab2f
4
- data.tar.gz: 259fbda3787a3aab0e6f696bcc14cb7e0d3070bfc7912b3e0a78ced21cd046b2
3
+ metadata.gz: 12fa3fd06ede4cd2974e4d32d5521769b123332bf8fe7ece2f5db533a0789fa6
4
+ data.tar.gz: 98fa2a57b5041525679b3c740ad99a1a2c2a2c63c570955f80e657603706cd92
5
5
  SHA512:
6
- metadata.gz: b5fff8a4bf9b6c00822412581a3aca1ac6319a740bbbb1a3618d1d5ffe9ace26abf504e4ec3d3d383c4dc2c308149e9df23f8c9582da46909c99041fd38b0fc3
7
- data.tar.gz: bfc313037cfacee3d7b9f302a3712560e7cec915e3cb506404f24774613fc4b94489c3200ab29c691d74f93849cceba105af92bce797a1bdfbc743d26a250953
6
+ metadata.gz: d6a9d1cd7b5dabcaef7547be30b907dce3f0b927d9c2941fc6d4fe7d97aa422a36e31f8a149938bed63500d635a474fbc3cc5e1c95bee80e5e4cec3d4fa9bfb6
7
+ data.tar.gz: 9bd7b6671f40902708ad4e9bcfc6240128d63fac081f4be4dc8eadd80f9f965eda057a300c320b0a4233c755162149fe560344f667897e7c7b8b327c04982dab
@@ -209,62 +209,35 @@ td, th {
209
209
  text-align: left;
210
210
  }
211
211
 
212
- h1, h2, h3, h4, h5, h6 {
213
- color: $breadboard-primary;
212
+ h1, h2, h3, h4, h5, h6, .hdg {
214
213
  font-weight: $font-bold;
215
214
  line-height: $leading-tight;
216
215
  }
217
216
 
218
- h1 {
217
+ h1, .hdg--4xl {
219
218
  font-size: $text-4xl;
220
219
  }
221
220
 
222
- h2 {
221
+ h2, .hdg--3xl {
223
222
  font-size: $text-3xl;
224
223
  }
225
224
 
226
- h3 {
225
+ h3, .hdg--2xl {
227
226
  font-size: $text-2xl;
228
227
  }
229
228
 
230
- h4 {
229
+ h4, .hdg--xl {
231
230
  font-size: $text-xl;
232
231
  }
233
232
 
234
- h5 {
233
+ h5, .hdg--lg {
235
234
  font-size: $text-lg;
236
235
  }
237
236
 
238
- h6 {
237
+ h6, .hdg--base {
239
238
  font-size: $text-base;
240
239
  }
241
240
 
242
- @media (max-width: $breakpoint-md - 1) {
243
- h1 {
244
- font-size: $text-3xl;
245
- }
246
-
247
- h2 {
248
- font-size: $text-2xl;
249
- }
250
-
251
- h3 {
252
- font-size: $text-xl;
253
- }
254
-
255
- h4 {
256
- font-size: $text-lg;
257
- }
258
-
259
- h5 {
260
- font-size: $text-base;
261
- }
262
-
263
- h6 {
264
- font-size: $text-sm;
265
- }
266
- }
267
-
268
241
  main {
269
242
  @include make-container($size-10, $breakpoint-lg);
270
243
  }
@@ -1,11 +1,3 @@
1
- @mixin clearfix {
2
- &::after {
3
- display: block;
4
- clear: both;
5
- content: "";
6
- }
7
- }
8
-
9
1
  @mixin break-normal {
10
2
  word-break: normal;
11
3
  overflow-wrap: normal
@@ -34,9 +26,3 @@
34
26
  margin-left: $size-auto;
35
27
  max-width: $max-width;
36
28
  }
37
-
38
- @mixin center-block() {
39
- display: block;
40
- margin-right: auto;
41
- margin-left: auto;
42
- }
@@ -1,43 +1,31 @@
1
1
  .flex {
2
- display: flex !important;
2
+ display: flex;
3
3
 
4
4
  &--column {
5
- flex-direction: column !important;
6
- }
7
-
8
- &--row {
9
- flex-direction: row !important;
10
- }
11
-
12
- &--justify-start {
13
- justify-content: flex-start !important;
5
+ flex-direction: column;
14
6
  }
15
7
 
16
8
  &--justify-center {
17
- justify-content: center !important;
18
- }
19
-
20
- &--justify-end {
21
- justify-content: flex-end !important;
9
+ justify-content: center;
22
10
  }
23
11
 
24
12
  &--justify-between {
25
- justify-content: space-between !important;
13
+ justify-content: space-between;
26
14
  }
27
15
 
28
- &--justify-around {
29
- justify-content: space-around !important;
16
+ &--items-center {
17
+ align-items: center;
30
18
  }
31
19
 
32
- &--items-center {
33
- align-items: center !important;
20
+ &--wrap {
21
+ flex-wrap: wrap;
34
22
  }
35
23
 
36
- &--items-baseline {
37
- align-items: baseline !important;
24
+ &--grow {
25
+ flex-grow: 1;
38
26
  }
39
27
 
40
- &--none {
41
- flex: none !important;
28
+ &--shrink-0 {
29
+ flex-shrink: 0;
42
30
  }
43
31
  }
@@ -2,129 +2,122 @@
2
2
  @import "sass-zero/mixins";
3
3
 
4
4
  .u-position-context {
5
- position: relative !important;
5
+ position: relative;
6
6
  }
7
7
 
8
8
  .u-position-right {
9
- position: absolute !important;
9
+ position: absolute;
10
10
  right: 0;
11
11
  }
12
12
 
13
13
  .u-position-left {
14
- position: absolute !important;
14
+ position: absolute;
15
15
  left: 0;
16
16
  }
17
17
 
18
18
  .u-position--bottom-right {
19
- position: absolute !important;
19
+ position: absolute;
20
20
  bottom: 0;
21
21
  right: 0;
22
22
  }
23
23
 
24
24
  .u-position--top-right {
25
- position: absolute !important;
25
+ position: absolute;
26
26
  top: 0;
27
27
  right: 0;
28
28
  }
29
29
 
30
- .u-clearfix {
31
- @include clearfix;
32
- }
33
-
34
30
  .u-full-width {
35
- width: 100% !important;
31
+ width: 100%;
36
32
  }
37
33
 
38
34
  .u-unscrollable {
39
- overflow: hidden !important;
35
+ overflow: hidden;
40
36
  }
41
37
 
42
38
  .u-display-i {
43
- display: inline !important;
39
+ display: inline;
44
40
  }
45
41
 
46
42
  .u-display-b {
47
- display: block !important;
43
+ display: block;
48
44
  }
49
45
 
50
46
  .u-display-ib {
51
- display: inline-block !important;
47
+ display: inline-block;
52
48
  }
53
49
 
54
50
  .u-display-n {
55
- display: none !important;
56
- }
57
-
58
- .u-pointer-events-n {
59
- pointer-events: none !important;
51
+ display: none;
60
52
  }
61
53
 
62
- .u-margin-centered {
63
- @include center-block;
54
+ .u-centered {
55
+ margin-right: auto;
56
+ margin-left: auto;
64
57
  }
65
58
 
66
59
  @media (min-width: $breakpoint-md) {
67
60
  .u-wrap-on-desktop {
68
- display: block !important;
61
+ display: block;
69
62
  }
70
63
  }
71
64
 
72
65
  @media (max-width: $breakpoint-md - 1) {
73
66
  .u-wrap-on-mobile {
74
- display: block !important;
67
+ display: block;
75
68
  }
76
69
  }
77
70
 
78
71
  .u-nowrap {
79
- white-space: nowrap !important;
72
+ white-space: nowrap;
80
73
  }
81
74
 
82
75
  .u-float-l {
83
- float: left !important;
76
+ float: left;
84
77
  }
85
78
 
86
79
  .u-float-r {
87
- float: right !important;
80
+ float: right;
88
81
  }
89
82
 
90
83
  .u-float-n {
91
- float: none !important;
84
+ float: none;
92
85
  }
93
86
 
94
87
  .u-float-clear {
95
- clear: both !important;
88
+ clear: both;
96
89
  }
97
90
 
98
91
  .u-float-clear-l {
99
- clear: left !important;
92
+ clear: left;
100
93
  }
101
94
 
102
95
  .u-float-clear-r {
103
- clear: right !important;
96
+ clear: right;
104
97
  }
105
98
 
106
99
  @media (max-width: $breakpoint-md - 1) {
107
100
  .u-float-n-on-mobile {
108
- float: none !important;
101
+ float: none;
109
102
  }
110
103
  }
111
104
 
112
105
  .u-hide {
113
- display: none !important;
106
+ display: none;
114
107
  }
115
108
 
116
109
  .u-hide-focus {
117
- outline: none !important;
110
+ outline: none;
118
111
  }
119
112
 
120
113
  @media (max-width: $breakpoint-md - 1) {
121
114
  .u-hide-on-media-small {
122
- display: none !important;
115
+ display: none;
123
116
  }
124
117
  }
125
118
 
126
119
  @media (min-width: $breakpoint-md) {
127
120
  .u-hide-on-media-medium {
128
- display: none !important;
121
+ display: none;
129
122
  }
130
123
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  // *******************************************************************
4
4
  // Push Utilities
5
- // $size-map: ("xs": $size-1, "sm": $size-2, "md": $size-3, "lg": $size-4, "xl": $size-5, "2xl": $size-6);
5
+ // $size-map: ("xs": $size-1, "sm": $size-2, "md": $size-4, "lg": $size-6, "xl": $size-8, "2xl": $size-10, "3xl": $size-12);
6
6
  // *******************************************************************
7
7
  @each $scale, $size in $size-map {
8
8
  .push-#{$scale} {
@@ -18,6 +18,18 @@
18
18
  font-size: $text-lg;
19
19
  }
20
20
 
21
+ &--xl {
22
+ font-size: $text-xl;
23
+ }
24
+
25
+ &--2xl {
26
+ font-size: $text-2xl;
27
+ }
28
+
29
+ &--3xl {
30
+ font-size: $text-3xl;
31
+ }
32
+
21
33
  &--truncate {
22
34
  @include truncate;
23
35
  }
@@ -51,31 +63,21 @@
51
63
  font-weight: $font-bold;
52
64
  }
53
65
 
54
- &--underline {
55
- text-decoration: underline;
56
- }
57
-
58
66
  &--subtle {
59
67
  color: $gray-700;
60
- font-weight: $font-normal;
61
68
  }
62
69
 
63
70
  &--very-subtle {
64
71
  color: $gray-600;
65
- font-weight: $font-normal;
66
72
  }
67
73
 
68
- &--capitalize {
69
- text-transform: capitalize;
74
+ &--underline {
75
+ text-decoration: underline;
70
76
  }
71
77
 
72
- &--sentence-case::first-letter {
78
+ &--uppercase {
73
79
  text-transform: uppercase;
74
80
  }
75
-
76
- &--strike {
77
- text-decoration: line-through;
78
- }
79
81
  }
80
82
 
81
83
  .align {
@@ -27,4 +27,4 @@ $size-auto: auto;
27
27
  $size-full: 100%;
28
28
  $size-screen: 100vw;
29
29
 
30
- $size-map: ("xs": $size-1, "sm": $size-2, "md": $size-4, "lg": $size-6, "xl": $size-8, "2xl": $size-10);
30
+ $size-map: ("xs": $size-1, "sm": $size-2, "md": $size-4, "lg": $size-6, "xl": $size-8, "2xl": $size-10, "3xl": $size-12);
@@ -1,5 +1,5 @@
1
1
  module Sass
2
2
  module Zero
3
- VERSION = "0.0.25"
3
+ VERSION = "0.0.28"
4
4
  end
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sass-zero",
3
- "version": "0.0.25",
3
+ "version": "0.0.28",
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.25
4
+ version: 0.0.28
5
5
  platform: ruby
6
6
  authors:
7
7
  - lazaronixon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-04-21 00:00:00.000000000 Z
11
+ date: 2020-05-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autoprefixer-rails
@@ -84,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
84
84
  - !ruby/object:Gem::Version
85
85
  version: '0'
86
86
  requirements: []
87
- rubygems_version: 3.1.2
87
+ rubygems_version: 3.0.6
88
88
  signing_key:
89
89
  specification_version: 4
90
90
  summary: A CSS framework for rapid UI development based on tailwindcss, miligram and