improved shadow on dark theme

This commit is contained in:
Kim, Jimin 2021-08-10 09:31:36 +09:00
parent c977e14112
commit 33476e7fc5

View file

@ -205,7 +205,11 @@ blockquote {
})}; })};
padding: 2rem; padding: 2rem;
border-radius: 6px; border-radius: 6px;
box-shadow: 0 4px 10px rgb(0 0 0 / 5%), 0 0 1px rgb(0 0 0 / 10%); box-shadow: ${(props) =>
theming.theme(props.theme.currentTheme, {
light: "0 4px 10px rgb(0 0 0 / 5%), 0 0 1px rgb(0 0 0 / 10%);",
dark: "0 4px 10px rgb(0 0 0 / 30%), 0 0 1px rgb(0 0 0 / 30%);",
})};
@media screen and (max-width: ${theming.size.screen_size1}) { @media screen and (max-width: ${theming.size.screen_size1}) {
padding: 1rem; padding: 1rem;