How to set the color of a v-icon which is disabled without a gnarly css selector and !important?

It is easy to set the color of a v-icon simply by setting the color prop:

<v-icon color="red">home</v-icon>

However I’m having problems formatting disabled icons. There are no properties of v-icons specific to disabled states, so it seems we must resort to css selectors. For example, in order to set the opacity it is possible to use a css selector:

:disabled { opacity: 40%; }

However, to override the color of an icon it seems I have to resort to something extremely specific like and use !important

.application--light .icon.icon--disabled { color: blue!important; }

Take a look at an example. Is there some way to set the color of a disabled v-icon with a property of the v-icon, or with a simpler selector and without using !important?

137 thoughts on “How to set the color of a v-icon which is disabled without a gnarly css selector and !important?”

  1. [url=https://fasttadalafil.com/]online cialis coupon[/url] [url=https://pharmacyzeus.com/]pharmacy online shopping usa[/url] [url=https://pharmacylewis.com/]canadian pharmacy 24h com safe[/url] [url=https://viagrahtab.com/]generic viagra for sale in canada[/url] [url=https://cialisstep.com/]cialis india online pharmacy[/url]

    Reply
  2. [url=https://viagrahtab.com/]over counter viagra[/url] [url=https://buyrpills.com/]doxycycline 100mg coupon[/url] [url=https://tadalafillowprice.com/]cialis cost per pill[/url] [url=https://fasttadalafil.com/]where to buy cialis online uk[/url] [url=https://viagrafmed.com/]viagra 150 mg pills[/url]

    Reply
  3. [url=http://sildenafilfp.com/]viagra for sale mexico[/url] [url=http://fasttadalafil.com/]generic cialis online india[/url] [url=http://viagraoft.com/]indian generic viagra[/url]

    Reply

Leave a Comment