sass-zero 1.5.0 → 1.5.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: 5c4b768049ccd8c213c5ca63128311ee2afa78c32eb83cfd0ef25bff68b6553e
4
- data.tar.gz: 83a405188b5420197fdba4ca1b4f59e399d8f9b4bc08e2fa0534390aaf9f9359
3
+ metadata.gz: 8bc213583ce001df4c88be706ea16d332a291f581ca7b63431637a4f91e9fc64
4
+ data.tar.gz: 586de3aeab20ffcec0e88c6755a5cde96f07e67fb2c0fcfbdd7d0de9c08d3b28
5
5
  SHA512:
6
- metadata.gz: 57c801d83311e6d027d4a5bcb67df919626e2a820984d10bc7c53326d0ee65568bedea99d29dc86d3d627a78cb4318df2828f0a82e7be0531ccdd5078ea31670
7
- data.tar.gz: 2a1483d90af547c934411ac8767bb772e096858d862ccc7ab7ef55adbbe7dd1cd50f77104cbea505d9f31cec45259debb84cac2b97fc5519e94a328909108b8c
6
+ metadata.gz: 076bbe11c3481cd60b2f162c5413c07ba8e8950afbc291f10f83231160885418efff017dbd977562a703b7fd69a82014d14cb130b0b0990a436390c0eacd7635
7
+ data.tar.gz: 2fd687eded1f6a05d791d48b7e71fda06bcede3eae647db354bfb80bc91f1649d3b356d64f4884af72fb5c130a551f2232071e3fb51e9bf68967028791388020
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- sass-zero (1.5.0)
4
+ sass-zero (1.5.2)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -16,7 +16,6 @@ Add these lines to your application.css:
16
16
  ```css
17
17
  *= require sass-zero/base
18
18
  *= require sass-zero/utilities
19
- *= require sass-zero/keyframes
20
19
  *= require sass-zero/breadboard
21
20
  ```
22
21
 
@@ -65,12 +64,19 @@ This can be useful for dealing with similar components, and positioning.
65
64
 
66
65
  ## Breadboard
67
66
 
68
- These default styles ensure that even without custom styling, the content is usable and understandable, if your development process is mostly reproducing Figma designs, you might don't need it.
67
+ These optional default styles ensure that even without custom styling, the content is usable and understandable, also you can use it as the baseline or your design. It is responsive (mobile), accessible (dark mode), customizable(--var), and very slim.
69
68
 
70
69
  - [Breadboard](app/assets/stylesheets/sass-zero/breadboard.scss)
71
- - [Screenshot](screenshot.png)
72
70
  - [Example](example.html)
73
71
 
72
+ ### Desktop
73
+
74
+ ![Screenshot Desktop](screenshot-desktop.png)
75
+
76
+ ### Dark mode
77
+
78
+ ![Screenshot Dark](screenshot-dark.png)
79
+
74
80
  ## Using variables
75
81
 
76
82
  Create some stylesheet using [BEM](http://getbem.com/naming) and [SASS-ZERO Variables](app/assets/stylesheets/sass-zero/_variables.scss):
@@ -0,0 +1 @@
1
+ <svg fill="#a1a1aa" height="15" width="10" xmlns="http://www.w3.org/2000/svg"><path d="m0 5 5-5 5 5z"/><path d="m0 10 5 5 5-5z"/></svg>
@@ -27,6 +27,7 @@
27
27
 
28
28
  // *******************************************************************
29
29
  // Animations
30
+ // You will need to add keyframes.scss to your application.
30
31
  // *******************************************************************
31
32
 
32
33
  @mixin animate-spin {
@@ -10,19 +10,19 @@ $radius-secondary: $rounded;
10
10
  --color-bg--main: #{$gray-100};
11
11
  --color-bg--surface: #{$white};
12
12
  --color-bg--highlight: #{$gray-200};
13
- --color-border: #{$gray-300};
14
- --color-primary: #{$gray-800};
15
- --color-text: #{$gray-900};
13
+ --color-border: #{$gray-200};
14
+ --color-primary: #{$gray-600};
15
+ --color-text: #{$gray-700};
16
16
  }
17
17
 
18
18
  @media (prefers-color-scheme: dark) {
19
19
  :root {
20
- --color-bg--main: #{$gray-900};
21
- --color-bg--surface: #{$gray-800};
22
- --color-bg--highlight: #{$gray-700};
23
- --color-border: #{$gray-600};
24
- --color-primary: #{$white};
25
- --color-text: #{$white};
20
+ --color-bg--main: #{$blue-gray-900};
21
+ --color-bg--surface: #{$blue-gray-800};
22
+ --color-bg--highlight: #{$blue-gray-700};
23
+ --color-border: #{$blue-gray-600};
24
+ --color-primary: #{$blue-gray-400};
25
+ --color-text: #{$blue-gray-200};
26
26
  }
27
27
  }
28
28
 
@@ -90,12 +90,7 @@ html {
90
90
  width: $w-full;
91
91
 
92
92
  &--select {
93
- background-image:
94
- linear-gradient(45deg, transparent 49%, var(--color-text) 51%),
95
- linear-gradient(135deg, var(--color-text) 51%, transparent 49%);
96
- background-position: calc(100% - 20px), calc(100% - 15px);
97
- background-repeat: no-repeat;
98
- background-size: 5px 5px, 5px 5px;
93
+ background: image-url("select-arrow.svg") right $size-3-5 center no-repeat;
99
94
  }
100
95
 
101
96
  &:disabled {
@@ -70,6 +70,16 @@
70
70
  left: -9999em;
71
71
  }
72
72
 
73
+ .u-for-screen-reader {
74
+ position: absolute;
75
+ height: 1px;
76
+ width: 1px;
77
+ clip: rect(1px, 1px, 1px, 1px);
78
+ overflow: hidden;
79
+ text-transform: none;
80
+ white-space: nowrap
81
+ }
82
+
73
83
  .u-overflow-auto {
74
84
  overflow: auto;
75
85
  }
@@ -1,5 +1,5 @@
1
1
  module Sass
2
2
  module Zero
3
- VERSION = "1.5.0"
3
+ VERSION = "1.5.2"
4
4
  end
5
5
  end
Binary file
Binary file
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.5.0
4
+ version: 1.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - lazaronixon
@@ -25,6 +25,7 @@ files:
25
25
  - Gemfile.lock
26
26
  - README.md
27
27
  - Rakefile
28
+ - app/assets/images/select-arrow.svg
28
29
  - app/assets/stylesheets/sass-zero/_mixins.scss
29
30
  - app/assets/stylesheets/sass-zero/_variables.scss
30
31
  - app/assets/stylesheets/sass-zero/base.scss
@@ -63,7 +64,8 @@ files:
63
64
  - lib/sass_zero.rb
64
65
  - lib/sass_zero/version.rb
65
66
  - sass-zero.gemspec
66
- - screenshot.png
67
+ - screenshot-dark.png
68
+ - screenshot-desktop.png
67
69
  homepage: http://github.com/lazaronixon/sass-zero
68
70
  licenses:
69
71
  - MIT
data/screenshot.png DELETED
Binary file