Skip to content

Commit 62836e1

Browse files
committed
v.5.2.0
1 parent b196cfa commit 62836e1

File tree

119 files changed

+10675
-20102
lines changed

Some content is hidden

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

119 files changed

+10675
-20102
lines changed

.eleventy.js

-4
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,6 @@ module.exports = function(eleventyConfig) {
1212
templateFormats: ["*"]
1313
});
1414

15-
eleventyConfig.addFilter('date', function (date, dateFormat) {
16-
return format(date, dateFormat)
17-
})
18-
1915
eleventyConfig.addPassthroughCopy("src/img");
2016
eleventyConfig.addPassthroughCopy("src/dist");
2117
eleventyConfig.addPassthroughCopy("src/prism");

LOG.md

+9-2
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,18 @@ _Note: update version numbers need updating every time in `metadata.json`, `pack
44

55
***
66

7-
## 2 Nov 2022 -- v.5.1.2
7+
## 19 Nov 2022 -- v.5.2.0
88

9-
* To enable running on Windows machines, added `npm-run-all` and changed the `npm run dev` script in `package.json` (still runs on Macs).
9+
* **Changed all interpolated Sass variables to CSS variables (custom properties)**, and refactored
1010
* Updated dependencies. Corrected Sass function units, adding % to color mix in default variables and button hover states (because of the Dart Sass breaking change).
11+
* Removed PostCSS and associated dependencies, and CSSNANO. Now no auto-added vendor prefixes. (A few are still required; these have been added manually.) CSS minification is now done by the NPM _Sass_ plugin, using `--style compressed`.
12+
* To enable running on Windows machines, added `npm-run-all` and changed the `npm run dev` script in `package.json` (still runs on Macs).
13+
* Changed “warning” orange to amber, because it was too similar to “danger” red. Maintained accessability by changing text on warning UI elements (buttons, badges, and labels) from white to black. Also, the named color `-orange` is now named `-amber` (this is a breaking change).
1114
* Improvements to tables (this shaved 2KB off of the minified file size!)
15+
* Improvements to forms.
16+
* Improvements to glassmorphic backgrounds.
17+
* Additions to aspect-ratios.
18+
* Updated the documentation.
1219

1320
## 2 Nov 2022 -- v.5.1.1
1421

README.md

+4-2
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,15 @@ Designed for static site generators and content management systems, Codebase is
66

77
Plus, Codebase pairs well with AlpineJS.
88

9+
**New in v.5.2:** CSS variables.
10+
911
***
1012

1113
Docs: https://codebase-frontend-library.github.io/codebase-5/
1214

1315
***
1416

15-
* Current version: 5.1.2 -- see [log](https://github.com/codebase-frontend-library/codebase-5/blob/main/LOG.md)
16-
* CSS file size: 91 KB
17+
* Current version: 5.2.0 -- see [log](https://github.com/codebase-frontend-library/codebase-5/blob/main/LOG.md)
18+
* CSS file size: 90 KB
1719
* Licence: MIT
1820
* Developer: Simon Padbury

docs/dist/codebase.css

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

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.

docs/docs/1-getting-started/accessibility/index.html

+91-95
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)