Skip to content

Add background variable support for multiple components #13128

@matgalla

Description

@matgalla

monday.com sync: #18187362329

Check existing issues

Description

Some components would benefit from component tokens to define background properties (not just for color). Background variables can be used to change properties like gradients, images, patterns, etc.

These variables would not replace existing background-color variables.

Acceptance Criteria

Button:

  • --calcite-button-background added

Card:

  • --calcite-card-background added

Scrim:

  • --calcite-scrim-background updated to accept all background values
  • --calcite-scrim-background-color added

Table:

  • --calcite-table-selection-cell-background added
  • --calcite-table-number-cell-background added

Relevant Info

Which Component

Button, Card, Scrim, Table

Example Use Case

No response

Priority impact

impact - p2 - want for an upcoming milestone

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

Calcite (design)

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 - newNew issues that need assignment.Calcite (design)Issues logged by Calcite designers.c-buttonIssues that pertain to the calcite-button componentc-cardIssues that pertain to the calcite-card componentc-scrimIssues that pertain to the calcite-scrim componentc-tableIssues that pertain to the calcite-table and related componentsdesign-tokensIssues requiring design tokens.enhancementIssues tied to a new feature or request.impact - p2 - want for an upcoming milestoneUser set priority impact status of p2 - want for an upcoming milestoneneeds triagePlanning workflow - pending design/dev review.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions