Skip to content
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

add dark mode arrow #268

Open
wants to merge 2 commits into
base: staging
Choose a base branch
from
Open

add dark mode arrow #268

wants to merge 2 commits into from

Conversation

Kej-r03
Copy link
Contributor

@Kej-r03 Kej-r03 commented Feb 18, 2023

Fixes #267

simplescreenrecorder-2023-02-19_01.23.07.mp4

leftArrowElement.classList.add('ui')
leftArrowElement.classList.add('icon')
leftArrowElement.classList.add('prev')
leftArrowElement.classList.add('icon_image')
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is the class icon_image already there? Was it that since it was not include the arrows used yo work bad?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

all the class names that I have added are present in the other dark mode arrows too. But the actual classes that are responsible for the dark mode feature are "icon" and "data-icon"

@Kej-r03
Copy link
Contributor Author

Kej-r03 commented Apr 5, 2023

Just a small correction, dont know why it was working when I created the PR. Now it works fine. The video is of the slider component, whose dark mode arrow had to be rectified in the issue.

simplescreenrecorder-2023-04-05_17.55.23.mp4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Arrow doesn't appear in dark mode
2 participants