@nebular/theme
Version:
@nebular/theme
40 lines (33 loc) • 1.06 kB
JavaScript
"use strict";
/*
* @license
* Copyright Akveo. All Rights Reserved.
* Licensed under the MIT License. See License.txt in the project root for license information.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.stylesContent = void 0;
exports.createThemeContent = createThemeContent;
function createThemeContent(themeName) {
return ` '/theme/styles/theming';
'/theme/styles/theming' as *;
'/theme/styles/themes/${themeName}';
$nb-themes: nb-register-theme((
// add your variables here like:
// color-primary-100: #f2f6ff,
// color-primary-200: #d9e4ff,
// color-primary-300: #a6c1ff,
// color-primary-400: #598bff,
// color-primary-500: #3366ff,
// color-primary-600: #274bdb,
// color-primary-700: #1a34b8,
// color-primary-800: #102694,
// color-primary-900: #091c7a,
), ${themeName}, ${themeName});
`;
}
exports.stylesContent = ` 'themes' as *;
'/theme/styles/globals' as *;
nb-install() {
nb-theme-global();
};
`;