Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

color picker grid #118 #152

Merged
merged 4 commits into from
Oct 8, 2024
Merged

color picker grid #118 #152

merged 4 commits into from
Oct 8, 2024

Conversation

klokidis
Copy link
Contributor

@klokidis klokidis commented Oct 6, 2024

added grid on color picker BUT removed one color so they fit. #118

@klokidis klokidis changed the title color picker grid color picker grid #118 Oct 6, 2024
Copy link
Owner

@EmmaTellblom EmmaTellblom left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see that you removed Cyan from the dark theme colors. But there is still 25 colors for the light theme colors. My suggestion would be that we delete color white from the light theme and that we remove color black from dark theme colors. These colors will be hard to see on each theme anyways so it should be fine. Then we can keep cyan that is a color that shows well in dark theme.


val colorMap = DataSource(isDarkMode()).colorMap
val colorsPerColumn = colorMap.size / 3
val colorColumns = listOf(
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Use colorMap.chunked(colorsPerColumn) here.

@EmmaTellblom EmmaTellblom merged commit 0b1edd7 into EmmaTellblom:main Oct 8, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants