Compare commits

...

4 Commits

Author SHA1 Message Date
Josh Arrington ab63c0e552
Merge 87f36167f3 into 5e91cfc7fa 2025-02-18 21:27:47 +01:00
Adam Shiervani 5e91cfc7fa
Add full dark mode support to FieldLabel component (#173) 2025-02-18 19:30:04 +01:00
Josh Arrington 87f36167f3 Separate Podman devcontainer config with SELinux support 2025-02-07 05:55:44 +00:00
Josh Arrington 508ea65fae [chore] Ensure dev_deploy is run with bash 2025-02-07 05:55:10 +00:00
4 changed files with 26 additions and 5 deletions

View File

@ -1,5 +1,5 @@
{ {
"name": "JetKVM", "name": "JetKVM Default",
"image": "mcr.microsoft.com/devcontainers/go:1-1.23-bookworm", "image": "mcr.microsoft.com/devcontainers/go:1-1.23-bookworm",
"features": { "features": {
"ghcr.io/devcontainers/features/node:1": { "ghcr.io/devcontainers/features/node:1": {

View File

@ -0,0 +1,19 @@
{
"name": "JetKVM Podman",
"image": "mcr.microsoft.com/devcontainers/go:1-1.23-bookworm",
"features": {
"ghcr.io/devcontainers/features/node:1": {
// Should match what is defined in ui/package.json
"version": "21.1.0"
}
},
"runArgs": [
"--userns=keep-id",
"--security-opt=label=disable",
"--security-opt=label=nested"
],
"containerUser": "vscode",
"containerEnv": {
"HOME": "/home/vscode"
}
}

View File

@ -1,3 +1,5 @@
#!/bin/bash
# Exit immediately if a command exits with a non-zero status # Exit immediately if a command exits with a non-zero status
set -e set -e

View File

@ -26,7 +26,7 @@ export default function FieldLabel({
> >
{label} {label}
{description && ( {description && (
<span className="my-0.5 text-[13px] font-normal text-slate-600"> <span className="my-0.5 text-[13px] font-normal text-slate-600 dark:text-slate-400">
{description} {description}
</span> </span>
)} )}
@ -34,12 +34,12 @@ export default function FieldLabel({
); );
} else if (as === "span") { } else if (as === "span") {
return ( return (
<div className="flex flex-col select-none"> <div className="flex select-none flex-col">
<span className="font-display text-[13px] font-medium leading-snug text-black"> <span className="font-display text-[13px] font-medium leading-snug text-black dark:text-white">
{label} {label}
</span> </span>
{description && ( {description && (
<span className="my-0.5 text-[13px] font-normal text-slate-600"> <span className="my-0.5 text-[13px] font-normal text-slate-600 dark:text-slate-400">
{description} {description}
</span> </span>
)} )}