mirror of
https://github.com/fluxerapp/fluxer
synced 2026-10-19 05:55:34 +09:00
feat(app): redesign discovery and align skeletons with rendered UI
This commit is contained in:
1 parent
e054aa96be
commit
98c40c6979
380 files changed
+50869
-32207
No files matched your search
@@ -193,6 +193,23 @@
|
||||
background-color: rgba(255, 255, 255, 0.05);
|
||||
}
|
||||
|
||||
.button.ghost {
|
||||
background-color: transparent;
|
||||
border-color: transparent;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
:global(:where(html.window-focused, html.unfocused-fully-interactive):not(.window-focus-activation-guard))
|
||||
.button.ghost:hover:not(:disabled):not([data-disabled]) {
|
||||
background-color: color-mix(in srgb, currentColor 12%, transparent);
|
||||
text-decoration: underline;
|
||||
text-underline-offset: 0.1875rem;
|
||||
}
|
||||
|
||||
.button.ghost:active:not(:disabled):not([data-disabled]) {
|
||||
background-color: color-mix(in srgb, currentColor 6%, transparent);
|
||||
}
|
||||
|
||||
.button.recording {
|
||||
background-color: var(--accent-success, #16a34a);
|
||||
border-color: color-mix(in srgb, var(--accent-success, #16a34a) 80%, white 20%);
|
||||
|
||||
@@ -7,7 +7,7 @@ import {Button as BaseButton} from '@base-ui/react/button';
|
||||
import {clsx} from 'clsx';
|
||||
import React from 'react';
|
||||
|
||||
export type ButtonVariant = 'primary' | 'secondary' | 'danger' | 'inverted' | 'inverted-outline';
|
||||
export type ButtonVariant = 'primary' | 'secondary' | 'danger' | 'inverted' | 'inverted-outline' | 'ghost';
|
||||
|
||||
interface BaseButtonProps
|
||||
extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, 'onClick' | 'type' | 'disabled' | 'className' | 'title'> {
|
||||
|
||||
Reference in new issue
Block a user