chroma-sass 1.0.0.alpha.5 → 1.0.0.beta.1
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 +4 -4
- data/README.md +17 -25
- data/chroma-sass.gemspec +2 -2
- data/sass/chroma/_colour.scss +11 -77
- data/sass/chroma/_functions.scss +48 -356
- data/sass/chroma/_internals.scss +9 -6
- data/sass/chroma/_kss.scss +160 -13
- data/sass/chroma/_variables.scss +381 -24
- metadata +3 -4
- data/sass/chroma/_kss-styles.scss +0 -55
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chroma-sass
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.beta.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- John Albin Wilkins
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-05-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: sass
|
@@ -39,7 +39,6 @@ files:
|
|
39
39
|
- sass/chroma/_colour.scss
|
40
40
|
- sass/chroma/_functions.scss
|
41
41
|
- sass/chroma/_internals.scss
|
42
|
-
- sass/chroma/_kss-styles.scss
|
43
42
|
- sass/chroma/_kss.scss
|
44
43
|
- sass/chroma/_variables.scss
|
45
44
|
homepage: http://github.com/JohnAlbin/chroma
|
@@ -61,7 +60,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
61
60
|
- !ruby/object:Gem::Version
|
62
61
|
version: 1.3.1
|
63
62
|
requirements: []
|
64
|
-
rubyforge_project: 1.0.0.
|
63
|
+
rubyforge_project: 1.0.0.beta.1
|
65
64
|
rubygems_version: 2.4.6
|
66
65
|
signing_key:
|
67
66
|
specification_version: 4
|
@@ -1,55 +0,0 @@
|
|
1
|
-
// Use this stylesheet to add the default design for Chroma color swatches in a
|
2
|
-
// KSS style guide.
|
3
|
-
|
4
|
-
.chroma-kss,
|
5
|
-
%chroma-kss {
|
6
|
-
line-height: 50px;
|
7
|
-
|
8
|
-
&__swatch {
|
9
|
-
display: inline-block;
|
10
|
-
width: 40px;
|
11
|
-
height: 40px;
|
12
|
-
border-radius: 40px;
|
13
|
-
border: 2px solid #000;
|
14
|
-
margin-right: 10px;
|
15
|
-
vertical-align: middle;
|
16
|
-
}
|
17
|
-
|
18
|
-
&__variable {
|
19
|
-
margin-right: 10px;
|
20
|
-
}
|
21
|
-
|
22
|
-
&__alt-text {
|
23
|
-
position: absolute !important;
|
24
|
-
height: 1px;
|
25
|
-
width: 1px;
|
26
|
-
overflow: hidden;
|
27
|
-
// IE6 and IE7 use the wrong syntax.
|
28
|
-
*clip: rect(1px 1px 1px 1px);
|
29
|
-
clip: rect(1px, 1px, 1px, 1px);
|
30
|
-
}
|
31
|
-
|
32
|
-
&__value {
|
33
|
-
color: #bbb;
|
34
|
-
|
35
|
-
code {
|
36
|
-
color: #bbb;
|
37
|
-
}
|
38
|
-
|
39
|
-
&:before {
|
40
|
-
// "\2192" is unicode for right arrow. "\ " is a hack; otherwise space is
|
41
|
-
// ignored in some browsers.
|
42
|
-
content: '\2192\ ';
|
43
|
-
font-family: sans-serif;
|
44
|
-
}
|
45
|
-
}
|
46
|
-
|
47
|
-
&__reference {
|
48
|
-
display: block;
|
49
|
-
position: relative;
|
50
|
-
top: -12px;
|
51
|
-
line-height: 25px;
|
52
|
-
padding-left: 50px;
|
53
|
-
color: #999;
|
54
|
-
}
|
55
|
-
}
|