@gigamusic/config
v0.3.0
Published
Single source of truth for an artist site: branding, theme, social/streaming links, feature flags.
Readme
@gigamusic/config
Single source of truth for an artist site's branding, theme, social/streaming links, and feature flags.
Entry points
@gigamusic/config—defineConfig,themeToCSSVariables,defaultTheme, and types (server-safe).@gigamusic/config/client—ConfigProvider,useGigamusicConfig(carries"use client").
Example
// gigamusic.config.ts
import { defineConfig, defaultTheme } from "@gigamusic/config";
export default defineConfig({
branding: {
siteName: "My Artist",
siteDescription: "Music by My Artist.",
logoUrl: "/logo.png",
contactEmail: "[email protected]",
},
theme: defaultTheme,
});