sass-zero 0.0.44 → 0.0.48

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,9 +1,55 @@
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
 
5
+ .txt--normal {
6
+ font-weight: $font-normal !important;
7
+ }
8
+
9
+ .txt--bold {
10
+ font-weight: $font-bold;
11
+ }
12
+
13
+ .txt--underline {
14
+ text-decoration: underline;
15
+ }
16
+
17
+ .txt--uppercase {
18
+ text-transform: uppercase;
19
+ }
20
+
21
+ .txt--nowrap {
22
+ white-space: nowrap;
23
+ }
24
+
25
+ .txt--break-words {
26
+ word-wrap: break-word;
27
+ }
28
+
29
+ .txt--break-words-alt {
30
+ word-break: break-word;
31
+ }
32
+
33
+ .txt--break-all {
34
+ word-break: break-all;
35
+ }
36
+
37
+ .txt--ellipsis {
38
+ @include ellipsis;
39
+ }
40
+
41
+ .txt--dimmed {
42
+ opacity: $opacity-75;
43
+ }
44
+
45
+ .txt--very-dimmed {
46
+ opacity: $opacity-50;
47
+ }
48
+
49
+ .txt--overflow-hidden {
50
+ overflow: hidden;
51
+ }
52
+
7
53
  .txt--xs {
8
54
  font-size: $text-xs;
9
55
  line-height: $leading-4;
@@ -46,105 +92,30 @@
46
92
 
47
93
  .txt--5xl {
48
94
  font-size: $text-5xl;
49
- line-height: $leading-4;
95
+ line-height: $leading-none;
50
96
  }
51
97
 
52
98
  .txt--6xl {
53
99
  font-size: $text-6xl;
54
- line-height: $leading-4;
100
+ line-height: $leading-none;
55
101
  }
56
102
 
57
103
  .txt--7xl {
58
104
  font-size: $text-7xl;
59
- line-height: $leading-4;
105
+ line-height: $leading-none;
60
106
  }
61
107
 
62
108
  .txt--8xl {
63
109
  font-size: $text-8xl;
64
- line-height: $leading-4;
110
+ line-height: $leading-none;
65
111
  }
66
112
 
67
113
  .txt--9xl {
68
114
  font-size: $text-9xl;
69
- line-height: $leading-4;
70
- }
71
-
72
- .txt--nowrap {
73
- white-space: nowrap;
115
+ line-height: $leading-none;
74
116
  }
75
117
 
76
- .txt--break-words {
77
- word-wrap: break-word;
78
- }
79
-
80
- .txt--break-words-alt {
81
- word-break: break-word;
82
- }
83
-
84
- .txt--break-all {
85
- word-break: break-all;
86
- }
87
-
88
- .txt--ellipsis {
89
- @include ellipsis;
90
- }
91
-
92
- .txt--normal {
93
- font-weight: $font-normal !important;
94
- }
95
-
96
- .txt--bold {
97
- font-weight: $font-bold;
98
- }
99
-
100
- .txt--subtle {
101
- color: $gray-700;
102
- }
103
-
104
- .txt--underline {
105
- text-decoration: underline;
106
- }
107
-
108
- .txt--uppercase {
109
- text-transform: uppercase;
110
- }
111
-
112
- .txt--highlight {
113
- background-color: $gray-200;
114
- border-radius: $rounded-full;
115
- padding: $size-0 $size-1;
116
- }
117
-
118
- .align--top {
119
- vertical-align: top;
120
- }
121
-
122
- .align--middle {
123
- vertical-align: middle;
124
- }
125
-
126
- .align--bottom {
127
- vertical-align: bottom;
128
- }
129
-
130
- .align--left {
131
- text-align: left;
132
- }
133
-
134
- .align--center {
135
- text-align: center;
136
- }
137
-
138
- .align--right {
139
- text-align: right;
140
- }
141
-
142
- .decorated {
143
- color: $blue-500;
144
- text-decoration: underline;
145
- }
146
-
147
- .decorated--subtle {
148
- color: $gray-700;
149
- text-decoration: underline;
118
+ .undecorated {
119
+ color: inherit;
120
+ text-decoration: none;
150
121
  }
@@ -1,4 +1,6 @@
1
+ @import "sass-zero/utilities/align";
1
2
  @import "sass-zero/utilities/animation";
3
+ @import "sass-zero/utilities/container";
2
4
  @import "sass-zero/utilities/flex";
3
5
  @import "sass-zero/utilities/flush";
4
6
  @import "sass-zero/utilities/layout";
@@ -19,7 +19,7 @@ $rounded-full: 9999px;
19
19
  // border-width: $border;
20
20
  // *******************************************************************
21
21
  $border-0: 0;
22
+ $border: 1px;
22
23
  $border-2: 2px;
23
24
  $border-4: 4px;
24
25
  $border-8: 8px;
25
- $border: 1px;
@@ -3,6 +3,7 @@
3
3
  // sass-zero includes a generous palette of great-looking, well-balanced colors that are perfect for prototyping or for kicking off a brand new project.
4
4
  // *******************************************************************
5
5
  $transparent: transparent;
6
+ $current: currentColor;
6
7
 
7
8
  $black: #000;
8
9
  $white: #fff;
@@ -84,16 +85,16 @@ $blue-700: #1d4ed8;
84
85
  $blue-800: #1e40af;
85
86
  $blue-900: #1e3a8a;
86
87
 
87
- $light-blue-50: #f0f9ff;
88
- $light-blue-100: #e0f2fe;
89
- $light-blue-200: #bae6fd;
90
- $light-blue-300: #7dd3fc;
91
- $light-blue-400: #38bdf8;
92
- $light-blue-500: #0ea5e9;
93
- $light-blue-600: #0284c7;
94
- $light-blue-700: #0369a1;
95
- $light-blue-800: #075985;
96
- $light-blue-900: #0c4a6e;
88
+ $sky-50: #f0f9ff;
89
+ $sky-100: #e0f2fe;
90
+ $sky-200: #bae6fd;
91
+ $sky-300: #7dd3fc;
92
+ $sky-400: #38bdf8;
93
+ $sky-500: #0ea5e9;
94
+ $sky-600: #0284c7;
95
+ $sky-700: #0369a1;
96
+ $sky-800: #075985;
97
+ $sky-900: #0c4a6e;
97
98
 
98
99
  $cyan-50: #ecfeff;
99
100
  $cyan-100: #cffafe;
@@ -0,0 +1,48 @@
1
+ // *******************************************************************
2
+ // Height
3
+ // Variables for setting the height of an element
4
+ // height: $h-p-1-2;
5
+ // *******************************************************************
6
+ $h-p-1-2: 50%;
7
+ $h-p-1-3: 33.333333%;
8
+ $h-p-2-3: 66.666667%;
9
+ $h-p-1-4: 25%;
10
+ $h-p-2-4: 50%;
11
+ $h-p-3-4: 75%;
12
+ $h-p-1-5: 20%;
13
+ $h-p-2-5: 40%;
14
+ $h-p-3-5: 60%;
15
+ $h-p-4-5: 80%;
16
+ $h-p-1-6: 16.666667%;
17
+ $h-p-2-6: 33.333333%;
18
+ $h-p-3-6: 50%;
19
+ $h-p-4-6: 66.666667%;
20
+ $h-p-5-6: 83.333333%;
21
+ $h-full: 100%;
22
+ $h-screen: 100vw;
23
+ $h-min: min-content;
24
+ $h-max: max-content;
25
+ $h-fit: fit-content;
26
+
27
+ // *******************************************************************
28
+ // Min-Height
29
+ // Variables for setting the minimum height of an element
30
+ // min-height: $min-h-0;
31
+ // *******************************************************************
32
+ $min-h-0: 0px;
33
+ $min-h-full: 100%;
34
+ $min-h-screen: 100vh;
35
+ $min-h-min: min-content;
36
+ $min-h-max: max-content;
37
+ $min-h-fit: fit-content;
38
+
39
+ // *******************************************************************
40
+ // Max-Height
41
+ // Variables for setting the maximum height of an element
42
+ // max-height: $max-h-full;
43
+ // *******************************************************************
44
+ $max-h-full: 100%;
45
+ $max-h-screen: 100vh;
46
+ $max-h-min: min-content;
47
+ $max-h-max: max-content;
48
+ $max-h-fit: fit-content;
@@ -1,44 +1,44 @@
1
1
  // *******************************************************************
2
2
  // Default spacing scale
3
3
  // By default, Tailwind includes a generous and comprehensive numeric spacing scale.
4
- // Use as padding, margin, width, height, transform
4
+ // Use as padding, margin, width, height, translate, etc...
5
5
  // *******************************************************************
6
- $size-px: 1px;
7
- $size-0: 0px;
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;
6
+ $size-auto: auto;
37
7
 
38
- $size-auto: auto;
39
- $size-full: 100%;
40
- $size-screen: 100vw;
41
- $size-min: min-content;
42
- $size-max: max-content;
8
+ $size-px: 1px;
9
+ $size-0: 0px;
10
+ $size-0-5: 0.125rem;
11
+ $size-1: 0.25rem;
12
+ $size-1-5: 0.375rem;
13
+ $size-2: 0.5rem;
14
+ $size-2-5: 0.625rem;
15
+ $size-3: 0.75rem;
16
+ $size-3-5: 0.875rem;
17
+ $size-4: 1rem;
18
+ $size-5: 1.25rem;
19
+ $size-6: 1.5rem;
20
+ $size-7: 1.75rem;
21
+ $size-8: 2rem;
22
+ $size-9: 2.25rem;
23
+ $size-10: 2.5rem;
24
+ $size-11: 2.75rem;
25
+ $size-12: 3rem;
26
+ $size-14: 3.5rem;
27
+ $size-16: 4rem;
28
+ $size-20: 5rem;
29
+ $size-24: 6rem;
30
+ $size-28: 7rem;
31
+ $size-32: 8rem;
32
+ $size-36: 9rem;
33
+ $size-40: 10rem;
34
+ $size-44: 11rem;
35
+ $size-48: 12rem;
36
+ $size-52: 13rem;
37
+ $size-56: 14rem;
38
+ $size-60: 15rem;
39
+ $size-64: 16rem;
40
+ $size-72: 18rem;
41
+ $size-80: 20rem;
42
+ $size-96: 24rem;
43
43
 
44
44
  $size-map: ("xs": $size-1, "sm": $size-2, "md": $size-4, "lg": $size-6, "xl": $size-8, "2xl": $size-10, "3xl": $size-12);
@@ -1,34 +1,39 @@
1
1
  // *******************************************************************
2
2
  // Width
3
3
  // Variables for setting the width of an element
4
- // width: $w-1-2;
4
+ // width: $w-p-1-2;
5
5
  // *******************************************************************
6
- $w-1-2: 50%;
7
- $w-1-3: 33.333333%;
8
- $w-2-3: 66.666667%;
9
- $w-1-4: 25%;
10
- $w-2-4: 50%;
11
- $w-3-4: 75%;
12
- $w-1-5: 20%;
13
- $w-2-5: 40%;
14
- $w-3-5: 60%;
15
- $w-4-5: 80%;
16
- $w-1-6: 16.666667%;
17
- $w-2-6: 33.333333%;
18
- $w-3-6: 50%;
19
- $w-4-6: 66.666667%;
20
- $w-5-6: 83.333333%;
21
- $w-1-12: 8.333333%;
22
- $w-2-12: 16.666667%;
23
- $w-3-12: 25%;
24
- $w-4-12: 33.333333%;
25
- $w-5-12: 41.666667%;
26
- $w-6-12: 50%;
27
- $w-7-12: 58.333333%;
28
- $w-8-12: 66.666667%;
29
- $w-9-12: 75%;
30
- $w-10-12: 83.333333%;
31
- $w-11-12: 91.666667%;
6
+ $w-p-1-2: 50%;
7
+ $w-p-1-3: 33.333333%;
8
+ $w-p-2-3: 66.666667%;
9
+ $w-p-1-4: 25%;
10
+ $w-p-2-4: 50%;
11
+ $w-p-3-4: 75%;
12
+ $w-p-1-5: 20%;
13
+ $w-p-2-5: 40%;
14
+ $w-p-3-5: 60%;
15
+ $w-p-4-5: 80%;
16
+ $w-p-1-6: 16.666667%;
17
+ $w-p-2-6: 33.333333%;
18
+ $w-p-3-6: 50%;
19
+ $w-p-4-6: 66.666667%;
20
+ $w-p-5-6: 83.333333%;
21
+ $w-p-1-12: 8.333333%;
22
+ $w-p-2-12: 16.666667%;
23
+ $w-p-3-12: 25%;
24
+ $w-p-4-12: 33.333333%;
25
+ $w-p-5-12: 41.666667%;
26
+ $w-p-6-12: 50%;
27
+ $w-p-7-12: 58.333333%;
28
+ $w-p-8-12: 66.666667%;
29
+ $w-p-9-12: 75%;
30
+ $w-p-10-12: 83.333333%;
31
+ $w-p-11-12: 91.666667%;
32
+ $w-full: 100%;
33
+ $w-screen: 100vw;
34
+ $w-min: min-content;
35
+ $w-max: max-content;
36
+ $w-fit: fit-content;
32
37
 
33
38
  // *******************************************************************
34
39
  // Min-Width
@@ -39,6 +44,7 @@ $min-w-0: 0px;
39
44
  $min-w-full: 100%;
40
45
  $min-w-min: min-content;
41
46
  $min-w-max: max-content;
47
+ $min-w-fit: fit-content;
42
48
 
43
49
  // *******************************************************************
44
50
  // Max-Width
@@ -61,20 +67,4 @@ $max-w-7xl: 80rem;
61
67
  $max-w-full: 100%;
62
68
  $max-w-min: min-content;
63
69
  $max-w-max: max-content;
64
-
65
- // *******************************************************************
66
- // Min-Height
67
- // Variables for setting the minimum height of an element
68
- // min-height: $min-h-0;
69
- // *******************************************************************
70
- $min-h-0: 0px;
71
- $min-h-full: 100%;
72
- $min-h-screen: 100vh;
73
-
74
- // *******************************************************************
75
- // Max-Height
76
- // Variables for setting the maximum height of an element
77
- // max-height: $max-h-full;
78
- // *******************************************************************
79
- $max-h-full: 100%;
80
- $max-h-screen: 100vh;
70
+ $max-w-fit: fit-content;
@@ -9,4 +9,5 @@
9
9
  @import "variables/transform";
10
10
  @import "variables/typography";
11
11
  @import "variables/width";
12
+ @import "variables/height";
12
13
  @import "variables/zindex";
@@ -1,5 +1,5 @@
1
1
  module Sass
2
2
  module Zero
3
- VERSION = "0.0.44"
3
+ VERSION = "0.0.48"
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.44",
3
+ "version": "0.0.48",
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",
data/sass-zero.gemspec CHANGED
@@ -12,7 +12,7 @@ Gem::Specification.new do |spec|
12
12
  spec.homepage = "http://github.com/lazaronixon/sass-zero"
13
13
  spec.license = "MIT"
14
14
 
15
- spec.add_runtime_dependency "autoprefixer-rails", ">= 9.7.4"
15
+ spec.add_runtime_dependency "autoprefixer-rails", "~> 10.3"
16
16
 
17
17
  spec.files = `git ls-files -z`.split("\x0")
18
18
  end
metadata CHANGED
@@ -1,29 +1,29 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.44
4
+ version: 0.0.48
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-15 00:00:00.000000000 Z
11
+ date: 2021-11-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autoprefixer-rails
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - ">="
17
+ - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 9.7.4
19
+ version: '10.3'
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
- - - ">="
24
+ - - "~>"
25
25
  - !ruby/object:Gem::Version
26
- version: 9.7.4
26
+ version: '10.3'
27
27
  description:
28
28
  email:
29
29
  - lazaronixon@hotmail.com
@@ -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
@@ -59,6 +61,7 @@ files:
59
61
  - app/assets/stylesheets/sass-zero/variables/effects.scss
60
62
  - app/assets/stylesheets/sass-zero/variables/flex.scss
61
63
  - app/assets/stylesheets/sass-zero/variables/grid.scss
64
+ - app/assets/stylesheets/sass-zero/variables/height.scss
62
65
  - app/assets/stylesheets/sass-zero/variables/spacing.scss
63
66
  - app/assets/stylesheets/sass-zero/variables/transform.scss
64
67
  - app/assets/stylesheets/sass-zero/variables/transition.scss