sass-zero 1.0.26 → 1.1.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 39252448e6facfdbde7c481a9e69b795309b94b44624bb0ee9d54b569398ebec
4
- data.tar.gz: f57e934a2df042a505e0fb0bd48dc6d44f70f30e480be6a7017050e05578e7ae
3
+ metadata.gz: bb94f7877ecbf56cc61f72c37bfd70c3f251e0aea75d45bfb94869cbb777276f
4
+ data.tar.gz: 68db4e8875bf2275bfdbb7709794cf51e9de3d444a0c12bfca782118c727cb3a
5
5
  SHA512:
6
- metadata.gz: fe1bb57d654a56214ef6cb7c7b3ecc5aee149344c372fbc64ebb11a1efac5272592a1850e126b859fc060c9a6748eea8289f08f171d38e332a5f3731e1477c56
7
- data.tar.gz: 5be54511e90a5f579fa13e2d15a7b4e2213434f7b4feba069c2fc65aef48e12e2a89add71dfd43eedbc9ca84661148b1aa7387e2bce36fab14fd0dd875ad89b0
6
+ metadata.gz: 7a44389359af7290359a2751d402cb50d80bb60f13d84b61835bb6fb6cb9eeb2e50543e7c904bf8f70e0be12b82a135577662bedf063a138652171e450e301d7
7
+ data.tar.gz: ce0d7bcc4c03b830606f2bf70269ca6253ac90379cf99b60e974a64de80d0f6a5e8c4433737fe223334434b5cf1273618bfcc9ec0ed6f0ee6903cb03a2a4d285
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sass-zero (1.0.26)
4
+ sass-zero (1.1.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -42,7 +42,7 @@ Developers should be able to produce your own design, [Refactoring UI](https://r
42
42
  - [Filters](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/variables/filters.scss)
43
43
  - [Flex](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/variables/flex.scss)
44
44
  - [Grid](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/variables/grid.scss)
45
- - [Spacing](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/variables/spacing.scss)
45
+ - [Sizing](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/variables/sizing.scss)
46
46
  - [Transform](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/variables/transform.scss)
47
47
  - [Transition](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/variables/transition.scss)
48
48
  - [Typography](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/variables/typography.scss)
@@ -1,6 +1,6 @@
1
1
  @import "variables/border";
2
2
  @import "variables/effects";
3
- @import "variables/spacing";
3
+ @import "variables/sizing";
4
4
  @import "variables/zindex";
5
5
 
6
6
  @mixin antialiased {
@@ -1,5 +1,5 @@
1
1
  @import "../variables/breakpoints";
2
- @import "../variables/spacing";
2
+ @import "../variables/sizing";
3
3
 
4
4
  .flex {
5
5
  display: flex;
@@ -83,6 +83,10 @@
83
83
  .u-show\@sm {
84
84
  display: block;
85
85
  }
86
+
87
+ .u-hide\@sm {
88
+ display: none;
89
+ }
86
90
  }
87
91
 
88
92
  @media print {
@@ -1,4 +1,4 @@
1
- @import "../variables/spacing";
1
+ @import "../variables/sizing";
2
2
  @import "../variables/border";
3
3
 
4
4
  .list--unindented {
@@ -1,11 +1,11 @@
1
- @import "../variables/spacing";
1
+ @import "../variables/sizing";
2
2
 
3
3
  // *******************************************************************
4
4
  // Pad Utilities
5
- // .pad-[xs|sm|md|lg|xl|2xl|3xl]--top
6
- // .pad-[xs|sm|md|lg|xl|2xl|3xl]--right
7
- // .pad-[xs|sm|md|lg|xl|2xl|3xl]--bottom
8
- // .pad-[xs|sm|md|lg|xl|2xl|3xl]--left
5
+ // .pad-[xs|sm|md|lg|xl]--top
6
+ // .pad-[xs|sm|md|lg|xl]--right
7
+ // .pad-[xs|sm|md|lg|xl]--bottom
8
+ // .pad-[xs|sm|md|lg|xl]--left
9
9
  // *******************************************************************
10
10
  @each $scale, $size in $size-map {
11
11
  .pad-#{$scale}--top {
@@ -1,11 +1,11 @@
1
- @import "../variables/spacing";
1
+ @import "../variables/sizing";
2
2
 
3
3
  // *******************************************************************
4
4
  // Pull Utilities
5
- // .pull-[xs|sm|md|lg|xl|2xl|3xl]--top
6
- // .pull-[xs|sm|md|lg|xl|2xl|3xl]--right
7
- // .pull-[xs|sm|md|lg|xl|2xl|3xl]--bottom
8
- // .pull-[xs|sm|md|lg|xl|2xl|3xl]--left
5
+ // .pull-[xs|sm|md|lg|xl]--top
6
+ // .pull-[xs|sm|md|lg|xl]--right
7
+ // .pull-[xs|sm|md|lg|xl]--bottom
8
+ // .pull-[xs|sm|md|lg|xl]--left
9
9
  // *******************************************************************
10
10
  @each $scale, $size in $size-map {
11
11
  .pull-#{$scale}--top {
@@ -1,14 +1,14 @@
1
- @import "../variables/spacing";
1
+ @import "../variables/sizing";
2
2
 
3
3
  // *******************************************************************
4
4
  // Push Utilities
5
- // .push-[xs|sm|md|lg|xl|2xl|3xl]
6
- // .push-[xs|sm|md|lg|xl|2xl|3xl]--top
7
- // .push-[xs|sm|md|lg|xl|2xl|3xl]--right
8
- // .push-[xs|sm|md|lg|xl|2xl|3xl]--bottom
9
- // .push-[xs|sm|md|lg|xl|2xl|3xl]--left
10
- // .push-[xs|sm|md|lg|xl|2xl|3xl]--ends
11
- // .push-[xs|sm|md|lg|xl|2xl|3xl]--sides
5
+ // .push-[xs|sm|md|lg|xl]
6
+ // .push-[xs|sm|md|lg|xl]--top
7
+ // .push-[xs|sm|md|lg|xl]--right
8
+ // .push-[xs|sm|md|lg|xl]--bottom
9
+ // .push-[xs|sm|md|lg|xl]--left
10
+ // .push-[xs|sm|md|lg|xl]--ends
11
+ // .push-[xs|sm|md|lg|xl]--sides
12
12
  // *******************************************************************
13
13
  @each $scale, $size in $size-map {
14
14
  .push-#{$scale} {
@@ -1,5 +1,5 @@
1
1
  @import "../variables/typography";
2
- @import "../variables/spacing";
2
+ @import "../variables/sizing";
3
3
  @import "../mixins";
4
4
 
5
5
  .txt--normal {
@@ -0,0 +1,43 @@
1
+ // *******************************************************************
2
+ // Default sizing scale
3
+ // By default, sass-zero includes a generous and comprehensive numeric sizing scale.
4
+ // *******************************************************************
5
+ $size-px: 1px;
6
+ $size-0: 0;
7
+ $size-1: 0.25rem;
8
+ $size-2: 0.5rem;
9
+ $size-3: 0.75rem;
10
+ $size-4: 1rem;
11
+ $size-5: 1.25rem;
12
+ $size-6: 1.5rem;
13
+ $size-7: 1.75rem;
14
+ $size-8: 2rem;
15
+ $size-9: 2.25rem;
16
+ $size-10: 2.5rem;
17
+ $size-11: 2.75rem;
18
+ $size-12: 3rem;
19
+ $size-14: 3.5rem;
20
+ $size-16: 4rem;
21
+ $size-20: 5rem;
22
+ $size-24: 6rem;
23
+ $size-28: 7rem;
24
+ $size-32: 8rem;
25
+ $size-36: 9rem;
26
+ $size-40: 10rem;
27
+ $size-44: 11rem;
28
+ $size-48: 12rem;
29
+ $size-52: 13rem;
30
+ $size-56: 14rem;
31
+ $size-60: 15rem;
32
+ $size-64: 16rem;
33
+ $size-72: 18rem;
34
+ $size-80: 20rem;
35
+ $size-96: 24rem;
36
+
37
+ $size-map: (
38
+ "xs": $size-2,
39
+ "sm": $size-4,
40
+ "md": $size-8,
41
+ "lg": $size-16,
42
+ "xl": $size-32
43
+ );
@@ -5,7 +5,7 @@
5
5
  @import "variables/filters";
6
6
  @import "variables/flex";
7
7
  @import "variables/grid";
8
- @import "variables/spacing";
8
+ @import "variables/sizing";
9
9
  @import "variables/transition";
10
10
  @import "variables/transform";
11
11
  @import "variables/typography";
@@ -1,5 +1,5 @@
1
1
  module Sass
2
2
  module Zero
3
- VERSION = "1.0.26"
3
+ VERSION = "1.1.2"
4
4
  end
5
5
  end
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sass-zero",
3
- "version": "1.0.26",
3
+ "version": "1.1.2",
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: 1.0.26
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - lazaronixon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-13 00:00:00.000000000 Z
11
+ date: 2022-08-15 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description:
14
14
  email:
@@ -53,7 +53,7 @@ files:
53
53
  - app/assets/stylesheets/sass-zero/variables/flex.scss
54
54
  - app/assets/stylesheets/sass-zero/variables/grid.scss
55
55
  - app/assets/stylesheets/sass-zero/variables/height.scss
56
- - app/assets/stylesheets/sass-zero/variables/spacing.scss
56
+ - app/assets/stylesheets/sass-zero/variables/sizing.scss
57
57
  - app/assets/stylesheets/sass-zero/variables/transform.scss
58
58
  - app/assets/stylesheets/sass-zero/variables/transition.scss
59
59
  - app/assets/stylesheets/sass-zero/variables/typography.scss
@@ -1,46 +0,0 @@
1
- // *******************************************************************
2
- // Default spacing scale
3
- // By default, Tailwind includes a generous and comprehensive numeric spacing scale.
4
- // Use as padding, margin, width, height, translate, etc...
5
- // *******************************************************************
6
- $size-px: 1px;
7
- $size-0: 0;
8
- $size-1: 0.25rem;
9
- $size-2: 0.5rem;
10
- $size-3: 0.75rem;
11
- $size-4: 1rem;
12
- $size-5: 1.25rem;
13
- $size-6: 1.5rem;
14
- $size-7: 1.75rem;
15
- $size-8: 2rem;
16
- $size-9: 2.25rem;
17
- $size-10: 2.5rem;
18
- $size-11: 2.75rem;
19
- $size-12: 3rem;
20
- $size-14: 3.5rem;
21
- $size-16: 4rem;
22
- $size-20: 5rem;
23
- $size-24: 6rem;
24
- $size-28: 7rem;
25
- $size-32: 8rem;
26
- $size-36: 9rem;
27
- $size-40: 10rem;
28
- $size-44: 11rem;
29
- $size-48: 12rem;
30
- $size-52: 13rem;
31
- $size-56: 14rem;
32
- $size-60: 15rem;
33
- $size-64: 16rem;
34
- $size-72: 18rem;
35
- $size-80: 20rem;
36
- $size-96: 24rem;
37
-
38
- $size-map: (
39
- "xs": $size-2,
40
- "sm": $size-4,
41
- "md": $size-6,
42
- "lg": $size-12,
43
- "xl": $size-16,
44
- "2xl": $size-24,
45
- "3xl": $size-32
46
- );