✨(theme) add themes management
This is made in order to be able to handle natively multiple themes for the future light/dark themes and also allow consumers to create their own.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
import { tokens } from "./cunningham-tokens";
|
||||
|
||||
export type DefaultTokens = typeof tokens;
|
||||
export const defaultTokens = tokens;
|
||||
export type Configuration = typeof tokens;
|
||||
export type DefaultTokens = (typeof tokens)["themes"]["default"];
|
||||
export const defaultTokens = tokens.themes.default;
|
||||
|
||||
/**
|
||||
* Transform such object:
|
||||
|
||||
Reference in New Issue
Block a user