mirror of
https://github.com/System-End/site.git
synced 2026-04-20 00:25:19 +00:00
feat: make the background color of the page reflect the project view color
This commit is contained in:
parent
d41a26ce7a
commit
fbf816c072
1 changed files with 10 additions and 6 deletions
|
|
@ -112,12 +112,16 @@ const ProjectView = ({
|
|||
>
|
||||
<style>
|
||||
{`
|
||||
* {
|
||||
--color: ${color};
|
||||
--dark-color: ${darkColor};
|
||||
--text-color: ${textColor};
|
||||
}
|
||||
`}
|
||||
* {
|
||||
--color: ${color};
|
||||
--dark-color: ${darkColor};
|
||||
--text-color: ${textColor};
|
||||
}
|
||||
|
||||
body {
|
||||
background-color: var(--color);
|
||||
}
|
||||
`}
|
||||
</style>
|
||||
<div
|
||||
sx={{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue