moda-themes 1.1.0 → 1.2.0

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: b27b619ad9962e918ac673001c6343082954d6e39c0527b897d70d765db43985
4
- data.tar.gz: 58a687f201cf08d2919e6c9a0568cddf5ece88a4e3dff0d25e92d98212059c7a
3
+ metadata.gz: 1e4fc1fbe3d09c92e43826ffd5049d6a8a726fe454c6c4ae6dff4acb414466bd
4
+ data.tar.gz: a455e3662ed7486432742048f90035cc13baa88115c9e9130a72aa2644cd4342
5
5
  SHA512:
6
- metadata.gz: 211439a8cd6a14b3568685d16e31a6a365a055720e1c3d82777241a2cca47784a7c225bf8d6d7b488c4ed2cd827dd540852d3647c796ee3bb637122a34bb55d7
7
- data.tar.gz: 44ecd798eb8ebfc0e803f9bdc586467fd622c2647d50dec7049210c3c77bb34658f788014e832a5f2e67e8887ab9f2c1eabb2a6161dc2e219e40871ebfde515e
6
+ metadata.gz: 3cfd280f8dfa71835d158ca34340ae7fd37ecf2f035989aeb31956ec11f73f5246ae7efa33bfe267c8adb49969e42669ce49359a3aa84eb34e75da194e1ab3a6
7
+ data.tar.gz: 2c97686c2f84be45d131548813e5011ea787bf1196458eb027c6bdcfe1a400c51761f0dad8da9ba6791b44b24802a37ad2f33670eb06cef29a1e26b192357c66
data/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # moda-themes
2
2
 
3
- [![CircleCI](https://img.shields.io/circleci/build/github/ModaOperandi/moda-themes?token=51b1595bd3dac6aa321b052adfc4595cc79910d6)](https://circleci.com/gh/ModaOperandi/moda-themes) [![npm](https://img.shields.io/npm/v/moda-themes)](https://www.npmjs.com/package/moda-themes)
3
+ [![CircleCI](https://img.shields.io/circleci/build/github/ModaOperandi/moda-themes?token=51b1595bd3dac6aa321b052adfc4595cc79910d6)](https://circleci.com/gh/ModaOperandi/moda-themes) [![npm](https://img.shields.io/npm/v/moda-themes)](https://www.npmjs.com/package/moda-themes) [![Gem](https://img.shields.io/gem/v/moda-themes)](https://rubygems.org/gems/moda-themes)
4
4
 
5
5
  ## Meta
6
6
 
@@ -139,6 +139,14 @@ Returns a line-height variable.
139
139
 
140
140
  Returns a letter-spacing variable.
141
141
 
142
+ #### `space($index)`
143
+
144
+ Returns a value from the spacing scale.
145
+
146
+ #### `z-index($name)`
147
+
148
+ Returns a z-index.
149
+
142
150
  #### `get-from-theme($theme-name, $keys...)`
143
151
 
144
152
  Undocumented.
@@ -161,12 +169,18 @@ Inlcudes the full set of themes under `[data-theme="name"]` selectors. (include
161
169
 
162
170
  Allows you to pull in a set of themed variables manually.
163
171
 
172
+ #### `global-styles()`
173
+
174
+ Pulls in any global styles.
175
+
164
176
  ## Releasing
165
177
 
166
178
  [Increment the versions](https://semver.org/) in [package.json](package.json) and [lib/moda-themes/version.rb](lib/moda-themes/version.rb).
167
179
 
168
180
  Run `yarn build` to rebuild the exported data.
169
181
 
170
- Run `rake release` to release the Ruby gem.
182
+ <strike>Run `rake release` to release the Ruby gem.</strike>
183
+
184
+ <strike>Run `yarn publish` to publish the NPM package.</strike>
171
185
 
172
- Run `yarn publish` to publish the NPM package.
186
+ [Create a new release](https://github.com/ModaOperandi/moda-themes/releases/new). Github Actions should publish it to RubyGems & NPM.
@@ -1,2 +1,3 @@
1
1
  @import "themes";
2
2
  @import "themer";
3
+ @import "globals";
@@ -0,0 +1,11 @@
1
+ @mixin global-styles() {
2
+ html {
3
+ box-sizing: border-box;
4
+ }
5
+
6
+ *,
7
+ *::before,
8
+ *::after {
9
+ box-sizing: inherit;
10
+ }
11
+ }
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ModaThemes
4
- VERSION = "1.1.0"
4
+ VERSION = "1.2.0"
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: moda-themes
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.2.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - dzucconi
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-21 00:00:00.000000000 Z
11
+ date: 2019-08-23 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -91,6 +91,7 @@ files:
91
91
  - README.md
92
92
  - lib/assets/stylesheets/_moda-themes.scss
93
93
  - lib/assets/stylesheets/moda-themes/_all.scss
94
+ - lib/assets/stylesheets/moda-themes/_globals.scss
94
95
  - lib/assets/stylesheets/moda-themes/_themer.scss
95
96
  - lib/assets/stylesheets/moda-themes/_themes.scss
96
97
  - lib/assets/stylesheets/moda-themes/_variables.scss
@@ -120,7 +121,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
120
121
  - !ruby/object:Gem::Version
121
122
  version: '0'
122
123
  requirements: []
123
- rubygems_version: 3.0.4
124
+ rubygems_version: 3.0.1
124
125
  signing_key:
125
126
  specification_version: 4
126
127
  summary: Constant themed values for modaoperandi.com