diff --git a/src/components/CustomStyles.astro b/src/components/CustomStyles.astro index b875f79..98e0450 100644 --- a/src/components/CustomStyles.astro +++ b/src/components/CustomStyles.astro @@ -1,4 +1,6 @@ --- +import { UI } from 'astrowind:config'; + import '@fontsource-variable/inter'; // 'DM Sans' @@ -17,44 +19,53 @@ import '@fontsource-variable/inter'; // Oswald // 'Space Grotesk' // Urbanist + +const { tokens } = UI; + +const html = ` + +`; --- - + diff --git a/src/config.yaml b/src/config.yaml index 8f4c1de..254752a 100644 --- a/src/config.yaml +++ b/src/config.yaml @@ -75,35 +75,23 @@ ui: default: fonts: sans: InterVariable - serif: var(--ph-font-sans) - heading: var(--ph-font-sans) + serif: InterVariable + heading: InterVariable colors: default: rgb(16 16 16) heading: rgb(0 0 0) - muted: rgb(40 40 40) + muted: rgb(16 16 16 / 66%) bgPage: rgb(255 255 255) - primary: rgb(0 124 220) - secondary: rgb(30 58 138) + primary: rgb(1 97 239) + secondary: rgb(1 84 207) accent: rgb(109 40 217) - info: rgb(119 182 234) - success: rgb(54 211 153) - warning: rgb(251 189 35) - error: rgb(248 114 114) - link: var(--ph-color-primary) - linkActive: var(--ph-color-link) dark: fonts: {} colors: - default: rgb(247, 248, 248) + default: rgb(229 236 246) heading: rgb(247, 248, 248) - muted: rgb(200, 188, 208) + muted: rgb(229 236 246 / 66%) bgPage: rgb(3 6 32) - primary: rgb(29 78 216) - secondary: rgb(30 58 138) - accent: rgb(135 77 2267) - info: rgb(58 191 248) - success: rgb(54 211 153) - warning: rgb(251 189 35) - error: rgb(248 114 114) - link: var(--ph-color-primary) - linkActive: var(--ph-color-link) + primary: rgb(1 97 239) + secondary: rgb(1 84 207) + accent: rgb(109 40 217) diff --git a/tailwind.config.cjs b/tailwind.config.cjs index a481b4f..d1b1f31 100644 --- a/tailwind.config.cjs +++ b/tailwind.config.cjs @@ -12,9 +12,9 @@ module.exports = { muted: 'var(--aw-color-text-muted)', }, fontFamily: { - sans: ['var(--aw-font-sans)', ...defaultTheme.fontFamily.sans], - serif: ['var(--aw-font-serif)', ...defaultTheme.fontFamily.serif], - heading: ['var(--aw-font-heading)', ...defaultTheme.fontFamily.sans], + sans: ['var(--aw-font-sans, ui-sans-serif)', ...defaultTheme.fontFamily.sans], + serif: ['var(--aw-font-serif, ui-serif)', ...defaultTheme.fontFamily.serif], + heading: ['var(--aw-font-heading, ui-sans-serif)', ...defaultTheme.fontFamily.sans], }, }, },