kopia lustrzana https://github.com/shoelace-style/shoelace
fix typos/whitespace
rodzic
c36df5ecc1
commit
e21943f4fb
|
@ -51,6 +51,7 @@
|
|||
"erroneou",
|
||||
"errormessage",
|
||||
"esbuild",
|
||||
"exportmaps",
|
||||
"exportparts",
|
||||
"fieldsets",
|
||||
"formaction",
|
||||
|
@ -152,6 +153,7 @@
|
|||
"tinycolor",
|
||||
"transitionend",
|
||||
"treeitem",
|
||||
"treeshaking",
|
||||
"Triaging",
|
||||
"turbolinks",
|
||||
"typeof",
|
||||
|
|
|
@ -1066,23 +1066,29 @@ html.sidebar-open #menu-toggle {
|
|||
/* Hide when not defined to prevent extra wide icon toolbar while loading */
|
||||
display: none;
|
||||
}
|
||||
|
||||
#theme-selector sl-menu {
|
||||
/* Set an initial size to prevent width being initally too small when first opening on small screen width */
|
||||
/* Set an initial size to prevent width being too small when first opening on small screen width */
|
||||
width: 140px;
|
||||
}
|
||||
|
||||
#theme-selector sl-button {
|
||||
transition: 250ms scale ease;
|
||||
}
|
||||
|
||||
#theme-selector sl-button::part(base) {
|
||||
color: var(--sl-color-neutral-0);
|
||||
}
|
||||
|
||||
#theme-selector sl-button::part(label) {
|
||||
display: flex;
|
||||
padding: 0.5rem;
|
||||
}
|
||||
|
||||
#theme-selector sl-icon {
|
||||
font-size: 1.25rem;
|
||||
}
|
||||
|
||||
.sl-theme-dark #theme-selector sl-button::part(base) {
|
||||
color: var(--sl-color-neutral-1000);
|
||||
}
|
||||
|
|
|
@ -33,7 +33,7 @@ function stubCustomElements() {
|
|||
return;
|
||||
}
|
||||
|
||||
// Assign it a random string so it doesnt pollute globally.
|
||||
// Assign it a random string so it doesn't pollute globally.
|
||||
const randomTagName = str + '-' + counter.toString();
|
||||
counter++;
|
||||
stub.wrappedMethod.apply(window.customElements, [randomTagName, ctor]);
|
||||
|
|
Ładowanie…
Reference in New Issue