question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Feature request] Support Fontawesome Duotone icons

See original GitHub issue

Environment

Vuetify Version: 2.0.11 Vue Version: 2.6.10 Browsers: Chrome 76.0.3809.100, Mozilla Firefox OS: Windows 10, iOS, Mac OSX, Linux, Android, Windows

Steps to reproduce

Open the Codepen link.

Expected Behavior

The correct icon (the one with the fad prefix) should get rendered, and it should inherit the CSS custom properties (i.e. --fa-primary-color and --fa-secondary-color) from v-icon.

(Actually, it would be best if the primary color and secondary color could be specified in opts when Vuetify is being bootstrapped.)

Actual Behavior

You’ll see that the duotone icon works when used directly inside a regular HTML element, but the icon itself is not even recognized when used inside v-icon, much less colored correctly.

Reproduction Link

https://codepen.io/enraged_camel/pen/jONLbGN

Other comments

More info on Duotone icons: https://fontawesome.com/how-to-use/on-the-web/styling/duotone-icons

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:6
  • Comments:20 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
KaelWDcommented, Feb 17, 2021

Ah ok, definitely no problems there then 👍

2reactions
KaelWDcommented, Feb 17, 2021

TIL. If you’ve been using that with vue already then yeah dutone should work in v3.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Duotone Icons | Font Awesome Docs
This is a Pro feature so you'll need to grab a Pro-level plan to use it. You'll also get thousands more icons, access...
Read more >
Duotone Icons | Font Awesome Docs
In a desktop design application that supports working with .svg files, open any of the individual duotone SVG icons found in /svgs/duotone ....
Read more >
Duotones on the Desktop | Font Awesome Docs
Easiest way to add duotone icons - Just set the font to Font Awesome 6 Duotone and type the icon name. Lets you...
Read more >
Duotone Icons | Font Awesome Docs
Duotone icons use the same syntax Font Awesome icons and can be ... icon is set to 40% opacity (via an opacity 0.4;...
Read more >
Code Pull Request Duotone Icon | Font Awesome
Code Pull Request icon in the Duotone style. Go big and add a pop of color. Available now in Font Awesome 6 Pro....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found