Skip to content

Commit 6dc6489

Browse files
Merge pull request picocss#481 from picocss/dev
v2.0.6
2 parents 8d2a880 + f943d2a commit 6dc6489

File tree

241 files changed

+596
-598
lines changed

Some content is hidden

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

241 files changed

+596
-598
lines changed

Diff for: css/pico.amber.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset "UTF-8";
22
/*!
3-
* Pico CSS ✨ v2.0.5 (https://picocss.com)
3+
* Pico CSS ✨ v2.0.6 (https://picocss.com)
44
* Copyright 2019-2024 - Licensed under MIT
55
*/
66
/**
@@ -1627,7 +1627,7 @@ label:has([type=checkbox], [type=radio]) {
16271627
}
16281628
[type=checkbox][role=switch]:before {
16291629
display: block;
1630-
width: calc(1.25em - var(--pico-border-width) * 2);
1630+
aspect-ratio: 1;
16311631
height: 100%;
16321632
border-radius: 50%;
16331633
background-color: var(--pico-color);
@@ -1645,7 +1645,7 @@ label:has([type=checkbox], [type=radio]) {
16451645
background-image: none;
16461646
}
16471647
[type=checkbox][role=switch]:checked::before {
1648-
margin-inline-start: calc(2.25em - 1.25em / 2 - var(--pico-border-width) * 3);
1648+
margin-inline-start: calc(2.25em - 1.25em);
16491649
}
16501650
[type=checkbox][role=switch][disabled] {
16511651
--pico-background-color: var(--pico-border-color);

Diff for: css/pico.amber.min.css

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

Diff for: css/pico.blue.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset "UTF-8";
22
/*!
3-
* Pico CSS ✨ v2.0.5 (https://picocss.com)
3+
* Pico CSS ✨ v2.0.6 (https://picocss.com)
44
* Copyright 2019-2024 - Licensed under MIT
55
*/
66
/**
@@ -1627,7 +1627,7 @@ label:has([type=checkbox], [type=radio]) {
16271627
}
16281628
[type=checkbox][role=switch]:before {
16291629
display: block;
1630-
width: calc(1.25em - var(--pico-border-width) * 2);
1630+
aspect-ratio: 1;
16311631
height: 100%;
16321632
border-radius: 50%;
16331633
background-color: var(--pico-color);
@@ -1645,7 +1645,7 @@ label:has([type=checkbox], [type=radio]) {
16451645
background-image: none;
16461646
}
16471647
[type=checkbox][role=switch]:checked::before {
1648-
margin-inline-start: calc(2.25em - 1.25em / 2 - var(--pico-border-width) * 3);
1648+
margin-inline-start: calc(2.25em - 1.25em);
16491649
}
16501650
[type=checkbox][role=switch][disabled] {
16511651
--pico-background-color: var(--pico-border-color);

Diff for: css/pico.blue.min.css

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

Diff for: css/pico.classless.amber.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset "UTF-8";
22
/*!
3-
* Pico CSS ✨ v2.0.5 (https://picocss.com)
3+
* Pico CSS ✨ v2.0.6 (https://picocss.com)
44
* Copyright 2019-2024 - Licensed under MIT
55
*/
66
/**
@@ -1461,7 +1461,7 @@ label:has([type=checkbox], [type=radio]) {
14611461
}
14621462
[type=checkbox][role=switch]:before {
14631463
display: block;
1464-
width: calc(1.25em - var(--pico-border-width) * 2);
1464+
aspect-ratio: 1;
14651465
height: 100%;
14661466
border-radius: 50%;
14671467
background-color: var(--pico-color);
@@ -1479,7 +1479,7 @@ label:has([type=checkbox], [type=radio]) {
14791479
background-image: none;
14801480
}
14811481
[type=checkbox][role=switch]:checked::before {
1482-
margin-inline-start: calc(2.25em - 1.25em / 2 - var(--pico-border-width) * 3);
1482+
margin-inline-start: calc(2.25em - 1.25em);
14831483
}
14841484
[type=checkbox][role=switch][disabled] {
14851485
--pico-background-color: var(--pico-border-color);

Diff for: css/pico.classless.amber.min.css

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

Diff for: css/pico.classless.blue.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset "UTF-8";
22
/*!
3-
* Pico CSS ✨ v2.0.5 (https://picocss.com)
3+
* Pico CSS ✨ v2.0.6 (https://picocss.com)
44
* Copyright 2019-2024 - Licensed under MIT
55
*/
66
/**
@@ -1461,7 +1461,7 @@ label:has([type=checkbox], [type=radio]) {
14611461
}
14621462
[type=checkbox][role=switch]:before {
14631463
display: block;
1464-
width: calc(1.25em - var(--pico-border-width) * 2);
1464+
aspect-ratio: 1;
14651465
height: 100%;
14661466
border-radius: 50%;
14671467
background-color: var(--pico-color);
@@ -1479,7 +1479,7 @@ label:has([type=checkbox], [type=radio]) {
14791479
background-image: none;
14801480
}
14811481
[type=checkbox][role=switch]:checked::before {
1482-
margin-inline-start: calc(2.25em - 1.25em / 2 - var(--pico-border-width) * 3);
1482+
margin-inline-start: calc(2.25em - 1.25em);
14831483
}
14841484
[type=checkbox][role=switch][disabled] {
14851485
--pico-background-color: var(--pico-border-color);

Diff for: css/pico.classless.blue.min.css

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

Diff for: css/pico.classless.conditional.amber.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset "UTF-8";
22
/*!
3-
* Pico CSS ✨ v2.0.5 (https://picocss.com)
3+
* Pico CSS ✨ v2.0.6 (https://picocss.com)
44
* Copyright 2019-2024 - Licensed under MIT
55
*/
66
/**
@@ -1461,7 +1461,7 @@ main {
14611461
}
14621462
.pico [type=checkbox][role=switch]:before {
14631463
display: block;
1464-
width: calc(1.25em - var(--pico-border-width) * 2);
1464+
aspect-ratio: 1;
14651465
height: 100%;
14661466
border-radius: 50%;
14671467
background-color: var(--pico-color);
@@ -1479,7 +1479,7 @@ main {
14791479
background-image: none;
14801480
}
14811481
.pico [type=checkbox][role=switch]:checked::before {
1482-
margin-inline-start: calc(2.25em - 1.25em / 2 - var(--pico-border-width) * 3);
1482+
margin-inline-start: calc(2.25em - 1.25em);
14831483
}
14841484
.pico [type=checkbox][role=switch][disabled] {
14851485
--pico-background-color: var(--pico-border-color);

Diff for: css/pico.classless.conditional.amber.min.css

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

Diff for: css/pico.classless.conditional.blue.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset "UTF-8";
22
/*!
3-
* Pico CSS ✨ v2.0.5 (https://picocss.com)
3+
* Pico CSS ✨ v2.0.6 (https://picocss.com)
44
* Copyright 2019-2024 - Licensed under MIT
55
*/
66
/**
@@ -1461,7 +1461,7 @@ main {
14611461
}
14621462
.pico [type=checkbox][role=switch]:before {
14631463
display: block;
1464-
width: calc(1.25em - var(--pico-border-width) * 2);
1464+
aspect-ratio: 1;
14651465
height: 100%;
14661466
border-radius: 50%;
14671467
background-color: var(--pico-color);
@@ -1479,7 +1479,7 @@ main {
14791479
background-image: none;
14801480
}
14811481
.pico [type=checkbox][role=switch]:checked::before {
1482-
margin-inline-start: calc(2.25em - 1.25em / 2 - var(--pico-border-width) * 3);
1482+
margin-inline-start: calc(2.25em - 1.25em);
14831483
}
14841484
.pico [type=checkbox][role=switch][disabled] {
14851485
--pico-background-color: var(--pico-border-color);

Diff for: css/pico.classless.conditional.blue.min.css

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

Diff for: css/pico.classless.conditional.cyan.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset "UTF-8";
22
/*!
3-
* Pico CSS ✨ v2.0.5 (https://picocss.com)
3+
* Pico CSS ✨ v2.0.6 (https://picocss.com)
44
* Copyright 2019-2024 - Licensed under MIT
55
*/
66
/**
@@ -1461,7 +1461,7 @@ main {
14611461
}
14621462
.pico [type=checkbox][role=switch]:before {
14631463
display: block;
1464-
width: calc(1.25em - var(--pico-border-width) * 2);
1464+
aspect-ratio: 1;
14651465
height: 100%;
14661466
border-radius: 50%;
14671467
background-color: var(--pico-color);
@@ -1479,7 +1479,7 @@ main {
14791479
background-image: none;
14801480
}
14811481
.pico [type=checkbox][role=switch]:checked::before {
1482-
margin-inline-start: calc(2.25em - 1.25em / 2 - var(--pico-border-width) * 3);
1482+
margin-inline-start: calc(2.25em - 1.25em);
14831483
}
14841484
.pico [type=checkbox][role=switch][disabled] {
14851485
--pico-background-color: var(--pico-border-color);

Diff for: css/pico.classless.conditional.cyan.min.css

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

Diff for: css/pico.classless.conditional.fuchsia.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset "UTF-8";
22
/*!
3-
* Pico CSS ✨ v2.0.5 (https://picocss.com)
3+
* Pico CSS ✨ v2.0.6 (https://picocss.com)
44
* Copyright 2019-2024 - Licensed under MIT
55
*/
66
/**
@@ -1461,7 +1461,7 @@ main {
14611461
}
14621462
.pico [type=checkbox][role=switch]:before {
14631463
display: block;
1464-
width: calc(1.25em - var(--pico-border-width) * 2);
1464+
aspect-ratio: 1;
14651465
height: 100%;
14661466
border-radius: 50%;
14671467
background-color: var(--pico-color);
@@ -1479,7 +1479,7 @@ main {
14791479
background-image: none;
14801480
}
14811481
.pico [type=checkbox][role=switch]:checked::before {
1482-
margin-inline-start: calc(2.25em - 1.25em / 2 - var(--pico-border-width) * 3);
1482+
margin-inline-start: calc(2.25em - 1.25em);
14831483
}
14841484
.pico [type=checkbox][role=switch][disabled] {
14851485
--pico-background-color: var(--pico-border-color);

Diff for: css/pico.classless.conditional.fuchsia.min.css

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

Diff for: css/pico.classless.conditional.green.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset "UTF-8";
22
/*!
3-
* Pico CSS ✨ v2.0.5 (https://picocss.com)
3+
* Pico CSS ✨ v2.0.6 (https://picocss.com)
44
* Copyright 2019-2024 - Licensed under MIT
55
*/
66
/**
@@ -1461,7 +1461,7 @@ main {
14611461
}
14621462
.pico [type=checkbox][role=switch]:before {
14631463
display: block;
1464-
width: calc(1.25em - var(--pico-border-width) * 2);
1464+
aspect-ratio: 1;
14651465
height: 100%;
14661466
border-radius: 50%;
14671467
background-color: var(--pico-color);
@@ -1479,7 +1479,7 @@ main {
14791479
background-image: none;
14801480
}
14811481
.pico [type=checkbox][role=switch]:checked::before {
1482-
margin-inline-start: calc(2.25em - 1.25em / 2 - var(--pico-border-width) * 3);
1482+
margin-inline-start: calc(2.25em - 1.25em);
14831483
}
14841484
.pico [type=checkbox][role=switch][disabled] {
14851485
--pico-background-color: var(--pico-border-color);

Diff for: css/pico.classless.conditional.green.min.css

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

Diff for: css/pico.classless.conditional.grey.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset "UTF-8";
22
/*!
3-
* Pico CSS ✨ v2.0.5 (https://picocss.com)
3+
* Pico CSS ✨ v2.0.6 (https://picocss.com)
44
* Copyright 2019-2024 - Licensed under MIT
55
*/
66
/**
@@ -1461,7 +1461,7 @@ main {
14611461
}
14621462
.pico [type=checkbox][role=switch]:before {
14631463
display: block;
1464-
width: calc(1.25em - var(--pico-border-width) * 2);
1464+
aspect-ratio: 1;
14651465
height: 100%;
14661466
border-radius: 50%;
14671467
background-color: var(--pico-color);
@@ -1479,7 +1479,7 @@ main {
14791479
background-image: none;
14801480
}
14811481
.pico [type=checkbox][role=switch]:checked::before {
1482-
margin-inline-start: calc(2.25em - 1.25em / 2 - var(--pico-border-width) * 3);
1482+
margin-inline-start: calc(2.25em - 1.25em);
14831483
}
14841484
.pico [type=checkbox][role=switch][disabled] {
14851485
--pico-background-color: var(--pico-border-color);

Diff for: css/pico.classless.conditional.grey.min.css

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

Diff for: css/pico.classless.conditional.indigo.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset "UTF-8";
22
/*!
3-
* Pico CSS ✨ v2.0.5 (https://picocss.com)
3+
* Pico CSS ✨ v2.0.6 (https://picocss.com)
44
* Copyright 2019-2024 - Licensed under MIT
55
*/
66
/**
@@ -1461,7 +1461,7 @@ main {
14611461
}
14621462
.pico [type=checkbox][role=switch]:before {
14631463
display: block;
1464-
width: calc(1.25em - var(--pico-border-width) * 2);
1464+
aspect-ratio: 1;
14651465
height: 100%;
14661466
border-radius: 50%;
14671467
background-color: var(--pico-color);
@@ -1479,7 +1479,7 @@ main {
14791479
background-image: none;
14801480
}
14811481
.pico [type=checkbox][role=switch]:checked::before {
1482-
margin-inline-start: calc(2.25em - 1.25em / 2 - var(--pico-border-width) * 3);
1482+
margin-inline-start: calc(2.25em - 1.25em);
14831483
}
14841484
.pico [type=checkbox][role=switch][disabled] {
14851485
--pico-background-color: var(--pico-border-color);

Diff for: css/pico.classless.conditional.indigo.min.css

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

Diff for: css/pico.classless.conditional.jade.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset "UTF-8";
22
/*!
3-
* Pico CSS ✨ v2.0.5 (https://picocss.com)
3+
* Pico CSS ✨ v2.0.6 (https://picocss.com)
44
* Copyright 2019-2024 - Licensed under MIT
55
*/
66
/**
@@ -1461,7 +1461,7 @@ main {
14611461
}
14621462
.pico [type=checkbox][role=switch]:before {
14631463
display: block;
1464-
width: calc(1.25em - var(--pico-border-width) * 2);
1464+
aspect-ratio: 1;
14651465
height: 100%;
14661466
border-radius: 50%;
14671467
background-color: var(--pico-color);
@@ -1479,7 +1479,7 @@ main {
14791479
background-image: none;
14801480
}
14811481
.pico [type=checkbox][role=switch]:checked::before {
1482-
margin-inline-start: calc(2.25em - 1.25em / 2 - var(--pico-border-width) * 3);
1482+
margin-inline-start: calc(2.25em - 1.25em);
14831483
}
14841484
.pico [type=checkbox][role=switch][disabled] {
14851485
--pico-background-color: var(--pico-border-color);

Diff for: css/pico.classless.conditional.jade.min.css

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

Diff for: css/pico.classless.conditional.lime.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset "UTF-8";
22
/*!
3-
* Pico CSS ✨ v2.0.5 (https://picocss.com)
3+
* Pico CSS ✨ v2.0.6 (https://picocss.com)
44
* Copyright 2019-2024 - Licensed under MIT
55
*/
66
/**
@@ -1461,7 +1461,7 @@ main {
14611461
}
14621462
.pico [type=checkbox][role=switch]:before {
14631463
display: block;
1464-
width: calc(1.25em - var(--pico-border-width) * 2);
1464+
aspect-ratio: 1;
14651465
height: 100%;
14661466
border-radius: 50%;
14671467
background-color: var(--pico-color);
@@ -1479,7 +1479,7 @@ main {
14791479
background-image: none;
14801480
}
14811481
.pico [type=checkbox][role=switch]:checked::before {
1482-
margin-inline-start: calc(2.25em - 1.25em / 2 - var(--pico-border-width) * 3);
1482+
margin-inline-start: calc(2.25em - 1.25em);
14831483
}
14841484
.pico [type=checkbox][role=switch][disabled] {
14851485
--pico-background-color: var(--pico-border-color);

Diff for: css/pico.classless.conditional.lime.min.css

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

Diff for: css/pico.classless.conditional.orange.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset "UTF-8";
22
/*!
3-
* Pico CSS ✨ v2.0.5 (https://picocss.com)
3+
* Pico CSS ✨ v2.0.6 (https://picocss.com)
44
* Copyright 2019-2024 - Licensed under MIT
55
*/
66
/**
@@ -1461,7 +1461,7 @@ main {
14611461
}
14621462
.pico [type=checkbox][role=switch]:before {
14631463
display: block;
1464-
width: calc(1.25em - var(--pico-border-width) * 2);
1464+
aspect-ratio: 1;
14651465
height: 100%;
14661466
border-radius: 50%;
14671467
background-color: var(--pico-color);
@@ -1479,7 +1479,7 @@ main {
14791479
background-image: none;
14801480
}
14811481
.pico [type=checkbox][role=switch]:checked::before {
1482-
margin-inline-start: calc(2.25em - 1.25em / 2 - var(--pico-border-width) * 3);
1482+
margin-inline-start: calc(2.25em - 1.25em);
14831483
}
14841484
.pico [type=checkbox][role=switch][disabled] {
14851485
--pico-background-color: var(--pico-border-color);

Diff for: css/pico.classless.conditional.orange.min.css

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

Diff for: css/pico.classless.conditional.pink.css

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@charset "UTF-8";
22
/*!
3-
* Pico CSS ✨ v2.0.5 (https://picocss.com)
3+
* Pico CSS ✨ v2.0.6 (https://picocss.com)
44
* Copyright 2019-2024 - Licensed under MIT
55
*/
66
/**
@@ -1461,7 +1461,7 @@ main {
14611461
}
14621462
.pico [type=checkbox][role=switch]:before {
14631463
display: block;
1464-
width: calc(1.25em - var(--pico-border-width) * 2);
1464+
aspect-ratio: 1;
14651465
height: 100%;
14661466
border-radius: 50%;
14671467
background-color: var(--pico-color);
@@ -1479,7 +1479,7 @@ main {
14791479
background-image: none;
14801480
}
14811481
.pico [type=checkbox][role=switch]:checked::before {
1482-
margin-inline-start: calc(2.25em - 1.25em / 2 - var(--pico-border-width) * 3);
1482+
margin-inline-start: calc(2.25em - 1.25em);
14831483
}
14841484
.pico [type=checkbox][role=switch][disabled] {
14851485
--pico-background-color: var(--pico-border-color);

Diff for: css/pico.classless.conditional.pink.min.css

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

0 commit comments

Comments
 (0)