• Login
    • Search
    • Categories
    • Recent
    • Tags
    • Users
    • Groups
    • Rules
    • Help

    Do more on the web, with a fast and secure browser!

    Download Opera browser with:

    • built-in ad blocker
    • battery saver
    • free VPN
    Download Opera

    Opera forced dark mode issues with svg fill color

    Opera GX
    2
    3
    1161
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • carlosjeurissen
      carlosjeurissen last edited by

      Opera forced dark mode doesn't consider the fill color of svg objects.

      Given this situation:

      <div>
      <svg>
      <path d="something"></path>
      </svg>
      </div>

      With this css:
      div {
      color: black;
      fill: currentColor;
      }

      Opera GX forced dark mode would change the color to white, however, the fill color would stay black somehow. This needs to be resolved as many websites rely on the fill color like that.

      Reply Quote 1
        1 Reply Last reply
      • david27
        david27 last edited by

        Use Dark Reader extension, it's quite better than Opera's built-in.

        Reply Quote 0
          1 Reply Last reply
        • carlosjeurissen
          carlosjeurissen last edited by

          @david27 Might be true, yet I'm requesting this as a developer. Since Opera forced dark mode breaks my and other sites.

          Personally I'm not using any forced dark mode solution.

          Reply Quote 1
            1 Reply Last reply
          • Locked by  leocg leocg 
          • First post
            Last post

          Computer browsers

          • Opera for Windows
          • Opera for Mac
          • Opera for Linux
          • Opera beta version
          • Opera USB

          Mobile browsers

          • Opera for Android
          • Opera Mini
          • Opera Touch
          • Opera for basic phones

          • Add-ons
          • Opera account
          • Wallpapers
          • Opera Ads

          • Help & support
          • Opera blogs
          • Opera forums
          • Dev.Opera

          • Security
          • Privacy
          • Cookies Policy
          • EULA
          • Terms of Service

          • About Opera
          • Press info
          • Jobs
          • Investors
          • Become a partner
          • Contact us

          Follow Opera

          • Opera - Facebook
          • Opera - Twitter
          • Opera - YouTube
          • Opera - LinkedIn
          • Opera - Instagram

          © Opera Software 1995-