-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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 Nord UI theme #2879
add Nord UI theme #2879
Conversation
@daiyam sorry for the late response I was quite busy. This PR is very helpful, can you fix the conflict for it please? Thank you. |
@ZeroX-DG I will try |
@ZeroX-DG I've fixed the conflicts and rewrite the styles of new themed components. |
Very nice, I'll review this soon 😄 |
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 is a very cool PR, just need a bit adjustment I think. Please tell me if I'm wrong 😄
.root | ||
.slider | ||
border-left 1px solid $ui-solarized-dark-borderColor | ||
for theme in 'dark' 'dracula' 'solarized-dark' |
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.
Why don't you include 'dark' 'dracula' 'solarized-dark'
to $themes variable too? If there's a reason for this, can you explain it to me?
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.
Ideally, 'dark' 'dracula' 'solarized-dark'
and 'default' 'white'
should be in the variable $themes
. But since I don't want to create new variables for the styles, I didn't merge all the styles.
transition 0.15s | ||
background-color alpha(#f8f8f2, 10%) | ||
color $ui-dracula-text-color | ||
for theme in 'dracula' |
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 loop only have 'dracula
' can you also move this to the $themes
variable for the loop bellow?
color get-theme-var(theme, 'text-color') | ||
|
||
.menu-button--active |
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.
Can we merge .menu-button-start--active
, .menu-button-active
and .menu-button-trash--active
?
.menu-button--active | |
.menu-button--active, .menu-button-star--active, .menu-button-trash--active |
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.
Ya, we could be see for white
and dark
, those buttons have different colors. So what to do? Create new variables or leave it like this?
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 would prefer to create new variables. After all we need to keep the consistency for this. Do you think you can add them?
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.
It will take some time and with BoostNote.next
, I'm not sure if it's worth.
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.
True, that's why I'm kinda hesitated. Let's leave it, I'll see if I can refactor it later.
|
||
body[data-theme="dracula"] | ||
.root | ||
color $ui-dracula-text-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.
I think you miss this line in the rewrite? Or we don't need it? 😄
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.
Ya, there is an issue with the template.
But there is another issue, the theme solarized-dark
is different from the master.
The master use the white
theme whereas the current one use solarized-dark
colors.
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.
…corresponding themes
@ZeroX-DG I've fixed the issue with the titles |
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.
Very cool 😄 I'll approve this. Thank you for this PR 👍
Description
This change adds the Nord theme as UI theme.
I've updated the UI theme selection box:
I've also streamlined how to manage the UI themes in Javascript and Stylus.
Issue fixed
Type of changes
Checklist: