-
-
Notifications
You must be signed in to change notification settings - Fork 14
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
Appearance changes #190
base: master
Are you sure you want to change the base?
Appearance changes #190
Conversation
15cb3c7
to
9b4decb
Compare
c593db6
to
1c80472
Compare
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.
Looks better!
Where are the icons coming from though? Are they in public domain? Or are we supposed to add a copyright notice?
background-color: var(--btn-bg-color); | ||
} | ||
|
||
button:hover:enabled { |
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 should also activate on :focus
vertical-align: middle; | ||
} | ||
|
||
button:hover:enabled { |
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 should also activate on :focus
<style> | ||
@media (prefers-color-scheme: dark) { | ||
:root { | ||
--btn-bg-color: #333; | ||
--btn-hover-bg-color: #555; | ||
} | ||
} | ||
|
||
@media (prefers-color-scheme: light) { | ||
:root { | ||
--btn-bg-color: #ddd; | ||
--btn-hover-bg-color: #bbb; | ||
} | ||
} | ||
|
||
button { | ||
border: none; | ||
border-radius: 5px; | ||
background-color: var(--btn-bg-color); | ||
} |
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.
Since these styles are duplicated among different files, it'd be worth adding a comment about it, so that people don't forget to update the other place as well.
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.
Yes, you are right.
Good question, the icons are from the feather icons project, I will check if we need to add copyright or something. |
Co-authored-by: WofWca <[email protected]>
No need to add copyright notice for the icons. |
How do you know? |
It doesn't say anything about it anywhere in that project but I'm not expert in these kind of stuff so you better check it out: |
No description provided.