feat(tailwind): migrate variables to Tailwind CSS configuration

This commit is contained in:
Stefan Imhoff
2023-02-19 14:38:23 +01:00
parent 0cb5e8e648
commit 2f404a8ae1
5 changed files with 81 additions and 147 deletions

View File

@@ -20,16 +20,8 @@ const { title } = Astro.props;
</body>
</html>
<style is:global>
:root {
--accent: 124, 58, 237;
--accent-gradient: linear-gradient(45deg, rgb(var(--accent)), #da62c4 30%, white 60%);
}
html {
font-family: system-ui, sans-serif;
background-color: #F6F6F6;
}
code {
font-family: Menlo, Monaco, Lucida Console, Liberation Mono, DejaVu Sans Mono,
Bitstream Vera Sans Mono, Courier New, monospace;
background-color: #f6f6f6;
}
</style>