mirror of
https://github.com/picocss/pico.git
synced 2025-04-21 17:16:14 -04:00
2.2.3
This commit is contained in:
parent
f9c3a34411
commit
277384dc82
4 changed files with 8 additions and 8 deletions
|
@ -77,7 +77,7 @@ There are 4 ways to get started with pico.css:
|
|||
Alternatively, you can use [jsDelivr CDN](https://www.jsdelivr.com/package/npm/@yohns/picocss) to link pico.css.
|
||||
|
||||
```html
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@yohns/picocss@2.2.2/css/pico.min.css" />
|
||||
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/@yohns/picocss@2.2.3/css/pico.min.css" />
|
||||
```
|
||||
|
||||
### Install with NPM
|
||||
|
@ -135,7 +135,7 @@ Use the default `.classless` version if you need centered viewports:
|
|||
```html
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdn.jsdelivr.net/npm/@yohns/picocss@2.2.2/css/pico.classless.min.css"
|
||||
href="https://cdn.jsdelivr.net/npm/@yohns/picocss@2.2.3/css/pico.classless.min.css"
|
||||
/>
|
||||
```
|
||||
|
||||
|
@ -144,7 +144,7 @@ Or use the `.fluid.classless` version if you need a fluid container:
|
|||
```html
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdn.jsdelivr.net/npm/@yohns/picocss@2.2.2/css/pico.fluid.classless.min.css"
|
||||
href="https://cdn.jsdelivr.net/npm/@yohns/picocss@2.2.3/css/pico.fluid.classless.min.css"
|
||||
/>
|
||||
```
|
||||
|
||||
|
@ -159,7 +159,7 @@ Then just write pure HTML, and it should look great:
|
|||
<meta name="color-scheme" content="light dark" />
|
||||
<link
|
||||
rel="stylesheet"
|
||||
href="https://cdn.jsdelivr.net/npm/@yohns/picocss@2.2.2/css/pico.classless.min.css"
|
||||
href="https://cdn.jsdelivr.net/npm/@yohns/picocss@2.2.3/css/pico.classless.min.css"
|
||||
/>
|
||||
<title>Hello, world!</title>
|
||||
</head>
|
||||
|
|
|
@ -222,7 +222,7 @@
|
|||
<main class="col-12 col-md-9 col-lg-10">
|
||||
<article>
|
||||
<header>
|
||||
<h2>Yohns PicoCSS Fork v2.2.2</h2>
|
||||
<h2>Yohns PicoCSS Fork v2.2.3</h2>
|
||||
<p class="mb-0">Not in npm yet, but will be soon.</p>
|
||||
</header>
|
||||
<p>I've merged some open pull requests from the <a href="https://github.com/picocss/pico">original Pico</a>
|
||||
|
@ -1498,7 +1498,7 @@
|
|||
function changeTheme(newTheme) {
|
||||
const linkElement = document.getElementById('theme-color-ss');
|
||||
if (linkElement) {
|
||||
linkElement.setAttribute('href', 'https://cdn.jsdelivr.net/gh/Yohn/PicoCSS@2.2.2/css/pico.' + newTheme + '.min.css');
|
||||
linkElement.setAttribute('href', 'https://cdn.jsdelivr.net/gh/Yohn/PicoCSS@2.2.3/css/pico.' + newTheme + '.min.css');
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@yohns/picocss",
|
||||
"version": "2.2.2",
|
||||
"version": "2.2.3",
|
||||
"description": "Minimal CSS Framework for semantic HTML, updated with enhanced capabilities.",
|
||||
"authors": [
|
||||
{
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
/*!
|
||||
* Pico CSS ✨ v2.2.2 (https://github.com/Yohn/PicoCSS)
|
||||
* Pico CSS ✨ v2.2.3 (https://github.com/Yohn/PicoCSS)
|
||||
* Copyright 2019-2025 - Licensed under MIT
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue