/* Copyright (C) 2016 NooBaa */

.text(@type, @weight, @size, @color) {
    font-family: @type;
    font-size: @size;
    font-weight: @weight;
    color: @color;
}

.text(@type, @weight, @size, @color, @hover-color) {
    .text(@type, @weight, @size, @color);

    &:hover {
        color: @hover-color;
    }
}

.text(@type, @weight, @size, @color, @hover-color, @active-color) {
    .text(@type, @weight, @size, @color, @hover-color);

    &:active {
        color: @active-color;
    }
}

/*Take an Hex value and break it to it RGB channels*/
.rgbChannels(@hex) {
    @result: red(@hex), green(@hex), blue(@hex);
}
