mirror of
https://github.com/QuasarApp/Hanoi-Towers.git
synced 2025-04-30 03:34:33 +00:00
34 lines
481 B
JavaScript
34 lines
481 B
JavaScript
|
|
||
|
function dp(pixelDensity,x) {
|
||
|
return (pixelDensity * 25.4 < 120) ? x : x*(pixelDensity * 25.4/160);
|
||
|
}
|
||
|
|
||
|
function baseColor() {
|
||
|
return "#303030"
|
||
|
}
|
||
|
|
||
|
function primaryColor() {
|
||
|
return "#acacac"
|
||
|
}
|
||
|
|
||
|
function textColor() {
|
||
|
return "#a6aaa2"
|
||
|
}
|
||
|
|
||
|
function textAltColor() {
|
||
|
return "#434f4d"
|
||
|
}
|
||
|
|
||
|
function backgroundColor() {
|
||
|
return "#444444"
|
||
|
}
|
||
|
|
||
|
function backgroundAltColor() {
|
||
|
return "#333333"
|
||
|
}
|
||
|
|
||
|
function baseFontSize(pixelDensity){
|
||
|
return dp(pixelDensity, 14);
|
||
|
}
|
||
|
|