fix(ui): match Mission Core form grouping without recessed canvases
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user