vaadin-lumo-stylespackage.user-colors.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of vaadin-webcomponents Show documentation
Show all versions of vaadin-webcomponents Show documentation
Mvnpm composite: Vaadin webcomponents
/**
* @license
* Copyright (c) 2017 - 2024 Vaadin Ltd.
* This program is available under Apache License Version 2.0, available at https://vaadin.com/license/
*/
import './version.js';
import { css } from '@vaadin/vaadin-themable-mixin/vaadin-themable-mixin.js';
import { addLumoGlobalStyles } from './global.js';
const userColors = css`
:host {
--vaadin-user-color-0: #df0b92;
--vaadin-user-color-1: #650acc;
--vaadin-user-color-2: #097faa;
--vaadin-user-color-3: #ad6200;
--vaadin-user-color-4: #bf16f3;
--vaadin-user-color-5: #084391;
--vaadin-user-color-6: #078836;
}
[theme~='dark'] {
--vaadin-user-color-0: #ff66c7;
--vaadin-user-color-1: #9d8aff;
--vaadin-user-color-2: #8aff66;
--vaadin-user-color-3: #ffbd66;
--vaadin-user-color-4: #dc6bff;
--vaadin-user-color-5: #66fffa;
--vaadin-user-color-6: #e6ff66;
}
`;
addLumoGlobalStyles('user-color-props', userColors);
export { userColors };