Skip to content

Commit 36384dc

Browse files
Bart Venemanbartveneman
authored andcommitted
✨ report color formats
1 parent 05ce641 commit 36384dc

14 files changed

+1305
-722
lines changed

src/__fixtures__/bol-com-20190617.json

Lines changed: 105 additions & 51 deletions
Original file line numberDiff line numberDiff line change
@@ -57151,9 +57151,10 @@
5715157151
},
5715257152
"values": {
5715357153
"colors": {
57154-
"total": 1011,
57155-
"totalUnique": 81,
57154+
"total": 1108,
57155+
"totalUnique": 83,
5715657156
"unique": {
57157+
"transparent": 84,
5715757158
"rgba(0,0,0,.35)": 33,
5715857159
"#fff": 143,
5715957160
"#00f": 85,
@@ -57180,6 +57181,7 @@
5718057181
"#00854f": 1,
5718157182
"#f6ab13": 1,
5718257183
"#f01616": 1,
57184+
"currentColor": 13,
5718357185
"#ae1c28": 2,
5718457186
"#21468b": 2,
5718557187
"#ffe936": 1,
@@ -57236,26 +57238,50 @@
5723657238
"#e7bf02": 1,
5723757239
"#dddbd5": 1
5723857240
},
57239-
"uniquenessRatio": 0.08011869436201781,
57241+
"uniquenessRatio": 0.07490974729241877,
5724057242
"itemsPerContext": {
57243+
"border": {
57244+
"total": 79,
57245+
"totalUnique": 15,
57246+
"unique": {
57247+
"transparent": 4,
57248+
"#e6e6e6": 22,
57249+
"#828282": 6,
57250+
"#aaa": 18,
57251+
"#fff": 4,
57252+
"#00f": 8,
57253+
"#01982b": 3,
57254+
"#333": 5,
57255+
"#ffe900": 1,
57256+
"#0000a4": 1,
57257+
"#bbb": 1,
57258+
"currentColor": 3,
57259+
"#33f": 1,
57260+
"#e5f4e9": 1,
57261+
"#ddd": 1
57262+
},
57263+
"uniquenessRatio": 0.189873417721519
57264+
},
5724157265
"border-bottom": {
57242-
"total": 105,
57243-
"totalUnique": 8,
57266+
"total": 125,
57267+
"totalUnique": 10,
5724457268
"unique": {
5724557269
"rgba(0,0,0,.35)": 33,
5724657270
"#828282": 1,
5724757271
"#e6e6e6": 23,
5724857272
"rgba(0,0,0,.25)": 32,
57273+
"transparent": 19,
5724957274
"#aaa": 11,
57275+
"currentColor": 1,
5725057276
"#00f": 1,
5725157277
"#333": 2,
5725257278
"#f0f6ff": 2
5725357279
},
57254-
"uniquenessRatio": 0.0761904761904762
57280+
"uniquenessRatio": 0.08
5725557281
},
5725657282
"color": {
57257-
"total": 372,
57258-
"totalUnique": 24,
57283+
"total": 378,
57284+
"totalUnique": 26,
5725957285
"unique": {
5726057286
"#fff": 47,
5726157287
"#00f": 46,
@@ -57274,24 +57300,27 @@
5727457300
"#01982b": 17,
5727557301
"#9b9b9b": 61,
5727657302
"#ff4947": 11,
57303+
"currentColor": 3,
5727757304
"#eb0400": 15,
5727857305
"#f0f6ff": 1,
5727957306
"#ffcd00": 4,
57307+
"transparent": 3,
5728057308
"#ff7775": 1,
5728157309
"#d12c2a": 1,
5728257310
"#000": 4,
5728357311
"#36c": 3
5728457312
},
57285-
"uniquenessRatio": 0.06451612903225806
57313+
"uniquenessRatio": 0.06878306878306878
5728657314
},
5728757315
"background-color": {
57288-
"total": 263,
57289-
"totalUnique": 50,
57316+
"total": 288,
57317+
"totalUnique": 52,
5729057318
"unique": {
5729157319
"#00f": 10,
5729257320
"#33f": 3,
5729357321
"#f0f6ff": 20,
5729457322
"#f3f8ff": 2,
57323+
"transparent": 22,
5729557324
"#ffe900": 5,
5729657325
"#ffed33": 2,
5729757326
"#01ac3a": 5,
@@ -57311,6 +57340,7 @@
5731157340
"#000": 2,
5731257341
"#ff0f21": 1,
5731357342
"rgba(255,255,255,.25)": 3,
57343+
"currentColor": 3,
5731457344
"#fffae5": 1,
5731557345
"rgba(0,0,0,.5)": 4,
5731657346
"rgba(255,255,255,.75)": 2,
@@ -57339,26 +57369,6 @@
5733957369
"#73a5d4": 1,
5734057370
"#e7bf02": 1
5734157371
},
57342-
"uniquenessRatio": 0.19011406844106463
57343-
},
57344-
"border": {
57345-
"total": 72,
57346-
"totalUnique": 13,
57347-
"unique": {
57348-
"#e6e6e6": 22,
57349-
"#828282": 6,
57350-
"#aaa": 18,
57351-
"#fff": 4,
57352-
"#00f": 8,
57353-
"#01982b": 3,
57354-
"#333": 5,
57355-
"#ffe900": 1,
57356-
"#0000a4": 1,
57357-
"#bbb": 1,
57358-
"#33f": 1,
57359-
"#e5f4e9": 1,
57360-
"#ddd": 1
57361-
},
5736257372
"uniquenessRatio": 0.18055555555555555
5736357373
},
5736457374
"background": {
@@ -57388,9 +57398,10 @@
5738857398
"uniquenessRatio": 0.27941176470588236
5738957399
},
5739057400
"border-color": {
57391-
"total": 57,
57392-
"totalUnique": 16,
57401+
"total": 71,
57402+
"totalUnique": 17,
5739357403
"unique": {
57404+
"transparent": 14,
5739457405
"#aaa": 15,
5739557406
"#fff": 4,
5739657407
"#01ac3a": 1,
@@ -57408,18 +57419,37 @@
5740857419
"#c3c1bc": 1,
5740957420
"#dddbd5": 1
5741057421
},
57411-
"uniquenessRatio": 0.2807017543859649
57422+
"uniquenessRatio": 0.23943661971830985
5741257423
},
5741357424
"border-top": {
57414-
"total": 26,
57415-
"totalUnique": 4,
57425+
"total": 27,
57426+
"totalUnique": 5,
5741657427
"unique": {
5741757428
"#e6e6e6": 21,
5741857429
"#0000a4": 1,
5741957430
"#aaa": 3,
57431+
"transparent": 1,
5742057432
"#00f": 1
5742157433
},
57422-
"uniquenessRatio": 0.15384615384615385
57434+
"uniquenessRatio": 0.18518518518518517
57435+
},
57436+
"fill": {
57437+
"total": 5,
57438+
"totalUnique": 3,
57439+
"unique": {
57440+
"currentColor": 2,
57441+
"transparent": 2,
57442+
"#ff4947": 1
57443+
},
57444+
"uniquenessRatio": 0.6
57445+
},
57446+
"stroke": {
57447+
"total": 1,
57448+
"totalUnique": 1,
57449+
"unique": {
57450+
"currentColor": 1
57451+
},
57452+
"uniquenessRatio": 1
5742357453
},
5742457454
"border-left": {
5742557455
"total": 7,
@@ -57432,13 +57462,13 @@
5743257462
},
5743357463
"uniquenessRatio": 0.5714285714285714
5743457464
},
57435-
"fill": {
57436-
"total": 1,
57465+
"-webkit-tap-highlight-color": {
57466+
"total": 3,
5743757467
"totalUnique": 1,
5743857468
"unique": {
57439-
"#ff4947": 1
57469+
"transparent": 3
5744057470
},
57441-
"uniquenessRatio": 1
57471+
"uniquenessRatio": 0.3333333333333333
5744257472
},
5744357473
"box-shadow": {
5744457474
"total": 18,
@@ -57455,30 +57485,41 @@
5745557485
"uniquenessRatio": 0.3888888888888889
5745657486
},
5745757487
"border-top-color": {
57458-
"total": 4,
57459-
"totalUnique": 3,
57488+
"total": 11,
57489+
"totalUnique": 4,
5746057490
"unique": {
5746157491
"#00f": 1,
5746257492
"#e6e6e6": 2,
57463-
"#fff": 1
57493+
"#fff": 1,
57494+
"transparent": 7
5746457495
},
57465-
"uniquenessRatio": 0.75
57496+
"uniquenessRatio": 0.36363636363636365
5746657497
},
5746757498
"border-bottom-color": {
57468-
"total": 3,
57469-
"totalUnique": 3,
57499+
"total": 8,
57500+
"totalUnique": 4,
5747057501
"unique": {
5747157502
"#e6e6e6": 1,
5747257503
"#fff": 1,
57504+
"transparent": 5,
5747357505
"#aaa": 1
5747457506
},
57475-
"uniquenessRatio": 1
57507+
"uniquenessRatio": 0.5
5747657508
},
57477-
"border-right-color": {
57478-
"total": 1,
57509+
"border-left-color": {
57510+
"total": 3,
5747957511
"totalUnique": 1,
5748057512
"unique": {
57481-
"#aaa": 1
57513+
"transparent": 3
57514+
},
57515+
"uniquenessRatio": 0.3333333333333333
57516+
},
57517+
"border-right-color": {
57518+
"total": 2,
57519+
"totalUnique": 2,
57520+
"unique": {
57521+
"#aaa": 1,
57522+
"transparent": 1
5748257523
},
5748357524
"uniquenessRatio": 1
5748457525
},
@@ -57508,6 +57549,19 @@
5750857549
},
5750957550
"uniquenessRatio": 1
5751057551
}
57552+
},
57553+
"formats": {
57554+
"total": 1108,
57555+
"totalUnique": 6,
57556+
"unique": {
57557+
"transparent": 84,
57558+
"rgba": 109,
57559+
"hex3": 403,
57560+
"hex6": 498,
57561+
"currentcolor": 13,
57562+
"named": 1
57563+
},
57564+
"uniquenessRatio": 0.005415162454873646
5751157565
}
5751257566
},
5751357567
"fontFamilies": {

0 commit comments

Comments
 (0)