Ella Cai 06ff4228b4
UI: Update Consul UI colors to use HDS colors (#16111)
* update red color variables to hds

* change background red to be one step lighter

* map oranges

* map greens

* map blues

* map greys

* delete themes, colours: lemon, magenta, strawberry, and vault color aliases

* add unmapped rainbow colours

* replace white and transparent vars, remove unused semantic vars and frame placeholders

* small tweaks to improve contrast, change node health status x/check colours for non-voters to match design doc, replace semantic colour action w hds colour

* add unmapped grays, remove dark theme, manually set nav bar to use dark colours

* map consul pink colour

* map yellows

* add unmapped oranges, delete light theme

* remove readme, base variables, clean up dangling colours

* Start working on the nav disclosure menus

* Update main-nav-horizontal dropdowns

* Format template

* Update box-shadow tokens

* Replace --tone- usage with tokens

* Update nav disabled state and panel border colour

* Replace rgb usage on tile

* Fix permissions modal overlay

* More fixes

* Replace orange-500 with amber-200

* Update badge colors

* Update vertical sidebar colors

* Remove top border on consul peer list ul

---------

Co-authored-by: wenincode <tyler.wendlandt@hashicorp.com>
2023-02-27 09:30:12 -07:00

36 lines
1.0 KiB
SCSS

%form-element-text-input {
-moz-appearance: none;
-webkit-appearance: none;
box-shadow: var(--token-surface-inset-box-shadow);
border-radius: var(--decor-radius-100);
border: var(--decor-border-100);
outline: none;
}
textarea:disabled + .CodeMirror,
%form-element-text-input:disabled,
%form-element-text-input:read-only {
cursor: not-allowed;
}
%form fieldset > p,
%form-element-note,
%form-element-text-input::placeholder {
color: var(--token-color-foreground-disabled);
}
%form-element-error > input,
%form-element-error > textarea {
border-color: var(--decor-error, var(--token-color-foreground-critical)) !important;
}
%form-element-text-input {
color: var(--token-color-foreground-faint);
border-color: var(--token-color-palette-neutral-300);
}
%form-element-text-input-hover {
border-color: var(--token-color-foreground-faint);
}
%form-element-text-input-focus {
border-color: var(--typo-action, var(--token-color-foreground-action));
}
%form-element-label {
color: var(--typo-contrast, inherit);
}