Archived
1
0
Fork 0

less: adding contextual buttons.

This commit is contained in:
Henrik Hautakoski 2018-08-10 17:44:28 +02:00
parent 9af7b3cc01
commit b096381aaf
No known key found for this signature in database
GPG key ID: 839F3A7EAFAEAFAA
2 changed files with 15 additions and 0 deletions

View file

@ -45,6 +45,11 @@
.button-brand { .button-variant(@button-brand-color, @button-brand-bg); }
.button-light { .button-variant(@text-light-color, @button-bg-color, @button-hover-color); }
.button-info { .button-variant(@button-info-color, @button-info-bg); }
.button-success { .button-variant(@button-success-color, @button-success-bg); }
.button-warning { .button-variant(@button-warning-color, @button-warning-bg); }
.button-danger { .button-variant(@button-danger-color, @button-danger-bg); }
.button-github { .button-variant(@button-github-color, @button-github-bg); }
.button-gitlab { .button-variant(@button-gitlab-color, @button-gitlab-bg); }
.button-google { .button-variant(@button-google-color, @button-google-bg); }

View file

@ -104,6 +104,16 @@
@button-brand-color: white;
@button-brand-bg: @brand-color;
// State
@button-info-color: white;
@button-info-bg: @state-info-text;
@button-success-color: white;
@button-success-bg: @state-success-text;
@button-warning-color: white;
@button-warning-bg: @state-warning-text;
@button-danger-color: white;
@button-danger-bg: @state-danger-text;
// Company.
@button-google-color: white;