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

feat: add support for dark & light themes #335

Merged
merged 8 commits into from
Dec 25, 2023

Conversation

shootermv
Copy link
Collaborator

@shootermv shootermv commented Dec 22, 2023

Description

add dark & light theme toggle at topbar
lot of modern designs has such toggle
closes #336

screenshots

dark desktop:
image
light desktop:
image

dark mobile:
image
light mobile:
image

@shootermv shootermv force-pushed the dark-light-themes-support- branch 7 times, most recently from 4789864 to ee6bfe2 Compare December 24, 2023 16:02
Copy link
Member

@NoamGaash NoamGaash left a comment

Choose a reason for hiding this comment

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

Thanks! it could be nice to have a dark mode, but is it necessary to skip those tests?

src/layout/header/Header.tsx Outdated Show resolved Hide resolved
tests/clearButton.spec.ts Outdated Show resolved Hide resolved
tests/clearButton.spec.ts Outdated Show resolved Hide resolved
@Senior-ai
Copy link
Collaborator

@shootermv I might confuse stuff and I might miss somehting, but it seems like you are already filling dates - maybe fillDate is useless for this case?

@shootermv
Copy link
Collaborator Author

Totally right, thanks

Copy link
Member

@NoamGaash NoamGaash left a comment

Choose a reason for hiding this comment

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

thank you!

Comment on lines +7 to +9
.main-header.dark {
background: #141414;
}
Copy link
Member

Choose a reason for hiding this comment

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

👍

@shootermv shootermv merged commit ee8a31d into hasadna:main Dec 25, 2023
15 checks passed
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.

support dark & light theme toggle
3 participants