-
-
Notifications
You must be signed in to change notification settings - Fork 331
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
Adding Dark Theme #1436
base: develop
Are you sure you want to change the base?
Adding Dark Theme #1436
Conversation
Great work ! |
its good to rename it to dark-default |
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.
Thank you very much for this PR!
This is a very good start, we really appreciate the effort you spent into this already! 👍
I have prepared a test jsfiddle which covers nearly every component of FUI to be able to test your theme:
https://jsfiddle.net/hpetaxy0/1/show
Same page using the original default FUI Theme (for comparison)
https://jsfiddle.net/hpetaxy0/show
As you will recognize by scrolling through the page there are still some parts left which need cosmetic adjustments:
General
- I will mention this below a few times: All
inverted
variants are still unchanged. If we have a dark default theme, i would assume allinverted
variants of each component should look the opposite as the default then. IMHO any inverted variant should have its background grey or even white. Something we might need to discuss with the community.
Menu
-
The
inverted menu
has a teal color as background. Perhaps its only my opinion, but a "inverted" variant of a dark version should be grey or even white, but should not have any specific color (thats why we have all color variants for) -
An
active item
text of aninverted menu
(regardless of the above mentiond color) is not readable
-
A
pointing menu
pointer arrow is shown as filled white square
-
Hovering over an active menu item makes the menu entry unreadable because its text switches to black
-
Hovering over a
tabular menu
item makes the text unreadable, because it switches to black
Dropdown
Table
-
Hovering over a
selectable table
makes the hovering row barely readable because text will be set to black
-
The first column of a
definition table
still has black text making it unreadable
Card
Calendar
-
The calendars/popups pointing arrow is shown as a filled square
-
Disabled calendar days from the previous/next month are not recognizable (same color as usual month days)
Slider
Modal
Toast
- A default toast text is white, but default background is also still white making it unreadble
- The default shadow should be lighter when its a dark background , it's still the same as for the default theme
Breadcrumb
- The default color of links is a bit too dark to me making it barely readable (applies for links in other components as well)
- Inverted variant still the same
Accordion
- Link color in opened header too dark (usual
link
complaint, same as for breadcrump, see above) inverted
variant completely untouched (see my above comment for modal)
Feed
Comment
Tab
@AhmedEid3 Will you continue to work on this PR? |
@AhmedEid3 Again the question, since last time i asked, was 6 weeks ago: Are you interested in finishing this PR and adjusting the requested changes? |
Hey do you know if this is still actively being worked on? I would be more than happy to collaborate on the remaining changes if it would help get this PR over the finish line. |
@geochronology I asked several times as seen above but sadly did not get any response anymore. You are of course free to take the changes into your own PR if you like. 😉 |
@lubber-de Yeah this seems too important of a feature to leave unfinished and I'd be totally down with picking up where the project left off. Quick question tho: since the PR is almost half a year old by now, are there new commits to the main branch that I should be aware of? Perhaps we could sync up on Discord to discuss more about it if you like. (I'm Adrien#2343). |
Yes, there have been several new commits merged already, which could affect the theming as there probably are new LESS variables since then. Just make sure your PR is always based on the latest develop branch. Btw, I could not find your Nick as a member on our discord server. Please join there, if you like. https://discord.gg/YChxjJ3 |
@geochronology I would love to use this in my current project. I've been looking for a light/dark option, but so far i've only been using the "inverted" option. It's great, but it's too much of an contrast from white to black.... |
Thank you to both of you for your replies. @lubber-de Ah I wasn't aware of the Discord, I'll go ahead and join @arminpkathrein Thanks for the encouragement ^-^ I'm finishing up a push at work this week. Working on the theme is next up on my bucket list. Realistically I'll probably have this done by the end of the month. |
Hey just wanted to give an update on this with a bit of context and perspective since I took on this project:
I get not letting the perfect be the enemy of the good, but for something like a dark theme, if I'm putting my name on it I want it to be beautiful, so I'm going to take the time to get it right (while also posting more regular and incremental updates like this one). Hope this is helpful and I'll do my best to check in by the end of the year with -- if not a PR -- then at least a meaningful status update with some real work to show. |
Hello! Any updates on this initiative? |
Adding Dark Theme ref issue #1424