fixup! swarm-ui: shared Hint, ActionRow, Toolbar, EmptyState, ExternalLink and ExpandableCard replace per-page copies
This commit is contained in:
parent
2b53fcd742
commit
53ccbcb4b3
2 changed files with 5 additions and 33 deletions
|
|
@ -20,15 +20,6 @@
|
|||
color: var(--fg);
|
||||
border: 1px solid var(--border);
|
||||
}
|
||||
/* `plain`: text only, no box, for a control that reads as a link in a row of
|
||||
text (it keeps the touch-target height). */
|
||||
.ui-button-plain {
|
||||
background: none;
|
||||
color: inherit;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
text-align: left;
|
||||
}
|
||||
.ui-button:disabled {
|
||||
opacity: 0.6;
|
||||
cursor: default;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
import type { ComponentChildren } from "preact";
|
||||
import "./Button.css";
|
||||
|
||||
export type ButtonVariant = "primary" | "default" | "plain";
|
||||
export type ButtonVariant = "primary" | "default";
|
||||
|
||||
export function Button({
|
||||
variant = "default",
|
||||
|
|
|
|||
Loading…
Reference in a new issue