UNPKG

@heycar-uikit/core

Version:
130 lines (118 loc) 2.64 kB
:root { /* heycar mint color */ /* mica blue color */ /* sunbeam blue color */ /* mustang yellow color */ /* old ferrari red color */ /* -- fantasy name of "green" color to be defined -- */ /* -- fantasy name of "whatsapp" color to be defined -- */ /* -- fantasy name of "red" color to be defined -- */ /* tarmac grey color */ --color-tarmac-grey-300: #b5b5b5; --color-tarmac-grey-700: #303030; --color-tarmac-grey-900: #1d1d1d; /* brand colors */ } /* Depricated. Do Not Use */ :root { --spacing-1: 4px; --spacing-4: 16px; } :root { /* Font families */ --font-family-system: Objektiv, sans-serif, 'Helvetica Neue', Helvetica, Arial; /* Font weights */ --font-weight-regular: 400; } /* Heading */ /* Sub-Heading */ /* Body */ /* Caption */ /* Overline */ /* Button */ /* Button Old - DO NOT USE */ /* If this is ever changed please update breakpoints.json as well */ /* Mobile */ /* Tablet */ /* Desktop */ /* Default theme (light) */ :root { /* Colors */ --color-neutral-300: var(--color-tarmac-grey-300); --color-neutral-700: var(--color-tarmac-grey-700); --color-neutral-900: var(--color-tarmac-grey-900); /* Sizes */ } body { color: var(--color-neutral-700); } :root { /* Color */ --input-color: var(--color-neutral-900); --input-caret-color: var(--color-neutral-900); --input-placeholder-color: var(--color-neutral-900); --input-disabled-color: var(--color-neutral-300); } .input__input_1otyp { position: relative; display: block; width: 100%; height: 100%; background: none; border: none; margin: 0; outline: none; text-overflow: ellipsis; box-sizing: border-box; -webkit-appearance: none; padding-right: var(--spacing-4); padding-left: var(--spacing-4); color: var(--input-color); caret-color: var(--input-caret-color); font-size: 16px; font-weight: var(--font-weight-regular); font-family: var(--font-family-system); } .input__hasLeftIcon_1otyp { padding-left: var(--spacing-1); } .input__hasRightIcon_1otyp { padding-right: var(--spacing-1); } .input__input_1otyp:-webkit-autofill { -webkit-text-fill-color: var(--input-color); } .input__input_1otyp::placeholder { color: var(--input-placeholder-color); font-weight: var(--font-weight-regular); } .input__input_1otyp:disabled { color: var(--input-disabled-color); -webkit-text-fill-color: var(--input-disabled-color); cursor: var(--disabled-cursor); opacity: 1; } .input__input_1otyp:read-only { color: var(--input-disabled-color); } .input__input_1otyp:read-only:focus::placeholder { color: var(--input-disabled-color); }