Skip to content

Commit

Permalink
Fix icons
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Wang <[email protected]>
  • Loading branch information
ruibaby committed Aug 8, 2024
1 parent 67b6ecf commit 833b265
Showing 1 changed file with 14 additions and 2 deletions.
16 changes: 14 additions & 2 deletions packages/search-widget/uno.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ export default defineConfig({
colors: {
primary: 'var(--halo-search-widget-primary-color,#4CCBA0)',
muted: 'var(--halo-search-widget-muted-color,#475569)',
content: 'var(--halo-search-widget-content-color,var(--halo-search-widget-color-form-input,#0f172a))',
content:
'var(--halo-search-widget-content-color,var(--halo-search-widget-color-form-input,#0f172a))',
},
borderRadius: {
base: 'var(--halo-search-widget-base-rounded, 0.4em)',
Expand All @@ -23,12 +24,23 @@ export default defineConfig({
'bg-[var(--halo-search-widget-modal-bg-color,var(--halo-search-widget-color-modal-content-bg,#f8fafc))]',
'bg-hit':
'bg-[var(--halo-search-widget-hit-bg-color,var(--halo-search-widget-color-result-item-bg,#fff))]',
'bg-base': 'bg-[var(--halo-search-widget-base-bg-color,var(--halo-search-widget-color-modal-content-bg,#fff))]',
'bg-base':
'bg-[var(--halo-search-widget-base-bg-color,var(--halo-search-widget-color-modal-content-bg,#fff))]',
'border-divider':
'border-[var(--halo-search-widget-divider-color,var(--halo-search-widget-color-form-divider,#f1f5f9))]',
'border-kbd':
'border-[var(--halo-search-widget-kbd-border-color,var(--halo-search-widget-color-command-kbd-border,#e2e8f0))]',
'shadow-kbd':
'shadow-[var(--halo-search-widget-kbd-shadow,0px_2px_0px_0px_rgba(0,0,0,0.08))]',
},
safelist: [
'i-lucide-arrow-up',
'i-lucide-arrow-down',
'i-mdi-keyboard-esc',
'i-lucide-corner-down-left',
'i-lucide-file-text',
'i-lucide-history',
'i-lucide-loader-circle',
'i-lucide-search',
],
});

0 comments on commit 833b265

Please sign in to comment.