Skip to content

Commit

Permalink
Merge branch 'fix/vite-typography-css-var'
Browse files Browse the repository at this point in the history
  • Loading branch information
13twelve committed Jan 22, 2024
2 parents 320f864 + 070a21b commit 4185fd7
Show file tree
Hide file tree
Showing 5 changed files with 487 additions and 94 deletions.
16 changes: 16 additions & 0 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,22 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [3.11.1] - 2024-01-22

### Fixed

- `Typography` plugin updated to fix broken typography CSS variable names when making CSS changes whilst using Vite to compile
Previously, the responsive CSS variables could get erroneous duplicates of the type style name in the variable name - eg:
```
@media (min-width: 990px)
:root {
--f-h1--f-h1-font-size: 3rem;
}
}
```
The behavior seemed only to manifest itself in Vite 5.
An updated deep clone and an update to property naming fixes the issue.

## [3.11.0] - 2024-01-18

### Changed
Expand Down
Loading

0 comments on commit 4185fd7

Please sign in to comment.