Skip to content

Commit f7fb534

Browse files
committed
v.5.3.0
1 parent 86b399d commit f7fb534

File tree

130 files changed

+9078
-13248
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

130 files changed

+9078
-13248
lines changed

Diff for: CHANGELOG.md

+20-9
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
<!-- Note: update version numbers need updating every time in `metadata.json`, `package.json`, `package-lock.json` (×2), `README.md`, `CHANGELOG.md`, and `codebase.scss` -->
44

5+
## 6 Nov 2024 -- v.5.3.0
6+
7+
* Updated NPM packages, including Eleventy and Dart-Sass. The Dart-Sass update required making some updates to several Sass functions in Codebase, fixing breaking changes for the preprocessor.
8+
* Colors now have `color-mix()` functons and OKLAB color space. Base color variables are now available for overriding in the root variables.
9+
* Reverted to a simpler focus ring stying using recent browser defaults, because this is now working well in all the evergreen browsers (including rounded corners). But, added a little outline-offset to improve readability and visibility when touching a simlar-colored button.
10+
* Simpler font stacks.
11+
* A little text-underline-offset has been added to links.
12+
* Reduced `margin-bottom` of typographic base block elements (and `.table`) to 1rem. Now controlled by a variable.
13+
* Simplified heading sizes (ems equivalent of 16px, 18px, 20px, 24px, 30px, 36px, as usually specified in WYSIWYG editors). Also, simplified by removing heading size bump for MD screens (use the responsive `clamp()` controled `t-long-read` or `t-display` in those situations where you need bigger text).
14+
* All Heading tags and heading utility classes now have built-in `margin-top`. As margin-block controlled by a variable. (Use `mt-0` to override.)
15+
* "Heading sizes" utility classes now only change text sizes. They do not affect margins offont weights.
16+
* Improved `.t-decoration-none` and `.t-link-inside` (panel links).
17+
* All tables now need the `.table` class.
18+
* Paddings utility `.p-block` renamed `.p-cell` (alias `.p-block` is still available.)
19+
520
## 30 Oct 2024 -- v.5.2.4
621

722
* Reverted to the browser built-in accessibility focus ring outline (no longer using a box shadow). But set 2px outline thickness and 2px offset. Evergreen browsers have outlines that now follow rounded corners on inputs and buttons.
@@ -16,10 +31,6 @@
1631
* Media query controlled max-width utilities (e.g. md:w-xs), so that layout blocks can be set to different max-widths at different breakpoint widths.
1732
* Increased heading sizes (for both base and `MD` bump sizes).
1833

19-
## 9 May 2024 -- v.5.2.13
20-
21-
* Improved the `teal` color.
22-
2334
## 29 Feb 2024 -- v.5.2.12
2435

2536
* Added position `static` utility to all breakpoints.
@@ -63,7 +74,7 @@ These variants enable you to both _set up_ and _rearrange_ a square tile array f
6374

6475
## 22 Feb 2023 -- v.5.2.5
6576

66-
* Minor bug fix: `h-max-100%` now works OK.
77+
* Minor bug fix: `h-max-100%` now works OK.
6778

6879
## 16 Dec 2022 -- v.5.2.4
6980

@@ -76,7 +87,7 @@ These variants enable you to both _set up_ and _rearrange_ a square tile array f
7687

7788
## 24 Nov 2022 -- v.5.2.2
7889

79-
* Fixed bug with `overflow-x` failing to to work as a wrapper around oversized tables on narrow viewports (phones).
90+
* Fixed bug with `overflow-x` failing to to work as a wrapper around oversized tables on narrow viewports (phones).
8091

8192
## 23 Nov 2022 -- v.5.2.1
8293

@@ -133,7 +144,7 @@ These variants enable you to both _set up_ and _rearrange_ a square tile array f
133144

134145
* For improved accessibility, defailt font size is now 100% (not 16px). This will still be 16px for many people, but now visually impaired people or others who increase the default font size in their browser settings can do so.
135146
* x-axis and y-axis margin utilities (`mx-` and `my-`) now use `margin-inline` and `margin-block`. Similar for paddings.
136-
* Improved system font stacks, based on https://systemfontstack.com.
147+
* Improved system font stacks, based on [https://systemfontstack.com](https://systemfontstack.com).
137148
* Hover states for box shadows.
138149
* Added posiiton utilities `z-index-997` and `z-index-998` for better handling of offcanvas, modals, etc.
139150
* Set long-read `clamp()` to max at 1.25rem size.
@@ -169,6 +180,6 @@ These variants enable you to both _set up_ and _rearrange_ a square tile array f
169180
* Added `b-transparent` and `hover:b-transparent`.
170181
* A few minor fixes.
171182

172-
## 11 Jan 2022 -- v.51.0.0
183+
## 11 Jan 2022 -- v.5.0.0
173184

174-
* Initial upload of Codebase v.5.0.0.
185+
* Initial upload of Codebase v.5.0.0.

Diff for: README.md

+4-3
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ Designed for static site generators and content management systems, Codebase is
66

77
Plus, Codebase pairs well with [AlpineJS](https://alpinejs.dev).
88

9-
**New in v.5.2:** CSS variables.
9+
* New in v.5.3: CSS `color-mix(in OKLAB ...)` functions.
10+
* New in v.5.2: CSS `var()` custom properties.
1011

1112
***
1213

@@ -18,7 +19,7 @@ Install via Git: https://github.com/codebase-frontend-library/codebase-5.git
1819

1920
***
2021

21-
* Current version: 5.2.4 -- see [changelog](https://github.com/codebase-frontend-library/codebase-5/blob/main/CHANGELOG.md)
22-
* CSS file size: 92.5 KB
22+
* Current version: 5.3.0 -- see [changelog](https://github.com/codebase-frontend-library/codebase-5/blob/main/CHANGELOG.md)
23+
* CSS file size: 94.2 KB
2324
* Licence: MIT
2425
* Developer: Simon Padbury

Diff for: docs/dist/codebase.css

+3-3
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Diff for: docs/dist/codebase.css.map

+1-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)