//
// Component: Icon
//
// ========================================================================


// Variables
// ========================================================================

@icon-link-color:                               @global-emphasis-color;
@icon-link-hover-color:                         fade(@icon-link-color, 50%);
@icon-link-active-color:                        fade(@icon-link-color, 80%);

@icon-button-background:                        @global-muted-background;
@icon-button-color:                             @global-color;

@icon-button-hover-background:                  @global-background;
@icon-button-hover-color:                       @global-emphasis-color;

@icon-button-active-background:                 darken(@global-muted-background, 3%);
@icon-button-active-color:                      fade(@global-emphasis-color, 70%);


// Style modifiers
// ========================================================================

//
// Link
//

.hook-icon-link() {}

.hook-icon-link-hover() {}

.hook-icon-link-active() {}

//
// Button
//

.hook-icon-button() {}

.hook-icon-button-hover() {}

.hook-icon-button-active() {}


// Miscellaneous
// ========================================================================

.hook-icon-misc() {}


// Inverse
// ========================================================================

@inverse-icon-link-color:                      @inverse-global-emphasis-color;
@inverse-icon-link-hover-color:                @inverse-global-color;
@inverse-icon-link-active-color:               @inverse-global-muted-color;

@inverse-icon-button-background:               @inverse-global-muted-background;
@inverse-icon-button-color:                    @inverse-global-emphasis-color;
@inverse-icon-button-hover-background:         transparent;
@inverse-icon-button-hover-color:              @inverse-global-color;
@inverse-icon-button-active-background:        @inverse-global-muted-background;
@inverse-icon-button-active-color:             @inverse-global-emphasis-color;

.hook-inverse-icon-link() {}
.hook-inverse-icon-link-hover() {}
.hook-inverse-icon-link-active() {}

.hook-inverse-icon-button() {}
.hook-inverse-icon-button-hover() {}
.hook-inverse-icon-button-active() {}
