Slick Theme - nodebb-plugin-recent-cards text color
whitts last edited by whitts
So i have been messing with the recent cards plugin to try and get it to fit more with the Slick theme style:
I think i have it where i want it but i was wondering if there was away to change the text color (the first two lines) so that it inverts from black to white if someone chooses the dark theme?
I figured id have to grab the user profile data and see what theme they have set and then do an either or but was thinking there should be something simpler - the actual background of the cards is transparent (opacity 0) so i cant compare it to that.
I think the dark theme sets a class on either the html or body element. You should be able to use that.
@whitts Slick theme sets the class
skin-darkon the body element when dark skin is used.
whitts last edited by