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

Add Typography Props Mixin

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

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

Từ ngày 28/10/2018.

Đánh giá

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

Mô tả

enhancement

When a component is primarily text ( i.e title, subtitle components ) it should allow typography classes to be passed as a boolean.

Example:

This would add the h5 class.

<CardHeader h5 />

Since this would apply to several components a mixin can be created to avoid repetition.

Things to include:

  • Headers i.e h1
  • Colors i.e text-gray
  • Positioning i.e text-center

https://picturepan2.github.io/spectre/elements.html#typography

https://picturepan2.github.io/spectre/utilities.html

Ngôn ngữ chính
JavaScript
Star
7
Fork
6
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 CodeDraken/spectre-react

Tất cả issue của CodeDraken/spectre-react

Issue tương tự

Thêm issue về JavaScript

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.