mirror of
https://github.com/vndangkhoa/Sys-Arc-Visl.git
synced 2026-04-05 01:17:57 +07:00
fix: Export setActiveFilters and cleanup unused imports to fix build
This commit is contained in:
parent
bf9d5766b8
commit
9d540468bd
2 changed files with 3 additions and 2 deletions
|
|
@ -1,4 +1,4 @@
|
|||
import mermaid from 'mermaid';
|
||||
// import mermaid from 'mermaid';
|
||||
|
||||
// --- Types ---
|
||||
export interface ComfyNode {
|
||||
|
|
@ -133,7 +133,7 @@ function calculateContrastRatio(rgb1: [number, number, number], rgb2: [number, n
|
|||
return (Math.max(lum1, lum2) + 0.05) / (Math.min(lum1, lum2) + 0.05);
|
||||
}
|
||||
|
||||
function adjustTextColorForBackground(styleString: string): string {
|
||||
export function adjustTextColorForBackground(styleString: string): string {
|
||||
if (!styleString) return styleString;
|
||||
const parts = styleString.split(',').map(p => p.trim()).filter(Boolean);
|
||||
|
||||
|
|
|
|||
|
|
@ -97,6 +97,7 @@ export function useFlowStore() {
|
|||
setMermaidCode: ui.setMermaidCode,
|
||||
clearInputs: ui.clearInputs,
|
||||
toggleFilter: ui.toggleFilter,
|
||||
setActiveFilters: ui.setActiveFilters,
|
||||
setLoading: ui.setLoading,
|
||||
setError: ui.setError,
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue