moda-themes 0.0.5 → 1.0.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: 441d448880cf0904aa6cbf4e40506afdf3d8c5ed58bdba4a6684cc6aa6a3e78e
4
- data.tar.gz: 3c49a3eb3c311faa26171c5dacd7b8820d8284df5773e4e231c9b558e27aa225
3
+ metadata.gz: a57a20a71ab49eedd3973d55ad11ea57930d771ddf5199b5924571894f168759
4
+ data.tar.gz: d463f39eeb41112fd98f7cffdbaed493ce1c278399488d0fd7618ec092ebfe56
5
5
  SHA512:
6
- metadata.gz: 443c9cc63ebf113da439c4dc1132d8a85ebe3488be2075340688311ea2adc87f953582c67b5b5f0923f3ee5ee0844006941bfbb05e25938da09dba4665cbb7f1
7
- data.tar.gz: fefbebc42aeca9017e1eb007ff1e3d9c413dacab99672a01a36574e196f5db6a979dca2146d7703869192fe55f01c720113f2e3ee089e4a37eef83e8d56b13a8
6
+ metadata.gz: 3b517b35b14c5524ef6c3cb51a491445c82cceb539991b46c79b125908f70f49b8a2fe3b23aa207401c32837c7a42a09baba7bb6d4cb65c73998e605ac73e9ed
7
+ data.tar.gz: a2fd761a54901106d11754c522d08360abb7a44e20ab7b0a5bf78a16d09f10415cf88a18cc58d2fc5d42a0091f00ee59fac566cd7e53740cbdaaaacc21534f16
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)
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)
4
4
 
5
5
  ## Meta
6
6
 
@@ -161,10 +161,6 @@ Inlcudes the full set of themes under `[data-theme="name"]` selectors. (include
161
161
 
162
162
  Allows you to pull in a set of themed variables manually.
163
163
 
164
- #### `type-treatment($name, $important: false)`
165
-
166
- Pulls in a fixed configuration of styles for specific type treatments.
167
-
168
164
  ## Releasing
169
165
 
170
166
  [Increment the versions](https://semver.org/) in [package.json](package.json) and [lib/moda-themes/version.rb](lib/moda-themes/version.rb).
@@ -65,13 +65,3 @@
65
65
  @function font-size($key) {
66
66
  @return __fetch__($font-sizes, $key);
67
67
  }
68
-
69
- @mixin type-treatment($name, $important: false) {
70
- @each $property, $value in __fetch__($type-treatments, $name) {
71
- @if ($important) {
72
- #{$property}: $value !important;
73
- } @else {
74
- #{$property}: $value;
75
- }
76
- }
77
- }
@@ -41,28 +41,9 @@ $font-sizes: (
41
41
  md: 13px
42
42
  );
43
43
 
44
- $type-treatments: (
45
- secondary-title: (
46
- font-family: font-family("sans"),
47
- font-size: font-size("sm"),
48
- letter-spacing: letter-spacing("md"),
49
- line-height: line-height("base"),
50
- text-transform: uppercase,
51
- color: color("black")
52
- ),
53
- body-copy-sans: (
54
- font-family: font-family("sans"),
55
- font-size: font-size("md"),
56
- letter-spacing: letter-spacing("sm"),
57
- line-height: line-height("base"),
58
- color: color("black")
59
- )
60
- );
61
-
62
44
  $typography: (
63
45
  fonts: $fonts,
64
46
  line-heights: $line-heights,
65
47
  letter-spacing: $letter-spacing,
66
- font-sizes: $font-sizes,
67
- type-treatments: $type-treatments
48
+ font-sizes: $font-sizes
68
49
  );
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ModaThemes
4
- VERSION = "0.0.5"
4
+ VERSION = "1.0.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: 0.0.5
4
+ version: 1.0.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-07 00:00:00.000000000 Z
11
+ date: 2019-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: sass