sass-zero 1.0.14 → 1.0.17

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: b9dc3be56445fbb5e26b00137cdead641155a78dd6f2d63d0c0dbf86b43bb8cd
4
- data.tar.gz: 3a45037e686d4a32b35e958b4c5aedf032ab4c948d0a4987f1952909774be6f0
3
+ metadata.gz: 4759309e52c04d123d920114a45bc4fa32ae109b147576bc0b38147ffdf286c2
4
+ data.tar.gz: db228db2ad8576c0f9fb7e2d118d23b4f7664d398419cc578074ed18657ec93d
5
5
  SHA512:
6
- metadata.gz: de6e645117d3ce1c89966c202ac84568280b3bed4ab40565eabdcb07e8aa03836f0895903ede994ce4fbc77b37cee803acfdad03f3dcd67f96823c245105ab56
7
- data.tar.gz: 61ce8cb0034dc58fc9eea6dedf09ce9a1598fee3aa13fc21c0c1fba21297faf907334d308ee736c36539cb7c42d571aae9f263ba95455c74207053fc47b7771c
6
+ metadata.gz: 659baf67f71dc2ef03dca65ab78b1d4af69afbe73e2b21c9de6ce63fa641ce0399e26aebf4d49e23c6325641da17a792d35d8759e52609f673901f0f8e4a684a
7
+ data.tar.gz: 118c182162e54c47ce34010101c79dae11ef135ad90dbeb139d47bccd5ba7963868cef978c28e634ebdaf0ee0b809e4e1c258af0a4ca4da0b49f883ee8cbf680
data/.scss-lint.yml ADDED
@@ -0,0 +1,31 @@
1
+ linters:
2
+ SelectorFormat:
3
+ enabled: false
4
+ PropertySortOrder:
5
+ enabled: false
6
+ SingleLinePerSelector:
7
+ enabled: false
8
+ SingleLinePerProperty:
9
+ enabled: false
10
+ SpaceAfterPropertyColon:
11
+ enabled: false
12
+ Comment:
13
+ enabled: false
14
+ LeadingZero:
15
+ enabled: false
16
+ ImportantRule:
17
+ enabled: false
18
+ ColorVariable:
19
+ enabled: false
20
+ MergeableSelector:
21
+ enabled: false
22
+ ZeroUnit:
23
+ enabled: false
24
+ VendorPrefix:
25
+ enabled: false
26
+ EmptyLineBetweenBlocks:
27
+ enabled: false
28
+ PseudoElement:
29
+ enabled: false
30
+ StringQuotes:
31
+ enabled: false
data/Gemfile CHANGED
@@ -4,3 +4,5 @@ git_source(:github) {|repo_name| "https://github.com/#{repo_name}" }
4
4
 
5
5
  # Specify your gem's dependencies in sass-zero.gemspec
6
6
  gemspec
7
+
8
+ gem "rake", "~> 13.0"
data/Gemfile.lock ADDED
@@ -0,0 +1,19 @@
1
+ PATH
2
+ remote: .
3
+ specs:
4
+ sass-zero (1.0.17)
5
+
6
+ GEM
7
+ remote: https://rubygems.org/
8
+ specs:
9
+ rake (13.0.6)
10
+
11
+ PLATFORMS
12
+ x86_64-darwin-21
13
+
14
+ DEPENDENCIES
15
+ rake (~> 13.0)
16
+ sass-zero!
17
+
18
+ BUNDLED WITH
19
+ 2.3.9
data/README.md CHANGED
@@ -118,6 +118,10 @@ Create some stylesheet using [BEM](http://getbem.com/naming) and [SASS-ZERO Vari
118
118
  - [Shape UP](https://basecamp.com/shapeup)
119
119
  - [Boxicons](https://boxicons.com)
120
120
 
121
+ ## Development
122
+
123
+ To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
124
+
121
125
  ## License
122
126
 
123
127
  The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
data/Rakefile ADDED
@@ -0,0 +1,4 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ task default: %i[]
@@ -368,12 +368,3 @@ Ensure the default browser behavior of the `hidden` attribute.
368
368
  [hidden] {
369
369
  display: none;
370
370
  }
371
-
372
- /**
373
- * Unfortunate hack until https://bugs.webkit.org/show_bug.cgi?id=198959 is fixed.
374
- * This sucks because users can't change line-height with a utility on date inputs now.
375
- * Reference: https://github.com/twbs/bootstrap/pull/31993
376
- */
377
- ::-webkit-date-and-time-value {
378
- min-height: 1.5em;
379
- }
@@ -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); // scss-lint:disable all
29
29
  background: var(--color-bg--main);
30
30
  color: var(--color-text);
31
31
  font-family: $font-family;
@@ -103,7 +103,7 @@ html {
103
103
  z-index: $z-10;
104
104
  }
105
105
 
106
- input[type="checkbox"], input[type="radio"] {
106
+ [type="checkbox"], [type="radio"] {
107
107
  transform: scale(1.2, 1.2);
108
108
  margin: $size-1;
109
109
  }
@@ -126,7 +126,7 @@ pre {
126
126
  border-left-width: $border-4;
127
127
  overflow-y: hidden;
128
128
 
129
- & > code {
129
+ > code {
130
130
  border-radius: $rounded-none;
131
131
  display: block;
132
132
  padding: $size-2 $size-3;
@@ -24,5 +24,5 @@
24
24
 
25
25
  .centered {
26
26
  margin-left: auto;
27
- margin-right: auto
27
+ margin-right: auto;
28
28
  }
@@ -50,10 +50,10 @@
50
50
  @keyframes bounce {
51
51
  0%, 100% {
52
52
  transform: translateY(-25%);
53
- animationTimingFunction: cubic-bezier(0.8, 0, 1, 1);
53
+ animationTimingFunction: cubic-bezier(0.8, 0, 1, 1); // scss-lint:disable all
54
54
  }
55
55
  50% {
56
56
  transform: translateY(0);
57
- animationTimingFunction: cubic-bezier(0, 0, 0.2, 1);
57
+ animationTimingFunction: cubic-bezier(0, 0, 0.2, 1); // scss-lint:disable all
58
58
  }
59
59
  }
@@ -3,7 +3,7 @@
3
3
  @import "../mixins";
4
4
 
5
5
  .debug * {
6
- outline: 1px red solid !important;
6
+ outline: 1px #f00 solid !important;
7
7
  }
8
8
 
9
9
  .u-display-n {
@@ -51,7 +51,7 @@
51
51
  }
52
52
 
53
53
  .u-full-height {
54
- height: 100%
54
+ height: 100%;
55
55
  }
56
56
 
57
57
  .u-disabled {
@@ -38,7 +38,7 @@ $opacity-100: 1;
38
38
  // Function for creating outline rings with box-shadows.
39
39
  // box-shadow: ring($width: 4px);
40
40
  // *******************************************************************
41
- @function ring($width: 2px, $color: rgba($blue-500, 0.5), $offset-width: 0px, $offset-color: $white, $inset: false) {
41
+ @function ring($width: 2px, $color: rgba($blue-500, 0.5), $offset-width: 0px, $offset-color: $white, $inset: false) {
42
42
  @if $inset {
43
43
  $ring-offset-shadow: inset 0 0 0 $offset-width $offset-color;
44
44
  $ring-shadow: inset 0 0 0 ($width + $offset-width) $color;
@@ -20,7 +20,7 @@ $h-3-6: 50%;
20
20
  $h-4-6: 66.666667%;
21
21
  $h-5-6: 83.333333%;
22
22
  $h-full: 100%;
23
- $h-screen: 100vw;
23
+ $h-screen: 100vh;
24
24
  $h-min: min-content;
25
25
  $h-max: max-content;
26
26
  $h-fit: fit-content;
data/lib/sass-zero.rb ADDED
@@ -0,0 +1,5 @@
1
+ require "sass_zero/version"
2
+
3
+ module SassZero
4
+ class Engine < ::Rails::Engine; end
5
+ end
@@ -1,5 +1,5 @@
1
1
  module Sass
2
2
  module Zero
3
- VERSION = "1.0.14"
3
+ VERSION = "1.0.17"
4
4
  end
5
5
  end
data/lib/sass_zero.rb ADDED
@@ -0,0 +1 @@
1
+ require "sass_zero"
data/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sass-zero",
3
- "version": "1.0.14",
3
+ "version": "1.0.16",
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
@@ -1,7 +1,4 @@
1
-
2
- lib = File.expand_path("../lib", __FILE__)
3
- $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
- require "sass/zero/version"
1
+ require_relative "lib/sass_zero/version"
5
2
 
6
3
  Gem::Specification.new do |spec|
7
4
  spec.name = "sass-zero"
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sass-zero
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.14
4
+ version: 1.0.17
5
5
  platform: ruby
6
6
  authors:
7
7
  - lazaronixon
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-10 00:00:00.000000000 Z
11
+ date: 2022-04-26 00:00:00.000000000 Z
12
12
  dependencies: []
13
- description:
13
+ description:
14
14
  email:
15
15
  - lazaronixon@hotmail.com
16
16
  executables: []
@@ -19,9 +19,12 @@ extra_rdoc_files: []
19
19
  files:
20
20
  - ".github/FUNDING.yml"
21
21
  - ".gitignore"
22
+ - ".scss-lint.yml"
22
23
  - Example.html
23
24
  - Gemfile
25
+ - Gemfile.lock
24
26
  - README.md
27
+ - Rakefile
25
28
  - app/assets/stylesheets/sass-zero/base.scss
26
29
  - app/assets/stylesheets/sass-zero/base/preflight.scss
27
30
  - app/assets/stylesheets/sass-zero/breadboard.scss
@@ -54,15 +57,16 @@ files:
54
57
  - app/assets/stylesheets/sass-zero/variables/typography.scss
55
58
  - app/assets/stylesheets/sass-zero/variables/width.scss
56
59
  - app/assets/stylesheets/sass-zero/variables/zindex.scss
57
- - lib/sass/zero.rb
58
- - lib/sass/zero/version.rb
60
+ - lib/sass-zero.rb
61
+ - lib/sass_zero.rb
62
+ - lib/sass_zero/version.rb
59
63
  - package.json
60
64
  - sass-zero.gemspec
61
65
  homepage: http://github.com/lazaronixon/sass-zero
62
66
  licenses:
63
67
  - MIT
64
68
  metadata: {}
65
- post_install_message:
69
+ post_install_message:
66
70
  rdoc_options: []
67
71
  require_paths:
68
72
  - lib
@@ -77,8 +81,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
77
81
  - !ruby/object:Gem::Version
78
82
  version: '0'
79
83
  requirements: []
80
- rubygems_version: 3.1.4
81
- signing_key:
84
+ rubygems_version: 3.3.7
85
+ signing_key:
82
86
  specification_version: 4
83
87
  summary: A CSS framework for rapid UI development based on tailwindcss, miligram and
84
88
  BEM.
data/lib/sass/zero.rb DELETED
@@ -1,7 +0,0 @@
1
- require "sass/zero/version"
2
-
3
- module Sass
4
- module Zero
5
- class Engine < ::Rails::Engine; end
6
- end
7
- end