-
-
Notifications
You must be signed in to change notification settings - Fork 11
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Motivation
What about creating a fromStyledSystem
function similar to the existing fromThemeUI
one? I think that could make sense since some libraries seem to use (or at least to be based on) this specification.
That would make it easier in the future to migrate theme to these kinds of libraries. Actually we might even base fromThemeUI
from this one since the foundation should be quite similar I guess.
Basic example
import { createTheme, fromStyledSystem } from 'glaze';
export default createTheme(fromStyledSystem({
// Styled System UI tokens, e.g.:
}))
kripod, malte-wessel, lucat1 and uptonking
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request