mirror of
https://github.com/muerwre/vault-frontend.git
synced 2025-04-25 04:46:40 +07:00
Добавил тему "Веспера"
This commit is contained in:
parent
5d34090238
commit
aee4b662d5
148 changed files with 1331 additions and 1338 deletions
30
src/constants/themes/index.ts
Normal file
30
src/constants/themes/index.ts
Normal file
|
@ -0,0 +1,30 @@
|
|||
export enum Theme {
|
||||
Default = 'Default',
|
||||
Horizon = 'Horizon',
|
||||
}
|
||||
|
||||
interface ThemeColors {
|
||||
colors: string[];
|
||||
background: string;
|
||||
name: string;
|
||||
}
|
||||
|
||||
export const themeColors: Record<Theme, ThemeColors> = {
|
||||
[Theme.Default]: {
|
||||
name: 'Волт',
|
||||
colors: [
|
||||
'linear-gradient(170deg, #00ac35 -50%, #007962 150%)',
|
||||
'linear-gradient(165deg, #ff7549 -50%, #ff3344 150%)',
|
||||
],
|
||||
background: `url('/images/noise_top.png') 0% 0% #23201f`,
|
||||
},
|
||||
[Theme.Horizon]: {
|
||||
name: 'Веспера',
|
||||
colors: [
|
||||
'linear-gradient(170deg, #f09483 -150%, #e95678 100%)',
|
||||
'linear-gradient(165deg, #fab795 -50%, #fab795 150%)',
|
||||
'linear-gradient(170deg, #25b0bc, #7693d6)',
|
||||
],
|
||||
background: `url("/images/horizon_bg.svg") 50% 50% / cover rgb(28, 30, 38)`,
|
||||
},
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue