Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Rework color variants in order to reduce file size

Open
#993 1 comment 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
30/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
css

Research direction

Start by tracing Assembly's color variant build process and current color variant API, then measure how much CSS is generated for multi-color forms. Done means users can declare which form elements receive which colors while reducing the built file size without losing the supported variants.

Written by the indexing model from the issue text.

Description

2 dunkagroo estimate-2 estimate-4 icebox jira-sync-complete p2

Our best bet for cutting down on Assembly's built file size is to rework the color variant build process. We generate a lot of CSS in order to support multi-color forms. Most apps only need one checkbox color, but often apps will want a few different button colors. Can the color variant API be adjusted so user may declare which form elements they'd like to color which colors?

Dominant language
CSS
Stars
138
Forks
26
Avg merge
1d 7h
Merged PRs (30d)
3

Contributor guide

Open the contributing guide

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.

More from mapbox/assembly

All issues in mapbox/assembly

Similar issues

More Build System issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.