stkjj / durchblickappconnector

0 stars 0 forks source link

better color picker #3

Open stkjj opened 2 months ago

stkjj commented 2 months ago

This: Bildschirmfoto 2024-07-15 um 13 13 56 instead of this: Bildschirmfoto 2024-07-15 um 13 15 01

stkjj commented 1 month ago

Idee @Drivingralle:

Variablen mit den --wp--preset--color- (WP Default) bzw. --ast-global-color- (Astra Theme)

identifizieren, auslesen und den Swatch selbst bauen.

WP

-> wp-includes/style-engine/class-wp-style-engine.php

Astra

-> astra/inc/class-astra-global-palette.php

letztendlich Zugriff auf theme.json um den Swatch zu bauen