Closed tuurep closed 3 months ago
Hey @tuurep I think you are mainly in charge of CSS and styling here ^^ so what do you think about the question of the compiler?
Honestly I know absolutely nothing about that
But I can start looking at it after getting everything else out of the way
Honestly I know absolutely nothing about that
But I can start looking at it after getting everything else out of the way
Okay, no worries! If you think we don't need it we can also forget about it. Let me know when the time comes :)
Yeah lets keep this at the backburner, non-urgent
So since no one was excited about a compiler I would not add one and stay with Vanilla CSS, just refactoring the following:
styles.css
into a dedicated markdown.css
file and another one that has everything else that's more generalcolors-dark.css
and colors-light.css
where we do have media queries and just define all the color variables@tuurep what do you think?
Yes, that sounds good to me!
But do I understand correctly that every single color should be used as a variable instead of straight hex colors in tags?
But do I understand correctly that every single color should be used as a variable instead of straight hex colors in tags?
Yes, that's what I was thinking. So that the dark vs. light mode is just a matter of changing the color variables' values and making other color-only adjustments is easy for users in customization.
Yeah, lets go with that. Did you wanna do this, as you've self-assigned? :smile:
Yes, I was thinking to do this before the Notebook colors so that we don't touch everything twice ^^
Ok, thanks!
Original description
Followup from discussion https://github.com/jannis-baum/Vivify/pull/118#discussion_r1687058052
Regarding color variables like this:
Ideas about adding more tooling for CSS: