File tree Expand file tree Collapse file tree 4 files changed +5
-140
lines changed Expand file tree Collapse file tree 4 files changed +5
-140
lines changed Original file line number Diff line number Diff line change 1
1
import resetStyles from '@unocss/reset/tailwind.css?inline' ;
2
2
import { css , unsafeCSS } from 'lit' ;
3
- import varStyles from './var' ;
4
3
5
4
const baseStyles = [
6
- varStyles ,
7
5
unsafeCSS ( resetStyles ) ,
8
6
css `
9
7
: host {
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ export default defineConfig({
44
44
} ,
45
45
borderRadius : {
46
46
base : 'var(--halo-cw-base-rounded, 0.5em)' ,
47
+ avatar : 'var(--halo-cw-avatar-rounded, 9999px)' ,
47
48
} ,
48
49
} ,
49
50
rules : [
@@ -65,7 +66,7 @@ export default defineConfig({
65
66
'pagination-button' :
66
67
'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' ,
67
68
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' ,
69
70
} ,
70
71
transformers : [ transformerDirectives ( ) ] ,
71
72
} ) ;
Original file line number Diff line number Diff line change 14
14
15
15
: root {
16
16
--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;
17
20
}
18
21
</ style >
19
22
You can’t perform that action at this time.
0 commit comments