UNPKG

@kelvininc/ui-components

Version:
85 lines (80 loc) 1.65 kB
/** HEADINGS **/ /** LABELS **/ /** SPANS **/ /** PARAGRAPHS **/ /** CODE/CONSOLE **/ @property --rotation { syntax: "<angle>"; initial-value: 0deg; inherits: false; } @keyframes rotate-border { to { --rotation: 360deg; } } /** HEADINGS **/ /** LABELS **/ /** SPANS **/ /** PARAGRAPHS **/ /** CODE/CONSOLE **/ @property --rotation { syntax: "<angle>"; initial-value: 0deg; inherits: false; } @keyframes rotate-border { to { --rotation: 360deg; } } :host { /** * @prop --label-color: Label Text color. */ } .required { 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; letter-spacing: 1.5px; text-transform: uppercase; } .required + label { 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; letter-spacing: 1.5px; text-transform: uppercase; } .label { font-family: var(--kv-primary-font, "proxima-nova", sans-serif, "Arial"); font-size: 12px; font-weight: 400; font-stretch: normal; font-style: normal; line-height: 18px; letter-spacing: normal; letter-spacing: 1.5px; text-transform: uppercase; color: var(--label-color); margin-left: var(--kv-spacing, 4px); } .required { color: var(--kv-error, #e11900); margin-left: var(--kv-spacing, 4px); } .label-container { margin-bottom: var(--kv-spacing, 4px); } :host { --label-color: var(--kv-neutral-4, #bebebe); }