mirror of
https://github.com/vector-im/element-call.git
synced 2024-11-15 00:04:59 +08:00
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:
parent
03caa22f0e
commit
a7556f66b1
@ -71,8 +71,7 @@ limitations under the License.
|
||||
padding: var(--cpd-space-1x);
|
||||
padding-block: var(--cpd-space-1x);
|
||||
color: var(--cpd-color-text-primary);
|
||||
/* TODO: un-hardcode this color. It comes from the dark theme. */
|
||||
background-color: rgba(237, 244, 252, 0.79);
|
||||
background-color: var(--cpd-color-bg-canvas-default);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
border-radius: var(--cpd-radius-pill-effect);
|
||||
@ -83,11 +82,6 @@ limitations under the License.
|
||||
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 {
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user