Closed jindaljyoti closed 4 days ago
The modifications include: updating state initialization in Toggle.tsx
, introducing spacing before and after some <div>
tags in ColorsTemplate.js
, and changing a background color variable in progress.scss
.
Files | Change Summary |
---|---|
src/components/ui/Toggle/Toggle.tsx |
Removed default value assignment for isPressed in the useState hook. |
src/examples/Colors/ColorsTemplate.js |
Added whitespace before and after <div> tags. |
styles/themes/components/progress.scss |
Updated background color variable from --rad-ui-color-green-900 to --rad-ui-color-accent-900 . |
Amid the code in files remodeled,
Tweaked states and styles, by logic, are coddled.
Whitespace added, colors swapped anew,
Brighten the progress, as changes ensue.
A rabbit's joy in tasks fulfilled,
Code refined, with bugs now stilled.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
Looks good!
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 94.64%. Comparing base (
eb4db4d
) to head (7bac0c5
). Report is 4 commits behind head on main.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
258 fixed the issue now green base color changed to accent color and it can change the colors as per the color palette.
Summary by CodeRabbit
Bug Fixes
Toggle
component where theisPressed
state variable was incorrectly initialized with a default value.Style
ColorsTemplate.js
by adding whitespace for better structure.