File tree Expand file tree Collapse file tree 1 file changed +1
-8
lines changed
Tekst-Web/src/components/generic Expand file tree Collapse file tree 1 file changed +1
-8
lines changed Original file line number Diff line number Diff line change @@ -8,14 +8,12 @@ withDefaults(
88 level: ' 1' | ' 2' | ' 3' | ' 4' | ' 5' | ' 6' ;
99 icon? : Component ;
1010 iconSize? : string ;
11- iconColor? : ' text' | ' accent' ;
1211 ellipsis? : boolean ;
1312 style? : string | CSSProperties ;
1413 }>(),
1514 {
1615 icon: undefined ,
1716 iconSize: ' 1em' ,
18- iconColor: ' accent' ,
1917 style: undefined ,
2018 }
2119);
@@ -25,12 +23,7 @@ const theme = useThemeStore();
2523
2624<template >
2725 <component :is =" `h${level}`" class =" icon-heading" :style =" style" >
28- <n-icon
29- v-if =" icon"
30- :component =" icon"
31- :size =" iconSize"
32- :color =" iconColor === 'accent' ? theme.custom.accent.base : 'inherit'"
33- />
26+ <n-icon v-if =" icon" :component =" icon" :size =" iconSize" :color =" theme.custom.accent.base" />
3427 <n-ellipsis v-if =" ellipsis" >
3528 <slot ></slot >
3629 </n-ellipsis >
You can’t perform that action at this time.
0 commit comments