nimi-app / app

Nimi main App repo. Manage your Nimi's!
https://nimi.io
Other
9 stars 2 forks source link

Nimi Theme #220

Closed adamazad closed 1 year ago

adamazad commented 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;
}
0xvangrim commented 1 year ago

@bejzik8 @adamazad Is this still relevant?

Mi-Lan commented 1 year ago

This needs more planning since we already implemented version of it but well need to adjust structure further will close for now