update color-contrast (#31080)

This commit is contained in:
lane-wetmore 2025-06-30 10:03:17 -05:00 committed by GitHub
parent 8da4386cac
commit c01874d593
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,4 +1,5 @@
@use '../utils/size_variables';
@use '../utils/color_variables';
/**
* Copyright (c) HashiCorp, Inc.
@ -11,6 +12,46 @@
.swagger-ember .swagger-ui .wrapper {
padding: 0;
.info a {
color: color_variables.$blue-700;
}
.title {
small {
background-color: color_variables.$ui-gray-800;
}
.version-stamp {
background-color: color_variables.$green-700;
}
}
.opblock-deprecated {
opacity: 1;
.opblock-summary-method {
background-color: color_variables.$ui-gray-700;
}
}
.opblock-get {
.opblock-summary-method {
background-color: color_variables.$blue-500;
}
}
.opblock-post,
.opblock-patch {
.opblock-summary-method {
background-color: color_variables.$green-700;
}
}
.opblock-delete {
.opblock-summary-method {
background-color: color_variables.$red-500;
}
}
.opblock-summary-path-description-wrapper {
width: min-content;
flex-grow: 1;
@ -24,9 +65,9 @@
}
}
.copy-to-clipboard
{
&:focus, &:focus-visible {
.copy-to-clipboard {
&:focus,
&:focus-visible {
width: size_variables.$size-4;
}
}