Skip to content

Commit

Permalink
fix ring offset color
Browse files Browse the repository at this point in the history
  • Loading branch information
FelixTJDietrich committed Oct 18, 2024
1 parent 511c515 commit 64af039
Showing 1 changed file with 12 additions and 9 deletions.
21 changes: 12 additions & 9 deletions webapp/src/libs/ui/ui-card-helm/src/lib/hlm-card.directive.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,18 @@ import { hlm } from '@spartan-ng/ui-core';
import { type VariantProps, cva } from 'class-variance-authority';
import type { ClassValue } from 'clsx';

export const cardVariants = cva('rounded-lg border border-border bg-card focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-2 text-card-foreground shadow-sm', {
variants: {
variant: {
default: '',
profile: 'shadow-md block p-4'
}
},
defaultVariants: {}
});
export const cardVariants = cva(
'rounded-lg border border-border bg-card focus:outline-none focus:ring-2 focus:ring-ring focus:ring-offset-background focus:ring-offset-2 text-card-foreground shadow-sm',
{
variants: {
variant: {
default: '',
profile: 'shadow-md block p-4'
}
},
defaultVariants: {}
}
);
export type CardVariants = VariantProps<typeof cardVariants>;

@Directive({
Expand Down

0 comments on commit 64af039

Please sign in to comment.