openblocks-dev / openblocks

🔥 🔥 🔥 The Open Source Retool Alternative
https://cloud.openblocks.dev
GNU Affero General Public License v3.0
5.88k stars 360 forks source link

[Feature request] Access to the current theme data #310

Open smkthat opened 1 year ago

smkthat commented 1 year ago

The 1.1.7 update with switching themes was very useful, but I would like to add the ability to get data (colores, chart prefs and possibly other parameters) from the current theme.

In my opinion, this will greatly facilitate the customization of styles, because styles will change depending on the chosen theme.

Снимок экрана 2023-03-14 в 10 35 49

Also, in addition to the above, it would be cool to add a couple of secondary colors in the theme color scheme parameters (for example, as in Bootstrap [primary, secondary, info, ...]), and also provide access to them. Something like this theme.primary => #0092D9.

Снимок экрана 2023-03-14 в 10 37 35

Best wishes to your team! 💜

lmx1117 commented 1 year ago

Great ideas👍👍👍, we will improve it gradually.