Skip to content
This repository has been archived by the owner on Nov 11, 2021. It is now read-only.

Commit

Permalink
color typing
Browse files Browse the repository at this point in the history
  • Loading branch information
lochungtin committed May 29, 2021
1 parent edd2c1c commit fd39825
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions src/utils/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,3 +16,29 @@ export interface ActionType {
type: ActionName,
payload?: any
}

// color types
export interface ColorSchemeType {
bgColor: string,
boardColor: string,
tileColors: TileColorSchemeType,
textColor: string,
textboxColor: string,
btnColor: string,
accentColor: string,
}

export interface TileColorSchemeType {
'2': string,
'4': string,
'8': string,
'16': string,
'32': string,
'64': string,
'128': string,
'256': string,
'512': string,
'1024': string,
'2048': string,
large: string,
}

0 comments on commit fd39825

Please sign in to comment.