Closed adamazad closed 1 year ago
Current draft
export enum BackgroundColorType { SOLID = 'SOLID', GRADIENT = 'GRADIENT', } export interface BackgroundStyle { color: string; type: BackgroundColorType; } export interface Background { color: string; type: BackgroundColorType; } export interface ShadowStyle { color: string; } export interface TextStyle { color: string; } export interface ButtonStyle { type: string; backgroundStyle: BackgroundStyle; shadowStyle: ShadowStyle; textStyle: TextStyle; } export interface SocialStyle { color: string; } export interface Typeface { color: string; family: string; } export interface NimiTheme { /** * Theme ID */ id: string; /** * Background */ background: Background; }
@bejzik8 @adamazad Is this still relevant?
This needs more planning since we already implemented version of it but well need to adjust structure further will close for now
Current draft