mirror of https://github.com/zulip/zulip.git
css: Refactor theme color for kbd.
This commit is contained in:
parent
327647f4f8
commit
9b5accdb43
|
@ -761,6 +761,7 @@
|
|||
--color-kbd-background: hsl(0deg 0% 98%);
|
||||
--color-kbd-border: hsl(0deg 0% 80%);
|
||||
--color-kbd-text: hsl(0deg 0% 20%);
|
||||
--color-kbd-enter-sends: hsl(0deg 0% 40%);
|
||||
|
||||
/* Markdown colors */
|
||||
--color-background-rendered-markdown-thead: hsl(0deg 0% 93%);
|
||||
|
@ -1276,6 +1277,7 @@
|
|||
--color-kbd-background: hsl(211deg 29% 14%);
|
||||
--color-kbd-border: hsl(211deg 29% 14%);
|
||||
--color-kbd-text: hsl(236deg 33% 90%);
|
||||
--color-kbd-enter-sends: hsl(236deg 33% 90%);
|
||||
|
||||
/* Markdown colors */
|
||||
--color-background-rendered-markdown-thead: hsl(0deg 0% 0% / 50%);
|
||||
|
|
|
@ -48,13 +48,6 @@
|
|||
box-shadow: inset 0 1px 0 hsl(0deg 0% 0% / 20%);
|
||||
}
|
||||
|
||||
#user_enter_sends_label,
|
||||
#realm_enter_sends_label {
|
||||
& kbd {
|
||||
color: var(--color-kbd-text);
|
||||
}
|
||||
}
|
||||
|
||||
#message-formatting,
|
||||
#keyboard-shortcuts {
|
||||
& kbd {
|
||||
|
|
|
@ -510,7 +510,7 @@ input[type="checkbox"] {
|
|||
font-size: 0.9333em;
|
||||
font-style: normal;
|
||||
font-weight: 500;
|
||||
color: hsl(0deg 0% 40%);
|
||||
color: var(--color-kbd-enter-sends);
|
||||
position: relative;
|
||||
bottom: 1px;
|
||||
margin: 0 2px;
|
||||
|
|
Loading…
Reference in New Issue