mozilla / mozilla/protocol

Expand theme variables

Open
#931 1 comment 0 reactions 1 assignee View on GitHub

@stephaniehobson is already working on this.

Since Mar 13, 2025.

Dominant language
SCSS
Stars
298
Forks
83
Avg merge
16h 48m
Merged PRs (30d)
1

Description

To support multiple brands, Protocol treats lots of property values as variables, mainly colors, fonts, and font sizes. But there are more things we can make themeable with some more variables. Main ones off the top of my head:

border-width
border-style
border-color
border-radius
box-shadow

And likely more I'm not thinking of at the moment. We could potentially assign theme variables for spacing (padding and margins) as well, but I feel like spacing is one place where we can enforce some cross-brand consistency.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.