Skip to content

Support adding theme colors #1845

@chalin

Description

@chalin

Discussed in #1842

Originally posted by @rkranendonk February 7, 2024

I worked out how to redefine one of the existing colors by adding a line like $orange: #fe5400;.
But how can I define a new color? I tried adding $newcolor: #E4C1F9; to _variables_project.scss, but if I then use that in _index.md, e.g. {{% blocks/lead color="newcolor" %}} it just defaults to white/none.
What step am I missing here?

Related:

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions