-
Notifications
You must be signed in to change notification settings - Fork 63
[WC-2942]: Fix carousel focus indicator #1969
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 4 commits
9b12864
fa8168b
a0bb027
87ac807
95db479
d78739b
0a6d190
71a6da3
31c8516
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -23,6 +23,20 @@ | |
| align-items: center; | ||
| } | ||
|
|
||
| .swiper-button-next, | ||
| .swiper-button-prev { | ||
| --swiper-navigation-size: 24px; | ||
| border-radius: 50%; | ||
| background-color: rgba(245, 245, 245, 0.7); | ||
| padding: 2em; | ||
|
||
| } | ||
|
|
||
| .swiper-button-next:focus, | ||
| .swiper-button-prev:focus { | ||
| outline: 2px solid #264ae5; | ||
|
||
| outline-offset: 2px; | ||
|
||
| } | ||
|
|
||
| .swiper-slide img { | ||
| display: block; | ||
| width: 100%; | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
--gray-700?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sure, but why that specifically?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is not specific to that. Maybe other color that is similar and currently available.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I used --gray-200 since that gave the right amount of color contrast