diff options
| author | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-21 21:56:55 +0300 |
|---|---|---|
| committer | Dawid Rycerz <dawid@rycerz.xyz> | 2025-07-21 21:56:55 +0300 |
| commit | c735556726e75428550a3d28a2cf58e2c8490b7d (patch) | |
| tree | fd0ae29d1636b825abeedff6b99d3376bb383135 /src/components/CustomStyles.astro | |
Initial template
Diffstat (limited to 'src/components/CustomStyles.astro')
| -rw-r--r-- | src/components/CustomStyles.astro | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/src/components/CustomStyles.astro b/src/components/CustomStyles.astro new file mode 100644 index 0000000..2b27954 --- /dev/null +++ b/src/components/CustomStyles.astro @@ -0,0 +1,63 @@ +--- +import '@fontsource-variable/inter'; + +// 'DM Sans' +// Nunito +// Dosis +// Outfit +// Roboto +// Literata +// 'IBM Plex Sans' +// Karla +// Poppins +// 'Fira Sans' +// 'Libre Franklin' +// Inconsolata +// Raleway +// Oswald +// 'Space Grotesk' +// Urbanist +--- + +<style is:inline> + :root { + --aw-font-sans: 'Inter Variable'; + --aw-font-serif: 'Inter Variable'; + --aw-font-heading: 'Inter Variable'; + + --aw-color-primary: rgb(1 97 239); + --aw-color-secondary: rgb(1 84 207); + --aw-color-accent: rgb(109 40 217); + + --aw-color-text-heading: rgb(0 0 0); + --aw-color-text-default: rgb(16 16 16); + --aw-color-text-muted: rgb(16 16 16 / 66%); + --aw-color-bg-page: rgb(255 255 255); + + --aw-color-bg-page-dark: rgb(3 6 32); + + ::selection { + background-color: lavender; + } + } + + .dark { + --aw-font-sans: 'Inter Variable'; + --aw-font-serif: 'Inter Variable'; + --aw-font-heading: 'Inter Variable'; + + --aw-color-primary: rgb(1 97 239); + --aw-color-secondary: rgb(1 84 207); + --aw-color-accent: rgb(109 40 217); + + --aw-color-text-heading: rgb(247, 248, 248); + --aw-color-text-default: rgb(229 236 246); + --aw-color-text-muted: rgb(229 236 246 / 66%); + --aw-color-bg-page: rgb(3 6 32); + + ::selection { + background-color: black; + color: snow; + } + } +</style> |
