Relume Community Icon
Relume Community
  • 🏠Home
  • 📅Events

  • 🔵Announcements
  • 🔵General
  • 🔵Getting Started
  • 🔵Issues
  • 🔵Showcase

Powered by Tightknit
General
General

How to Style Text and Icons on a Dark Background

Avatar of Philip W.Philip W.
·

Perhaps a smaller question but, when you have a list (icons and text) on a dark background. Which element(s) do you target to color both the text and icon in a light color?

2 comments

  • Avatar of Philip W.
    Philip W.
    ·

    Right now I’m just using the text-color class on both the embed html (for the icon) and the <p> element.

  • Avatar of Emily M.
    Emily M.
    ·

    Can you change the text-color on whichever div contains both of those? I would try that, thinking it would affect both of them if no more specific properties have been set

    👏1
    🙌1