sass-zero 1.1.1 → 1.1.3
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 +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +32 -55
- data/app/assets/stylesheets/sass-zero/breadboard.scss +2 -3
- data/app/assets/stylesheets/sass-zero/utilities/border.scss +4 -0
- data/app/assets/stylesheets/sass-zero/utilities/layout.scss +4 -0
- data/app/assets/stylesheets/sass-zero/utilities/pad.scss +4 -4
- data/app/assets/stylesheets/sass-zero/utilities/pull.scss +4 -4
- data/app/assets/stylesheets/sass-zero/utilities/push.scss +7 -7
- data/app/assets/stylesheets/sass-zero/variables/sizing.scss +5 -7
- data/lib/sass_zero/version.rb +1 -1
- metadata +3 -4
- data/package.json +0 -18
- /data/{Example.html → example/index.html} +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c3ae66178979873a6c94299148c552fd111d97667f44bedefa606c06fb47fd8
|
4
|
+
data.tar.gz: 8dff808e65ba1a32a244187446e6dfc0383fdb16f8c1c2f005a778ad4926c1bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71cc61dc9360ef52fc5422475be79cb687a1cab85e271ad6ed21304401c071a465ad1ea03c7cd1f19c9cdf84ba3e97ce99717b51975c10791bd791e22a81658c
|
7
|
+
data.tar.gz: 8fdd20c09ebc2d87aa1c140d5e08945dad6582ae9e62080f588763de3eebc3d12dd476bce666918acf4cd3810364eb7247fc69030ed26d4b8cf597e152f9920d
|
data/Gemfile.lock
CHANGED
data/README.md
CHANGED
@@ -4,33 +4,52 @@ SASS-ZERO is a css framework that brings concepts from [tailwindcss](https://tai
|
|
4
4
|
|
5
5
|

|
6
6
|
|
7
|
-
|
7
|
+
## Installation
|
8
8
|
|
9
|
-
|
9
|
+
```ruby
|
10
|
+
bundle add sassc-rails
|
11
|
+
bundle add sass-zero
|
12
|
+
```
|
10
13
|
|
11
|
-
|
14
|
+
## Usage
|
12
15
|
|
13
|
-
|
16
|
+
Add these lines to your application.css:
|
14
17
|
|
15
|
-
|
18
|
+
```css
|
19
|
+
*= require sass-zero/base
|
20
|
+
*= require sass-zero/utilities
|
21
|
+
*= require sass-zero/breadboard
|
22
|
+
```
|
16
23
|
|
17
|
-
|
24
|
+
### Using variables
|
18
25
|
|
19
|
-
|
26
|
+
Create some stylesheet using [BEM](http://getbem.com/naming) and [SASS-ZERO Variables](https://github.com/lazaronixon/sass-zero/blob/master/vendor/assets/stylesheets/sass-zero/variables.scss):
|
20
27
|
|
21
|
-
|
28
|
+
```scss
|
29
|
+
@import "sass-zero/variables";
|
22
30
|
|
23
|
-
|
31
|
+
.block {
|
32
|
+
color: $red-300;
|
24
33
|
|
25
|
-
|
34
|
+
&__element {
|
35
|
+
color: $red-400;
|
36
|
+
}
|
26
37
|
|
27
|
-
|
38
|
+
&--modifier {
|
39
|
+
color: $red-500;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
```
|
28
43
|
|
29
|
-
|
44
|
+
```html
|
45
|
+
<div class="block block--modifier">
|
46
|
+
<div class="block__element" />
|
47
|
+
</div>
|
48
|
+
```
|
30
49
|
|
31
50
|
### Breadboard Theme
|
32
51
|
|
33
|
-
- [Example](https://github.com/lazaronixon/sass-zero/blob/master/
|
52
|
+
- [Example](https://github.com/lazaronixon/sass-zero/blob/master/example/index.html)
|
34
53
|
- [Breadboard](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/breadboard.scss)
|
35
54
|
|
36
55
|
### Variables
|
@@ -68,48 +87,6 @@ Developers should be able to produce your own design, [Refactoring UI](https://r
|
|
68
87
|
- [Position Utilities](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/utilities/position.scss)
|
69
88
|
- [List Utilities](https://github.com/lazaronixon/sass-zero/blob/master/app/assets/stylesheets/sass-zero/utilities/list.scss)
|
70
89
|
|
71
|
-
## Installation
|
72
|
-
|
73
|
-
Add this to your application's Gemfile:
|
74
|
-
|
75
|
-
```ruby
|
76
|
-
gem "sass-zero"
|
77
|
-
```
|
78
|
-
|
79
|
-
## Usage
|
80
|
-
|
81
|
-
Add this line to your application.css:
|
82
|
-
|
83
|
-
```css
|
84
|
-
*= require sass-zero/base
|
85
|
-
*= require sass-zero/utilities
|
86
|
-
*= require sass-zero/breadboard
|
87
|
-
```
|
88
|
-
|
89
|
-
Create some stylesheet using [BEM](http://getbem.com/naming) and [SASS-ZERO Variables](https://github.com/lazaronixon/sass-zero/blob/master/vendor/assets/stylesheets/sass-zero/variables.scss):
|
90
|
-
|
91
|
-
```scss
|
92
|
-
@import "sass-zero/variables";
|
93
|
-
|
94
|
-
.block {
|
95
|
-
color: $red-300;
|
96
|
-
|
97
|
-
&__element {
|
98
|
-
color: $red-400;
|
99
|
-
}
|
100
|
-
|
101
|
-
&--modifier {
|
102
|
-
color: $red-500;
|
103
|
-
}
|
104
|
-
}
|
105
|
-
```
|
106
|
-
|
107
|
-
```html
|
108
|
-
<div class="block block--modifier">
|
109
|
-
<div class="block__element" />
|
110
|
-
</div>
|
111
|
-
```
|
112
|
-
|
113
90
|
## References
|
114
91
|
|
115
92
|
- [SASS](https://sass-lang.com)
|
@@ -25,7 +25,7 @@ $radius-secondary: $rounded;
|
|
25
25
|
}
|
26
26
|
|
27
27
|
html {
|
28
|
-
accent-color: var(--color-primary);
|
28
|
+
accent-color: var(--color-primary);
|
29
29
|
background: var(--color-bg--main);
|
30
30
|
color: var(--color-text);
|
31
31
|
font-family: $font-family;
|
@@ -104,8 +104,7 @@ html {
|
|
104
104
|
}
|
105
105
|
|
106
106
|
[type="checkbox"], [type="radio"] {
|
107
|
-
transform: scale(1.2
|
108
|
-
margin: $size-1;
|
107
|
+
transform: scale(1.2); margin: $size-1;
|
109
108
|
}
|
110
109
|
|
111
110
|
blockquote {
|
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
// *******************************************************************
|
4
4
|
// Pad Utilities
|
5
|
-
// .pad-[xs|sm|md|lg|xl
|
6
|
-
// .pad-[xs|sm|md|lg|xl
|
7
|
-
// .pad-[xs|sm|md|lg|xl
|
8
|
-
// .pad-[xs|sm|md|lg|xl
|
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 {
|
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
// *******************************************************************
|
4
4
|
// Pull Utilities
|
5
|
-
// .pull-[xs|sm|md|lg|xl
|
6
|
-
// .pull-[xs|sm|md|lg|xl
|
7
|
-
// .pull-[xs|sm|md|lg|xl
|
8
|
-
// .pull-[xs|sm|md|lg|xl
|
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 {
|
@@ -2,13 +2,13 @@
|
|
2
2
|
|
3
3
|
// *******************************************************************
|
4
4
|
// Push Utilities
|
5
|
-
// .push-[xs|sm|md|lg|xl
|
6
|
-
// .push-[xs|sm|md|lg|xl
|
7
|
-
// .push-[xs|sm|md|lg|xl
|
8
|
-
// .push-[xs|sm|md|lg|xl
|
9
|
-
// .push-[xs|sm|md|lg|xl
|
10
|
-
// .push-[xs|sm|md|lg|xl
|
11
|
-
// .push-[xs|sm|md|lg|xl
|
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} {
|
@@ -35,11 +35,9 @@ $size-80: 20rem;
|
|
35
35
|
$size-96: 24rem;
|
36
36
|
|
37
37
|
$size-map: (
|
38
|
-
"xs":
|
39
|
-
"sm":
|
40
|
-
"md":
|
41
|
-
"lg":
|
42
|
-
"xl":
|
43
|
-
"2xl": $size-24,
|
44
|
-
"3xl": $size-32
|
38
|
+
"xs": $size-2,
|
39
|
+
"sm": $size-4,
|
40
|
+
"md": $size-8,
|
41
|
+
"lg": $size-16,
|
42
|
+
"xl": $size-32
|
45
43
|
);
|
data/lib/sass_zero/version.rb
CHANGED
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.1.
|
4
|
+
version: 1.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- lazaronixon
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2023-06-19 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description:
|
14
14
|
email:
|
@@ -20,7 +20,6 @@ files:
|
|
20
20
|
- ".github/FUNDING.yml"
|
21
21
|
- ".gitignore"
|
22
22
|
- ".scss-lint.yml"
|
23
|
-
- Example.html
|
24
23
|
- Gemfile
|
25
24
|
- Gemfile.lock
|
26
25
|
- README.md
|
@@ -59,10 +58,10 @@ files:
|
|
59
58
|
- app/assets/stylesheets/sass-zero/variables/typography.scss
|
60
59
|
- app/assets/stylesheets/sass-zero/variables/width.scss
|
61
60
|
- app/assets/stylesheets/sass-zero/variables/zindex.scss
|
61
|
+
- example/index.html
|
62
62
|
- lib/sass-zero.rb
|
63
63
|
- lib/sass_zero.rb
|
64
64
|
- lib/sass_zero/version.rb
|
65
|
-
- package.json
|
66
65
|
- sass-zero.gemspec
|
67
66
|
homepage: http://github.com/lazaronixon/sass-zero
|
68
67
|
licenses:
|
data/package.json
DELETED
@@ -1,18 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"name": "sass-zero",
|
3
|
-
"version": "1.1.1",
|
4
|
-
"description": "A CSS framework for rapid UI development based on tailwindcss, miligram and BEM.",
|
5
|
-
"homepage": "https://github.com/lazaronixon/sass-zero",
|
6
|
-
"repository": "lazaronixon/sass-zero",
|
7
|
-
"license": "MIT",
|
8
|
-
"author": "Lázaro Nixon <lazaronixon@hotmail.com>",
|
9
|
-
"private": false,
|
10
|
-
"keywords": [
|
11
|
-
"css",
|
12
|
-
"css-framework",
|
13
|
-
"sass-zero",
|
14
|
-
"milligram",
|
15
|
-
"tailwindcss",
|
16
|
-
"bem"
|
17
|
-
]
|
18
|
-
}
|
File without changes
|