diff --git a/src/assets/scss/base/_root.scss b/src/assets/scss/base/_root.scss index b32c8ad..f4e99e1 100644 --- a/src/assets/scss/base/_root.scss +++ b/src/assets/scss/base/_root.scss @@ -10,23 +10,4 @@ --#{$color}-#{$shade}: #{$value}; } } - --radius-small: 3px; - --radius-large: 6px; - --gap-default: 2rem; - --font-measure: 70ch; - --font-family-default: "Open Sans", sans-serif; - --font-family-special: "Open Sans", sans-serif; - --font-color: var(--neutral-900); - --action-color: var(--secondary-500); - --background: var(--neutral-100); - --primary-background: var(--primary-100); - --neutral-background: var(--neutral-200); -} - -.darkmode { - --font-color: var(--neutral-100); - --action-color: var(--secondary-100); - --background: var(--neutral-800); - --primary-background: var(--primary-500); - --neutral-background: var(--neutral-900); } diff --git a/src/layouts/DefaultLayout.astro b/src/layouts/DefaultLayout.astro index a504aa1..7f7d365 100644 --- a/src/layouts/DefaultLayout.astro +++ b/src/layouts/DefaultLayout.astro @@ -1,10 +1,15 @@ --- import '../assets/scss/globals.scss' +import SiteMeta from '../components/SiteMeta.astro' import Header from '../components/Header.astro' import Footer from '../components/Footer.astro' -const {title} = Astro.props -let subtitle = 'Accessible Astro Starter' +const { + title = 'Astro', + description = 'A starter project with accessible features using Astro static site builder. Contains accessible landmarks, skip links, a dark mode color scheme, better focus outline and keyboard menu navigation.', + url, + image = '/social-preview-image.png', +} = Astro.props --- @@ -21,15 +26,16 @@ let subtitle = 'Accessible Astro Starter' - - - - - - - - -