less: adding contextual buttons.
This commit is contained in:
parent
9af7b3cc01
commit
b096381aaf
2 changed files with 15 additions and 0 deletions
|
|
@ -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); }
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Reference in a new issue