Skip to content

Multiple apps with different themes #2807

Answered by segunadebayo
benoitdeziel asked this question in Q&A
Discussion options

You must be logged in to vote

I recommend creating an API similar to Park UI, where you expose a function to configure the preset.

import { defineConfig } from '@pandacss/dev'
import { createPreset } from '@org/panda-preset'

const orgPreset = createPreset({ brand: 'brand-a', radius: 'round' })

export default defineConfig({
  // ...
  presets: ['@pandacss/preset-base', orgPreset],
})

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by benoitdeziel
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants