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
I am trying to overwrite the Theme type as used in the @theme-ui/css module. The following example works for emotion but not for the @theme-ui/css helpers:
It does not work fully for the theme inside style functions with colors for instance (and probably other properties). Colors can be undefined and it does not know about the color types I added.
Example:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am trying to overwrite the Theme type as used in the
@theme-ui/css
module. The following example works for emotion but not for the@theme-ui/css
helpers:The above example works fine for the most part.
It does not work fully for the theme inside style functions with colors for instance (and probably other properties). Colors can be undefined and it does not know about the color types I added.
Example:
Beta Was this translation helpful? Give feedback.
All reactions