Skip to content

Commit 7ce5b5c

Browse files
committed
rebuilt css files, For some reason was having issues with the line endings, hopefully the editorconfig will fix it.
1 parent 137d6bf commit 7ce5b5c

File tree

244 files changed

+6471
-2306
lines changed

Some content is hidden

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

244 files changed

+6471
-2306
lines changed

.editorconfig

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# EditorConfig is awesome: https://EditorConfig.org
2+
3+
# top-most EditorConfig file
4+
root = true
5+
6+
# Unix-style newlines with a newline ending every file
7+
[*]
8+
end_of_line = lf
9+
insert_final_newline = true
10+
charset = utf-8
11+
trim_trailing_whitespace = true
12+
indent_style = space
13+
indent_size = 2
14+
15+
# JavaScript and JSON files
16+
[*.{js,json}]
17+
indent_size = 2
18+
19+
# SCSS files
20+
[*.scss]
21+
indent_size = 2
22+
23+
# Markdown files
24+
[*.md]
25+
trim_trailing_whitespace = false
26+
27+
# Package files
28+
[package.json]
29+
indent_size = 2
30+
31+
# Config files
32+
[*.{yml,yaml}]
33+
indent_size = 2

css/pico.amber.css

Lines changed: 58 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
/**
77
* Styles
88
*/
9-
:root {
9+
:root,
10+
:host {
1011
--pico-font-family-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
1112
--pico-font-family-sans-serif: system-ui, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, Helvetica, Arial, "Helvetica Neue", sans-serif, var(--pico-font-family-emoji);
1213
--pico-font-family-monospace: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, "Liberation Mono", monospace, var(--pico-font-family-emoji);
@@ -47,27 +48,32 @@
4748
--pico-icon-loading: url("data:image/svg+xml,%3Csvg fill='none' height='24' width='24' viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' %3E%3Cstyle%3E g %7B animation: rotate 2s linear infinite; transform-origin: center center; %7D circle %7B stroke-dasharray: 75,100; stroke-dashoffset: -5; animation: dash 1.5s ease-in-out infinite; stroke-linecap: round; %7D @keyframes rotate %7B 0%25 %7B transform: rotate(0deg); %7D 100%25 %7B transform: rotate(360deg); %7D %7D @keyframes dash %7B 0%25 %7B stroke-dasharray: 1,100; stroke-dashoffset: 0; %7D 50%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -17.5; %7D 100%25 %7B stroke-dasharray: 44.5,100; stroke-dashoffset: -62; %7D %7D %3C/style%3E%3Cg%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='rgb(136, 145, 164)' stroke-width='4' /%3E%3C/g%3E%3C/svg%3E");
4849
}
4950
@media (min-width: 576px) {
50-
:root {
51+
:root,
52+
:host {
5153
--pico-font-size: 106.25%;
5254
}
5355
}
5456
@media (min-width: 768px) {
55-
:root {
57+
:root,
58+
:host {
5659
--pico-font-size: 112.5%;
5760
}
5861
}
5962
@media (min-width: 1024px) {
60-
:root {
63+
:root,
64+
:host {
6165
--pico-font-size: 118.75%;
6266
}
6367
}
6468
@media (min-width: 1280px) {
65-
:root {
69+
:root,
70+
:host {
6671
--pico-font-size: 125%;
6772
}
6873
}
6974
@media (min-width: 1536px) {
70-
:root {
75+
:root,
76+
:host {
7177
--pico-font-size: 131.25%;
7278
}
7379
}
@@ -225,7 +231,8 @@ details summary[role=button]:not(.outline)::after {
225231
* Color schemes
226232
*/
227233
[data-theme=light],
228-
:root:not([data-theme=dark]) {
234+
:root:not([data-theme=dark]),
235+
:host(:not([data-theme=dark])) {
229236
color-scheme: light;
230237
--pico-background-color: #fff;
231238
--pico-color: #373c44;
@@ -344,12 +351,19 @@ details summary[role=button]:not(.outline)::after {
344351
[type=reset],
345352
[type=checkbox],
346353
[type=radio],
354+
[type=file]),
355+
:host(:not([data-theme=dark])) input:is([type=submit],
356+
[type=button],
357+
[type=reset],
358+
[type=checkbox],
359+
[type=radio],
347360
[type=file]) {
348361
--pico-form-element-focus-color: var(--pico-primary-focus);
349362
}
350363

351364
@media only screen and (prefers-color-scheme: dark) {
352-
:root:not([data-theme]) {
365+
:root:not([data-theme]),
366+
:host(:not([data-theme])) {
353367
color-scheme: dark;
354368
--pico-background-color: rgb(19, 22.5, 30.5);
355369
--pico-color: #c2c7d0;
@@ -461,6 +475,11 @@ details summary[role=button]:not(.outline)::after {
461475
[type=submit],
462476
[type=button],
463477
[type=reset],
478+
[role=button]):not(.outline)::before,
479+
:host(:not([data-theme])) [aria-busy=true]:not(input, select, textarea).contrast:is(button,
480+
[type=submit],
481+
[type=button],
482+
[type=reset],
464483
[role=button]):not(.outline)::before {
465484
filter: brightness(0);
466485
}
@@ -469,10 +488,17 @@ details summary[role=button]:not(.outline)::after {
469488
[type=reset],
470489
[type=checkbox],
471490
[type=radio],
491+
[type=file]),
492+
:host(:not([data-theme])) input:is([type=submit],
493+
[type=button],
494+
[type=reset],
495+
[type=checkbox],
496+
[type=radio],
472497
[type=file]) {
473498
--pico-form-element-focus-color: var(--pico-primary-focus);
474499
}
475-
:root:not([data-theme]) details summary[role=button].contrast:not(.outline)::after {
500+
:root:not([data-theme]) details summary[role=button].contrast:not(.outline)::after,
501+
:host(:not([data-theme])) details summary[role=button].contrast:not(.outline)::after {
476502
filter: brightness(0);
477503
}
478504
}
@@ -627,7 +653,8 @@ progress,
627653
vertical-align: inherit;
628654
}
629655

630-
:where(:root) {
656+
:where(:root),
657+
:where(:host) {
631658
-webkit-tap-highlight-color: transparent;
632659
-webkit-text-size-adjust: 100%;
633660
-moz-text-size-adjust: 100%;
@@ -1500,7 +1527,6 @@ button,
15001527
line-height: var(--pico-line-height);
15011528
text-align: center;
15021529
text-decoration: none;
1503-
cursor: pointer;
15041530
-webkit-user-select: none;
15051531
-moz-user-select: none;
15061532
user-select: none;
@@ -1681,7 +1707,8 @@ img {
16811707
fill: currentColor;
16821708
}
16831709

1684-
svg:not(:root) {
1710+
svg:not(:root),
1711+
svg:not(:host) {
16851712
overflow: hidden;
16861713
}
16871714

@@ -2652,23 +2679,27 @@ details[open] > summary::after {
26522679
}
26532680

26542681
/**
2655-
* Card (<article>)
2682+
* Card (<article>, role="article")
26562683
*/
2657-
article {
2684+
article,
2685+
[role=article] {
26582686
margin-bottom: var(--pico-block-spacing-vertical);
26592687
padding: var(--pico-block-spacing-vertical) var(--pico-block-spacing-horizontal);
26602688
border-radius: var(--pico-border-radius);
26612689
background: var(--pico-card-background-color);
26622690
box-shadow: var(--pico-card-box-shadow);
26632691
}
26642692
article > header,
2665-
article > footer {
2693+
article > footer,
2694+
[role=article] > header,
2695+
[role=article] > footer {
26662696
margin-right: calc(var(--pico-block-spacing-horizontal) * -1);
26672697
margin-left: calc(var(--pico-block-spacing-horizontal) * -1);
26682698
padding: calc(var(--pico-block-spacing-vertical) * 0.66) var(--pico-block-spacing-horizontal);
26692699
background-color: var(--pico-card-sectioning-background-color);
26702700
}
2671-
article > header {
2701+
article > header,
2702+
[role=article] > header {
26722703
margin-top: calc(var(--pico-block-spacing-vertical) * -1);
26732704
margin-bottom: var(--pico-block-spacing-vertical);
26742705
border-bottom: var(--pico-border-width) solid var(--pico-card-border-color);
@@ -2680,10 +2711,17 @@ article > header > h2,
26802711
article > header > h3,
26812712
article > header > h4,
26822713
article > header > h5,
2683-
article > header > h6 {
2714+
article > header > h6,
2715+
[role=article] > header > h1,
2716+
[role=article] > header > h2,
2717+
[role=article] > header > h3,
2718+
[role=article] > header > h4,
2719+
[role=article] > header > h5,
2720+
[role=article] > header > h6 {
26842721
margin-bottom: 0;
26852722
}
2686-
article > footer {
2723+
article > footer,
2724+
[role=article] > footer {
26872725
margin-top: var(--pico-block-spacing-vertical);
26882726
margin-bottom: calc(var(--pico-block-spacing-vertical) * -1);
26892727
border-top: var(--pico-border-width) solid var(--pico-card-border-color);
@@ -3037,7 +3075,8 @@ a[aria-busy=true] {
30373075
/**
30383076
* Modal (<dialog>)
30393077
*/
3040-
:root {
3078+
:root,
3079+
:host {
30413080
--pico-scrollbar-width: 0px;
30423081
}
30433082

css/pico.amber.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)