Skip to content

Conversation

@ljarasius
Copy link
Contributor

Fixes: #16274

Tabler has an alpha value for .16 by default for the selection background colour. Increasing this makes the distinction much clearer, .48 chosen as it is "3 times" more and seems to be a good place to start. Light mode is still clear with this change.

Before:
Screenshot 2024-05-30 at 11 03 54

After:
Screenshot 2024-05-30 at 11 04 47

@arthanson
Copy link
Collaborator

@ljarasius please do a yarn bundle and check-in the compiled front-end files.

@ljarasius
Copy link
Contributor Author

@ljarasius please do a yarn bundle and check-in the compiled front-end files.

Apologies, done :)

@BrendanHalley
Copy link

@ljarasius Thank you!!!!

Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

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

While this improves contrast under dark mode, the highlight color in light mode is now too dark:

Original

screenshot

Modified

screenshot2

Could you please adjust your change so that it applies only under dark mode?

@ljarasius
Copy link
Contributor Author

Updated :)

Noting that a refresh of the browser is required when switching between dark and light mode for it to change.

@ljarasius ljarasius requested a review from jeremystretch June 4, 2024 21:56
Copy link
Member

@jeremystretch jeremystretch left a comment

Choose a reason for hiding this comment

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

Thanks @ljarasius!

@jeremystretch jeremystretch merged commit 18b4340 into netbox-community:develop Jun 6, 2024
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 7, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dark mode highlight color

4 participants