mirror of
https://github.com/documenso/documenso.git
synced 2026-07-27 10:25:00 +10:00
style(ui): polished typography and switched webfonts to woff2
- Switched bundled browser font references from TTF to WOFF2 and enabled optical sizing. - Refined heading hierarchy, text wrapping, mobile controls, and numeric alignment. - Polished notification badges, button underlines, and ligature rendering.
This commit is contained in:
@@ -7,7 +7,7 @@ import * as React from 'react';
|
||||
import { cn } from '../lib/utils';
|
||||
|
||||
const buttonVariants = cva(
|
||||
'inline-flex items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none ring-offset-background',
|
||||
'inline-flex select-none items-center justify-center rounded-md text-sm font-medium transition-colors focus-visible:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 disabled:opacity-50 disabled:pointer-events-none ring-offset-background',
|
||||
{
|
||||
variants: {
|
||||
variant: {
|
||||
@@ -17,7 +17,7 @@ const buttonVariants = cva(
|
||||
outline: 'border border-input hover:bg-accent hover:text-accent-foreground',
|
||||
secondary: 'bg-secondary text-secondary-foreground hover:bg-secondary/80',
|
||||
ghost: 'hover:bg-accent hover:text-accent-foreground',
|
||||
link: 'underline-offset-4 hover:underline text-primary',
|
||||
link: 'underline-offset-4 hover:underline text-primary [text-decoration-skip-ink:auto] [text-decoration-thickness:from-font] [text-underline-position:from-font]',
|
||||
none: '',
|
||||
},
|
||||
size: {
|
||||
|
||||
Reference in New Issue
Block a user