framework/ember/app/styles/config.less

61 lines
2.2 KiB
Plaintext
Raw Normal View History

@fl-primary-color: #4d698e;
@fl-secondary-color: #edf2f7;
@fl-dark-body: false;
@fl-dark-hdr: false;
2014-12-20 14:26:46 +08:00
// ---------------------------------
// BODY
2014-12-20 14:26:46 +08:00
.define-body-variables(@fl-dark-body);
.define-body-variables(false) {
@fl-body-bg: #fff;
@fl-body-color: #444;
@fl-body-muted-color: hsv(hue(@fl-secondary-color), max(0, saturation(@fl-secondary-color) - 20%), 65%); // todo
@fl-body-muted-more-color: #bbb;
@fl-body-heading-color: @fl-body-color;
2014-12-20 14:26:46 +08:00
@fl-body-control-bg: @fl-secondary-color;
@fl-body-control-color: @fl-body-muted-color;
2014-12-20 14:26:46 +08:00
@fl-body-control-primary-bg: @fl-primary-color;
@fl-body-control-primary-color: #fff;
}
.define-body-variables(true) {
@fl-body-bg: #333;
@fl-body-color: #ccc;
@fl-body-muted-color: hsv(hue(@fl-secondary-color), max(0, saturation(@fl-secondary-color) - 20%), 65%); // todo
@fl-body-muted-more-color: #bbb;
@fl-body-heading-color: @fl-body-color;
@fl-body-control-bg: @fl-secondary-color;
@fl-body-control-color: @fl-body-muted-color;
@fl-body-control-primary-bg: @fl-primary-color;
@fl-body-control-primary-color: #fff;
}
2014-12-20 14:26:46 +08:00
// ---------------------------------
// HEADER
.define-hdr-variables(@fl-dark-hdr);
.define-hdr-variables(false) {
@fl-hdr-bg: @fl-body-bg;
@fl-hdr-color: @fl-primary-color;
@fl-hdr-muted-color: @fl-body-muted-color;
@fl-hdr-control-bg: @fl-body-control-bg;
@fl-hdr-control-color: @fl-body-control-color;
@fl-body-hero-bg: @fl-primary-color;
@fl-body-hero-color: #fff;
}
.define-hdr-variables(true) {
@fl-hdr-bg: @fl-primary-color;
@fl-hdr-color: #fff;
@fl-hdr-muted-color: fade(#fff, 50%);
@fl-hdr-control-bg: fade(#000, 10%);
@fl-hdr-control-color: #fff;
@fl-body-hero-bg: @fl-secondary-color;
@fl-body-hero-color: @fl-body-muted-color;
}