generated from autonomic-cooperative/astro-payload-template
Compare commits
3 Commits
ad7480d13a
...
e3f725bf5c
Author | SHA1 | Date | |
---|---|---|---|
|
e3f725bf5c | ||
|
526bd24742 | ||
|
2cbd830255 |
@ -3,9 +3,9 @@ import { getCurrentYear } from "@/utils/date";
|
||||
import ThemeSwitcher from "./ThemeSwitcher.astro";
|
||||
---
|
||||
|
||||
<footer class="flex justify-between">
|
||||
<footer class="flex justify-between items-center py-4">
|
||||
<p class="text-lg font-semibold">
|
||||
© {getCurrentYear()} Example Website. All rights reserved.
|
||||
© {getCurrentYear()} Autonomic. Template distributed under AGPL 3.0.
|
||||
</p>
|
||||
<ThemeSwitcher/>
|
||||
</footer>
|
@ -2,6 +2,45 @@
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
.light {
|
||||
|
||||
--black: 10, 16, 19;
|
||||
--white: 243, 252, 248;
|
||||
--absolute-black: 0, 0, 0;
|
||||
--absolute-white: 255, 255, 255;
|
||||
|
||||
/* Use these in tailwind.config.cjs */
|
||||
--primary: var(--black);
|
||||
--secondary: var(--black);
|
||||
--tertiary: var(--black);
|
||||
|
||||
--text: var(--black);
|
||||
--textInverted: var(--absolute-white);
|
||||
--link: var(--black);
|
||||
--background: var(--white);
|
||||
}
|
||||
|
||||
.dark {
|
||||
|
||||
--black: 10, 16, 19;:root {
|
||||
|
||||
}
|
||||
|
||||
--white: 243, 252, 248;
|
||||
--absolute-black: 0, 0, 0;
|
||||
--absolute-white: 255, 255, 255;
|
||||
|
||||
/* Use these in tailwind.config.cjs */
|
||||
--primary: var(--white);
|
||||
--secondary: var(--white);
|
||||
--tertiary: var(--white);
|
||||
|
||||
--text: var(--white);
|
||||
--textInverted: var(--absolute-black);
|
||||
--link: var(--white);
|
||||
--background: var(--black);
|
||||
}
|
||||
|
||||
.autonomic {
|
||||
/* Palette */
|
||||
/* RGBA instead of hex so that opacity will work */
|
||||
@ -60,4 +99,8 @@
|
||||
ul {
|
||||
@apply list-disc;
|
||||
}
|
||||
|
||||
select {
|
||||
@apply bg-background border-primary border px-2 py-1 text-lg;
|
||||
}
|
||||
}
|
||||
|
@ -31,7 +31,7 @@ import "@/global.css"
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body class="autonomic min-h-screen flex flex-col mx-auto max-w-7xl px-4 text-primary bg-background">
|
||||
<body class="autonomic min-h-screen flex flex-col mx-auto max-w-7xl px-6 text-primary bg-background">
|
||||
<slot />
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user