Skip to content
Discussion options

You must be logged in to vote

I built a solution to manage dynamic themes per client that relies on a combination of Pinia for centralization and Quasar's CSS Variables utilities for application.

This approach ensures that business rules and theme state are maintained in a single, accessible location.

1. Centralization with Pinia (Store)

I used a dedicated Pinia Store to concentrate:

  • Business Rules: The logic to identify the client (usually via URL) and determine which theme to load.
  • Theme State: Stores the active color scheme and the client's visual identity (currentBrand).

2. Client Schemas and Application

I keep all color schemes and visual identities defined per client. The moment a user accesses the system thro…

Replies: 1 comment

Comment options

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