Skip to content

feat(material/theming): Add palette values to system variables #30070

Open

Description

@amysorto

Feature Description

Prior to the theme mixin you could access palette tone colors from the theme object. It would be useful to add this as system variables for parity. Apps that use the theme mixin don't have a theme object anymore and may still want to access those colors.

Use Case

No response

Activity

  1. added
    feature
    needs triage
    P4
    and removed
    needs triage
    on Nov 22, 2024
  2. Mikastark commented on Nov 27, 2024

    @Mikastark

    IMO, it could be nice to also have typography variables such like (not just colors) :

    --mat-sys-plain-family: Roboto;
    --mat-sys-brand-family: Roboto;
    --mat-sys-bold-weight: 700;
    --mat-sys-medium-weight: 500;
    --mat-sys-regular-weight: 400;
  3. msrumon commented on Nov 29, 2024

    @msrumon

    This should be among the top-priority todos

  4. self-assigned this
    on Jan 14, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P4area: themingfeature

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions