scss_ninja 0.2.3 → 0.2.4

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: e1cd31bac1a3a01158273c2ac1a43da517e5d08a2ad6b5596d09bb3e9d029537
4
- data.tar.gz: e891d3e883d9fb12131cac69c2355f7ed410cf303a637aefe87fb1b402f7470d
3
+ metadata.gz: 396dcbdf7c8919c8ddfb745394d4611ca163eb7712df3ca6f247ca688ee7ea33
4
+ data.tar.gz: 16a1e59a2ef2a52a51b94b23605c13bcbf5ae64603acdf0bc6f679598bdd45b9
5
5
  SHA512:
6
- metadata.gz: d3999991f85bfb62538e8b6b80cfa3476495a587608fad00c58afa227522b0ec1881158bd84fe2802d931af3aca7aa5ce85beeb2343918bd89fa24fb2bae67b6
7
- data.tar.gz: 96507d57626558ff5ef037162c8f3a70840d6aef1516ac86ed20431fd33377c95046695f93c90e1a67cab61acc2092d33b65f93e19fa58ee4bb9a6b8c5ecc44a
6
+ metadata.gz: 97cc599dc42ddcff1c2497f5e093859e7501ec6a680d9d3f898da05c0dbbc58d2bb6be22111d67d58e636b896abcca275d6e92cac2ab04d91bc015ea10c80fc3
7
+ data.tar.gz: b03e3484af8aed33ff69eb38a45c87e86fee7cb3fef5878741cff4948428df6b6f8db66b1c1e2c37274830792b58054a6e732d59de56ea4cb680e52132887303
data/README.md ADDED
@@ -0,0 +1,117 @@
1
+ # ScssNinja
2
+
3
+ Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/scss_ninja`. To experiment with that code, run `bin/console` for an interactive prompt.
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation for Ruby on Rails Projects
8
+
9
+ Add this line to your application's Gemfile:
10
+
11
+ ```ruby
12
+ gem 'scss_ninja'
13
+ ```
14
+
15
+ And then execute:
16
+
17
+ $ bundle install
18
+
19
+ Or install it yourself as:
20
+
21
+ $ gem install scss_ninja
22
+
23
+ ## Installation for Pure html Projects
24
+
25
+ - add the following line of code to your html document`s head
26
+
27
+ ```html
28
+ <link rel="stylesheet" href="https://tongoonamujera.github.io/scss_ninja/app/assets/stylesheets/css/scss_ninja.css">
29
+ ```
30
+
31
+ ## Usage
32
+
33
+ - This gem is used for stylesheets
34
+
35
+ - for rails projects add the following code to any scss file `@import 'scss_ninja';`
36
+
37
+ - complete usage instructions to come!!!!!!!!!!!!!
38
+
39
+ - ## Margins
40
+
41
+ |lowest margin class| highest margin class| explanation|
42
+ |:-----------------:|:-------------------:|:----------:|
43
+ |`m-1` | `m-5` |add margin around the whole element|
44
+ |`mt-1` | `mt-5` |margin-top|
45
+ |`mr-1` | `mr-5` |margin-right|
46
+ |`mb-1` | `mb-5` |margin-bottom|
47
+ |`ml-1` | `ml-5` |margin-left|
48
+
49
+ - ## Paddings
50
+
51
+ |lowest padding class| highest padding class| explanation|
52
+ |:------------------:|:--------------------:|:----------:|
53
+ |`p-1` | `p-5` |add padding around the whole element|
54
+ |`pt-1` | `pt-5` |padding-top|
55
+ |`pr-1` | `pr-5` |padding-right|
56
+ |`pb-1` | `pb-5` |padding-bottom|
57
+ |`pl-1` | `pl-5` |paddding-left|
58
+
59
+ - ## Backgrounds
60
+
61
+ |background-color| class | color |
62
+ |:--------------:|:-------------------:|:----------:|
63
+ |red | `bg-red` |![....](https://via.placeholder.com/30/ff0000/000000?txt=+)|
64
+ |orange |`bg-orn`|![....](https://via.placeholder.com/30/ffa500/000000?txt=+)
65
+ |green |`bg-suc`|![....](https://via.placeholder.com/30/008000/000000?txt=+)
66
+ |pink |`bg-pnk`|![....](https://via.placeholder.com/30/ff00ff/000000?txt=+)
67
+ |blue |`bg-info`|![....](https://via.placeholder.com/30/0000ff/000000?txt=+)
68
+ |cyan |`bg-pri`|![....](https://via.placeholder.com/30/00ffff/000000?txt=+)
69
+
70
+ - ## Columns
71
+
72
+ | class |% width relative to container|
73
+ |:------------------:|:---------------------------:|
74
+ |`column-1` | 8.33 |
75
+ |`column-2` | 16.67 |
76
+ |`column-3` | 25 |
77
+ |`column-4` | 33.33 |
78
+ |`column-5` | 41.67 |
79
+ |`column-6` | 50 |
80
+ |`column-7` | 58.33 |
81
+ |`column-8` | 66.67 |
82
+ |`column-9` | 75 |
83
+ |`column-10` | 83.33 |
84
+ |`column-11` | 91.67 |
85
+ |`column-12` | 100 |
86
+
87
+ ```diff
88
+ - columns start from 1 to 12, the width increases as the number increases
89
+ ```
90
+
91
+ - ## Heights and Widths
92
+
93
+ |lowest height class| highest height class| explanation|
94
+ |:-----------------:|:-------------------:|:----------:|
95
+ |`h-1` | `h-10` |height for an element|
96
+
97
+ |lowest width class| highest width class| explanation|
98
+ |:----------------:|:------------------:|:----------:|
99
+ |`w-1` | `w-10` |width for an element|
100
+
101
+ ## Development
102
+
103
+ After checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
104
+
105
+ To install this gem onto your local machine, run `bundle exec rake install`. 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).
106
+
107
+ ## Contributing
108
+
109
+ Bug reports and pull requests are welcome on GitHub [at](https://github.com/tongoonamujera/scss_ninja). This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [code of conduct](https://github.com/tongoonamujera/scss_ninja/blob/main/CODE_OF_CONDUCT.md).
110
+
111
+ ## License
112
+
113
+ The gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
114
+
115
+ ## Code of Conduct
116
+
117
+ Everyone interacting in the ScssNinja project's codebases, issue trackers, chat rooms and mailing lists is expected to follow the [code of conduct](https://github.com/tongoonamujera/scss_ninja/blob/main/CODE_OF_CONDUCT.md).
data/Rakefile ADDED
@@ -0,0 +1,12 @@
1
+ # frozen_string_literal: true
2
+
3
+ require "bundler/gem_tasks"
4
+ require "rspec/core/rake_task"
5
+
6
+ RSpec::Core::RakeTask.new(:spec)
7
+
8
+ require "rubocop/rake_task"
9
+
10
+ RuboCop::RakeTask.new
11
+
12
+ task default: %i[spec rubocop]
@@ -0,0 +1,4 @@
1
+ module ScssNinjaEngine
2
+ class Engine < ::Rails::Engine
3
+ end
4
+ end
@@ -0,0 +1,5 @@
1
+ # frozen_string_literal: true
2
+
3
+ module ScssNinja
4
+ VERSION = "0.2.4"
5
+ end
data/lib/scss_ninja.rb ADDED
@@ -0,0 +1,11 @@
1
+ # frozen_string_literal: true
2
+
3
+ require_relative "scss_ninja/version"
4
+ require_relative "scss_ninja/scss_ninja_engine"
5
+
6
+ module ScssNinja
7
+ class Error < StandardError; end
8
+ # Your code goes here...
9
+ class Engine < ::Rails::Engine
10
+ end
11
+ end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: scss_ninja
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - tongoonamujera
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-11-10 00:00:00.000000000 Z
11
+ date: 2021-11-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: autoprefixer-rails
@@ -51,6 +51,8 @@ executables: []
51
51
  extensions: []
52
52
  extra_rdoc_files: []
53
53
  files:
54
+ - README.md
55
+ - Rakefile
54
56
  - app/assets/stylesheets/border&radius.scss
55
57
  - app/assets/stylesheets/buttons.scss
56
58
  - app/assets/stylesheets/cards.scss
@@ -81,6 +83,9 @@ files:
81
83
  - app/assets/stylesheets/slidebtn.scss
82
84
  - app/assets/stylesheets/tables.scss
83
85
  - app/assets/stylesheets/texts&backgrounds.scss
86
+ - lib/scss_ninja.rb
87
+ - lib/scss_ninja/scss_ninja_engine.rb
88
+ - lib/scss_ninja/version.rb
84
89
  homepage: https://github.com/tongoonamujera/scss_ninja.git
85
90
  licenses:
86
91
  - MIT