mirror of
https://github.com/zadam/trilium.git
synced 2025-12-10 17:34:24 +01:00
Updated the integrated code coloration
This commit is contained in:
parent
fa3298d090
commit
52e519afe2
@ -1,5 +1,5 @@
|
|||||||
/* Adding in Custom Font Options - Abourass */
|
/* Adding in Custom Font Options - Abourass */
|
||||||
@import url('https://fonts.googleapis.com/css?family=Lato|Montserrat|Raleway');
|
@import url('https://fonts.googleapis.com/css?family=Raleway');
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
--main-font-size: normal;
|
--main-font-size: normal;
|
||||||
@ -79,8 +79,7 @@ body.theme-dark .CodeMirror {
|
|||||||
filter: invert(90%) hue-rotate(180deg);
|
filter: invert(90%) hue-rotate(180deg);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* New theme @Abourass */
|
/* New themes Rainbows in the Dark & Modern @Abourass */
|
||||||
|
|
||||||
body.theme-darkRainbow {
|
body.theme-darkRainbow {
|
||||||
--main-background-color: #191927;
|
--main-background-color: #191927;
|
||||||
--main-text-color: rgba(244, 246, 255, 1);
|
--main-text-color: rgba(244, 246, 255, 1);
|
||||||
@ -185,9 +184,19 @@ body.theme-darkRainbow #note-detail-component-wrapper {
|
|||||||
color: white !important;
|
color: white !important;
|
||||||
}
|
}
|
||||||
body.theme-darkRainbow .CodeMirror-lines {
|
body.theme-darkRainbow .CodeMirror-lines {
|
||||||
font-family: Lato;
|
font-family: Raleway;
|
||||||
|
font-size: 0.9rem;
|
||||||
color: #ced246eb;
|
color: #ced246eb;
|
||||||
}
|
}
|
||||||
|
body.theme-darkRainbow .cm-s-default .cm-qualifier {
|
||||||
|
color: #07f2ff;
|
||||||
|
}
|
||||||
|
body.theme-darkRainbow .cm-s-default .cm-number {
|
||||||
|
color: #23d08b;
|
||||||
|
}
|
||||||
|
body.theme-darkRainbow .cm-atom {
|
||||||
|
color: #c8c1ff;
|
||||||
|
}
|
||||||
body.theme-darkRainbow #note-detail-text {
|
body.theme-darkRainbow #note-detail-text {
|
||||||
color: #fffdfdde !important;
|
color: #fffdfdde !important;
|
||||||
}
|
}
|
||||||
@ -208,6 +217,11 @@ body.theme-darkRainbow div#note-detail-text p {
|
|||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
text-indent: 0.9rem;
|
text-indent: 0.9rem;
|
||||||
}
|
}
|
||||||
|
body.theme-darkRainbow .child-overview {
|
||||||
|
font-size: 1.1rem;
|
||||||
|
background: #c8d4c91f;
|
||||||
|
box-shadow: 0 2px 6px 0 hsla(0, 0%, 0%, 0.2);
|
||||||
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
/* this fixes FF filter vs. position fixed bug: https://github.com/zadam/trilium/issues/233 */
|
/* this fixes FF filter vs. position fixed bug: https://github.com/zadam/trilium/issues/233 */
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user