UNPKG

devextreme

Version:

HTML5 JavaScript Component Suite for Responsive Web Development

137 lines (136 loc) 3.11 kB
/** * DevExtreme (viz/core/themes/win.js) * Version: 18.1.3 * Build date: Tue May 15 2018 * * Copyright (c) 2012 - 2018 Developer Express Inc. ALL RIGHTS RESERVED * Read about DevExtreme licensing here: https://js.devexpress.com/Licensing/ */ "use strict"; var themeModule = require("../../themes"), registerTheme = themeModule.registerTheme, registerThemeSchemeAlias = themeModule.registerThemeSchemeAlias, BLACK = "#000000", WHITE = "#ffffff", WIN10_WHITE = "win10.white", WIN10_BLACK = "win10.black", WIN8_WHITE = "win8.white", WIN8_BLACK = "win8.black"; registerTheme({ name: WIN10_BLACK, backgroundColor: BLACK, primaryTitleColor: WHITE, secondaryTitleColor: "#d8d8d8", axisColor: "#4c4c4c", axisLabelColor: WHITE, title: { font: { color: WHITE } }, legend: { font: { color: WHITE } }, tooltip: { color: BLACK, font: { color: WHITE } }, "chart:common": { commonSeriesSettings: { label: { border: { color: "#454545" } } } }, chart: { commonPaneSettings: { border: { color: "#454545" } } }, barGauge: { backgroundColor: "#2b3036" }, rangeSelector: { scale: { tick: { color: WHITE, opacity: .23 }, minorTick: { color: WHITE, opacity: .07 } } }, treeMap: { group: { label: { font: { color: "#d8d8d8" } } } } }, "generic.dark"); registerTheme({ name: WIN10_WHITE, backgroundColor: WHITE, primaryTitleColor: BLACK, secondaryTitleColor: "#767676", axisColor: "#ececec", axisLabelColor: BLACK, title: { font: { color: BLACK } }, legend: { font: { color: BLACK } }, tooltip: { font: { color: BLACK } }, rangeSelector: { scale: { tick: { color: BLACK, opacity: .1 }, minorTick: { color: BLACK, opacity: .03 } } }, treeMap: { group: { label: { font: { color: "#767676" } } } } }, "generic.light"); registerThemeSchemeAlias("win10.dark", WIN10_BLACK); registerThemeSchemeAlias("win10.light", WIN10_WHITE); registerTheme({ name: WIN8_BLACK }, WIN10_BLACK); registerTheme({ name: WIN8_WHITE }, WIN10_WHITE); registerThemeSchemeAlias("win8.dark", WIN8_BLACK); registerThemeSchemeAlias("win8.light", WIN8_WHITE);