smart-webcomponents
Version:
Web Components & Custom Elements for Professional Web Applications
15 lines (14 loc) • 855 B
CSS
body[theme="red"], .smart-element[theme="red"], .smart-ui-component[theme="red"] {
--smart-primary-rgb: 221, 44, 0;
--smart-primary: rgba(var(--smart-primary-rgb), 1);
--smart-disabled: #535353; /* The theme primary color in disabled state. */
--smart-disabled-color: #fff; /* Text color on top of a theme background in disabled state */
--smart-editor-selection: var(--smart-primary);
--smart-editor-selection-color: var(--smart-primary-color);
--smart-ui-state-active: var(--smart-primary);
--smart-ui-state-color-active: var(--smart-primary-color);
--smart-ui-state-border-active: var(--smart-primary);
--smart-ui-state-selected: rgba(var(--smart-primary-rgb), .1);
--smart-ui-state-color-selected: var(--smart-primary);
--smart-ui-state-border-selected: rgba(var(--smart-primary-rgb), .1);
}