Tag Dataset for color theme in vision

Hi everyone,

I'm looking for best practices regarding color management in my Vision application.

Currently, I use two datasets with the same number of rows:

  • Column 1: ID
  • Column 2: Description
  • Column 3: Color

I then use a Vision Client tag with a dropdown menu, allowing the user to select their preferred theme. This selection is used to bind foreground, background, and other color settings throughout the application.

Do you think this approach is efficient, or is it considered bad practice? Would it be better to create separate pages for light and dark themes instead?

Best regards,
Gabriel

I would consider this a good approach, so long as you are consistent throughout the application with how you bind the component colors, there should be no need to create separate pages per theme.

1 Like