@carbon/colors 0.0.1-beta.5 → 10.1.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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,489 @@
1
+ # Change Log
2
+
3
+ All notable changes to this project will be documented in this file.
4
+ See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
+
6
+ ## [10.1.1](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v10.1.0...v10.1.1) (2019-04-13)
7
+
8
+ **Note:** Version bump only for package @carbon/colors
9
+
10
+
11
+
12
+
13
+
14
+ # 10.1.0 (2019-04-12)
15
+
16
+
17
+ ### Features
18
+
19
+ * **sassdoc:** render Sassdoc in markdown ([#462](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/462)) ([73cea35](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/73cea35)), closes [#470](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/470)
20
+
21
+
22
+
23
+ # 10.0.0 (2019-03-29)
24
+
25
+
26
+
27
+ # 10.0.0-rc.0 (2019-03-27)
28
+
29
+
30
+
31
+ ## 0.0.1-beta.5 (2019-03-25)
32
+
33
+
34
+
35
+ ## 0.0.1-beta.4 (2019-03-22)
36
+
37
+
38
+
39
+ ## 0.0.1-beta.3 (2019-03-22)
40
+
41
+
42
+ ### Features
43
+
44
+ * **test-utils:** make test-utils public ([#446](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/446)) ([7f86f8f](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/7f86f8f))
45
+ * **theme:** add theme maps and theme mixin ([#397](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/397)) ([a91e527](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/a91e527))
46
+
47
+
48
+
49
+ ## 0.0.1-beta.2 (2019-03-19)
50
+
51
+
52
+
53
+ ## 0.0.1-beta.1 (2019-03-13)
54
+
55
+
56
+
57
+ ## 0.0.1-beta.0 (2019-03-07)
58
+
59
+
60
+
61
+ ## 0.0.1-alpha.32 (2019-02-12)
62
+
63
+
64
+ ### Bug Fixes
65
+
66
+ * **colors:** change namespace to be consistent with rules ([5b58050](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/5b58050))
67
+
68
+
69
+ ### Features
70
+
71
+ * **colors:** update color values ([#328](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/328)) ([83e3e92](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/83e3e92))
72
+
73
+
74
+
75
+ ## 0.0.1-alpha.31 (2019-01-28)
76
+
77
+
78
+
79
+ ## 0.0.1-alpha.30 (2019-01-22)
80
+
81
+
82
+ ### Bug Fixes
83
+
84
+ * **colors:** don't quote grade values in map ([#273](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/273)) ([fa83003](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/fa83003))
85
+
86
+
87
+
88
+ ## 0.0.1-alpha.29 (2019-01-14)
89
+
90
+
91
+ ### Bug Fixes
92
+
93
+ * **themes:** add in deprecated tokens ([#263](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/263)) ([21b9401](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/21b9401))
94
+
95
+
96
+
97
+ ## 0.0.1-alpha.28 (2019-01-11)
98
+
99
+
100
+ ### Bug Fixes
101
+
102
+ * **colors:** add back in ibm-color-map ([#254](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/254)) ([b0ba7f8](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/b0ba7f8))
103
+
104
+
105
+
106
+ ## 0.0.1-alpha.27 (2019-01-10)
107
+
108
+
109
+ ### Bug Fixes
110
+
111
+ * **colors:** add all colors to export ([#246](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/246)) ([8b6ac7f](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/8b6ac7f))
112
+ * **colors:** update scss map name ([#198](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/198)) ([4dcb170](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/4dcb170))
113
+
114
+
115
+ ### Features
116
+
117
+ * **bundler:** add support for scss compilation ([#222](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/222)) ([5cfcdb8](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/5cfcdb8))
118
+
119
+
120
+
121
+ ## 0.0.1-alpha.26 (2018-12-13)
122
+
123
+
124
+ ### Bug Fixes
125
+
126
+ * **colors:** add map with grades to scss output, add black100, white0, yellow20, and orange40 vars ([#141](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/141)) ([6d6bc04](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/6d6bc04))
127
+
128
+
129
+
130
+ ## 0.0.1-alpha.25 (2018-12-11)
131
+
132
+
133
+
134
+ ## 0.0.1-alpha.24 (2018-12-07)
135
+
136
+
137
+
138
+ ## 0.0.1-alpha.23 (2018-12-06)
139
+
140
+
141
+
142
+ ## 0.0.1-alpha.22 (2018-12-04)
143
+
144
+
145
+
146
+ ## 0.0.1-alpha.21 (2018-12-04)
147
+
148
+
149
+ ### Features
150
+
151
+ * **colors:** update color and token values ([#107](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/107)) ([63795d6](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/63795d6))
152
+
153
+
154
+
155
+ ## 0.0.1-alpha.20 (2018-11-29)
156
+
157
+
158
+
159
+ ## 0.0.1-alpha.19 (2018-11-29)
160
+
161
+
162
+
163
+ ## 0.0.1-alpha.18 (2018-11-28)
164
+
165
+
166
+
167
+ ## 0.0.1-alpha.17 (2018-11-25)
168
+
169
+
170
+
171
+ ## 0.0.1-alpha.16 (2018-11-21)
172
+
173
+
174
+
175
+ ## 0.0.1-alpha.15 (2018-11-21)
176
+
177
+
178
+
179
+ ## 0.0.1-alpha.14 (2018-11-20)
180
+
181
+
182
+
183
+ ## 0.0.1-alpha.13 (2018-11-19)
184
+
185
+
186
+
187
+ ## 0.0.1-alpha.12 (2018-11-18)
188
+
189
+
190
+
191
+ ## 0.0.1-alpha.11 (2018-11-18)
192
+
193
+
194
+
195
+ ## 0.0.1-alpha.10 (2018-11-18)
196
+
197
+
198
+
199
+ ## 0.0.1-alpha.9 (2018-11-18)
200
+
201
+
202
+
203
+ ## 0.0.1-alpha.8 (2018-11-18)
204
+
205
+
206
+ ### Features
207
+
208
+ * add tokens alongside JavaScript output for certain packages ([#72](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/72)) ([6ca03e2](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/6ca03e2))
209
+
210
+
211
+
212
+ ## 0.0.1-alpha.7 (2018-11-14)
213
+
214
+
215
+
216
+ ## 0.0.1-alpha.5 (2018-11-14)
217
+
218
+
219
+
220
+ ## 0.0.1-alpha.4 (2018-11-09)
221
+
222
+
223
+ ### Bug Fixes
224
+
225
+ * **colors:** update build process to output proper token names ([88d631e](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/88d631e))
226
+
227
+
228
+
229
+ ## 0.0.1-alpha.3 (2018-11-09)
230
+
231
+
232
+ ### Features
233
+
234
+ * update for alpha.3 ([dcbfc59](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/dcbfc59))
235
+
236
+
237
+
238
+ ## 0.0.1-alpha.2 (2018-10-02)
239
+
240
+
241
+ ### Features
242
+
243
+ * **icons-react:** add `icons-react` package ([#6](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/6)) ([43eb47c](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/43eb47c))
244
+ * **type:** add type package ([#17](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/17)) ([904462e](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/904462e))
245
+
246
+
247
+
248
+ ## 0.0.1-alpha.0 (2018-08-30)
249
+
250
+
251
+ ### Features
252
+
253
+ * **colors:** add colors package ([#5](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/5)) ([8b4d40e](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/8b4d40e))
254
+
255
+
256
+
257
+
258
+
259
+ # [10.0.0](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v10.0.0-rc.0...v10.0.0) (2019-03-29)
260
+
261
+
262
+
263
+ # [10.0.0-rc.0](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-beta.5...v10.0.0-rc.0) (2019-03-27)
264
+
265
+
266
+
267
+ ## [0.0.1-beta.5](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-beta.4...v0.0.1-beta.5) (2019-03-25)
268
+
269
+
270
+
271
+ ## [0.0.1-beta.4](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-beta.3...v0.0.1-beta.4) (2019-03-22)
272
+
273
+
274
+
275
+ ## [0.0.1-beta.3](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-beta.2...v0.0.1-beta.3) (2019-03-22)
276
+
277
+
278
+ ### Features
279
+
280
+ * **test-utils:** make test-utils public ([#446](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/446)) ([7f86f8f](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/7f86f8f))
281
+ * **theme:** add theme maps and theme mixin ([#397](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/397)) ([a91e527](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/a91e527))
282
+
283
+
284
+
285
+ ## [0.0.1-beta.2](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-beta.1...v0.0.1-beta.2) (2019-03-19)
286
+
287
+
288
+
289
+ ## [0.0.1-beta.1](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-beta.0...v0.0.1-beta.1) (2019-03-13)
290
+
291
+
292
+
293
+ ## [0.0.1-beta.0](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.32...v0.0.1-beta.0) (2019-03-07)
294
+
295
+
296
+
297
+ ## [0.0.1-alpha.32](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.31...v0.0.1-alpha.32) (2019-02-12)
298
+
299
+
300
+ ### Bug Fixes
301
+
302
+ * **colors:** change namespace to be consistent with rules ([5b58050](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/5b58050))
303
+
304
+
305
+ ### Features
306
+
307
+ * **colors:** update color values ([#328](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/328)) ([83e3e92](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/83e3e92))
308
+
309
+
310
+
311
+ ## [0.0.1-alpha.31](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.30...v0.0.1-alpha.31) (2019-01-28)
312
+
313
+
314
+
315
+ ## [0.0.1-alpha.30](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.29...v0.0.1-alpha.30) (2019-01-22)
316
+
317
+
318
+ ### Bug Fixes
319
+
320
+ * **colors:** don't quote grade values in map ([#273](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/273)) ([fa83003](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/fa83003))
321
+
322
+
323
+
324
+ ## [0.0.1-alpha.29](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.28...v0.0.1-alpha.29) (2019-01-14)
325
+
326
+
327
+ ### Bug Fixes
328
+
329
+ * **themes:** add in deprecated tokens ([#263](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/263)) ([21b9401](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/21b9401))
330
+
331
+
332
+
333
+ ## [0.0.1-alpha.28](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.27...v0.0.1-alpha.28) (2019-01-11)
334
+
335
+
336
+ ### Bug Fixes
337
+
338
+ * **colors:** add back in ibm-color-map ([#254](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/254)) ([b0ba7f8](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/b0ba7f8))
339
+
340
+
341
+
342
+ ## [0.0.1-alpha.27](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.26...v0.0.1-alpha.27) (2019-01-10)
343
+
344
+
345
+ ### Bug Fixes
346
+
347
+ * **colors:** add all colors to export ([#246](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/246)) ([8b6ac7f](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/8b6ac7f))
348
+ * **colors:** update scss map name ([#198](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/198)) ([4dcb170](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/4dcb170))
349
+
350
+
351
+ ### Features
352
+
353
+ * **bundler:** add support for scss compilation ([#222](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/222)) ([5cfcdb8](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/5cfcdb8))
354
+
355
+
356
+
357
+ ## [0.0.1-alpha.26](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.25...v0.0.1-alpha.26) (2018-12-13)
358
+
359
+
360
+ ### Bug Fixes
361
+
362
+ * **colors:** add map with grades to scss output, add black100, white0, yellow20, and orange40 vars ([#141](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/141)) ([6d6bc04](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/6d6bc04))
363
+
364
+
365
+
366
+ ## [0.0.1-alpha.25](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.24...v0.0.1-alpha.25) (2018-12-11)
367
+
368
+
369
+
370
+ ## [0.0.1-alpha.24](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.23...v0.0.1-alpha.24) (2018-12-07)
371
+
372
+
373
+
374
+ ## [0.0.1-alpha.23](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.22...v0.0.1-alpha.23) (2018-12-06)
375
+
376
+
377
+
378
+ ## [0.0.1-alpha.22](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.21...v0.0.1-alpha.22) (2018-12-04)
379
+
380
+
381
+
382
+ ## [0.0.1-alpha.21](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.20...v0.0.1-alpha.21) (2018-12-04)
383
+
384
+
385
+ ### Features
386
+
387
+ * **colors:** update color and token values ([#107](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/107)) ([63795d6](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/63795d6))
388
+
389
+
390
+
391
+ ## [0.0.1-alpha.20](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.19...v0.0.1-alpha.20) (2018-11-29)
392
+
393
+
394
+
395
+ ## [0.0.1-alpha.19](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.18...v0.0.1-alpha.19) (2018-11-29)
396
+
397
+
398
+
399
+ ## [0.0.1-alpha.18](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.17...v0.0.1-alpha.18) (2018-11-28)
400
+
401
+
402
+
403
+ ## [0.0.1-alpha.17](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.16...v0.0.1-alpha.17) (2018-11-25)
404
+
405
+
406
+
407
+ ## [0.0.1-alpha.16](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.15...v0.0.1-alpha.16) (2018-11-21)
408
+
409
+
410
+
411
+ ## [0.0.1-alpha.15](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.14...v0.0.1-alpha.15) (2018-11-21)
412
+
413
+
414
+
415
+ ## [0.0.1-alpha.14](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.13...v0.0.1-alpha.14) (2018-11-20)
416
+
417
+
418
+
419
+ ## [0.0.1-alpha.13](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.12...v0.0.1-alpha.13) (2018-11-19)
420
+
421
+
422
+
423
+ ## [0.0.1-alpha.12](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.11...v0.0.1-alpha.12) (2018-11-18)
424
+
425
+
426
+
427
+ ## [0.0.1-alpha.11](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.10...v0.0.1-alpha.11) (2018-11-18)
428
+
429
+
430
+
431
+ ## [0.0.1-alpha.10](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.9...v0.0.1-alpha.10) (2018-11-18)
432
+
433
+
434
+
435
+ ## [0.0.1-alpha.9](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.8...v0.0.1-alpha.9) (2018-11-18)
436
+
437
+
438
+
439
+ ## [0.0.1-alpha.8](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.7...v0.0.1-alpha.8) (2018-11-18)
440
+
441
+
442
+ ### Features
443
+
444
+ * add tokens alongside JavaScript output for certain packages ([#72](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/72)) ([6ca03e2](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/6ca03e2))
445
+
446
+
447
+
448
+ ## [0.0.1-alpha.7](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.5...v0.0.1-alpha.7) (2018-11-14)
449
+
450
+
451
+
452
+ ## [0.0.1-alpha.5](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.4...v0.0.1-alpha.5) (2018-11-14)
453
+
454
+
455
+
456
+ ## [0.0.1-alpha.4](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.3...v0.0.1-alpha.4) (2018-11-09)
457
+
458
+
459
+ ### Bug Fixes
460
+
461
+ * **colors:** update build process to output proper token names ([88d631e](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/88d631e))
462
+
463
+
464
+
465
+ ## [0.0.1-alpha.3](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.2...v0.0.1-alpha.3) (2018-11-09)
466
+
467
+
468
+ ### Features
469
+
470
+ * update for alpha.3 ([dcbfc59](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/dcbfc59))
471
+
472
+
473
+
474
+ ## [0.0.1-alpha.2](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/v0.0.1-alpha.0...v0.0.1-alpha.2) (2018-10-02)
475
+
476
+
477
+ ### Features
478
+
479
+ * **icons-react:** add `icons-react` package ([#6](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/6)) ([43eb47c](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/43eb47c))
480
+ * **type:** add type package ([#17](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/17)) ([904462e](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/904462e))
481
+
482
+
483
+
484
+ ## [0.0.1-alpha.0](https://github.com/IBM/carbon-elements/tree/master/packages/colors/compare/8b4d40e...v0.0.1-alpha.0) (2018-08-30)
485
+
486
+
487
+ ### Features
488
+
489
+ * **colors:** add colors package ([#5](https://github.com/IBM/carbon-elements/tree/master/packages/colors/issues/5)) ([8b4d40e](https://github.com/IBM/carbon-elements/tree/master/packages/colors/commit/8b4d40e))
package/README.md CHANGED
@@ -32,11 +32,10 @@ In Sass, you can import the files individual by doing:
32
32
  @import '@carbon/colors/scss/colors';
33
33
  ```
34
34
 
35
- This file automatically includes the `carbon--colors` mixin which initializes
36
- all the color variables for the IBM Design Language.
35
+ This file automatically includes the `carbon--colors` mixin which
36
+ initializes all the color variables for the IBM Design Language.
37
37
 
38
- These color variables follow the naming convention: `$carbon--<swatch>-<grade>`.
39
- For example:
38
+ These color variables follow the naming convention: `$carbon--<swatch>-<grade>`. For example:
40
39
 
41
40
  ```scss
42
41
  $carbon--blue-50;
@@ -45,8 +44,7 @@ $carbon--black-100;
45
44
  $carbon--white-0;
46
45
  ```
47
46
 
48
- You can also use the shorthand form of these colors by dropping the `carbon--`
49
- namespace:
47
+ You can also use the shorthand form of these colors by dropping the `carbon--` namespace:
50
48
 
51
49
  ```scss
52
50
  $blue-50;
@@ -56,11 +54,13 @@ $white-0;
56
54
  ```
57
55
 
58
56
  _Note: the shorthand variables require that you do not have any other
59
- conflicting variables in your setup. Namespaced variables are always preferred
60
- for this reason, unless you are confident that no collisions will occur._
57
+ conflicting variables in your setup. Namespaced variables are always
58
+ preferred for this reason, unless you are confident that no collisions
59
+ will occur._
61
60
 
62
- If you would like you choose when these variables are defined, then you can call
63
- the `carbon--colors` mixin directly by importing the following file:
61
+ If you would like you choose when these variables are defined, then
62
+ you can call the `carbon--colors` mixin directly by importing the
63
+ following file:
64
64
 
65
65
  ```scss
66
66
  @import '@carbon/colors/scss/mixins';
@@ -69,13 +69,14 @@ the `carbon--colors` mixin directly by importing the following file:
69
69
  @include carbon--colors();
70
70
  ```
71
71
 
72
- Alongside the color variables detailed above, we also provide a map of colors so
73
- that you can programmatically use these values. This map is called
74
- `$carbon--colors` and each key is the name of a swatch. The value of these
75
- swatches is also a map, but each key is now the grade. In code, this looks like
76
- the following:
72
+ Alongside the color variables detailed above, we also provide a map of
73
+ colors so that you can programmatically use these values. This map is
74
+ called `$carbon--colors` and each key is the name of a swatch. The
75
+ value of these swatches is also a map, but each key is now the grade.
76
+ In code, this looks like the following:
77
77
 
78
78
  <!-- prettier-ignore-start -->
79
+
79
80
  ```scss
80
81
  $carbon--colors: (
81
82
  'blue': (
@@ -84,21 +85,22 @@ $carbon--colors: (
84
85
  )
85
86
  );
86
87
  ```
88
+
87
89
  <!-- prettier-ignore-end -->
88
90
 
89
- You can include this variable by including `@carbon/colors/scss/colors` or
90
- calling the `carbon--colors()` mixin directly.
91
+ You can include this variable by including `@carbon/colors/scss/colors`
92
+ or calling the `carbon--colors()` mixin directly.
91
93
 
92
94
  #### Migrating from previous versions
93
95
 
94
- If you were originally using a project that had color variables defined as
95
- `$ibm-color__<swatch>-<grade>`, or are relying on `$ibm-color-map`, you can also
96
- use the entrypoint described above to access these colors. They are meant as an
97
- easier way to help adopt these packages. However, these variables will be removed
98
- in the next release of Carbon.
96
+ If you were originally using a project that had color variables
97
+ defined as `$ibm-color__<swatch>-<grade>`, or are relying on `$ibm-color-map`, you can also use the entrypoint described above to
98
+ access these colors. They are meant as an easier way to help adopt
99
+ these packages. However, these variables will be removed in the next
100
+ release of Carbon.
99
101
 
100
- Similar to previous efforts, we also provide colors in the formats mentioned
101
- above. For example:
102
+ Similar to previous efforts, we also provide colors in the formats
103
+ mentioned above. For example:
102
104
 
103
105
  ```scss
104
106
  $ibm-color__blue-50;
@@ -137,6 +139,12 @@ blue[50]; // Using the `blue` object.
137
139
  warmGray100; // Using the `warmGray100` variable.
138
140
  ```
139
141
 
142
+ ## 📖 API Documentation
143
+
144
+ If you're looking for `@carbon/colors` API documentation, check out:
145
+
146
+ - [Sass](./docs/sass.md)
147
+
140
148
  ## 🙌 Contributing
141
149
 
142
150
  We're always looking for contributors to help us fix bugs, build new
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/colors",
3
3
  "description": "Colors for digital and software products using the Carbon Design System",
4
- "version": "0.0.1-beta.5",
4
+ "version": "10.1.1",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -25,13 +25,13 @@
25
25
  "access": "public"
26
26
  },
27
27
  "scripts": {
28
- "build": "yarn clean && bundler bundle src/index.js --name CarbonColors && node tasks/build.js && bundler check 'scss/*.scss'",
28
+ "build": "yarn clean && bundler bundle src/index.js --name CarbonColors && node tasks/build.js && bundler check 'scss/*.scss' && bundler sassdoc 'scss'",
29
29
  "clean": "rimraf css es lib umd scss"
30
30
  },
31
31
  "devDependencies": {
32
- "@carbon/bundler": "0.0.1-beta.5",
33
- "@carbon/cli-reporter": "0.0.1-beta.5",
34
- "@carbon/test-utils": "0.0.1-beta.5",
32
+ "@carbon/bundler": "10.1.1",
33
+ "@carbon/cli-reporter": "10.0.0",
34
+ "@carbon/test-utils": "10.0.0",
35
35
  "change-case": "^3.0.2",
36
36
  "fs-extra": "^7.0.0",
37
37
  "node-sass": "^4.11.0",
@@ -44,5 +44,5 @@
44
44
  "sassDir": "scss",
45
45
  "needs": "^1.3.0"
46
46
  },
47
- "gitHead": "eb5cb82f2f862cced404c31d69697c5b1168ecb1"
47
+ "gitHead": "0931cfcf4a7636d6e3f5aff3ab8d7d7f2d4ecb99"
48
48
  }
package/scss/colors.scss CHANGED
@@ -1,4 +1,10 @@
1
1
  // Code generated by @carbon/colors. DO NOT EDIT.
2
+ //
3
+ // Copyright IBM Corp. 2018, 2018
4
+ //
5
+ // This source code is licensed under the Apache-2.0 license found in the
6
+ // LICENSE file in the root directory of this source tree.
7
+ //
2
8
 
3
9
  @import './mixins';
4
10
 
package/scss/mixins.scss CHANGED
@@ -1,6 +1,15 @@
1
1
  // Code generated by @carbon/colors. DO NOT EDIT.
2
+ //
3
+ // Copyright IBM Corp. 2018, 2018
4
+ //
5
+ // This source code is licensed under the Apache-2.0 license found in the
6
+ // LICENSE file in the root directory of this source tree.
7
+ //
2
8
 
3
- // Deprecated ☠️
9
+ /// Define color variables
10
+ /// @access public
11
+ /// @group @carbon/colors
12
+ /// @deprecated Use `$carbon--colors` going forward
4
13
  @mixin ibm--colors {
5
14
  $ibm-color__black-100: #000000 !default !global;
6
15
  $ibm-color__blue-10: #edf4ff !default !global;
@@ -243,6 +252,9 @@
243
252
  ) !default !global;
244
253
  }
245
254
 
255
+ /// Define color variables
256
+ /// @access public
257
+ /// @group @carbon/colors
246
258
  @mixin carbon--colors {
247
259
  $carbon--black-100: #000000 !default !global;
248
260
  $carbon--blue-10: #edf4ff !default !global;