/**
 * Applies PrimeVue theme from layout config at app startup (before first paint).
 * This ensures primary/surface from layout/composables/layout.js are used immediately.
 */
import { layoutConfig } from "./layout/composables/layout";
import { applyThemeFromConfig } from "./lib/themePalettes.js";

export { applyThemeFromConfig } from "./lib/themePalettes.js";

export function applyThemeFromLayoutConfig() {
  applyThemeFromConfig(layoutConfig);
}
