Bibleio Design v2.0.0 #1
dukcc
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
We reworked our style system with Tailwind, and polished up our components. Soon, we plan to add a
ThemeProvider
component which will allow you to change the accent and tint color of the entire application.Changelog & Migration
All materials and colors are no longer prefixed by a
light-
or adark-
. They are all just simply their name, so instead ofbg-light-fg-2
, usebg-fg-2
. The Tailwind styles now work of off CSS variables, so you don't have to add adark:
selector for each and every class. You'll have to implement your own dark mode switching for now, but we plan to add a component for you to use soon.Changed Tailwind preset name
tailwindCore
tobibleioTheme
.Removed
-disabled
and-active
variants of styles. For disabled pieces, just set the opacity to33%
. If you need something to be the accent color just use the accent style.Every style except materials now have a "reversed" variant. Example: In light mode,
text-text
is black; so the reversed variant would be white.Added
orange
,lime
,teal
, andpink
colors, to prepare for more customizable themes and accents.Switched everything that used to use
colour
to usecolor
.Beta Was this translation helpful? Give feedback.
All reactions