bit9labs / sd-masonry

GNU Affero General Public License v3.0
11 stars 2 forks source link

No support for dark theme ... #5

Open schoenid opened 10 months ago

schoenid commented 10 months ago

Using dark theme, the metadata fields do not display data (at least it seems so ...): image

If marking a range, the text becomes visible: image

I think this is, because this extension does not use the themes color settings and does not set the font color by it self. So it uses the predefined font color from the theme, which is in this case, a bright gray ... and almost invisible on the gray field.

At least to define the font color as "black" (in css: .info-group * {color: black;}) could solve the problem.

schoenid commented 10 months ago

At least to define the font color as "black" (in css: .info-group * {color: black;}) could solve the problem.

You have to use .info-group * {color: black !important;} to overwite the gradio settings ... or to use the themes settings for .well and .info-label ...

schoenid commented 10 months ago

Oh, just wait, there is a close button "x".

So just use:

.modal-content * {
  color: black !important;
}

instaed.

schoenid commented 10 months ago

The result: image