Closed GiantCrocodile closed 4 years ago
You can easily create as many of your own themes as you need:
Custom Panel CSS:
.k-box[data-theme="warning"] {
background: #de935f;
border-left: 2px solid #d16464;
}
Blueprint:
fields:
info:
theme: warning
text: This is a custom warning info field.
Ah, that's a neat workaround @texnixe. Thank you for providing this information.
3.4 will have
positive negative notice info
✅
Right now we have three themes for info fields:
info
,positive
andnegative
. Usually you have a three color level: green, yellow, red. Thus we should have another option: yellow for a warning as it's usually not fine (green) but not bad enough to be critical (red).https://getkirby.com/docs/reference/panel/fields/info#example__themes