add background color transition

This commit is contained in:
Franek 2024-05-31 16:02:00 +02:00
parent 7d88da6667
commit 967a0c5c27
No known key found for this signature in database
GPG Key ID: 0329F871B2079351

View File

@ -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 {