Skip to content

Condensed font option #3588

@kinghuang

Description

@kinghuang

Problem

I tend to have wide text data to show. In my custom Streamlit components, I have been using IBM Plex Sans Condensed in addition to the IBM Plex Sans that Streamlit uses as the sans serif theme font option. I would like to be able to use the condensed typeface as the font throughout my Streamlit reports.

Solution

MVP:

Add condensed as a Streamlit font option. This would correspond to IBM Plex Sans Condensed, the condensed version of the existing font that Streamlit uses.

The current options are here: https://github.com/streamlit/streamlit/blob/develop/frontend/src/theme/primitives/typography.ts

Possible additions:

None.

Preferred solution:

MVP, as is.

Additional context

None.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:frontendRelated to frontend aspectstype:enhancementRequests for feature enhancements or new features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions