feat: themes (#902)
* chore: add next theme and initial setup * chore: add dark mode colors to layouts * chore: user general setting page theming * chore: dashboard theming * chore: project page theming * chore: workspace setting page theming * chore: my issue page theming * chore: cmdk theming * chore: change hardcode bg and text color to theme * chore: change color name according to the design * style: fix card in the dashboard * style: fix merge conflict design issues * style: add light high contrast and dark high contrast * style: fix cmd k menu color and selection * feat: change theme from cmdk menu * chore: add multiple theme field to custom theme * chore: removed custom theming * fix: build error --------- Co-authored-by: Saheb Giri <iamsahebgiri@gmail.com>
This commit is contained in:
parent
9f04933957
commit
3c2f5d12ed
191 changed files with 1550 additions and 880 deletions
35
apps/app/constants/themes.ts
Normal file
35
apps/app/constants/themes.ts
Normal file
|
|
@ -0,0 +1,35 @@
|
|||
export const THEMES = [
|
||||
"light",
|
||||
"dark",
|
||||
"light-contrast",
|
||||
"dark-contrast",
|
||||
// "custom"
|
||||
];
|
||||
|
||||
export const THEMES_OBJ = [
|
||||
{
|
||||
value: "light",
|
||||
label: "Light",
|
||||
type: "light",
|
||||
},
|
||||
{
|
||||
value: "dark",
|
||||
label: "Dark",
|
||||
type: "dark",
|
||||
},
|
||||
{
|
||||
value: "light-contrast",
|
||||
label: "Light High Contrast",
|
||||
type: "light",
|
||||
},
|
||||
{
|
||||
value: "dark-contrast",
|
||||
label: "Dark High Contrast",
|
||||
type: "dark",
|
||||
},
|
||||
// {
|
||||
// value: "custom",
|
||||
// label: "Custom",
|
||||
// type: "light",
|
||||
// },
|
||||
];
|
||||
Loading…
Add table
Add a link
Reference in a new issue