1
1
mirror of https://github.com/primer/css.git synced 2024-11-27 17:52:45 +03:00

Merge pull request #813 from primer/purple-button-deprecation-warning

Add deprecation warning for .btn-purple
This commit is contained in:
Shawn Allen 2019-06-03 11:52:28 -07:00 committed by GitHub
commit e761a3e527
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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%)); }