Skip to content

Commit

Permalink
toggle-switch/style-add
Browse files Browse the repository at this point in the history
  • Loading branch information
umangutkarsh committed Feb 24, 2024
1 parent 0e8e988 commit e841454
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,4 @@ storybook-static/
**/.storybook/jest-results.json
**/bundle-report.html
.env
.gitpod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ $toggle-switch-border-radius: theme(
@extend %selection-button__fake;
width: lengths.size(2 * 20);

transition: background-color 0.3s ease;

border-radius: $toggle-switch-border-radius;
}

Expand All @@ -28,6 +30,7 @@ $toggle-switch-border-radius: theme(
height: lengths.size(20) - 2 * lengths.border-width(default, rem);

content: '';
transition: inset-inline-start 0.3s ease;

border-radius: $toggle-switch-border-radius;

Expand Down

0 comments on commit e841454

Please sign in to comment.