open-consul/ui/packages/consul-ui/app/components/consul
John Cowen 2200cde988
ui: Replaces almost all remaining instances of SASS variables with CSS (#11200)
From an engineers perspective, whenever specifying colors from now on we should use the form:

```
color: rgb(var(--tone-red-500));
```

Please note:

- Use rgb. This lets us do this like rgb(var(--tone-red-500) / 10%) so we can use a 10% opacity red-500 if we ever need to whilst still making use of our color tokens.
- Use --tone-colorName-000 (so the prefix tone). Previously we could use a mix of --gray-500: $gray-500 (note the left hand CSS prop and right hand SASS var) for the things we need to theme currently. As we no longer use SASS we can't do --gray-500: --gray-500, so we now do --tone-gray-500: --gray-500.

Just for clarity after that, whenever specifying a color anywhere, use rgb and --tone. There is only one reason where you might not use tone, and that is if you never want a color to be affected by a theme (for example a background shadow probably always should use --black)

There are a 2 or 3 left for the code editor, plus our custom-query values
2021-10-07 19:21:11 +01:00
..
acl/disabled ui: Remove legacy ACLs (#11096) 2021-09-22 18:32:51 +01:00
auth-method ui: Replaces almost all remaining instances of SASS variables with CSS (#11200) 2021-10-07 19:21:11 +01:00
discovery-chain ui: Replaces almost all remaining instances of SASS variables with CSS (#11200) 2021-10-07 19:21:11 +01:00
exposed-path/list ui: Replaces almost all remaining instances of SASS variables with CSS (#11200) 2021-10-07 19:21:11 +01:00
external-source ui: Add Vault as a Service External Source (#10769) 2021-08-04 18:22:43 -04:00
health-check ui: Replaces almost all remaining instances of SASS variables with CSS (#11200) 2021-10-07 19:21:11 +01:00
instance-checks ui: [BUGFIX] Ensure we show the correct count of instances for each node (#9749) 2021-02-11 11:36:36 +00:00
intention ui: Replaces almost all remaining instances of SASS variables with CSS (#11200) 2021-10-07 19:21:11 +01:00
kind ui: Re-organize our %h* placeholders (#9584) 2021-01-26 17:53:45 +00:00
kv ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
loader ui: Replaces almost all remaining instances of SASS variables with CSS (#11200) 2021-10-07 19:21:11 +01:00
lock-session ui: Replaces almost all remaining instances of SASS variables with CSS (#11200) 2021-10-07 19:21:11 +01:00
logo Update brand assets (#10081) 2021-05-03 16:19:09 +01:00
metadata/list ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
node ui: [BUGFIX] Ensure we show the correct count of instances for each node (#9749) 2021-02-11 11:36:36 +00:00
node-identity/template ui: Move identity components (#9298) 2020-11-30 18:42:59 +00:00
nspace ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
policy ui: Partitions Application Layer (#11017) 2021-09-15 19:50:11 +01:00
role ui: Improves UI engineering docs (#9875) 2021-03-17 15:58:17 +00:00
service ui: Search/filtering 'Filtered by:' search status (#9442) 2021-01-25 18:13:54 +00:00
service-identity/template ui: Move identity components (#9298) 2020-11-30 18:42:59 +00:00
service-instance ui: Unix Domain Socket support (#10287) 2021-05-26 17:52:25 +01:00
source ui: Create Routing Configurations route and page (#10835) 2021-08-16 12:04:04 -04:00
token ui: Add copy button for Secret ID in Tokens list page (#10735) 2021-07-30 13:52:37 -04:00
tomography/graph ui: Replaces almost all remaining instances of SASS variables with CSS (#11200) 2021-10-07 19:21:11 +01:00
transparent-proxy Create TransparentProxy mode label for service instance page 2021-04-15 09:19:21 -04:00
upstream ui: Support Route optional parameters/segments (#10212) 2021-05-26 17:43:46 +01:00
upstream-instance ui: Replaces almost all remaining instances of SASS variables with CSS (#11200) 2021-10-07 19:21:11 +01:00