Skip to content

Expose veda-ui theme variables for customization in consuming apps #1343

Open
@dzole0311

Description

Context

The veda-ui components currently rely on a few custom theme variables defined in the _veda-ui-theme-vars file. It may be useful to expose these variables through the veda-ui library so that they can be remapped by the instance. One potential approach is to adopt a similar mechanism to how uswds-theme variables are exposed and used within the consuming applications. This approach would allow the consuming app to remap them like this:

@use 'veda-ui-theme-vars' as * with (
  $veda-uswds-basefont-sans: ...,
  $veda-uswds-fontsize-3xs: ...,
)

Acceptance Criteria

  • Given when then
  • Given when then

Related Tickets

[If applicable, link any tickets that are related]

Metadata

Assignees

No one assigned

    Labels

    P3Place in the backlog so we don't lose trackveda v2VEDA Refactor Epic Work

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions