sass-material-colors 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.npmignore +12 -0
- data/README.md +7 -4
- data/bower.json +39 -0
- data/lib/sass-material-colors/version.rb +1 -1
- data/package.json +28 -0
- data/sass/_sass-material-colors-classes.scss +2 -2
- data/sass/_sass-material-colors-function.scss +17 -2
- data/sass/_sass-material-colors-map.scss +274 -274
- data/sass/_sass-material-colors-placeholders.scss +2 -2
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4cba80d391b4e7a2290b9ccd0017ee274d3bd709
|
4
|
+
data.tar.gz: e8e63ad49e4ab0816bfa2d75d0d58645d32f3ee1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c567dcd51e03a447226236ded508143265393cbd8023557716dbfc61edd12dcfec7fe528e2b334bfc1e4188c3dfa7067e097ba3264c137ba1deb5500ac285923
|
7
|
+
data.tar.gz: 1eccd676e0096712b65acd93a8251e69b90b4af323e77443290d818154fc387a341623f348cd57a11130e63b0c64ebb5ba69f23084512b76bf66e08fbbabfa77
|
data/.npmignore
ADDED
data/README.md
CHANGED
@@ -42,14 +42,17 @@ The `material-color` function allows you to easily reference any color in the `_
|
|
42
42
|
```sass
|
43
43
|
// Sass
|
44
44
|
.my-cool-element
|
45
|
-
color: material-color(cyan, 400)
|
46
|
-
background: material-color(blue-grey, 600)
|
45
|
+
color: material-color('cyan', '400')
|
46
|
+
background: material-color('blue-grey', '600')
|
47
47
|
```
|
48
48
|
|
49
49
|
The `material-color` function takes 2 arguments:
|
50
50
|
|
51
|
-
|
52
|
-
|
51
|
+
##### `$color-name` String (quoted), Required
|
52
|
+
> Lower-case, dasherized color name from Google's [palette](http://www.google.com/design/spec/style/color.html#color-color-palette) (e.g. `'pink'`, `'amber'`, `'blue-grey'`, `'deep-orange'`, etc.)
|
53
|
+
|
54
|
+
##### `$color-variant` String (quoted), Optional [Default value: `500`]
|
55
|
+
> Lower-case color variant number/code from Google's [palette](http://www.google.com/design/spec/style/color.html#color-color-palette) (e.g. `'300'`, `'200'`, `'a100'`, `'a400'`, etc.)
|
53
56
|
|
54
57
|
### Predefined Sass Placeholder Selectors
|
55
58
|
|
data/bower.json
ADDED
@@ -0,0 +1,39 @@
|
|
1
|
+
{
|
2
|
+
"name": "sass-material-colors",
|
3
|
+
"version": "0.0.4",
|
4
|
+
"homepage": "https://github.com/minusfive/sass-material-colors",
|
5
|
+
"repository": "https://github.com/minusfive/sass-material-colors",
|
6
|
+
"authors": [
|
7
|
+
"minusfive <mail@minusfive.com>"
|
8
|
+
],
|
9
|
+
"description": "Google's Material Design colors for Sass/Scss",
|
10
|
+
"main": "sass/_sass-material-colors.scss",
|
11
|
+
"keywords": [
|
12
|
+
"sass",
|
13
|
+
"scss",
|
14
|
+
"material",
|
15
|
+
"colors",
|
16
|
+
"functions",
|
17
|
+
"placeholders",
|
18
|
+
"extensions"
|
19
|
+
],
|
20
|
+
"license": "MIT",
|
21
|
+
"ignore": [
|
22
|
+
"**/.*",
|
23
|
+
"node_modules",
|
24
|
+
"bower_components",
|
25
|
+
"test",
|
26
|
+
"tests",
|
27
|
+
"bin",
|
28
|
+
"pkg",
|
29
|
+
"sass-material-colors.gemspec",
|
30
|
+
"CONTRIBUTING.md",
|
31
|
+
"features",
|
32
|
+
"LICENSE.txt",
|
33
|
+
"lib",
|
34
|
+
"Gemfile",
|
35
|
+
"Gemfile.lock",
|
36
|
+
"package.json",
|
37
|
+
"Rakefile"
|
38
|
+
]
|
39
|
+
}
|
data/package.json
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
{
|
2
|
+
"name": "sass-material-colors",
|
3
|
+
"version": "0.0.4",
|
4
|
+
"description": "Google's Material Design colors for Sass/Scss",
|
5
|
+
"main": "sass/_sass-material-colors.scss",
|
6
|
+
"scripts": {
|
7
|
+
"test": "echo \"Error: no test specified\" && exit 1"
|
8
|
+
},
|
9
|
+
"repository": {
|
10
|
+
"type": "git",
|
11
|
+
"url": "https://github.com/minusfive/sass-material-colors.git"
|
12
|
+
},
|
13
|
+
"keywords": [
|
14
|
+
"sass",
|
15
|
+
"scss",
|
16
|
+
"material",
|
17
|
+
"colors",
|
18
|
+
"functions",
|
19
|
+
"placeholder",
|
20
|
+
"extensions"
|
21
|
+
],
|
22
|
+
"author": "minusfive <mail@minusfive.com>",
|
23
|
+
"license": "MIT",
|
24
|
+
"bugs": {
|
25
|
+
"url": "https://github.com/minusfive/sass-material-colors/issues"
|
26
|
+
},
|
27
|
+
"homepage": "https://github.com/minusfive/sass-material-colors"
|
28
|
+
}
|
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
@each $color-name, $color-variants in $material-colors {
|
4
4
|
@each $color-variant, $hex-value in $color-variants {
|
5
|
-
.color-#{
|
5
|
+
.color-#{$color-name}-#{$color-variant} {
|
6
6
|
color: #{$hex-value}
|
7
7
|
}
|
8
|
-
.bg-color-#{
|
8
|
+
.bg-color-#{$color-name}-#{$color-variant} {
|
9
9
|
background-color: #{$hex-value}
|
10
10
|
}
|
11
11
|
}
|
@@ -1,5 +1,20 @@
|
|
1
1
|
@import 'sass-material-colors-map';
|
2
2
|
// Inspired by https://github.com/nilskaspersson/Google-Material-UI-Color-Palette/
|
3
|
-
|
4
|
-
|
3
|
+
/**
|
4
|
+
* Retrieves a color value from the $material-colors Sass map
|
5
|
+
*
|
6
|
+
* @function
|
7
|
+
* @param {string} color-name - quoted, lower-case, dasherized color
|
8
|
+
* name (e.g. 'pink', 'amber')
|
9
|
+
* @param {string} [color-variant='500'] - quoted, lowercase color variant (e.g.
|
10
|
+
* '200', 'a100')
|
11
|
+
*/
|
12
|
+
@function material-color($color-name, $color-variant: '500') {
|
13
|
+
$color: map-get(map-get($material-colors, $color-name),$color-variant);
|
14
|
+
@if $color {
|
15
|
+
@return $color;
|
16
|
+
} @else {
|
17
|
+
// Libsass still doesn't seem to support @error
|
18
|
+
@warn "=> ERROR: COLOR NOT FOUND! <= | Your $color-name, $color-variant combination did not match any of the values in the $material-colors map.";
|
19
|
+
}
|
5
20
|
}
|
@@ -1,314 +1,314 @@
|
|
1
1
|
// Inspired by https://github.com/nilskaspersson/Google-Material-UI-Color-Palette/
|
2
2
|
$material-colors: (
|
3
|
-
red: (
|
4
|
-
50: #ffebee,
|
5
|
-
100: #ffcdd2,
|
6
|
-
200: #ef9a9a,
|
7
|
-
300: #e57373,
|
8
|
-
400: #ef5350,
|
9
|
-
500: #f44336,
|
10
|
-
600: #e53935,
|
11
|
-
700: #d32f2f,
|
12
|
-
800: #c62828,
|
13
|
-
900: #b71c1c,
|
14
|
-
a100: #ff8a80,
|
15
|
-
a200: #ff5252,
|
16
|
-
a400: #ff1744,
|
17
|
-
a700: #d50000
|
3
|
+
'red': (
|
4
|
+
'50': #ffebee,
|
5
|
+
'100': #ffcdd2,
|
6
|
+
'200': #ef9a9a,
|
7
|
+
'300': #e57373,
|
8
|
+
'400': #ef5350,
|
9
|
+
'500': #f44336,
|
10
|
+
'600': #e53935,
|
11
|
+
'700': #d32f2f,
|
12
|
+
'800': #c62828,
|
13
|
+
'900': #b71c1c,
|
14
|
+
'a100': #ff8a80,
|
15
|
+
'a200': #ff5252,
|
16
|
+
'a400': #ff1744,
|
17
|
+
'a700': #d50000
|
18
18
|
),
|
19
19
|
|
20
|
-
pink: (
|
21
|
-
50: #fce4ec,
|
22
|
-
100: #f8bbd0,
|
23
|
-
200: #f48fb1,
|
24
|
-
300: #f06292,
|
25
|
-
400: #ec407a,
|
26
|
-
500: #e91e63,
|
27
|
-
600: #d81b60,
|
28
|
-
700: #c2185b,
|
29
|
-
800: #ad1457,
|
30
|
-
900: #880e4f,
|
31
|
-
a100: #ff80ab,
|
32
|
-
a200: #ff4081,
|
33
|
-
a400: #f50057,
|
34
|
-
a700: #c51162
|
20
|
+
'pink': (
|
21
|
+
'50': #fce4ec,
|
22
|
+
'100': #f8bbd0,
|
23
|
+
'200': #f48fb1,
|
24
|
+
'300': #f06292,
|
25
|
+
'400': #ec407a,
|
26
|
+
'500': #e91e63,
|
27
|
+
'600': #d81b60,
|
28
|
+
'700': #c2185b,
|
29
|
+
'800': #ad1457,
|
30
|
+
'900': #880e4f,
|
31
|
+
'a100': #ff80ab,
|
32
|
+
'a200': #ff4081,
|
33
|
+
'a400': #f50057,
|
34
|
+
'a700': #c51162
|
35
35
|
),
|
36
36
|
|
37
|
-
purple: (
|
38
|
-
50: #f3e5f5,
|
39
|
-
100: #e1bee7,
|
40
|
-
200: #ce93d8,
|
41
|
-
300: #ba68c8,
|
42
|
-
400: #ab47bc,
|
43
|
-
500: #9c27b0,
|
44
|
-
600: #8e24aa,
|
45
|
-
700: #7b1fa2,
|
46
|
-
800: #6a1b9a,
|
47
|
-
900: #4a148c,
|
48
|
-
a100: #ea80fc,
|
49
|
-
a200: #e040fb,
|
50
|
-
a400: #d500f9,
|
51
|
-
a700: #aa00ff
|
37
|
+
'purple': (
|
38
|
+
'50': #f3e5f5,
|
39
|
+
'100': #e1bee7,
|
40
|
+
'200': #ce93d8,
|
41
|
+
'300': #ba68c8,
|
42
|
+
'400': #ab47bc,
|
43
|
+
'500': #9c27b0,
|
44
|
+
'600': #8e24aa,
|
45
|
+
'700': #7b1fa2,
|
46
|
+
'800': #6a1b9a,
|
47
|
+
'900': #4a148c,
|
48
|
+
'a100': #ea80fc,
|
49
|
+
'a200': #e040fb,
|
50
|
+
'a400': #d500f9,
|
51
|
+
'a700': #aa00ff
|
52
52
|
),
|
53
53
|
|
54
|
-
deep-purple: (
|
55
|
-
50: #ede7f6,
|
56
|
-
100: #d1c4e9,
|
57
|
-
200: #b39ddb,
|
58
|
-
300: #9575cd,
|
59
|
-
400: #7e57c2,
|
60
|
-
500: #673ab7,
|
61
|
-
600: #5e35b1,
|
62
|
-
700: #512da8,
|
63
|
-
800: #4527a0,
|
64
|
-
900: #311b92,
|
65
|
-
a100: #b388ff,
|
66
|
-
a200: #7c4dff,
|
67
|
-
a400: #651fff,
|
68
|
-
a700: #6200ea
|
54
|
+
'deep-purple': (
|
55
|
+
'50': #ede7f6,
|
56
|
+
'100': #d1c4e9,
|
57
|
+
'200': #b39ddb,
|
58
|
+
'300': #9575cd,
|
59
|
+
'400': #7e57c2,
|
60
|
+
'500': #673ab7,
|
61
|
+
'600': #5e35b1,
|
62
|
+
'700': #512da8,
|
63
|
+
'800': #4527a0,
|
64
|
+
'900': #311b92,
|
65
|
+
'a100': #b388ff,
|
66
|
+
'a200': #7c4dff,
|
67
|
+
'a400': #651fff,
|
68
|
+
'a700': #6200ea
|
69
69
|
),
|
70
70
|
|
71
|
-
indigo: (
|
72
|
-
50: #e8eaf6,
|
73
|
-
100: #c5cae9,
|
74
|
-
200: #9fa8da,
|
75
|
-
300: #7986cb,
|
76
|
-
400: #5c6bc0,
|
77
|
-
500: #3f51b5,
|
78
|
-
600: #3949ab,
|
79
|
-
700: #303f9f,
|
80
|
-
800: #283593,
|
81
|
-
900: #1a237e,
|
82
|
-
a100: #8c9eff,
|
83
|
-
a200: #536dfe,
|
84
|
-
a400: #3d5afe,
|
85
|
-
a700: #304ffe
|
71
|
+
'indigo': (
|
72
|
+
'50': #e8eaf6,
|
73
|
+
'100': #c5cae9,
|
74
|
+
'200': #9fa8da,
|
75
|
+
'300': #7986cb,
|
76
|
+
'400': #5c6bc0,
|
77
|
+
'500': #3f51b5,
|
78
|
+
'600': #3949ab,
|
79
|
+
'700': #303f9f,
|
80
|
+
'800': #283593,
|
81
|
+
'900': #1a237e,
|
82
|
+
'a100': #8c9eff,
|
83
|
+
'a200': #536dfe,
|
84
|
+
'a400': #3d5afe,
|
85
|
+
'a700': #304ffe
|
86
86
|
),
|
87
87
|
|
88
|
-
blue: (
|
89
|
-
50: #e3f2fd,
|
90
|
-
100: #bbdefb,
|
91
|
-
200: #90caf9,
|
92
|
-
300: #64b5f6,
|
93
|
-
400: #42a5f5,
|
94
|
-
500: #2196f3,
|
95
|
-
600: #1e88e5,
|
96
|
-
700: #1976d2,
|
97
|
-
800: #1565c0,
|
98
|
-
900: #0d47a1,
|
99
|
-
a100: #82b1ff,
|
100
|
-
a200: #448aff,
|
101
|
-
a400: #2979ff,
|
102
|
-
a700: #2962ff
|
88
|
+
'blue': (
|
89
|
+
'50': #e3f2fd,
|
90
|
+
'100': #bbdefb,
|
91
|
+
'200': #90caf9,
|
92
|
+
'300': #64b5f6,
|
93
|
+
'400': #42a5f5,
|
94
|
+
'500': #2196f3,
|
95
|
+
'600': #1e88e5,
|
96
|
+
'700': #1976d2,
|
97
|
+
'800': #1565c0,
|
98
|
+
'900': #0d47a1,
|
99
|
+
'a100': #82b1ff,
|
100
|
+
'a200': #448aff,
|
101
|
+
'a400': #2979ff,
|
102
|
+
'a700': #2962ff
|
103
103
|
),
|
104
104
|
|
105
|
-
light-blue: (
|
106
|
-
50: #e1f5fe,
|
107
|
-
100: #b3e5fc,
|
108
|
-
200: #81d4fa,
|
109
|
-
300: #4fc3f7,
|
110
|
-
400: #29b6f6,
|
111
|
-
500: #03a9f4,
|
112
|
-
600: #039be5,
|
113
|
-
700: #0288d1,
|
114
|
-
800: #0277bd,
|
115
|
-
900: #01579b,
|
116
|
-
a100: #80d8ff,
|
117
|
-
a200: #40c4ff,
|
118
|
-
a400: #00b0ff,
|
119
|
-
a700: #0091ea
|
105
|
+
'light-blue': (
|
106
|
+
'50': #e1f5fe,
|
107
|
+
'100': #b3e5fc,
|
108
|
+
'200': #81d4fa,
|
109
|
+
'300': #4fc3f7,
|
110
|
+
'400': #29b6f6,
|
111
|
+
'500': #03a9f4,
|
112
|
+
'600': #039be5,
|
113
|
+
'700': #0288d1,
|
114
|
+
'800': #0277bd,
|
115
|
+
'900': #01579b,
|
116
|
+
'a100': #80d8ff,
|
117
|
+
'a200': #40c4ff,
|
118
|
+
'a400': #00b0ff,
|
119
|
+
'a700': #0091ea
|
120
120
|
),
|
121
121
|
|
122
|
-
cyan: (
|
123
|
-
50: #e0f7fa,
|
124
|
-
100: #b2ebf2,
|
125
|
-
200: #80deea,
|
126
|
-
300: #4dd0e1,
|
127
|
-
400: #26c6da,
|
128
|
-
500: #00bcd4,
|
129
|
-
600: #00acc1,
|
130
|
-
700: #0097a7,
|
131
|
-
800: #00838f,
|
132
|
-
900: #006064,
|
133
|
-
a100: #84ffff,
|
134
|
-
a200: #18ffff,
|
135
|
-
a400: #00e5ff,
|
136
|
-
a700: #00b8d4
|
122
|
+
'cyan': (
|
123
|
+
'50': #e0f7fa,
|
124
|
+
'100': #b2ebf2,
|
125
|
+
'200': #80deea,
|
126
|
+
'300': #4dd0e1,
|
127
|
+
'400': #26c6da,
|
128
|
+
'500': #00bcd4,
|
129
|
+
'600': #00acc1,
|
130
|
+
'700': #0097a7,
|
131
|
+
'800': #00838f,
|
132
|
+
'900': #006064,
|
133
|
+
'a100': #84ffff,
|
134
|
+
'a200': #18ffff,
|
135
|
+
'a400': #00e5ff,
|
136
|
+
'a700': #00b8d4
|
137
137
|
),
|
138
138
|
|
139
|
-
teal: (
|
140
|
-
50: #e0f2f1,
|
141
|
-
100: #b2dfdb,
|
142
|
-
200: #80cbc4,
|
143
|
-
300: #4db6ac,
|
144
|
-
400: #26a69a,
|
145
|
-
500: #009688,
|
146
|
-
600: #00897b,
|
147
|
-
700: #00796b,
|
148
|
-
800: #00695c,
|
149
|
-
900: #004d40,
|
150
|
-
a100: #a7ffeb,
|
151
|
-
a200: #64ffda,
|
152
|
-
a400: #1de9b6,
|
153
|
-
a700: #00bfa5
|
139
|
+
'teal': (
|
140
|
+
'50': #e0f2f1,
|
141
|
+
'100': #b2dfdb,
|
142
|
+
'200': #80cbc4,
|
143
|
+
'300': #4db6ac,
|
144
|
+
'400': #26a69a,
|
145
|
+
'500': #009688,
|
146
|
+
'600': #00897b,
|
147
|
+
'700': #00796b,
|
148
|
+
'800': #00695c,
|
149
|
+
'900': #004d40,
|
150
|
+
'a100': #a7ffeb,
|
151
|
+
'a200': #64ffda,
|
152
|
+
'a400': #1de9b6,
|
153
|
+
'a700': #00bfa5
|
154
154
|
),
|
155
155
|
|
156
|
-
green: (
|
157
|
-
50: #e8f5e9,
|
158
|
-
100: #c8e6c9,
|
159
|
-
200: #a5d6a7,
|
160
|
-
300: #81c784,
|
161
|
-
400: #66bb6a,
|
162
|
-
500: #4caf50,
|
163
|
-
600: #43a047,
|
164
|
-
700: #388e3c,
|
165
|
-
800: #2e7d32,
|
166
|
-
900: #1b5e20,
|
167
|
-
a100: #b9f6ca,
|
168
|
-
a200: #69f0ae,
|
169
|
-
a400: #00e676,
|
170
|
-
a700: #00c853
|
156
|
+
'green': (
|
157
|
+
'50': #e8f5e9,
|
158
|
+
'100': #c8e6c9,
|
159
|
+
'200': #a5d6a7,
|
160
|
+
'300': #81c784,
|
161
|
+
'400': #66bb6a,
|
162
|
+
'500': #4caf50,
|
163
|
+
'600': #43a047,
|
164
|
+
'700': #388e3c,
|
165
|
+
'800': #2e7d32,
|
166
|
+
'900': #1b5e20,
|
167
|
+
'a100': #b9f6ca,
|
168
|
+
'a200': #69f0ae,
|
169
|
+
'a400': #00e676,
|
170
|
+
'a700': #00c853
|
171
171
|
),
|
172
172
|
|
173
|
-
light-green: (
|
174
|
-
50: #f1f8e9,
|
175
|
-
100: #dcedc8,
|
176
|
-
200: #c5e1a5,
|
177
|
-
300: #aed581,
|
178
|
-
400: #9ccc65,
|
179
|
-
500: #8bc34a,
|
180
|
-
600: #7cb342,
|
181
|
-
700: #689f38,
|
182
|
-
800: #558b2f,
|
183
|
-
900: #33691e,
|
184
|
-
a100: #ccff90,
|
185
|
-
a200: #b2ff59,
|
186
|
-
a400: #76ff03,
|
187
|
-
a700: #64dd17
|
173
|
+
'light-green': (
|
174
|
+
'50': #f1f8e9,
|
175
|
+
'100': #dcedc8,
|
176
|
+
'200': #c5e1a5,
|
177
|
+
'300': #aed581,
|
178
|
+
'400': #9ccc65,
|
179
|
+
'500': #8bc34a,
|
180
|
+
'600': #7cb342,
|
181
|
+
'700': #689f38,
|
182
|
+
'800': #558b2f,
|
183
|
+
'900': #33691e,
|
184
|
+
'a100': #ccff90,
|
185
|
+
'a200': #b2ff59,
|
186
|
+
'a400': #76ff03,
|
187
|
+
'a700': #64dd17
|
188
188
|
),
|
189
189
|
|
190
|
-
lime: (
|
191
|
-
50: #f9fbe7,
|
192
|
-
100: #f0f4c3,
|
193
|
-
200: #e6ee9c,
|
194
|
-
300: #dce775,
|
195
|
-
400: #d4e157,
|
196
|
-
500: #cddc39,
|
197
|
-
600: #c0ca33,
|
198
|
-
700: #afb42b,
|
199
|
-
800: #9e9d24,
|
200
|
-
900: #827717,
|
201
|
-
a100: #f4ff81,
|
202
|
-
a200: #eeff41,
|
203
|
-
a400: #c6ff00,
|
204
|
-
a700: #aeea00
|
190
|
+
'lime': (
|
191
|
+
'50': #f9fbe7,
|
192
|
+
'100': #f0f4c3,
|
193
|
+
'200': #e6ee9c,
|
194
|
+
'300': #dce775,
|
195
|
+
'400': #d4e157,
|
196
|
+
'500': #cddc39,
|
197
|
+
'600': #c0ca33,
|
198
|
+
'700': #afb42b,
|
199
|
+
'800': #9e9d24,
|
200
|
+
'900': #827717,
|
201
|
+
'a100': #f4ff81,
|
202
|
+
'a200': #eeff41,
|
203
|
+
'a400': #c6ff00,
|
204
|
+
'a700': #aeea00
|
205
205
|
),
|
206
206
|
|
207
|
-
yellow: (
|
208
|
-
50: #fffde7,
|
209
|
-
100: #fff9c4,
|
210
|
-
200: #fff59d,
|
211
|
-
300: #fff176,
|
212
|
-
400: #ffee58,
|
213
|
-
500: #ffeb3b,
|
214
|
-
600: #fdd835,
|
215
|
-
700: #fbc02d,
|
216
|
-
800: #f9a825,
|
217
|
-
900: #f57f17,
|
218
|
-
a100: #ffff8d,
|
219
|
-
a200: #ffff00,
|
220
|
-
a400: #ffea00,
|
221
|
-
a700: #ffd600
|
207
|
+
'yellow': (
|
208
|
+
'50': #fffde7,
|
209
|
+
'100': #fff9c4,
|
210
|
+
'200': #fff59d,
|
211
|
+
'300': #fff176,
|
212
|
+
'400': #ffee58,
|
213
|
+
'500': #ffeb3b,
|
214
|
+
'600': #fdd835,
|
215
|
+
'700': #fbc02d,
|
216
|
+
'800': #f9a825,
|
217
|
+
'900': #f57f17,
|
218
|
+
'a100': #ffff8d,
|
219
|
+
'a200': #ffff00,
|
220
|
+
'a400': #ffea00,
|
221
|
+
'a700': #ffd600
|
222
222
|
),
|
223
223
|
|
224
|
-
amber: (
|
225
|
-
50: #fff8e1,
|
226
|
-
100: #ffecb3,
|
227
|
-
200: #ffe082,
|
228
|
-
300: #ffd54f,
|
229
|
-
400: #ffca28,
|
230
|
-
500: #ffc107,
|
231
|
-
600: #ffb300,
|
232
|
-
700: #ffa000,
|
233
|
-
800: #ff8f00,
|
234
|
-
900: #ff6f00,
|
235
|
-
a100: #ffe57f,
|
236
|
-
a200: #ffd740,
|
237
|
-
a400: #ffc400,
|
238
|
-
a700: #ffab00
|
224
|
+
'amber': (
|
225
|
+
'50': #fff8e1,
|
226
|
+
'100': #ffecb3,
|
227
|
+
'200': #ffe082,
|
228
|
+
'300': #ffd54f,
|
229
|
+
'400': #ffca28,
|
230
|
+
'500': #ffc107,
|
231
|
+
'600': #ffb300,
|
232
|
+
'700': #ffa000,
|
233
|
+
'800': #ff8f00,
|
234
|
+
'900': #ff6f00,
|
235
|
+
'a100': #ffe57f,
|
236
|
+
'a200': #ffd740,
|
237
|
+
'a400': #ffc400,
|
238
|
+
'a700': #ffab00
|
239
239
|
),
|
240
240
|
|
241
|
-
orange: (
|
242
|
-
50: #fff3e0,
|
243
|
-
100: #ffe0b2,
|
244
|
-
200: #ffcc80,
|
245
|
-
300: #ffb74d,
|
246
|
-
400: #ffa726,
|
247
|
-
500: #ff9800,
|
248
|
-
600: #fb8c00,
|
249
|
-
700: #f57c00,
|
250
|
-
800: #ef6c00,
|
251
|
-
900: #e65100,
|
252
|
-
a100: #ffd180,
|
253
|
-
a200: #ffab40,
|
254
|
-
a400: #ff9100,
|
255
|
-
a700: #ff6d00
|
241
|
+
'orange': (
|
242
|
+
'50': #fff3e0,
|
243
|
+
'100': #ffe0b2,
|
244
|
+
'200': #ffcc80,
|
245
|
+
'300': #ffb74d,
|
246
|
+
'400': #ffa726,
|
247
|
+
'500': #ff9800,
|
248
|
+
'600': #fb8c00,
|
249
|
+
'700': #f57c00,
|
250
|
+
'800': #ef6c00,
|
251
|
+
'900': #e65100,
|
252
|
+
'a100': #ffd180,
|
253
|
+
'a200': #ffab40,
|
254
|
+
'a400': #ff9100,
|
255
|
+
'a700': #ff6d00
|
256
256
|
),
|
257
257
|
|
258
|
-
deep-orange: (
|
259
|
-
50: #fbe9e7,
|
260
|
-
100: #ffccbc,
|
261
|
-
200: #ffab91,
|
262
|
-
300: #ff8a65,
|
263
|
-
400: #ff7043,
|
264
|
-
500: #ff5722,
|
265
|
-
600: #f4511e,
|
266
|
-
700: #e64a19,
|
267
|
-
800: #d84315,
|
268
|
-
900: #bf360c,
|
269
|
-
a100: #ff9e80,
|
270
|
-
a200: #ff6e40,
|
271
|
-
a400: #ff3d00,
|
272
|
-
a700: #dd2c00
|
258
|
+
'deep-orange': (
|
259
|
+
'50': #fbe9e7,
|
260
|
+
'100': #ffccbc,
|
261
|
+
'200': #ffab91,
|
262
|
+
'300': #ff8a65,
|
263
|
+
'400': #ff7043,
|
264
|
+
'500': #ff5722,
|
265
|
+
'600': #f4511e,
|
266
|
+
'700': #e64a19,
|
267
|
+
'800': #d84315,
|
268
|
+
'900': #bf360c,
|
269
|
+
'a100': #ff9e80,
|
270
|
+
'a200': #ff6e40,
|
271
|
+
'a400': #ff3d00,
|
272
|
+
'a700': #dd2c00
|
273
273
|
),
|
274
274
|
|
275
|
-
brown: (
|
276
|
-
50: #efebe9,
|
277
|
-
100: #d7ccc8,
|
278
|
-
200: #bcaaa4,
|
279
|
-
300: #a1887f,
|
280
|
-
400: #8d6e63,
|
281
|
-
500: #795548,
|
282
|
-
600: #6d4c41,
|
283
|
-
700: #5d4037,
|
284
|
-
800: #4e342e,
|
285
|
-
900: #3e2723
|
275
|
+
'brown': (
|
276
|
+
'50': #efebe9,
|
277
|
+
'100': #d7ccc8,
|
278
|
+
'200': #bcaaa4,
|
279
|
+
'300': #a1887f,
|
280
|
+
'400': #8d6e63,
|
281
|
+
'500': #795548,
|
282
|
+
'600': #6d4c41,
|
283
|
+
'700': #5d4037,
|
284
|
+
'800': #4e342e,
|
285
|
+
'900': #3e2723
|
286
286
|
),
|
287
287
|
|
288
|
-
grey: (
|
289
|
-
50: #fafafa,
|
290
|
-
100: #f5f5f5,
|
291
|
-
200: #eeeeee,
|
292
|
-
300: #e0e0e0,
|
293
|
-
400: #bdbdbd,
|
294
|
-
500: #9e9e9e,
|
295
|
-
600: #757575,
|
296
|
-
700: #616161,
|
297
|
-
800: #424242,
|
298
|
-
900: #212121
|
288
|
+
'grey': (
|
289
|
+
'50': #fafafa,
|
290
|
+
'100': #f5f5f5,
|
291
|
+
'200': #eeeeee,
|
292
|
+
'300': #e0e0e0,
|
293
|
+
'400': #bdbdbd,
|
294
|
+
'500': #9e9e9e,
|
295
|
+
'600': #757575,
|
296
|
+
'700': #616161,
|
297
|
+
'800': #424242,
|
298
|
+
'900': #212121
|
299
299
|
),
|
300
300
|
|
301
|
-
blue-grey: (
|
302
|
-
50: #eceff1,
|
303
|
-
100: #cfd8dc,
|
304
|
-
200: #b0bec5,
|
305
|
-
300: #90a4ae,
|
306
|
-
400: #78909c,
|
307
|
-
500: #607d8b,
|
308
|
-
600: #546e7a,
|
309
|
-
700: #455a64,
|
310
|
-
800: #37474f,
|
311
|
-
900: #263238,
|
312
|
-
1000: #11171a
|
301
|
+
'blue-grey': (
|
302
|
+
'50': #eceff1,
|
303
|
+
'100': #cfd8dc,
|
304
|
+
'200': #b0bec5,
|
305
|
+
'300': #90a4ae,
|
306
|
+
'400': #78909c,
|
307
|
+
'500': #607d8b,
|
308
|
+
'600': #546e7a,
|
309
|
+
'700': #455a64,
|
310
|
+
'800': #37474f,
|
311
|
+
'900': #263238,
|
312
|
+
'1000': #11171a
|
313
313
|
)
|
314
314
|
);
|
@@ -2,10 +2,10 @@
|
|
2
2
|
|
3
3
|
@each $color-name, $color-variants in $material-colors {
|
4
4
|
@each $color-variant, $hex-value in $color-variants {
|
5
|
-
%color-#{
|
5
|
+
%color-#{$color-name}-#{$color-variant} {
|
6
6
|
color: #{$hex-value}
|
7
7
|
}
|
8
|
-
%bg-color-#{
|
8
|
+
%bg-color-#{$color-name}-#{$color-variant} {
|
9
9
|
background-color: #{$hex-value}
|
10
10
|
}
|
11
11
|
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: sass-material-colors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- minusfive
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-12-
|
11
|
+
date: 2014-12-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -47,13 +47,16 @@ extensions: []
|
|
47
47
|
extra_rdoc_files: []
|
48
48
|
files:
|
49
49
|
- ".gitignore"
|
50
|
+
- ".npmignore"
|
50
51
|
- CONTRIBUTING.md
|
51
52
|
- Gemfile
|
52
53
|
- LICENSE.txt
|
53
54
|
- README.md
|
54
55
|
- Rakefile
|
56
|
+
- bower.json
|
55
57
|
- lib/sass-material-colors.rb
|
56
58
|
- lib/sass-material-colors/version.rb
|
59
|
+
- package.json
|
57
60
|
- sass-material-colors.gemspec
|
58
61
|
- sass/_sass-material-colors-classes.scss
|
59
62
|
- sass/_sass-material-colors-function.scss
|