-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
73a1254
commit 59fe64f
Showing
41 changed files
with
6,209 additions
and
6,484 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,23 @@ | ||
## Baselayer 3 | ||
|
||
v.3.3.0 • 22.5 KB (minified) • MIT licence. | ||
|
||
A modern starter CSS library with container queries, a real CSS grid system, clamp() powered typography and spacing sizes, color-mix() color utilities, and custom properties. | ||
v.3.4.0 • 22 KB (minified) • MIT licence. | ||
|
||
Designed as a good place to start, Baselayer may be all you need — for small web projects. Or you may use it as a _baselayer_ to quick-start your mega project. | ||
|
||
Ready to use as-is, Baselayer gives you all this and more: | ||
|
||
* A modern CSS reset | ||
* Foundational accessibility features | ||
* A lightweight system of utility classes for controlling dimensions, positioning, spacing, borders, text, images, and colors | ||
* Container-responsive typography and spacing | ||
* Container query responsive layouts using grid and flexbox | ||
* Styled form elements and buttons | ||
* A color system based on `color-mix()` shades for for text, borders, and backgrounds | ||
* A lightweight system of utility classes for controlling dimensions, positioning, spacing, borders, text, images, and colors | ||
* A color system based on `color-mix( in OKLCH)` shades for for text, borders, and backgrounds | ||
* Built-in dark mode (requires a simple JavaScript theme toggler — example provided) | ||
* Control of many of these things using CSS variables (custom properties) | ||
|
||
Baselayer uses some modern web technologies such as CSS Grid, CSS math functions (e.g. clamp), CSS variables, CSS cascade layers, and the color-mix function. Therefore it supports only up-to-date (2023 forward) evergreen web browsers (Safari, Firefox, Chrome, Edge, etc.). | ||
|
||
(If you would rather use media queries instead of media queries, or if you need to support older browsers a while longer, all you need to do is search-and-replace `@container` → `@media`.) | ||
Baselayer uses modern CSS technologies such as grid, functions (e.g. `clamp()`, `color-mix()`, `light-dark()`), `var()` custom properties, and CSS class nesting. Therefore it supports only “Baseline: Widely available” (2023 forward) web browsers such as Safari, Firefox, Chrome, Edge, etc. — see [MDN: Basline compatibility](https://developer.mozilla.org/en-US/docs/Glossary/Baseline/Compatibility). | ||
|
||
**Documentation:** [https://simonpadbury.github.io/baselayer-3/](https://simonpadbury.github.io/baselayer-3/) | ||
|
||
**Changelog:** [https://github.com/SimonPadbury/baselayer-3/blob/main/README.md](https://github.com/baselayer/blob/main/CHANGELOG.md) | ||
**Changelog:** [https://github.com/SimonPadbury/baselayer-3/blob/main/README.md](https://github.com/baselayer/blob/main/CHANGELOG.md) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.