add background color transition
This commit is contained in:
parent
7d88da6667
commit
967a0c5c27
@ -16,6 +16,8 @@ export const GlobalLayout = createGlobalStyle`
|
|||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
color: ${({ theme }) => theme.text};
|
color: ${({ theme }) => theme.text};
|
||||||
background-color: ${({ theme }) => theme.background};
|
background-color: ${({ theme }) => theme.background};
|
||||||
|
|
||||||
|
transition: background 0.3s ease-in-out;
|
||||||
}
|
}
|
||||||
|
|
||||||
a {
|
a {
|
||||||
|
Loading…
Reference in New Issue
Block a user