Releases: markteekman/accessible-astro-starter
Releases · markteekman/accessible-astro-starter
v1.2.4
🏗️ 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 theh1
of the page- Added named slots to prepare the component for possible migration to the Accessible Astro Components package
v1.2.3
🐛 Bug Fixes
- Removed the
small
breakpoint in_grid.scss
which caused column classes to not be applied to viewports which where smaller then thesmall
breakpoint
v1.2.2
✨ New
Added more options to _color.scss
with shades ranging from 100 to 900:
- Info
- Success
- Warning
- Error
v1.2.1
⚙️ 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
usingimport '../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
✨ 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 usingdisplay: grid
instead ofdisplay: flex
. Comes with new utility classes - Removed Sass comments from all .scss files
- Added
"sass"
as a devDependency inpackage.json
for Vite
v1.1.2
✨ 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
⚙️ 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
toglobal.scss
inDefaultLayout.astro
conform v0.21 migration guide - Temporarily added global tags and a
.temp
class to styles of theHeader.astro
andNavigation.astro
due to a bug
v1.1.0
✨ 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
⚙️ Updates
- Astro to version 0.20.12
🏗️ Changes
- Default
font-weight
to400
for better readability of imported Google Fonts - Added Webstorms
.idea
to.gitignore
v1.0.5
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