File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11import resetStyles from '@unocss/reset/tailwind.css?inline' ;
22import { css , unsafeCSS } from 'lit' ;
3- import varStyles from './var' ;
43
54const baseStyles = [
6- varStyles ,
75 unsafeCSS ( resetStyles ) ,
86 css `
97 : host {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ export default defineConfig({
4444 } ,
4545 borderRadius : {
4646 base : 'var(--halo-cw-base-rounded, 0.5em)' ,
47+ avatar : 'var(--halo-cw-avatar-rounded, 9999px)' ,
4748 } ,
4849 } ,
4950 rules : [
@@ -65,7 +66,7 @@ export default defineConfig({
6566 'pagination-button' :
6667 'inline-flex h-10 items-center text-sm gap-1 hover:bg-muted-3 rounded-base px-3 transition-all text-text-1 opacity-80 disabled:!opacity-70 disabled:cursor-not-allowed hover:opacity-100 font-medium justify-center' ,
6768 avatar :
68- 'rounded-full size-9 overflow-hidden inline-flex items-center justify-center bg-muted-2' ,
69+ 'rounded-avatar size-[var(--halo-cw-avatar-size,2.25em)] overflow-hidden inline-flex items-center justify-center bg-muted-2' ,
6970 } ,
7071 transformers : [ transformerDirectives ( ) ] ,
7172} ) ;
Original file line number Diff line number Diff line change 1414
1515 : root {
1616 --halo-cw-base-rounded : 0.5em ;
17+ --halo-cw-avatar-rounded : 1px ;
18+ --halo-cw-avatar-size : 2em ;
19+ --halo-cw-base-font-family : 'Inter' , sans-serif;
1720 }
1821 </ style >
1922
You can’t perform that action at this time.
0 commit comments