Oleg Isonen c755578dbe fix: Clarify enabled switch colors (#6631)
In dark mode, an available but unchecked Builder switch in the share
dialog looked less available than the disabled Editor and Admin
switches. The shared Switch now uses the lighter track for available
unchecked controls and the darker track for disabled controls. The blue
checked color, label emphasis, and permission behavior are unchanged.

- [x] Swap available unchecked and disabled Switch track colors
- [x] Verify all three switch states in light and dark themes with a
browser test
- [x] Capture and review light and dark Storybook screenshots of the
Switch and share permissions
- [x] Review documentation impact (the docs do not specify switch track
colors; no update needed)
- [x] Run design system and share dialog tests, design system typecheck,
targeted lint, formatting, and diff checks
- [x] Verify required PR checks, including the approved visual change

The browser test failed with the old colors and passed with the change.
Design system: 256 tests passed. Share dialog: 11 tests passed. The main
workflow passed after an unrelated MCP Email end-to-end test passed on
retry. The approved visual regression rerun passed. No data,
permissions, fixture inputs, or generated outputs change. The non-test
diff swaps two color values with no net line increase.
2026-11-03 17:46:12 +01:00
2026-07-12 11:27:58 +02:00
2026-02-05 10:25:17 +01:00
2026-03-20 21:09:47 +01:00
2023-09-06 21:43:29 +03:00

builder-screenshot

Webstudio is an Open Source Visual Development Platform for developers, designers, and cross-functional teams. You own the data, components, and infrastructure. You can use the hosted version or roll out your own.


Learning Resources

Social Media

License

  • Webstudio core (all functionality in this repository) is free/open-source under AGPL-3.0-or-later.
  • sdk-components-animation package (optional) is proprietary. You must accept the Webstudio, Inc. EULA located in sdk-components-animation/LICENSE before using it.
Languages
TypeScript 97.9%
PLpgSQL 1.5%
CSS 0.3%
Shell 0.2%
JavaScript 0.1%