Skip to content
This repository was archived by the owner on Jun 9, 2025. It is now read-only.
This repository was archived by the owner on Jun 9, 2025. It is now read-only.

Integrated SalesforceDesignSystemIcons and SalesforceSans? #8

@ghost

Description

@jandolina We really like the slick look of the new Salesforce UX icons and the SalesforceSans fonts, thank you!

Here's a feature request :

We would like to get the SalesforceSans-*.ttf font(s) embedded in new version(s) of SalesforceDesignSystemIcons.ttf so that we can render both icon glyphs and "regular" text using a single integrated UI component.

For example we would like to be able to specify a single button/label with the text "\uEBA4 Add", which would be the UtilityAdd icon glyph integrated with the " Add" text). Currently attemping this, and specifying SalesforceDesignSystemIcons.ttf will correctly show the icon glyph, but the text will be rendered in the system default font (tested on Android and Windows); and alternatively specifying SalesforceSans-*.ttf will result in the icon glyph not rendering but the text rendering properly in SalesforceSans.

So currently to achieve this integrated icon/text effect, we need to use two different buttons/labels specifying SalesforceDesignSystemIcons.ttf font family for the icon glyph and SalesforceSans-*.ttf for the regular text. This makes for unnecessarily verbose code when managing the composite UI.

This new feature would be nice to have for the SalesforceSans-*.ttf and SalesforceDesignSystemIcons.ttf fonts across all supported platforms (iOS, Android, Windows, etc).

Kind regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions