@elastic/eui
Version:
Elastic UI Component Library
27 lines (25 loc) • 849 B
JavaScript
;
Object.defineProperty(exports, "__esModule", {
value: true
});
exports.isDefaultTheme = exports.EUI_THEMES = void 0;
var _theme = require("./amsterdam/theme");
/*
* Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one
* or more contributor license agreements. Licensed under the Elastic License
* 2.0 and the Server Side Public License, v 1; you may not use this file except
* in compliance with, at your election, the Elastic License 2.0 or the Server
* Side Public License, v 1.
*/
var EUI_THEMES = exports.EUI_THEMES = [{
text: 'Light',
value: 'light',
provider: _theme.EuiThemeAmsterdam
}, {
text: 'Dark',
value: 'dark',
provider: _theme.EuiThemeAmsterdam
}];
var isDefaultTheme = exports.isDefaultTheme = function isDefaultTheme(name) {
return name === _theme.AMSTERDAM_NAME_KEY;
};