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

[Frontend] Theme System Architecture Refactor & High-Contrast Mode

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

Maintainer thường phản hồi trong vòng 7 ngày

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

Từ ngày 29/9/2026.

  • #1595 của @Hollujay — đang mở

Đánh giá

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

Mô tả

accessibility css drips-wave frontend Stellar Wave theme

Overview & Background

To provide an exceptional visual experience and meet strict WCAG AAA accessibility standards, the frontend theme engine needs a clean architecture refactor using semantic CSS variables, zero flash of unstyled theme (FOUT), and an official High-Contrast Mode for visually impaired users.


Technical Specification & Architecture

  1. Semantic CSS Token System:
    • Refactor frontend/src/app/globals.css with unified semantic design tokens:
      • --color-bg-canvas, --color-bg-surface, --color-border-subtle
      • --color-text-primary, --color-text-secondary, --color-text-muted
      • --color-brand-primary, --color-brand-accent
  2. High-Contrast Theme:
    • Add data-theme="high-contrast" with bold black/white borders, yellow focus rings, and contrast ratios $> 7:1$.
  3. Theme Selector UI:
    • Update ModeToggle.tsx to support: System, Light, Dark, and High Contrast.

Target Files

  • frontend/src/app/globals.css
  • frontend/src/components/ModeToggle.tsx
  • frontend/src/context/theme-provider.tsx

Acceptance Criteria

  • Seamless theme switching with zero page flash on reload.
  • High-contrast mode achieves $> 7:1$ contrast ratio across all UI elements.
  • Clean semantic CSS variable structure.
Ngôn ngữ chính
TypeScript
Star
18
Fork
250
Merge trung bình
5 ngày 6 giờ
Pull request đã merge (30 ngày)
83

Chuẩn bị môi trường

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 LabsCrypt/flowfi

Tất cả issue của LabsCrypt/flowfi

Issue tương tự

Thêm issue về TypeScript

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.