vault/ui/app/styles/components/diff-version-selector.scss
2023-08-24 10:02:53 -05:00

31 lines
721 B
SCSS

/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
// TODO kv engine cleanup safe to remove this, the new component does not rely on this css
.visual-diff {
background-color: black;
pre {
color: $ui-gray-010;
}
}
.jsondiffpatch-deleted .jsondiffpatch-property-name,
.jsondiffpatch-deleted pre,
.jsondiffpatch-modified .jsondiffpatch-left-value pre,
.jsondiffpatch-textdiff-deleted {
background: $red-500;
}
.jsondiffpatch-added .jsondiffpatch-property-name,
.jsondiffpatch-added .jsondiffpatch-value pre,
.jsondiffpatch-modified .jsondiffpatch-right-value pre,
.jsondiffpatch-textdiff-added {
background: $green-500;
}
.jsondiffpatch-property-name {
color: $ui-gray-300;
}