Update the colors of name tags
This was changed in the designs so we don't have to hard-code colors for them anymore.
This commit is contained in:
@@ -71,8 +71,7 @@ limitations under the License.
|
|||||||
padding: var(--cpd-space-1x);
|
padding: var(--cpd-space-1x);
|
||||||
padding-block: var(--cpd-space-1x);
|
padding-block: var(--cpd-space-1x);
|
||||||
color: var(--cpd-color-text-primary);
|
color: var(--cpd-color-text-primary);
|
||||||
/* TODO: un-hardcode this color. It comes from the dark theme. */
|
background-color: var(--cpd-color-bg-canvas-default);
|
||||||
background-color: rgba(237, 244, 252, 0.79);
|
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
border-radius: var(--cpd-radius-pill-effect);
|
border-radius: var(--cpd-radius-pill-effect);
|
||||||
@@ -83,11 +82,6 @@ limitations under the License.
|
|||||||
box-shadow: var(--small-drop-shadow);
|
box-shadow: var(--small-drop-shadow);
|
||||||
}
|
}
|
||||||
|
|
||||||
:global(.cpd-theme-dark) .nameTag {
|
|
||||||
/* TODO: un-hardcode this color. It comes from the light theme. */
|
|
||||||
background-color: rgba(2, 7, 13, 0.77);
|
|
||||||
}
|
|
||||||
|
|
||||||
.nameTag > svg {
|
.nameTag > svg {
|
||||||
flex-shrink: 0;
|
flex-shrink: 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user