mirror of
https://github.com/blitzkit/blitzkit.git
synced 2026-10-24 12:09:51 +02:00
feat: stat search
This commit is contained in:
1 parent
c1000e1608
commit
e05358952a
7 files changed
+207
-5
No files matched your search
@@ -0,0 +1,13 @@
|
||||
.mark {
|
||||
color: var(--gray-12);
|
||||
background-color: var(--purple-a9);
|
||||
outline: 4px solid var(--purple-a4);
|
||||
box-shadow: 0 0 1rem var(--purple-9);
|
||||
}
|
||||
|
||||
.focused .mark {
|
||||
color: var(--gray-1);
|
||||
background-color: var(--amber-a9);
|
||||
outline: 4px solid var(--amber-a4);
|
||||
box-shadow: 0 0 1rem var(--amber-9);
|
||||
}
|
||||
@@ -0,0 +1,16 @@
|
||||
import type { ComponentProps } from 'react';
|
||||
import { Var } from '../../core/radix/var';
|
||||
import './index.css';
|
||||
|
||||
export function Mark({ style, ...props }: ComponentProps<'mark'>) {
|
||||
return (
|
||||
<mark
|
||||
className="mark"
|
||||
style={{
|
||||
borderRadius: Var('radius-1'),
|
||||
...style,
|
||||
}}
|
||||
{...props}
|
||||
/>
|
||||
);
|
||||
}
|
||||
Reference in new issue
Block a user