theming
This commit is contained in:
@@ -2,10 +2,10 @@ import type { CSSProperties, ComponentPropsWithoutRef } from 'react';
|
||||
import { cn } from 'helpers/cn';
|
||||
|
||||
export const cardStyle = (overrides?: CSSProperties): CSSProperties => ({
|
||||
backgroundColor: 'rgba(255, 255, 255, 0.9)',
|
||||
backgroundColor: 'var(--card-bg)',
|
||||
backgroundImage: `
|
||||
linear-gradient(to right, rgba(20, 83, 45, 0.08) 1px, transparent 1px),
|
||||
linear-gradient(to bottom, rgba(20, 83, 45, 0.08) 1px, transparent 1px)
|
||||
linear-gradient(to right, var(--card-grid-color) 1px, transparent 1px),
|
||||
linear-gradient(to bottom, var(--card-grid-color) 1px, transparent 1px)
|
||||
`,
|
||||
backgroundSize: '20px 20px',
|
||||
...overrides,
|
||||
|
||||
Reference in New Issue
Block a user