Skip to content

Commit

Permalink
v.1.2.2
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonPadbury committed Jan 5, 2024
1 parent ff98dde commit ed28586
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 20 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@

# Baselayer 3 changelog

## v.1.2.2 -- 5 Jan 2024

* Minor typographic improvements.
* Adjusted the orange hue.

## v.1.2.1 -- 13 Dec 2023

* Improved native font stacks.
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
## Baselayer 3

v.1.2.1
v.1.2.2

A modern starter CSS library with container queries, a real CSS grid system, clamp() powered typography and spacing sizes, OKLCH color utilities, and custom properties.

Expand Down
2 changes: 1 addition & 1 deletion _src/css/min/baselayer.min.css

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions _src/css/partials/base.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,7 @@
/* for improved accessibility over dark backgrounds */
}

.visually-hidden:not(:focus):not(:active),
.screen-reader-only:not(:focus):not(:active) {
.visually-hidden:not(:focus):not(:active) {
clip: rect(0 0 0 0);
-webkit-clip-path: inset(50%);
clip-path: inset(50%);
Expand Down
2 changes: 1 addition & 1 deletion _src/css/partials/layout.css
Original file line number Diff line number Diff line change
Expand Up @@ -553,7 +553,7 @@

/*
Gaps - these work for both flexbox (including inside buttons) and the grid system.
(However, don’t use these on containergrid.)
(However, don’t use these on container-grid.)
*/

.gap-1 {
Expand Down
12 changes: 2 additions & 10 deletions _src/css/partials/typography.css
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,13 @@
figcaption,
blockquote {
margin-block: 0 var(--m-lh);
text-wrap: pretty;
}

caption {
margin-block: var(--sp-1);
}

h1,
h2,
h3,
h4,
h5,
h6 {
text-wrap: balance;
}

h1,
.h1 {
font-size: var(--h1);
Expand Down Expand Up @@ -70,9 +62,9 @@
h6,
.h6 {
margin-block: var(--h-lh) var(--m-lh);
;
font-weight: var(--h-fw);
line-height: var(--h-lh);
text-wrap: balance;
}

.content-grid>h2,
Expand Down
2 changes: 1 addition & 1 deletion _src/css/partials/variables.css
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
/* hue */
--gray: 0;
--red: 30;
--orange: 79;
--orange: 90;
--green: 155;
--blue: 265;
/* --coolgray: 265;
Expand Down
2 changes: 1 addition & 1 deletion docs/css/min/baselayer.min.css

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "baselayer-3",
"version": "1.2.1",
"version": "1.2.2",
"description": "A modern starter CSS library with container queries, a real CSS grid system, clamp() powered typography and spacing sizes, OKLCH color utilities, and custom properties.",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
Expand Down

0 comments on commit ed28586

Please sign in to comment.