sass-zero 0.0.41 → 0.0.46

Sign up to get free protection for your applications and to get access to all the features.
Files changed (33) hide show
  1. checksums.yaml +4 -4
  2. data/Example.html +13 -13
  3. data/README.md +6 -1
  4. data/app/assets/stylesheets/sass-zero/base.scss +0 -1
  5. data/app/assets/stylesheets/sass-zero/base/preflight.scss +15 -4
  6. data/app/assets/stylesheets/sass-zero/breadboard.scss +213 -0
  7. data/app/assets/stylesheets/sass-zero/mixins.scss +48 -23
  8. data/app/assets/stylesheets/sass-zero/utilities.scss +3 -0
  9. data/app/assets/stylesheets/sass-zero/utilities/align.scss +28 -0
  10. data/app/assets/stylesheets/sass-zero/utilities/animation.scss +59 -0
  11. data/app/assets/stylesheets/sass-zero/utilities/container.scss +36 -0
  12. data/app/assets/stylesheets/sass-zero/utilities/flex.scss +33 -21
  13. data/app/assets/stylesheets/sass-zero/utilities/layout.scss +40 -3
  14. data/app/assets/stylesheets/sass-zero/utilities/list.scss +20 -10
  15. data/app/assets/stylesheets/sass-zero/utilities/position.scss +2 -2
  16. data/app/assets/stylesheets/sass-zero/utilities/text.scss +66 -64
  17. data/app/assets/stylesheets/sass-zero/variables.scss +1 -0
  18. data/app/assets/stylesheets/sass-zero/variables/border.scss +4 -1
  19. data/app/assets/stylesheets/sass-zero/variables/breakpoints.scss +5 -4
  20. data/app/assets/stylesheets/sass-zero/variables/colors.scss +239 -118
  21. data/app/assets/stylesheets/sass-zero/variables/effects.scss +28 -4
  22. data/app/assets/stylesheets/sass-zero/variables/flex.scss +17 -1
  23. data/app/assets/stylesheets/sass-zero/variables/grid.scss +85 -0
  24. data/app/assets/stylesheets/sass-zero/variables/spacing.scss +16 -2
  25. data/app/assets/stylesheets/sass-zero/variables/transform.scss +9 -2
  26. data/app/assets/stylesheets/sass-zero/variables/typography.scss +18 -15
  27. data/app/assets/stylesheets/sass-zero/variables/width.scss +8 -3
  28. data/app/assets/stylesheets/sass-zero/variables/zindex.scss +1 -1
  29. data/lib/sass/zero/version.rb +1 -1
  30. data/package.json +1 -1
  31. metadata +12 -9
  32. data/app/assets/stylesheets/sass-zero/base/breadboard.scss +0 -191
  33. data/app/assets/stylesheets/sass-zero/base/variables.scss +0 -7
@@ -3,6 +3,7 @@
3
3
  @import "variables/colors";
4
4
  @import "variables/effects";
5
5
  @import "variables/flex";
6
+ @import "variables/grid";
6
7
  @import "variables/spacing";
7
8
  @import "variables/transition";
8
9
  @import "variables/transform";
@@ -8,6 +8,9 @@ $rounded-sm: 0.125rem;
8
8
  $rounded: 0.25rem;
9
9
  $rounded-md: 0.375rem;
10
10
  $rounded-lg: 0.5rem;
11
+ $rounded-xl: 0.75rem;
12
+ $rounded-2xl: 1rem;
13
+ $rounded-3xl: 1.5rem;
11
14
  $rounded-full: 9999px;
12
15
 
13
16
  // *******************************************************************
@@ -15,8 +18,8 @@ $rounded-full: 9999px;
15
18
  // Utilities for controlling the width of an element's borders.
16
19
  // border-width: $border;
17
20
  // *******************************************************************
18
- $border: 1px;
19
21
  $border-0: 0;
20
22
  $border-2: 2px;
21
23
  $border-4: 4px;
22
24
  $border-8: 8px;
25
+ $border: 1px;
@@ -3,7 +3,8 @@
3
3
  // Customizing the default breakpoints for your project.
4
4
  // @media (min-width: $breakpoint-md) { }
5
5
  // *******************************************************************
6
- $breakpoint-sm: 640px;
7
- $breakpoint-md: 768px;
8
- $breakpoint-lg: 1024px;
9
- $breakpoint-xl: 1280px;
6
+ $breakpoint-sm: 640px;
7
+ $breakpoint-md: 768px;
8
+ $breakpoint-lg: 1024px;
9
+ $breakpoint-xl: 1280px;
10
+ $breakpoint-2xl: 1536px;
@@ -7,123 +7,244 @@ $transparent: transparent;
7
7
  $black: #000;
8
8
  $white: #fff;
9
9
 
10
- $gray-50: #f9fafb;
11
- $gray-100: #f4f5f7;
12
- $gray-200: #e5e7eb;
13
- $gray-300: #d2d6dc;
14
- $gray-400: #9fa6b2;
15
- $gray-500: #6b7280;
16
- $gray-600: #4b5563;
17
- $gray-700: #374151;
18
- $gray-800: #252f3f;
19
- $gray-900: #161e2e;
20
-
21
- $cool-gray-50: #fbfdfe;
22
- $cool-gray-100: #f1f5f9;
23
- $cool-gray-200: #e2e8f0;
24
- $cool-gray-300: #cfd8e3;
25
- $cool-gray-400: #97a6ba;
26
- $cool-gray-500: #64748b;
27
- $cool-gray-600: #475569;
28
- $cool-gray-700: #364152;
29
- $cool-gray-800: #27303f;
30
- $cool-gray-900: #1a202e;
31
-
32
- $red-50: #fdf2f2;
33
- $red-100: #fde8e8;
34
- $red-200: #fbd5d5;
35
- $red-300: #f8b4b4;
36
- $red-400: #f98080;
37
- $red-500: #f05252;
38
- $red-600: #e02424;
39
- $red-700: #c81e1e;
40
- $red-800: #9b1c1c;
41
- $red-900: #771d1d;
42
-
43
- $orange-50: #fff8f1;
44
- $orange-100: #feecdc;
45
- $orange-200: #fcd9bd;
46
- $orange-300: #fdba8c;
47
- $orange-400: #ff8a4c;
48
- $orange-500: #ff5a1f;
49
- $orange-600: #d03801;
50
- $orange-700: #b43403;
51
- $orange-800: #8a2c0d;
52
- $orange-900: #771d1d;
53
-
54
- $yellow-50: #fdfdea;
55
- $yellow-100: #fdf6b2;
56
- $yellow-200: #fce96a;
57
- $yellow-300: #faca15;
58
- $yellow-400: #e3a008;
59
- $yellow-500: #c27803;
60
- $yellow-600: #9f580a;
61
- $yellow-700: #8e4b10;
62
- $yellow-800: #723b13;
63
- $yellow-900: #633112;
64
-
65
- $green-50: #f3faf7;
66
- $green-100: #def7ec;
67
- $green-200: #bcf0da;
68
- $green-300: #84e1bc;
69
- $green-400: #31c48d;
70
- $green-500: #0e9f6e;
71
- $green-600: #057a55;
72
- $green-700: #046c4e;
73
- $green-800: #03543f;
74
- $green-900: #014737;
75
-
76
- $teal-50: #edfafa;
77
- $teal-100: #d5f5f6;
78
- $teal-200: #afecef;
79
- $teal-300: #7edce2;
80
- $teal-400: #16bdca;
81
- $teal-500: #0694a2;
82
- $teal-600: #047481;
83
- $teal-700: #036672;
84
- $teal-800: #05505c;
85
- $teal-900: #014451;
86
-
87
- $blue-50: #ebf5ff;
88
- $blue-100: #e1effe;
89
- $blue-200: #c3ddfd;
90
- $blue-300: #a4cafe;
91
- $blue-400: #76a9fa;
92
- $blue-500: #3f83f8;
93
- $blue-600: #1c64f2;
94
- $blue-700: #1a56db;
95
- $blue-800: #1e429f;
96
- $blue-900: #233876;
97
-
98
- $indigo-50: #f0f5ff;
99
- $indigo-100: #e5edff;
100
- $indigo-200: #cddbfe;
101
- $indigo-300: #b4c6fc;
102
- $indigo-400: #8da2fb;
103
- $indigo-500: #6875f5;
104
- $indigo-600: #5850ec;
105
- $indigo-700: #5145cd;
106
- $indigo-800: #42389d;
107
- $indigo-900: #362f78;
108
-
109
- $purple-50: #f6f5ff;
110
- $purple-100: #edebfe;
111
- $purple-200: #dcd7fe;
112
- $purple-300: #cabffd;
113
- $purple-400: #ac94fa;
114
- $purple-500: #9061f9;
115
- $purple-600: #7e3af2;
116
- $purple-700: #6c2bd9;
117
- $purple-800: #5521b5;
118
- $purple-900: #4a1d96;
10
+ $rose-50: #fff1f2;
11
+ $rose-100: #ffe4e6;
12
+ $rose-200: #fecdd3;
13
+ $rose-300: #fda4af;
14
+ $rose-400: #fb7185;
15
+ $rose-500: #f43f5e;
16
+ $rose-600: #e11d48;
17
+ $rose-700: #be123c;
18
+ $rose-800: #9f1239;
19
+ $rose-900: #881337;
119
20
 
120
21
  $pink-50: #fdf2f8;
121
- $pink-100: #fce8f3;
122
- $pink-200: #fad1e8;
123
- $pink-300: #f8b4d9;
124
- $pink-400: #f17eb8;
125
- $pink-500: #e74694;
126
- $pink-600: #d61f69;
127
- $pink-700: #bf125d;
128
- $pink-800: #99154b;
129
- $pink-900: #751a3d;
22
+ $pink-100: #fce7f3;
23
+ $pink-200: #fbcfe8;
24
+ $pink-300: #f9a8d4;
25
+ $pink-400: #f472b6;
26
+ $pink-500: #ec4899;
27
+ $pink-600: #db2777;
28
+ $pink-700: #be185d;
29
+ $pink-800: #9d174d;
30
+ $pink-900: #831843;
31
+
32
+ $fuchsia-50: #fdf4ff;
33
+ $fuchsia-100: #fae8ff;
34
+ $fuchsia-200: #f5d0fe;
35
+ $fuchsia-300: #f0abfc;
36
+ $fuchsia-400: #e879f9;
37
+ $fuchsia-500: #d946ef;
38
+ $fuchsia-600: #c026d3;
39
+ $fuchsia-700: #a21caf;
40
+ $fuchsia-800: #86198f;
41
+ $fuchsia-900: #701a75;
42
+
43
+ $purple-50: #faf5ff;
44
+ $purple-100: #f3e8ff;
45
+ $purple-200: #e9d5ff;
46
+ $purple-300: #d8b4fe;
47
+ $purple-400: #c084fc;
48
+ $purple-500: #a855f7;
49
+ $purple-600: #9333ea;
50
+ $purple-700: #7e22ce;
51
+ $purple-800: #6b21a8;
52
+ $purple-900: #581c87;
53
+
54
+ $violet-50: #f5f3ff;
55
+ $violet-100: #ede9fe;
56
+ $violet-200: #ddd6fe;
57
+ $violet-300: #c4b5fd;
58
+ $violet-400: #a78bfa;
59
+ $violet-500: #8b5cf6;
60
+ $violet-600: #7c3aed;
61
+ $violet-700: #6d28d9;
62
+ $violet-800: #5b21b6;
63
+ $violet-900: #4c1d95;
64
+
65
+ $indigo-50: #eef2ff;
66
+ $indigo-100: #e0e7ff;
67
+ $indigo-200: #c7d2fe;
68
+ $indigo-300: #a5b4fc;
69
+ $indigo-400: #818cf8;
70
+ $indigo-500: #6366f1;
71
+ $indigo-600: #4f46e5;
72
+ $indigo-700: #4338ca;
73
+ $indigo-800: #3730a3;
74
+ $indigo-900: #312e81;
75
+
76
+ $blue-50: #eff6ff;
77
+ $blue-100: #dbeafe;
78
+ $blue-200: #bfdbfe;
79
+ $blue-300: #93c5fd;
80
+ $blue-400: #60a5fa;
81
+ $blue-500: #3b82f6;
82
+ $blue-600: #2563eb;
83
+ $blue-700: #1d4ed8;
84
+ $blue-800: #1e40af;
85
+ $blue-900: #1e3a8a;
86
+
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;
97
+
98
+ $cyan-50: #ecfeff;
99
+ $cyan-100: #cffafe;
100
+ $cyan-200: #a5f3fc;
101
+ $cyan-300: #67e8f9;
102
+ $cyan-400: #22d3ee;
103
+ $cyan-500: #06b6d4;
104
+ $cyan-600: #0891b2;
105
+ $cyan-700: #0e7490;
106
+ $cyan-800: #155e75;
107
+ $cyan-900: #164e63;
108
+
109
+ $teal-50: #f0fdfa;
110
+ $teal-100: #ccfbf1;
111
+ $teal-200: #99f6e4;
112
+ $teal-300: #5eead4;
113
+ $teal-400: #2dd4bf;
114
+ $teal-500: #14b8a6;
115
+ $teal-600: #0d9488;
116
+ $teal-700: #0f766e;
117
+ $teal-800: #115e59;
118
+ $teal-900: #134e4a;
119
+
120
+ $emerald-50: #ecfdf5;
121
+ $emerald-100: #d1fae5;
122
+ $emerald-200: #a7f3d0;
123
+ $emerald-300: #6ee7b7;
124
+ $emerald-400: #34d399;
125
+ $emerald-500: #10b981;
126
+ $emerald-600: #059669;
127
+ $emerald-700: #047857;
128
+ $emerald-800: #065f46;
129
+ $emerald-900: #064e3b;
130
+
131
+ $green-50: #f0fdf4;
132
+ $green-100: #dcfce7;
133
+ $green-200: #bbf7d0;
134
+ $green-300: #86efac;
135
+ $green-400: #4ade80;
136
+ $green-500: #22c55e;
137
+ $green-600: #16a34a;
138
+ $green-700: #15803d;
139
+ $green-800: #166534;
140
+ $green-900: #14532d;
141
+
142
+ $lime-50: #f7fee7;
143
+ $lime-100: #ecfccb;
144
+ $lime-200: #d9f99d;
145
+ $lime-300: #bef264;
146
+ $lime-400: #a3e635;
147
+ $lime-500: #84cc16;
148
+ $lime-600: #65a30d;
149
+ $lime-700: #4d7c0f;
150
+ $lime-800: #3f6212;
151
+ $lime-900: #365314;
152
+
153
+ $yellow-50: #fefce8;
154
+ $yellow-100: #fef9c3;
155
+ $yellow-200: #fef08a;
156
+ $yellow-300: #fde047;
157
+ $yellow-400: #facc15;
158
+ $yellow-500: #eab308;
159
+ $yellow-600: #ca8a04;
160
+ $yellow-700: #a16207;
161
+ $yellow-800: #854d0e;
162
+ $yellow-900: #713f12;
163
+
164
+ $amber-50: #fffbeb;
165
+ $amber-100: #fef3c7;
166
+ $amber-200: #fde68a;
167
+ $amber-300: #fcd34d;
168
+ $amber-400: #fbbf24;
169
+ $amber-500: #f59e0b;
170
+ $amber-600: #d97706;
171
+ $amber-700: #b45309;
172
+ $amber-800: #92400e;
173
+ $amber-900: #78350f;
174
+
175
+ $orange-50: #fff7ed;
176
+ $orange-100: #ffedd5;
177
+ $orange-200: #fed7aa;
178
+ $orange-300: #fdba74;
179
+ $orange-400: #fb923c;
180
+ $orange-500: #f97316;
181
+ $orange-600: #ea580c;
182
+ $orange-700: #c2410c;
183
+ $orange-800: #9a3412;
184
+ $orange-900: #7c2d12;
185
+
186
+ $red-50: #fef2f2;
187
+ $red-100: #fee2e2;
188
+ $red-200: #fecaca;
189
+ $red-300: #fca5a5;
190
+ $red-400: #f87171;
191
+ $red-500: #ef4444;
192
+ $red-600: #dc2626;
193
+ $red-700: #b91c1c;
194
+ $red-800: #991b1b;
195
+ $red-900: #7f1d1d;
196
+
197
+ $warm-gray-50: #fafaf9;
198
+ $warm-gray-100: #f5f5f4;
199
+ $warm-gray-200: #e7e5e4;
200
+ $warm-gray-300: #d6d3d1;
201
+ $warm-gray-400: #a8a29e;
202
+ $warm-gray-500: #78716c;
203
+ $warm-gray-600: #57534e;
204
+ $warm-gray-700: #44403c;
205
+ $warm-gray-800: #292524;
206
+ $warm-gray-900: #1c1917;
207
+
208
+ $true-gray-50: #fafafa;
209
+ $true-gray-100: #f5f5f5;
210
+ $true-gray-200: #e5e5e5;
211
+ $true-gray-300: #d4d4d4;
212
+ $true-gray-400: #a3a3a3;
213
+ $true-gray-500: #737373;
214
+ $true-gray-600: #525252;
215
+ $true-gray-700: #404040;
216
+ $true-gray-800: #262626;
217
+ $true-gray-900: #171717;
218
+
219
+ $gray-50: #fafafa;
220
+ $gray-100: #f4f4f5;
221
+ $gray-200: #e4e4e7;
222
+ $gray-300: #d4d4d8;
223
+ $gray-400: #a1a1aa;
224
+ $gray-500: #71717a;
225
+ $gray-600: #52525b;
226
+ $gray-700: #3f3f46;
227
+ $gray-800: #27272a;
228
+ $gray-900: #18181b;
229
+
230
+ $cool-gray-50: #f9fafb;
231
+ $cool-gray-100: #f3f4f6;
232
+ $cool-gray-200: #e5e7eb;
233
+ $cool-gray-300: #d1d5db;
234
+ $cool-gray-400: #9ca3af;
235
+ $cool-gray-500: #6b7280;
236
+ $cool-gray-600: #4b5563;
237
+ $cool-gray-700: #374151;
238
+ $cool-gray-800: #1f2937;
239
+ $cool-gray-900: #111827;
240
+
241
+ $blue-gray-50: #f8fafc;
242
+ $blue-gray-100: #f1f5f9;
243
+ $blue-gray-200: #e2e8f0;
244
+ $blue-gray-300: #cbd5e1;
245
+ $blue-gray-400: #94a3b8;
246
+ $blue-gray-500: #64748b;
247
+ $blue-gray-600: #475569;
248
+ $blue-gray-700: #334155;
249
+ $blue-gray-800: #1e293b;
250
+ $blue-gray-900: #0f172a;
@@ -3,7 +3,6 @@
3
3
  // Variables for controlling the box shadow of an element.
4
4
  // box-shadow: $shadow;
5
5
  // *******************************************************************
6
- $shadow-xs: 0 0 0 1px rgba(0, 0, 0, 0.05);
7
6
  $shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
8
7
  $shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
9
8
  $shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
@@ -11,8 +10,6 @@ $shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0,
11
10
  $shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
12
11
  $shadow-2xl: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
13
12
  $shadow-inner: inset 0 2px 4px 0 rgba(0, 0, 0, 0.06);
14
- $shadow-outline: 0 0 0 3px rgba(164, 202, 254, .45);
15
- $shadow-solid: 0 0 0 2px currentColor;
16
13
  $shadow-none: none;
17
14
 
18
15
  // *******************************************************************
@@ -21,7 +18,34 @@ $shadow-none: none;
21
18
  // opacity: $opacity-25;
22
19
  // *******************************************************************
23
20
  $opacity-0: 0;
21
+ $opacity-5: 0.05;
22
+ $opacity-10: 0.1;
23
+ $opacity-20: 0.2;
24
24
  $opacity-25: 0.25;
25
- $opacity-50: 0.50;
25
+ $opacity-30: 0.3;
26
+ $opacity-40: 0.4;
27
+ $opacity-50: 0.5;
28
+ $opacity-60: 0.6;
29
+ $opacity-70: 0.7;
26
30
  $opacity-75: 0.75;
31
+ $opacity-80: 0.8;
32
+ $opacity-90: 0.9;
33
+ $opacity-95: 0.95;
27
34
  $opacity-100: 1;
35
+
36
+ // *******************************************************************
37
+ // Ring
38
+ // Utilities for creating outline rings with box-shadows.
39
+ // box-shadow: ring($width: 4px);
40
+ // *******************************************************************
41
+ @function ring($width: 3px, $color: rgba($blue-500, 0.5), $offset-width: 0px, $offset-color: $white, $inset: false) {
42
+ @if $inset {
43
+ $ring-offset-shadow: inset 0 0 0 $offset-width $offset-color;
44
+ $ring-shadow: inset 0 0 0 ($width + $offset-width) $color;
45
+ @return $ring-offset-shadow, $ring-shadow, 0 0 #0000;
46
+ } @else {
47
+ $ring-offset-shadow: 0 0 0 $offset-width $offset-color;
48
+ $ring-shadow: 0 0 0 ($width + $offset-width) $color;
49
+ @return $ring-offset-shadow, $ring-shadow, 0 0 #0000;
50
+ }
51
+ }