mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-12-15 01:52:42 +03:00
chat, publish: styling on light/dark hybrid client
If your OS was in light mode but you chose dark mode, sometimes you'd see the wrong colour. We ensure we inherit from indigo's theme in those places.
This commit is contained in:
parent
803cdba754
commit
6de3d9c12e
@ -156,7 +156,8 @@ h2 {
|
||||
blockquote {
|
||||
padding: 0 0 0 16px;
|
||||
margin: 0;
|
||||
border-left: 1px solid black;
|
||||
color: inherit;
|
||||
border-left: 1px solid;
|
||||
}
|
||||
|
||||
:root {
|
||||
@ -173,6 +174,7 @@ blockquote {
|
||||
height: 100% !important;
|
||||
width: 100% !important;
|
||||
cursor: text;
|
||||
color: inherit;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
@ -308,9 +310,6 @@ pre.CodeMirror-placeholder.CodeMirror-line-like {
|
||||
/* dark */
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
blockquote {
|
||||
border-left: 1px solid inherit;
|
||||
}
|
||||
|
||||
/* codemirror */
|
||||
.chat .cm-s-tlon.CodeMirror {
|
||||
|
@ -28,6 +28,7 @@ export const MarkdownField = ({
|
||||
width="100%"
|
||||
display="flex"
|
||||
flexDirection="column"
|
||||
color="black"
|
||||
{...rest}
|
||||
>
|
||||
<MarkdownEditor
|
||||
|
@ -41,6 +41,8 @@
|
||||
cursor: text;
|
||||
font-size: 12px;
|
||||
line-height: 20px;
|
||||
background: inherit;
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.publish .CodeMirror * {
|
||||
|
Loading…
Reference in New Issue
Block a user