@kelvininc/ui-components
Version:
Kelvin UI Components
55 lines (51 loc) • 1.19 kB
CSS
/** HEADINGS **/
/** LABELS **/
/** SPANS **/
/** PARAGRAPHS **/
/** CODE/CONSOLE **/
@property --rotation {
syntax: "<angle>";
initial-value: 0deg;
inherits: false;
}
@keyframes rotate-border {
to {
--rotation: 360deg;
}
}
:host {
/**
* @prop --button-icon-width: Button's icon width.
* @prop --button-icon-height: Button's icon height.
*/
--button-icon-width: 16px;
--button-icon-height: 16px;
}
kv-icon {
--icon-width: var(--button-icon-width);
--icon-height: var(--button-icon-width);
margin-right: var(--kv-spacing-2x, 8px);
}
.action-button-text {
white-space: nowrap;
}
kv-action-button[size=large] .action-button-text {
font-family: var(--kv-primary-font, "proxima-nova", sans-serif, "Arial");
font-size: 14px;
font-weight: 600;
font-stretch: normal;
font-style: normal;
line-height: 21px;
letter-spacing: normal;
text-transform: none;
}
kv-action-button[size=small] .action-button-text {
font-family: var(--kv-primary-font, "proxima-nova", sans-serif, "Arial");
font-size: 12px;
font-weight: 600;
font-stretch: normal;
font-style: normal;
line-height: 18px;
letter-spacing: normal;
text-transform: none;
}