moda-themes 1.0.0 → 1.1.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: a57a20a71ab49eedd3973d55ad11ea57930d771ddf5199b5924571894f168759
4
- data.tar.gz: d463f39eeb41112fd98f7cffdbaed493ce1c278399488d0fd7618ec092ebfe56
3
+ metadata.gz: b27b619ad9962e918ac673001c6343082954d6e39c0527b897d70d765db43985
4
+ data.tar.gz: 58a687f201cf08d2919e6c9a0568cddf5ece88a4e3dff0d25e92d98212059c7a
5
5
  SHA512:
6
- metadata.gz: 3b517b35b14c5524ef6c3cb51a491445c82cceb539991b46c79b125908f70f49b8a2fe3b23aa207401c32837c7a42a09baba7bb6d4cb65c73998e605ac73e9ed
7
- data.tar.gz: a2fd761a54901106d11754c522d08360abb7a44e20ab7b0a5bf78a16d09f10415cf88a18cc58d2fc5d42a0091f00ee59fac566cd7e53740cbdaaaacc21534f16
6
+ metadata.gz: 211439a8cd6a14b3568685d16e31a6a365a055720e1c3d82777241a2cca47784a7c225bf8d6d7b488c4ed2cd827dd540852d3647c796ee3bb637122a34bb55d7
7
+ data.tar.gz: 44ecd798eb8ebfc0e803f9bdc586467fd622c2647d50dec7049210c3c77bb34658f788014e832a5f2e67e8887ab9f2c1eabb2a6161dc2e219e40871ebfde515e
@@ -65,3 +65,11 @@
65
65
  @function font-size($key) {
66
66
  @return __fetch__($font-sizes, $key);
67
67
  }
68
+
69
+ @function space($index) {
70
+ @return nth($scale, $index + 1);
71
+ }
72
+
73
+ @function z-index($key) {
74
+ @return __fetch__($z-indexes, $key);
75
+ }
@@ -1,5 +1,6 @@
1
1
  @import "variables/typography";
2
2
  @import "variables/colors";
3
+ @import "variables/space";
3
4
 
4
5
  $themes: (
5
6
  legacy: (
@@ -0,0 +1,19 @@
1
+ $scale: 0, 0.125em, 0.25em, 0.5em, 0.75em, 1em, 1.5em, 2em, 3em, 4em, 6em, 8em,
2
+ 12em;
3
+
4
+ // Imported z-index values
5
+ $legacy-z-indexes: (
6
+ primary-nav: 9998
7
+ );
8
+
9
+ $z-indexes: map-merge(
10
+ $legacy-z-indexes,
11
+ (
12
+ modal: 11000
13
+ )
14
+ );
15
+
16
+ $space: (
17
+ scale: $scale,
18
+ z-indexes: $z-indexes
19
+ );
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ModaThemes
4
- VERSION = "1.0.0"
4
+ VERSION = "1.1.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.0.0
4
+ version: 1.1.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-15 00:00:00.000000000 Z
11
+ date: 2019-08-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass
@@ -95,6 +95,7 @@ files:
95
95
  - lib/assets/stylesheets/moda-themes/_themes.scss
96
96
  - lib/assets/stylesheets/moda-themes/_variables.scss
97
97
  - lib/assets/stylesheets/moda-themes/variables/_colors.scss
98
+ - lib/assets/stylesheets/moda-themes/variables/_space.scss
98
99
  - lib/assets/stylesheets/moda-themes/variables/_typography.scss
99
100
  - lib/moda-themes.rb
100
101
  - lib/moda-themes/version.rb