Skip to content

[Navigation User] Add avatar background color token #12371

@geospatialem

Description

@geospatialem

Check existing issues

Description

Offer a new component token for navigation-user where the avatar's background color can be manipulated, similar to its --calcite-avatar-background-color token.

cc @matgalla

Acceptance Criteria

  • Pass the --calcite-avatar-background-color token to the navigation-user via a new token, navigation-user-avatar-background-color (or similar)
  • Ensure the navigation-user-avatar-background-color (or similar) supersedes the --calcite-avatar-background-color token

Relevant Info

Surfaced on Esri Community on Friday, June 13

Has a workaround with the --calcite-avatar-background-color token with https://codepen.io/geospatialem/pen/ByNqVOq:

calcite-navigation-user {
  --calcite-avatar-background-color: orange;
}

Which Component

  • navigation-user
  • avatar (inheritance)

Example Use Case

https://codepen.io/geospatialem/pen/ByNqVOq

Priority impact

impact - p3 - not time sensitive

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 (dev)

Metadata

Metadata

Assignees

No one assigned

    Labels

    0 - newNew issues that need assignment.Calcite (dev)Issues logged by Calcite developers.design-tokensIssues requiring design tokens.enhancementIssues tied to a new feature or request.estimate - 2Small fix or update, may require updates to tests.has workaroundIssues have a workaround available in the meantime.impact - p3 - not time sensitiveUser set priority impact status of p3 - not time sensitiveneeds milestonePlanning workflow - pending milestone assignment, has priority and/or estimate.p - lowIssue is non core or affecting less that 10% of people using the library

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions