+
-
+ )
+}
+
+type PanelProps = {
+ content: string
+ title: string
+}
+
+function Panel(props: PanelProps) {
+ const { content: __html, title } = props
+ return (
+
)
}
@@ -370,9 +386,9 @@ function Footer() {
export function DevStyles() {
const styles = `
:root {
- --bg: #181818;
+ --bg: #1A1A19;
--bn: #262626;
- --br: #404040;
+ --br: #282C2E;
--fg: rgba(255, 255, 255, 0.87);
--fg2: rgba(255, 255, 255, 0.7);
}
@@ -534,9 +550,16 @@ export function DevStyles() {
/** Utilities **/
.border { border-width: 1px; }
- .border-l { border-left-width: 1px; }
.border-t-0 { border-top-width: 0; }
.cursor-pointer { cursor: pointer; }
+ .divide-x > * + * {
+ border-right-width: 0;
+ border-left-width: 1px;
+ }
+ .divide-y > * + * {
+ border-top-width: 1px;
+ border-bottom-width: 0px;
+ }
.font-bold { font-weight: 700; }
.font-mono { font-family: monospace; }
.flex { display: flex; }
@@ -550,6 +573,7 @@ export function DevStyles() {
.grid-cols-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-cols-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-cols-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
+ .h-full { height: 100%; }
.h-10 { height: 2.5rem; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
@@ -587,5 +611,5 @@ export function DevStyles() {
scrollbar-width: thin;
}
`
- return
+ return
}