markdown: Change search and alert word highlight colors.

As part of the redesign project, this highlight colors are changed:

Light theme:
Search highlight yellow: #FFEF95 - hsl(51deg 100% 79%)
Alert highlight orange: #FFC6AE - hsl(18deg 100% 84%)

Dark theme:
Search highlight yellow: #756400 - hsl(51deg 100% 23%)
Alert highlight orange: #98491b - hsl(22deg 70% 35%)

Fixes #24922
This commit is contained in:
Hardik Dharmani 2023-03-31 12:01:30 +05:30 committed by Tim Abbott
parent 2c20028aa4
commit f41cc29ce3
2 changed files with 7 additions and 3 deletions

View File

@ -933,6 +933,10 @@
}
.rendered_markdown {
.alert-word {
background-color: hsl(22deg 70% 35%);
}
.user-mention,
.user-group-mention {
background: linear-gradient(
@ -1344,7 +1348,7 @@
/* Search highlight used in both topics and rendered_markdown */
.highlight {
background-color: hsl(51deg 100% 64% / 42%);
background-color: hsl(51deg 100% 23%);
}
.sub-unsub-message span::before,

View File

@ -178,7 +178,7 @@
}
.alert-word {
background-color: hsl(102deg 85% 57% / 50%);
background-color: hsl(18deg 100% 84%);
}
/* Timestamps */
@ -698,5 +698,5 @@
/* Search highlight used in both topics and rendered_markdown */
.highlight {
background-color: hsl(51deg 94% 74%);
background-color: hsl(51deg 100% 79%);
}