mirror of
https://github.com/webstudio-is/webstudio.git
synced 2026-12-01 21:05:42 +09:00
c755578dbe768780b632f7c9db1fcfc587e62fd4
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.
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%