'use strict';

var env = require('./core/env.js');

var dpr = 1;
if (env.default.hasGlobalWindow) {
    dpr = Math.max(window.devicePixelRatio
        || (window.screen && window.screen.deviceXDPI / window.screen.logicalXDPI)
        || 1, 1);
}
var debugMode = 0;
var devicePixelRatio = dpr;
var DARK_MODE_THRESHOLD = 0.4;
var DARK_LABEL_COLOR = '#333';
var LIGHT_LABEL_COLOR = '#ccc';
var LIGHTER_LABEL_COLOR = '#eee';

exports.DARK_LABEL_COLOR = DARK_LABEL_COLOR;
exports.DARK_MODE_THRESHOLD = DARK_MODE_THRESHOLD;
exports.LIGHTER_LABEL_COLOR = LIGHTER_LABEL_COLOR;
exports.LIGHT_LABEL_COLOR = LIGHT_LABEL_COLOR;
exports.debugMode = debugMode;
exports.devicePixelRatio = devicePixelRatio;
