feat(client): improve styling of switch components in block settings#512
feat(client): improve styling of switch components in block settings#512
Conversation
|
@CodiumAI-Agent /describe |
Titlefeat(client): improve styling of switch components in block settings PR TypeEnhancement Description
Changes walkthrough 📝
|
|
@CodiumAI-Agent /review |
|
@CodiumAI-Agent /improve |
PR Code Suggestions ✨Latest suggestions up to cbff03c
Previous suggestionsSuggestions up to commit cbff03c
Suggestions up to commit 45d8c62
|
|
@natdink Thoughts? This doesn't match the spec |
Agree, not sure what the original request was but as a team we had decided to use the "apple" styling of the switch component. I think if anything we need to work on the styling of the existing switch component to provide sizing options and scale appropriately. I know we aren't on Material 3 yet but you should be able to utilize their specs on the switch component: https://m3.material.io/components/switch/overview |
|
Im giving this a pass. Nayan added custom styles on the size property for switch, nothing bad pushed in just a smaller version of what we already have that represents an apple switch. I'm not seeing anything the material 3 link from above specifying multiple sizes of the switch, no visual indicators. But as for the normal size of switch that has not been affected. If this is a big issue on the styling of the switch we can bring this up in a new ticket. Looking at styles im good with it, if you see anything please point out the exact pixel we are messing up |
|
@CodiumAI-Agent /update_changelog |
|
Changelog updates: 🔄 2025-02-20Changed
|
After changes, the switch button looks like this:

Before changes, it was looking like this:
