Update global styles

This commit is contained in:
Hazem Krimi
2021-01-13 23:22:41 +01:00
parent 5e579e19e8
commit 852adc0f1c
+7
View File
@@ -14,7 +14,14 @@ const Global = createGlobalStyle<Props>`
font-size: 17px;
line-height: 1.5;
outline: none;
user-select: text;
-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
&::selection {
background: ${({ dark, theme }) => (dark ? theme.colors.dark.text : theme.colors.light.text)};
color: ${({ dark, theme }) =>
dark ? theme.colors.dark.background : theme.colors.light.background};
}
}
body {