question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Fix] Same colors but different digits should be grouped together

See original GitHub issue
  1. Toggle View to Palette View
  2. #ccc & #cccccc is in 2 different groups

Screenshot (64)

All 4 colors are the same:

  • #fff
  • #ffff
  • #ffffff
  • #ffffffff

EDIT(@ryanraposo):

Considerations

  • For individual items, its important that CodeUI shows the hex value as it would appear in the theme file/settings.json.
  • We might need to change group titles. An example: use the shortest, or most ‘reduced’ hex code possible for the group’s color.

Issue Analytics

  • State:open
  • Created 4 years ago
  • Reactions:1
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Judikaellecommented, Jan 2, 2021

I’m not sure as a junior but in my opinion, the utils folder is a grouping of general functions that can/will be called several times.

Sometimes I feel like the utils file/folder in my projects just becomes a landfill for reject functions that didn’t quite make it into the class structure.

I’ve heard something like that too. I’m just going to focus on the problem for now. We can refactor later.

Would a BDD/TDD process be a possibility eventually?

1reaction
Judikaellecommented, Dec 16, 2020

I’m going to try something tomorrow and post my solution here

Read more comments on GitHub >

github_iconTop Results From Across the Web

Guidelines and examples for sorting and filtering data by color
Filter and sort data by color to make data analysis easier and help show highlights and data trends at a quick glance.
Read more >
Colors
Color are represented by three two digit hexadecimal numbers, called an RGB hex ... We obtain greys by setting red, green, and blue...
Read more >
Color Theory 101: A Complete Guide to Color Wheels & Color ...
Dive into the basics of color wheels, color combinations, and more. ... which can't be created by multiplying two other numbers together.
Read more >
A Complete Guide to Stacked Bar Charts | Tutorial by Chartio
In a stacked bar chart, a similar representation can be performed, just stacking bars in the negative direction. Since positive and negative bars...
Read more >
The fundamentals of understanding color theory - 99Designs
TVs, screens and projectors use red, green and blue (RGB) as their primary colors, and then mix them together to create other colors....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found