fix(ui): match Mission Core form grouping without recessed canvases

This commit is contained in:
DCCONSTRUCTIONS
2026-11-05 16:00:16 +03:00
parent 3750a94200
commit 189bb70377
7 changed files with 43 additions and 15 deletions
+6
View File
@@ -65,6 +65,12 @@
box-shadow: var(--nodedc-glass-control-shadow);
}
/* Form collections share SettingsCard's neutral group, not the recessed canvas. */
.nodedc-glass[data-tone="group"] {
background: var(--nodedc-surface-group);
box-shadow: none;
}
.nodedc-glass[data-radius="panel"] {
border-radius: var(--nodedc-radius-panel);
}
+1 -1
View File
@@ -2,7 +2,7 @@ import { createGlassMaterialVariables, type GlassMaterialSettings } from "@noded
import type { CSSProperties, HTMLAttributes, ReactNode } from "react";
import { cn } from "./cn.js";
export type GlassTone = "default" | "strong" | "soft";
export type GlassTone = "default" | "strong" | "soft" | "group";
export type GlassRadius = "card" | "panel" | "modal" | "pill";
export type GlassPadding = "none" | "sm" | "md" | "lg";