Merge pull request #13 from jhalitaksoy/feature/dark-grey-theme
add dark grey theme
This commit is contained in:
commit
fd1b5ee474
32
src/theme/DarkGrey.ts
Normal file
32
src/theme/DarkGrey.ts
Normal file
@ -0,0 +1,32 @@
|
||||
import { Theme } from "./Theme";
|
||||
|
||||
// https://colorhunt.co/palette/525252414141313131ec625f
|
||||
const colors = {
|
||||
primary: "#414141",
|
||||
secondary: "#313131",
|
||||
tertiary: "#606060",
|
||||
quaternary: "#808080",
|
||||
};
|
||||
|
||||
const colorSpecial = "#337a44";
|
||||
|
||||
const darkGreyTheme: Theme = {
|
||||
id: "3",
|
||||
name: "Dark Grey Theme",
|
||||
background: colors.primary,
|
||||
appBarBgColor: colors.secondary,
|
||||
primary: colors.primary,
|
||||
primaryLight: "#aaaaaa",
|
||||
playerTurnColor: colors.secondary,
|
||||
boardColor: colors.secondary,
|
||||
holeColor: colors.tertiary,
|
||||
pitSelectedColor: colors.secondary,
|
||||
stoneColor: "#252525",
|
||||
stoneLightColor: "#252525",
|
||||
pitGameMoveAnimateColor: colors.quaternary,
|
||||
pitEmptyPitAnimateColor: colorSpecial,
|
||||
pitLastStoneInBankPitAnimateColor: colorSpecial,
|
||||
pitGetRivalStonePitAnimateColor: colorSpecial,
|
||||
};
|
||||
|
||||
export default darkGreyTheme;
|
||||
@ -1,9 +1,10 @@
|
||||
import darkGreyTheme from "./DarkGrey";
|
||||
import darkTheme from "./DarkTheme";
|
||||
import defaultTheme from "./DefaultTheme";
|
||||
import oldTheme from "./OldTheme";
|
||||
import { Theme } from "./Theme";
|
||||
|
||||
export const themes = [defaultTheme, darkTheme, oldTheme];
|
||||
export const themes = [defaultTheme, darkGreyTheme, darkTheme, oldTheme];
|
||||
|
||||
const THEME_ID = "theme_id";
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user