Message: Underline links in own messages in dark mode (#1060)

This commit is contained in:
Alexander Zinchuk 2021-05-04 12:31:28 +03:00
parent 555d3bab8d
commit ed67e51d2e
2 changed files with 17 additions and 0 deletions

View File

@ -12,6 +12,16 @@
line-height: 1.3125;
}
.theme-dark .Message.own & {
.text-entity-link {
text-decoration: underline;
&:hover {
text-decoration: none;
}
}
}
&:not(.custom-shape) {
font-size: var(--message-text-size, 1rem);
}
@ -157,6 +167,12 @@
&.document {
padding: .5rem !important;
.File {
.theme-dark & {
--color-primary: var(--color-selection-highlight);
}
}
.File + .text-content {
margin-top: .313rem;
}

View File

@ -16,6 +16,7 @@
"--color-borders": ["#DADCE0", "#100F10"],
"--color-borders-input": ["#DADCE0", "#5B5B5A"],
"--color-links": ["#52A1EF", "#868DF6"],
"--color-links-hover": ["#2d8dec", "#6b5fcc"],
"--color-gray": ["#C4C9CC", "#717579"],
"--color-pinned": ["#C4C9CC", "#707579"],
"--color-default-shadow": ["#72727240", "#21212140"],