Skip to content

Releases: markteekman/accessible-astro-starter

v1.2.4

11 Mar 10:16
8463de2
Compare
Choose a tag to compare

🏗️ Changes

Navigation.astro

  • aria-current="page" will now be set dynamically based on the page you are on. Thanks @djmtype for the suggestion at #20
  • Added two extra demo pages to show this behaviour: /about and /contact
  • Added a .is-active class with bold styling to visually show the current menu item

SkipLinks.astro

  • tabindex="-1" will now automatically be added to the h1 of the page
  • Added named slots to prepare the component for possible migration to the Accessible Astro Components package

v1.2.3

05 Mar 20:56
67c2e43
Compare
Choose a tag to compare

🐛 Bug Fixes

  • Removed the small breakpoint in _grid.scss which caused column classes to not be applied to viewports which where smaller then the small breakpoint

v1.2.2

05 Mar 19:17
c500116
Compare
Choose a tag to compare

✨ New

Added more options to _color.scss with shades ranging from 100 to 900:

  • Info
  • Success
  • Warning
  • Error

v1.2.1

27 Feb 16:09
d802de0
Compare
Choose a tag to compare

⚙️ Updates

  • Astro to version 0.23.2

🏗️ Changes

Import CSS and images the recommended way, instead of deprecated Astro.resolve() as per the documentation:

  • Move logo.svg to /assets/img/ folder
  • Move styles to /assets/scss/ folder
  • Import styles in DefaultLayout.astro using import '../assets/scss/globals.scss' in the front matter
  • Reference logo using <img src={(await import('../assets/img/logo.svg')).default} alt="Your Logo">
  • Update style @use references in some of the components

v1.2.0

26 Feb 18:43
4ed951b
Compare
Choose a tag to compare

✨ New

Several new utilities, check README.md for more information:

  • Alignment
  • Animations
  • Border Radius
  • Background / Text Colors
  • Elevations
  • Height / Width
  • Spacings

⚙️ Updates

  • Astro to version 0.23.1

🏗️ Changes

  • Modernized _grid.scss by using display: grid instead of display: flex. Comes with new utility classes
  • Removed Sass comments from all .scss files
  • Added "sass" as a devDependency in package.json for Vite

v1.1.2

25 Nov 09:45
06b6623
Compare
Choose a tag to compare

✨ New

  • Added focus outline only for keyboard interactions (omitting them for mouse clicks) in _outline.scss

🏗️ Changes

  • Changed all CSS /* */ comments in base files to // Sass comments
  • Removed temporary fix now that bug is resolved in latest update: withastro/astro#1992

v1.1.1

23 Nov 15:41
bdb34ae
Compare
Choose a tag to compare

⚙️ Updates

  • Astro to version 0.21.2
  • Manually added Autoprefixer and postcss.config.js conform Astro's v.0.21 migration guide

🏗️ Changes

  • Changed path from global.css to global.scss in DefaultLayout.astro conform v0.21 migration guide
  • Temporarily added global tags and a .temp class to styles of the Header.astro and Navigation.astro due to a bug

v1.1.0

27 Oct 10:17
bdb34ae
Compare
Choose a tag to compare

✨ New

  • Added an accessible ResponsiveToggle.astro component for mobile viewports

🐛 Bug Fixes

  • Added package-lock.json to .gitignore and removed the file from the repository
  • Fixed a type where no var was included in the body background in _font.scss
  • Small cleanups

v1.0.6

22 Oct 11:04
55eac1f
Compare
Choose a tag to compare

⚙️ Updates

  • Astro to version 0.20.12

🏗️ Changes

  • Default font-weight to 400 for better readability of imported Google Fonts
  • Added Webstorms .idea to .gitignore

v1.0.5

28 Sep 18:43
b6d60b5
Compare
Choose a tag to compare

Utilities refactor and some small changes

  • Updated Astro to 0.20.8
  • Moved all utilities to separate folder and files
  • Added alignment utilities
  • Makes better use of SCSS in space utilities