astro-payload-test/astro/src/global.css

64 lines
1.1 KiB
CSS
Raw Normal View History

2024-05-19 13:33:37 +00:00
@tailwind base;
@tailwind components;
@tailwind utilities;
2024-05-19 10:22:42 +00:00
.autonomic {
/* Palette */
/* RGBA instead of hex so that opacity will work */
--absolute-white: 255, 255, 255;
--white: 243, 252, 248;
--shocking-pink: 253, 0, 159;
--shamrock-green: 0, 198, 88;
--bubblegum-pink: 255, 133, 203;
--bright-orange: 255, 96, 21;
/* Use these in tailwind.config.cjs */
--primary: var(--shocking-pink);
--secondary: var(--shamrock-green);
--tertiary: var(--bright-orange);
--text: var(--shocking-pink);
--textInverted: var(--absolute-white);
2024-05-19 13:33:37 +00:00
--link: var(--shamrock-green);
2024-05-19 10:22:42 +00:00
--background: var(--white);
2024-05-19 13:33:37 +00:00
}
@layer components {
:root {
@apply ring-secondary;
}
h1 {
@apply text-5xl font-bold;
}
h2 {
@apply text-4xl font-semibold;
}
h3 {
@apply text-2xl font-semibold;
}
h4, h5, h6 {
@apply text-xl font-semibold;
}
p, span, li, a {
@apply text-xl;
}
a {
@apply text-link underline;
}
ol {
@apply list-decimal;
}
ul {
@apply list-disc;
}
}