adopted-ember-addons / adopted-ember-addons/ember-paper

Components cannot use hues outside defined color palette

Đang mở
#583 6 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement good first issue
Ngôn ngữ chính
JavaScript
Star
879
Fork
327
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Use Case:
I want to use {{#paper-toolbar}} with the color blue-grey with a hue of 200.

Actual Case:
Color options must be within the default color palette ($primary, $accent, etc) and cannot be overridden with a hue on a per-component level.

Expected Case:
Something such as

$header: "blue-grey";
$color-blue-grey: map-merge($color-blue-grey, ('default': '200'));
{{#paper-toolbar header=true}}

Or some other way to define custom colors for specific components.

If there is a way to do this, the documentation needs to be update because it is not clear how to do it.

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

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

Đánh giá

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

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.