sass-zero 0.0.40 → 0.0.41

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: 4c1618f19a592e556e232f98069655ba71d5627c3b9a329412eec047515fb0ce
4
- data.tar.gz: '085a4f0596a1b83213ebb14faf1575574ffcc985a497002f1d753b9e1ee556c1'
3
+ metadata.gz: f7535d89224d6749bc77287fa7b66b68e6e1fe7d14e418187dacc923461ee184
4
+ data.tar.gz: a29e525d141f3d99e1740f60f07820c7af8e41b2bc1965ada826b6bc979c7456
5
5
  SHA512:
6
- metadata.gz: 422213f88a6e53076c21fab195d233b1ac131d02235e7229d01fd04804195bfc3cc45299c5ed178c24c5a6cce914d475264c75cd4ab919c3e2b5238ac9cc31a2
7
- data.tar.gz: 28a3d5da494a2dd64a5ae588a397ee3cd21303ca5600267b774140009ea02f58fac16a9f868a53aed07d84e8678ff22f5f19a6cd90650c1b9c35a27b6f99c542
6
+ metadata.gz: 7f6ee090a317a9a289339d88312e2655923745196ede0d1e1704de70b5ec0ea61f4136e1630d9112284204e32ab4c3d97b60c9ad31925f24c2c3c4b020adc7a3
7
+ data.tar.gz: 82a8ced5aa112b734f511f212beab343b5aafa29f1a77cb8ece989fe6f8a6384418d3692027dfa8d9c18567f71ae2de56a9e99004b5fa693817a6eacff2f3a8a
@@ -95,7 +95,7 @@ hr {
95
95
 
96
96
  .checkbox {
97
97
  border-radius: $rounded;
98
- @include selection($breadboard-primary);
98
+ @include input-selection($breadboard-primary);
99
99
 
100
100
  &:checked {
101
101
  background-image: url('data:image/svg+xml,<svg viewBox="0 0 20 20" fill="white" strokeWidth="2" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" d="M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z" clip-rule="evenodd"></path></svg>');
@@ -107,7 +107,7 @@ hr {
107
107
 
108
108
  .radio {
109
109
  border-radius: $rounded-full;
110
- @include selection($breadboard-primary);
110
+ @include input-selection($breadboard-primary);
111
111
 
112
112
  &:checked {
113
113
  background-image: url('data:image/svg+xml,<svg viewBox="0 0 16 16" fill="white" xmlns="http://www.w3.org/2000/svg"><circle cx="8" cy="8" r="3"/></svg>');
@@ -32,15 +32,6 @@
32
32
  outline: 0;
33
33
  }
34
34
 
35
- @mixin selection($color) {
36
- appearance: none;
37
- border-width: $border;
38
- color: $color;
39
- margin-bottom: -0.2rem;
40
- height: $size-4;
41
- width: $size-4;
42
- }
43
-
44
35
  @mixin checked {
45
36
  border-color: transparent;
46
37
  background-color: currentColor;
@@ -76,3 +67,12 @@
76
67
  margin-left: $size-auto;
77
68
  max-width: $max-width;
78
69
  }
70
+
71
+ @mixin input-selection($color) {
72
+ appearance: none;
73
+ border-width: $border;
74
+ color: $color;
75
+ margin-bottom: -0.1rem;
76
+ height: $size-4;
77
+ width: $size-4;
78
+ }
@@ -1,4 +1,5 @@
1
1
  @import "sass-zero/variables/spacing";
2
+ @import "sass-zero/variables/colors";
2
3
  @import "sass-zero/mixins";
3
4
 
4
5
  .list--unindented {
@@ -13,6 +14,12 @@
13
14
  @include space-y($size-2);
14
15
  }
15
16
 
17
+ .list--boxed {
18
+ background-color: $gray-200;
19
+ padding: $size-4;
20
+ border-radius: $rounded;
21
+ }
22
+
16
23
  .list--ruled > li {
17
24
  padding: $size-3 $size-4;
18
25
  border-top-width: $border;
@@ -108,7 +108,7 @@
108
108
  }
109
109
 
110
110
  .decorated {
111
- color: $blue-800;
111
+ color: $blue-500;
112
112
  text-decoration: underline;
113
113
  }
114
114
 
@@ -1,5 +1,5 @@
1
1
  module Sass
2
2
  module Zero
3
- VERSION = "0.0.40"
3
+ VERSION = "0.0.41"
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.40",
3
+ "version": "0.0.41",
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.40
4
+ version: 0.0.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - lazaronixon
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-05-18 00:00:00.000000000 Z
11
+ date: 2020-05-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autoprefixer-rails