You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
current implementation uses filters and brightness to create subtly different colors. for example, buttons have subtly brighter borders compared to their own color, and this is, atm, implemented with pseudo elements that have a brightness filter on them (source):
most of these can be implemented with color-mix(). it has reached enough usage coverage that can be relied on for a relatively new project like nokss. this change would:
reduce bundle size (potentially drastically),
simplify the code
increase performance (browsers sometimes have a hard time animating all the filters),
increase predictability (e.g. --brightness variables make more sense)
this will of course affect the whole code base.
The text was updated successfully, but these errors were encountered:
current implementation uses filters and brightness to create subtly different colors. for example, buttons have subtly brighter borders compared to their own color, and this is, atm, implemented with pseudo elements that have a brightness filter on them (source):
most of these can be implemented with
color-mix()
. it has reached enough usage coverage that can be relied on for a relatively new project like nokss. this change would:--brightness
variables make more sense)this will of course affect the whole code base.
The text was updated successfully, but these errors were encountered: