/*
 * Copyright 2021 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/* See: https://crbug.com/1227651 for details on changing these to --override pattern. */

.node-label-name {
  color: var(--override-node-text-label-color, --color-token-tag);
}

.node-label-class {
  color: var(--override-node-text-class-color, --color-token-attribute);
}

.node-label-id {
  color: var(--override-node-text-id-color);
}

.node-label-class.node-multiple-descriptors {
  color: var(--override-node-text-multiple-descriptors-class, var(--override-node-text-class-color, --color-token-attribute));
}

.node-label-id.node-multiple-descriptors {
  color: var(--override-node-text-multiple-descriptors-id, var(--override-node-text-id-color, --color-token-attribute));
}

/*
 * Copyright 2021 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file.
 */

/* See: https://crbug.com/1227651 for details on changing these to --override pattern. */

.node-label-name {
  color: var(--override-node-text-label-color, var(--color-token-tag));
}

.node-label-class {
  color: var(--override-node-text-class-color, var(--color-token-attribute));
}

.node-label-id {
  color: var(--override-node-text-id-color, var(--color-token-attribute));
}

.node-label-class.node-multiple-descriptors {
  color: var(--override-node-text-multiple-descriptors-class, var(--override-node-text-class-color, var(--color-token-attribute)));
}

.node-label-id.node-multiple-descriptors {
  color: var(--override-node-text-multiple-descriptors-id, var(--override-node-text-id-color, var(--color-token-attribute)));
}

Fix NodeText CSS fallback values
Fix NodeText CSS fallback values

Fallbacks given to var() need to be wrapped in var themselves if they
are variables, else the browser will try to apply the literal string
`--devtools-whatever` as the value.

Bug: none
Change-Id: I2a9287b7e41ccdd23057044355f16b4336bca98e
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3735063
Auto-Submit: Jack Franklin <993fcadce4d04090da2fefd557a0995e7966c8d5@chromium.org>
Reviewed-by: Andres Olivares <9d3bededfc9b98cb289557338a8f98e77d597607@chromium.org>
Commit-Queue: Andres Olivares <9d3bededfc9b98cb289557338a8f98e77d597607@chromium.org>
