Jump to content
View in the app

A better way to browse. Learn more.

Invision Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

SVG Footer Icons - Mobile Footer Menu Bar - Color Problem

Featured Replies

Hi all,

I managed to create a new icon for the mobile footer menu bar, but it does not work in dark mode.

I created my image and copied the colour from an existing footer image in light mode. Do I need another image or is there something I am missing and the colour somehow changes in a single image?

Either way, what's the correct approach?

  • Author

Hi @Moestuin

I just finished this. In the end, I actually just needed to add:

stroke="currentColor" fill="currentColor" to the path attribute.

I did not need two images. I can't pretend to fully understand it.

Good that you got it working. From the web;

Using stroke="currentColor" and fill="currentColor" in an SVG means that the stroke (outline) and fill (interior) of the SVG will inherit the current text color (usually defined by CSS).

Why use currentColor?

  • It allows SVGs to automatically match the surrounding text or element color without hardcoding a specific color.

  • This is especially useful for theming and dark mode support.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.