Spectre: could "components - bar" offer different colors?

Created on 28 May 2018  路  1Comment  路  Source: picturepan2/spectre

i noticed there is a "meters" but the bar with small style is really simple and clear to use, so how can i change the color of it?

the question may be silly, thank you for the great work!

question

Most helpful comment

.bar .bar-item {
    background: {{ put your color code here e.g #555 }};
}
.bar-slider .bar-slider-btn {
    background: {{ put your color code here e.g #555 }};
}

But

The best way is to change the $primary_color code in _variables.sass and use a SASS Compiler like KOALA to compile it to CSS.

That way the UI Color is UNIFORM.

>All comments

.bar .bar-item {
    background: {{ put your color code here e.g #555 }};
}
.bar-slider .bar-slider-btn {
    background: {{ put your color code here e.g #555 }};
}

But

The best way is to change the $primary_color code in _variables.sass and use a SASS Compiler like KOALA to compile it to CSS.

That way the UI Color is UNIFORM.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

alighasemzadeh picture alighasemzadeh  路  3Comments

san-kumar picture san-kumar  路  5Comments

kwstaskara picture kwstaskara  路  3Comments

zibbizor picture zibbizor  路  4Comments

mp4096 picture mp4096  路  3Comments