Open SalahAdDin opened 2 years ago
The label's should have a color based on the current theme:
The label's should have a color based on the current theme:
It should, but it is not working, it seems this feature was not fully implemented.
Yeah I know. I meant that the label needs a dynamic color value; something like <label style="color: var(--color-based-on-current-theme)" >
. However, I can't seem to find a way to get the current theme, and Strapi itself doesn't use css variables for this.
I checked other plugins sources, and they were using Strapi design system (https://design-system.strapi.io/) for components, so the colors and design matched the admin area perfectly.
It seems this plugin requires full refactoring.
I checked other plugins sources, and they were using Strapi design system (https://design-system.strapi.io/) for components, so the colors and design matched the admin area perfectly.
import { Checkbox } from "@strapi/design-system";
<Checkbox
checked={relations}
onValueChange={(e) => setRelations(e.target.checked)}
>
relations
<Legend color="#ff6400" />
</Checkbox>
I checked other plugin sources, and they were using the Strapi design system (https://design-system.strapi.io/) for components, so the colors and design matched the admin area perfectly.
import { Checkbox } from "@strapi/design-system";
<Checkbox checked={relations} onValueChange={(e) => setRelations(e.target.checked)} > relations <Legend color="#ff6400" /> </Checkbox>
Could you make a pull request?
Hello,
Thank you very much for this plugin, it is pretty cool for showing it to clients.
But we have a problem with it:
As you can see, in the dark theme, we can see the options, cause they are still in black.
How can we solve it?
Thank you!