-
Notifications
You must be signed in to change notification settings - Fork 6.2k
Closed
Labels
area:gpuiGPUI rendering framework supportGPUI rendering framework supportarea:ui/themesFeedback for theme configuration, accessibility, visual issues, etcFeedback for theme configuration, accessibility, visual issues, etc
Description
Reproduction steps
Try to customize checkboxes in a theme / theme_override
Current vs. Expected behavior
- Spend 2 hours trying to figure out the key for customizing checkbox color
- search https://github.com/zed-industries/zed/blob/main/crates/theme/src/styles/colors.rs for the right value
- find
element.disabledcontrols checkbox disabled color (ok makes sense all good) - try all keys in https://github.com/zed-industries/zed/blob/main/crates/theme/src/styles/colors.rs and none of them work for enabled checkboxes
- try to understand from https://github.com/zed-industries/zed/blob/main/crates/ui/src/components/toggle.rs#L226C25-L226C33 what is the right key
- give up and reverse engineer colors in other themes
- hours later find the right value is
info
what? element.disabled controls disabled checkboxes and info controls enabled checkboxes?
would be cool if we didn't need to spend hours reverse engineering themes for such simple things
ps. I have a question, is this whole program AI generated? because those are some extremely weird decisions for humans to do
Zed version and system specs
Zed: v0.215.3-90+fda162bf3d9a11d18e07cbf2b488829450135d34 (Zed)
OS: Windows 10.0.19045
Memory: 31.9 GiB
Architecture: x86_64
GPU: NVIDIA GeForce RTX 5070 Ti || NVIDIA Corporation || 581.57 r581_55
Metadata
Metadata
Assignees
Labels
area:gpuiGPUI rendering framework supportGPUI rendering framework supportarea:ui/themesFeedback for theme configuration, accessibility, visual issues, etcFeedback for theme configuration, accessibility, visual issues, etc