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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a57a20a71ab49eedd3973d55ad11ea57930d771ddf5199b5924571894f168759
|
4
|
+
data.tar.gz: d463f39eeb41112fd98f7cffdbaed493ce1c278399488d0fd7618ec092ebfe56
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
);
|
data/lib/moda-themes/version.rb
CHANGED
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
|
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-
|
11
|
+
date: 2019-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|