akveo / akveo/nebular

NbCalendarComponent: allow month button background to be choosen

Đang mở
#1,317 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
enhancement module:components P4: nice to have
Ngôn ngữ chính
TypeScript
Star
8.1k
Fork
1.5k
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Issue type

**I'm submitting a ...** (check one with "x")

* [ ] bug report
* [x] feature request

### Issue description

**Current behavior:**

Color of month button in nb-calendar cannot be customized. I currently have to override _calendar-kit.theme.scss CSS directive with an important flag.

**Expected behavior:**

Have a theme variable for this button's color.

**Steps to reproduce:**

**Related code:**

See https://github.com/akveo/nebular/blob/master/src/framework/theme/components/calendar-kit/_calendar-kit.theme.scss

Here is my current CSS code (dirty fix):
```
nb-calendar-navigation button[nbButton] {
background-color: nb-theme(color-primary) !important;
}
```

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.