format project with plugins

This commit is contained in:
gawlk
2023-08-18 18:40:22 +02:00
committed by Paul Miller
parent 6f3a83f6e5
commit 32dfd30136
78 changed files with 742 additions and 679 deletions

View File

@@ -1,4 +1,5 @@
import { ParentComponent } from "solid-js";
import info from "~/assets/icons/info.svg";
export const InfoBox: ParentComponent<{
@@ -6,7 +7,7 @@ export const InfoBox: ParentComponent<{
}> = (props) => {
return (
<div
class="grid grid-cols-[auto_minmax(0,_1fr)] rounded-xl px-4 py-2 md:p-4 gap-4 bg-neutral-950/50 border"
class="grid grid-cols-[auto_minmax(0,_1fr)] gap-4 rounded-xl border bg-neutral-950/50 px-4 py-2 md:p-4"
classList={{
"border-m-red": props.accent === "red",
"border-m-blue bg-m-blue/10": props.accent === "blue",
@@ -15,7 +16,7 @@ export const InfoBox: ParentComponent<{
}}
>
<div class="self-center">
<img src={info} alt="info" class="w-8 h-8" />
<img src={info} alt="info" class="h-8 w-8" />
</div>
<div class="flex items-center">
<p class="text-sm font-light">{props.children}</p>