mirror of
https://github.com/primer/css.git
synced 2024-11-24 05:06:04 +03:00
Merge pull request #813 from primer/purple-button-deprecation-warning
Add deprecation warning for .btn-purple
This commit is contained in:
commit
e761a3e527
@ -60,6 +60,7 @@
|
||||
|
||||
.btn { @include btn-solid($text-gray-dark, $gray-000, darken($gray-100, 2%)); }
|
||||
.btn-primary { @include btn-solid($text-white, $green-400, $green-500); }
|
||||
@warn ".btn-purple will be removed in 13.0.0. Please don't make buttons purple.";
|
||||
.btn-purple { @include btn-solid($text-white, lighten($purple-500, 5%), darken($purple-500, 5%)); }
|
||||
.btn-blue { @include btn-solid($text-white, lighten($blue-500, 8%), darken($blue-500, 2%)); }
|
||||
.btn-danger { @include btn-inverse($red-600, $gray-000, darken($gray-100, 2%)); }
|
||||
|
Loading…
Reference in New Issue
Block a user