-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
Feature Request
Description of Problem:
Code Sandbox: https://codesandbox.io/p/sandbox/perspective-custom-theme-bug-6y24tl
I want to create custom CSS themes for perspective viewer that are accessible from the drop down menu. In particular, when applying a custom CSS theme to the viewer, I want the top panel column labels ("Group By", "Split By", "Order By", "Where") to render so I can implement a usable custom theme.
The custom theme in the example was created as a CSS file that is loaded into the viewer via viewer.resetThemes, and can be selected from the dropdown menu by choosing the option "Style1". When the custom theme is applied, the label tags of these items exist in the HTML body, however the labels no longer have the "::before" pseudo class. The text does not show up in the viewer.
Potential Solutions:
I would like to create custom themes wherein I modify the exposed CSS variables (to toggle fields such as icon color, chart series colors, and fonts) and offer them in the dropdown alongside native Perspective themes.