troylusty.com/src/styles/global.css
2025-01-19 23:00:54 +00:00

52 lines
1.1 KiB
CSS

@import "@fontsource-variable/red-hat-mono";
@import "@fontsource-variable/outfit";
@import "@fontsource/borel";
@tailwind base;
@tailwind components;
@tailwind utilities;
@layer base {
:root {
--primary: 0deg 0% 99%;
--secondary: 0deg 0% 13%;
--tertiary: 0deg 0% 45%;
--accent: 0deg 0% 39%;
}
@media (prefers-color-scheme: dark) {
:root {
--primary: 0deg 0% 0%;
--secondary: 0deg 0% 93%;
--tertiary: 0deg 0% 50%;
--accent: 0deg 0% 71%;
}
}
}
@media (prefers-color-scheme: dark) {
.astro-code,
.astro-code span {
color: var(--shiki-dark) !important;
background-color: var(--shiki-dark-bg) !important;
/* Optional, if you also want font styles */
font-style: var(--shiki-dark-font-style) !important;
font-weight: var(--shiki-dark-font-weight) !important;
text-decoration: var(--shiki-dark-text-decoration) !important;
}
}
@media print {
body {
background: none;
color: black;
}
header,
footer,
main {
max-width: unset !important;
}
header,
footer {
display: none;
}
}