Closed NguyenDa18 closed 2 years ago
First off, thanks for the contribution🎉!
I like where you're headed with this, but it's a little too light in light theme.
For text colors, I have defined tailwind colors text
and textInverse
that automatically become black or white depending on the theme the user has selected. These can be used for text with text-*
classes, but also for anywhere else tailwind colors can be used (borders, divide, etc). Generally what I do for text is I assign the text-text
or text-textInverse
class, then to change the "lightness" I assign an opacity-*
class to the element. Do you have the Tailwind CSS IntelliSense
extension for vscode? It'll provide autocomplete in all className fields.
Also, this is just a personal style thing, but maybe look at doing list bullets for meaning.definitions instead of the divider. I suspect it might look cleaner, but it also might look more cluttered so I'm not married to that idea.