Skip to content

TBC: Spike: Can we use CSS variables by importing the files into React #558

Open
@danhalson

Description

@danhalson

In projects we're able to import css variables (exported from the scss: https://github.com/RaspberryPiFoundation/projects-ui/blob/issue-2083-Redesign_and_rebuild_homepage/src/assets/stylesheets/rpf_design_system/_colours.scss), check if this possible on editor without any webpack tweaks, and make any changes to existing files to support it (i.e. add the exports).

This is only relevant for new variables if we decide to do #555 and #556 and #557

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions