Skip to content

Commit

Permalink
chore: update Pico
Browse files Browse the repository at this point in the history
  • Loading branch information
lucaslarroche committed Feb 11, 2024
1 parent e4fbfb2 commit c86233b
Show file tree
Hide file tree
Showing 26 changed files with 59 additions and 55 deletions.
14 changes: 10 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
<a href="https://picocss.com/">
<img src="https://picocss.com/img/logo.svg" width="64" height="64">
</a>
<p>
<a href="https://picocss.com" target="_blank">
<picture>
<source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/picocss/pico/HEAD/.github/logo-dark.svg">
<source media="(prefers-color-scheme: light)" srcset="https://raw.githubusercontent.com/picocss/pico/HEAD/.github/logo-light.svg">
<img alt="Pico CSS" src="https://raw.githubusercontent.com/picocss/pico/HEAD/.github/logo-light.svg" width="auto" height="60">
</picture>
</a>
</p>

# Pico.css examples

Expand Down Expand Up @@ -30,7 +36,7 @@ A minimal example with the conditional version.

---

<details open>
<details>
<summary><strong>Pico v1 examples</strong></summary>

- **[Preview](https://codesandbox.io/s/github/picocss/examples/tree/master/v1-preview)**
Expand Down
4 changes: 2 additions & 2 deletions v1-bootstrap-grid/css/pico-bootstrap-grid.css

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

2 changes: 1 addition & 1 deletion v1-bootstrap-grid/css/pico-bootstrap-grid.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions v1-bootstrap-grid/css/pico-bootstrap-grid.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v1-bootstrap-grid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"minify": "cleancss -O1 --batch --batch-suffix '.min' css/*.css !css/*.min.css"
},
"devDependencies": {
"@picocss/pico": "^1.5.11",
"@picocss/pico": "^1.5.12",
"autoprefixer": "^10.4.17",
"bootstrap": "5.2.3",
"clean-css-cli": "^5.6.3",
Expand Down
8 changes: 4 additions & 4 deletions v1-bootstrap-grid/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@picocss/pico@^1.5.11":
version "1.5.11"
resolved "https://registry.yarnpkg.com/@picocss/pico/-/pico-1.5.11.tgz#8bd37fc546fcab95625218dddd8cf788b8fd5f8a"
integrity sha512-cDaFiSyNPtuSTwSQt/05xsw8+g2ek4/S58tgh9Nc7miJCCdUrY9PAyl4OPWRJtYgJDdEvkUA9GuGj0J4nDP4Cw==
"@picocss/pico@^1.5.12":
version "1.5.12"
resolved "https://registry.yarnpkg.com/@picocss/pico/-/pico-1.5.12.tgz#f8d7260d50581ccccd6fec84183654a30f74db90"
integrity sha512-Q4s+DGqLw/0hdhGSL1T2u8mIJRkQingYqEjJvC+1st4FavBBekmjsTNykI7J7Xr1v5ZNMl/fIHULiXZt4GZvwg==

"@sindresorhus/merge-streams@^1.0.0":
version "1.0.0"
Expand Down
4 changes: 2 additions & 2 deletions v1-google-amp/dark.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions v1-google-amp/index.html

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions v1-google-amp/light.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion v1-google-amp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"html:build": "html-includes --src src --dest . --quiet"
},
"devDependencies": {
"@picocss/pico": "^1.5.11",
"@picocss/pico": "^1.5.12",
"autoprefixer": "^10.4.17",
"clean-css-cli": "^5.6.3",
"html-includes": "^5.0.0",
Expand Down
4 changes: 2 additions & 2 deletions v1-google-amp/src/css/pico.google-amp.css

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

2 changes: 1 addition & 1 deletion v1-google-amp/src/css/pico.google-amp.css.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions v1-google-amp/src/css/pico.google-amp.min.css

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions v1-google-amp/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@picocss/pico@^1.5.11":
version "1.5.11"
resolved "https://registry.yarnpkg.com/@picocss/pico/-/pico-1.5.11.tgz#8bd37fc546fcab95625218dddd8cf788b8fd5f8a"
integrity sha512-cDaFiSyNPtuSTwSQt/05xsw8+g2ek4/S58tgh9Nc7miJCCdUrY9PAyl4OPWRJtYgJDdEvkUA9GuGj0J4nDP4Cw==
"@picocss/pico@^1.5.12":
version "1.5.12"
resolved "https://registry.yarnpkg.com/@picocss/pico/-/pico-1.5.12.tgz#f8d7260d50581ccccd6fec84183654a30f74db90"
integrity sha512-Q4s+DGqLw/0hdhGSL1T2u8mIJRkQingYqEjJvC+1st4FavBBekmjsTNykI7J7Xr1v5ZNMl/fIHULiXZt4GZvwg==

"@sindresorhus/merge-streams@^1.0.0":
version "1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion v2-conditional-styling/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<!-- Pico.css -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2.0.0-rc4/css/pico.conditional.min.css"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.conditional.min.css"
/>
</head>

Expand Down
2 changes: 1 addition & 1 deletion v2-html-classless/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<!-- Pico.css -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2.0.0-rc4/css/pico.classless.min.css"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.classless.min.css"
/>
</head>

Expand Down
2 changes: 1 addition & 1 deletion v2-html/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<!-- Pico.css -->
<link
rel="stylesheet"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2.0.0-rc4/css/pico.min.css"
href="https://cdn.jsdelivr.net/npm/@picocss/pico@2/css/pico.min.css"
/>
</head>

Expand Down
2 changes: 1 addition & 1 deletion v2-react-classless-login/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@picocss/pico": "2.0.0-rc4",
"@picocss/pico": "2.0.0",
"babel-loader": "^9.1.3",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.10.0",
Expand Down
8 changes: 4 additions & 4 deletions v2-react-classless-login/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1088,10 +1088,10 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@picocss/[email protected]-rc4":
version "2.0.0-rc4"
resolved "https://registry.yarnpkg.com/@picocss/pico/-/pico-2.0.0-rc4.tgz#eac8473be0ac0be44cef1544da0ba3bddc09474d"
integrity sha512-tiDdkvIOUlO8FDOihhHMRY0phOQAsIeIRqF/aoO0npvFhSxK9ICvez/7Vqzc+Ixz8MXD/9fpKc9eGS2k0slqDQ==
"@picocss/[email protected]":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@picocss/pico/-/pico-2.0.0.tgz#6596da9476da9eec3f1e9b7242510ebe5ba8c7e7"
integrity sha512-LYg6xfmP3tBeciIiAzH3PF6bM8oPJTl2idDKHuot1RQdc9v2MZsaiF3B6jW9MIPuTFPlzelwnuuYZSp28MU10w==

"@sindresorhus/merge-streams@^1.0.0":
version "1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion v2-react-color-schemes-and-modal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"@babel/core": "^7.23.9",
"@babel/preset-env": "^7.23.9",
"@babel/preset-react": "^7.23.3",
"@picocss/pico": "2.0.0-rc4",
"@picocss/pico": "2.0.0",
"babel-loader": "^9.1.3",
"copy-webpack-plugin": "^12.0.2",
"css-loader": "^6.10.0",
Expand Down
8 changes: 4 additions & 4 deletions v2-react-color-schemes-and-modal/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1088,10 +1088,10 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@picocss/[email protected]-rc4":
version "2.0.0-rc4"
resolved "https://registry.yarnpkg.com/@picocss/pico/-/pico-2.0.0-rc4.tgz#eac8473be0ac0be44cef1544da0ba3bddc09474d"
integrity sha512-tiDdkvIOUlO8FDOihhHMRY0phOQAsIeIRqF/aoO0npvFhSxK9ICvez/7Vqzc+Ixz8MXD/9fpKc9eGS2k0slqDQ==
"@picocss/[email protected]":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@picocss/pico/-/pico-2.0.0.tgz#6596da9476da9eec3f1e9b7242510ebe5ba8c7e7"
integrity sha512-LYg6xfmP3tBeciIiAzH3PF6bM8oPJTl2idDKHuot1RQdc9v2MZsaiF3B6jW9MIPuTFPlzelwnuuYZSp28MU10w==

"@sindresorhus/merge-streams@^1.0.0":
version "1.0.0"
Expand Down
2 changes: 1 addition & 1 deletion v2-sass-customized-design-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"start": "npm-run-all dev"
},
"devDependencies": {
"@picocss/pico": "2.0.0-rc4",
"@picocss/pico": "2.0.0",
"autoprefixer": "^10.4.17",
"caniuse-lite": "1.0.30001585",
"css-declaration-sorter": "^7.1.1",
Expand Down
5 changes: 2 additions & 3 deletions v2-sass-customized-design-system/scss/theme/_dark.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
@use "sass:map";
@use "settings" as *;
@use "colors" as *;
@use "utils/box-shadow";
@use "utils/functions";
@use "helpers/functions";

$bitcoin-color: #f7931a;

Expand Down Expand Up @@ -58,7 +57,7 @@ $bitcoin-color: #f7931a;
#{$css-var-prefix}contrast-inverse: #{$black};

// Box shadow
#{$css-var-prefix}box-shadow: box-shadow.shadow($black);
#{$css-var-prefix}box-shadow: functions.shadow($black);

// Typography
@if map.get($modules, "content/typography") {
Expand Down
5 changes: 2 additions & 3 deletions v2-sass-customized-design-system/scss/theme/_light.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,7 @@
@use "sass:map";
@use "settings" as *;
@use "colors" as *;
@use "utils/box-shadow";
@use "utils/functions";
@use "helpers/functions";

$bitcoin-color: #f7931a;

Expand Down Expand Up @@ -58,7 +57,7 @@ $bitcoin-color: #f7931a;
#{$css-var-prefix}contrast-inverse: #{$white};

// Box shadow
#{$css-var-prefix}box-shadow: box-shadow.shadow($slate-400);
#{$css-var-prefix}box-shadow: functions.shadow($slate-400);

// Typography
@if map.get($modules, "content/typography") {
Expand Down
2 changes: 1 addition & 1 deletion v2-sass-customized-design-system/scss/theme/_styles.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@use "sass:map";
@use "settings" as *;
@use "colors" as *;
@use "utils/functions";
@use "helpers/functions";

/**
* Styles
Expand Down
8 changes: 4 additions & 4 deletions v2-sass-customized-design-system/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@
"@nodelib/fs.scandir" "2.1.5"
fastq "^1.6.0"

"@picocss/[email protected]-rc4":
version "2.0.0-rc4"
resolved "https://registry.yarnpkg.com/@picocss/pico/-/pico-2.0.0-rc4.tgz#eac8473be0ac0be44cef1544da0ba3bddc09474d"
integrity sha512-tiDdkvIOUlO8FDOihhHMRY0phOQAsIeIRqF/aoO0npvFhSxK9ICvez/7Vqzc+Ixz8MXD/9fpKc9eGS2k0slqDQ==
"@picocss/[email protected]":
version "2.0.0"
resolved "https://registry.yarnpkg.com/@picocss/pico/-/pico-2.0.0.tgz#6596da9476da9eec3f1e9b7242510ebe5ba8c7e7"
integrity sha512-LYg6xfmP3tBeciIiAzH3PF6bM8oPJTl2idDKHuot1RQdc9v2MZsaiF3B6jW9MIPuTFPlzelwnuuYZSp28MU10w==

"@sindresorhus/merge-streams@^1.0.0":
version "1.0.0"
Expand Down

0 comments on commit c86233b

Please sign in to comment.