@kelvininc/ui-components
Version:
Kelvin UI Components
78 lines (76 loc) • 2.22 kB
CSS
@charset "UTF-8";
/** HEADINGS **/
/** LABELS **/
/** SPANS **/
/** PARAGRAPHS **/
/** TODO: CODE/CONSOLE **/
@property --rotation {
syntax: "<angle>";
initial-value: 0deg;
inherits: false;
}
@keyframes rotate-border {
to {
--rotation: 360deg;
}
}
/**
* Design Tokens - Auto-generated by Style Dictionary
* Do not edit manually - run `pnpm tokens:build` to regenerate
*/
kv-dropdown-base:not(.hydrated) > [slot=list] {
display: none;
}
:host {
/**
* @prop --help-text-default-color: Help text color when state is default.
* @prop --help-text-error-color: Help text color when state is invalid.
* @prop --help-text-top-spacing: Help text top spacing.
* @prop --help-text-bottom-spacing: Help text bottom spacing.
* @prop --help-text-right-spacing: Help text right spacing.
* @prop --help-text-left-spacing: Help text left spacing.
*/
--help-text-default-color: var(--text-surface-neutral-tertiary);
--help-text-error-color: var(--text-container-status-danger-default);
--help-text-top-spacing: var(--spacing-xs);
--help-text-bottom-spacing: var(--spacing-none);
--help-text-right-spacing: var(--spacing-none);
--help-text-left-spacing: var(--spacing-md);
display: flex;
}
.help-text-container {
display: inline-flex;
flex-flow: wrap;
flex: 1;
overflow: hidden;
padding: var(--help-text-top-spacing) var(--help-text-right-spacing) var(--help-text-bottom-spacing) var(--help-text-left-spacing);
color: var(--help-text-default-color);
}
.help-text-container .help-text {
font-family: Proxima Nova;
font-weight: 400;
font-size: 12px;
line-height: 16px;
letter-spacing: 0;
margin-right: var(--spacing-xs);
color: var(--help-text-default-color);
}
.help-text-container span + span::before {
content: "•";
padding-right: var(--spacing-xs);
}
.help-text-container kv-icon {
--icon-color: var(--help-text-default-color);
align-items: center;
margin-right: var(--spacing-xs);
float: left;
}
.help-text-container.invalid {
color: var(--help-text-error-color);
}
.help-text-container.invalid .help-text {
color: var(--help-text-error-color);
}
.help-text-container.invalid kv-icon {
--icon-color: var(--help-text-error-color);
}