mirror of
https://github.com/QuasarApp/Hanoi-Towers.git
synced 2025-04-29 03:04:32 +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 "#eeeeee"
|
|
}
|
|
|
|
function backgroundAltColor() {
|
|
return "#aaaaaa"
|
|
}
|
|
|
|
function baseFontSize(pixelDensity){
|
|
return dp(pixelDensity, 14);
|
|
}
|
|
|