Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

Color Revolution

Đang mở
#100 0 bình luận 0 reaction 1 người được giao Xem trên GitHub

@dz4k đang làm issue này rồi.

Từ ngày 12/6/2025.

Đánh giá

Issue này chưa được đánh giá.

Mô tả

enhancement visual

All default colors should be generated from the accent color using relative color syntax (lch(from)).

For light and dark themes, use the light-dark() function instead of media queries.

Headline feature for V2.

Prototype implementation in feat-relative-colors git branch, needs aesthetic polishing and a detailed map of the API breakage.

Problem: CSS variables seem to be call-by-value rather than call-by-name, so if a child element changes accent color, the other colors don't change to match. The prototype works around this by setting the relative color variables on the * selector, recalculating them on every element. This works, but makes it fiddly to override the formulas and it's probably slow. Possible solution with @container style() queries?

Thought: The fact that a colorway can be defined from a single color effectively makes colorways obsolete. - Missing Roadmap

More discussion in the Color Revolution Discord thread

Ngôn ngữ chính
CSS
Star
798
Fork
29
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của bigskysoftware/missing

Tất cả issue của bigskysoftware/missing

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.