mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-11-13 20:56:11 +01:00
reload visualizer
This commit is contained in:
1 parent
1c4ef7c129
commit
3d8cfc3aeb
10 files changed
+450
-9
No files matched your search
@@ -86,5 +86,9 @@
|
||||
&[data-variant="surface"],
|
||||
&[data-variant="outline"] {
|
||||
outline: var(--space-1) solid var(--accent-6);
|
||||
|
||||
&[data-high-contrast="true"] {
|
||||
outline: var(--space-1) solid var(--accent-11);
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -8,7 +8,7 @@ export interface ButtonProps extends ComponentProps<"button"> {
|
||||
radius?: `${1 | 2 | 3}` | "max";
|
||||
variant?: "solid" | "surface" | "soft" | "inverted" | "ghost" | "outline";
|
||||
size?: "regular" | "minor" | "major";
|
||||
highContrast?: boolean; // TODO: add high contrast
|
||||
highContrast?: boolean;
|
||||
|
||||
listChild?: boolean;
|
||||
parentListChild?: boolean;
|
||||
@@ -40,6 +40,7 @@ export function Button({
|
||||
listChild,
|
||||
parentListChild,
|
||||
disabled,
|
||||
highContrast,
|
||||
...props
|
||||
}: ButtonProps) {
|
||||
return (
|
||||
@@ -52,6 +53,7 @@ export function Button({
|
||||
data-size={size}
|
||||
data-list-child={listChild}
|
||||
data-parent-list-child={parentListChild}
|
||||
data-high-contrast={highContrast}
|
||||
data-disabled={disabled}
|
||||
disabled={disabled}
|
||||
{...props}
|
||||
|
||||
Reference in new issue
Block a user