scooterpsu / Comixology_Ubooquity_2

38 stars 7 forks source link

Darkmode with CSS rules and colors #22

Closed CuddleBear92 closed 4 years ago

CuddleBear92 commented 4 years ago

Darkmode with CSS rules and colors.

With the default Theme, all the CSS of the publisher pages are kept as expected: image

One Issue with this, its all WHITE and bright.

I want a Theme variant that still loads these CSS colors and flares but is dark as a background. While that might crash with some CSS rules people have, thats up to them to correct if they use such a theme IMO.

Really love Dark-B but i miss the colors and flare you get from each specific publisher page. image

CuddleBear92 commented 4 years ago

Turning off the background colors of group in dark-b gives the result i want. Removing that line or the whole group sadly does not give me the result i want.

image

When i remove that line or group and hard refresh, the background color is still being filled the same way.

Im just tinkering here and are a bit out of my depth with all this css ruling.

I thought the pointed too code in the image was the code related to the background color being black, but its not seemingly.

scooterpsu commented 4 years ago

Yeah, the only way to make dark mode apply correctly everywhere was to include the "!important" bit, which overrides the base css rules.

Stuff added via folderInfo (ie. your folder.css) should be applied last. So adding "!important" to your css should make it work.

CuddleBear92 commented 4 years ago

That did it! thanks! <3