From 705feffa4f3549d4900bda1eca07e7768f785c2e Mon Sep 17 00:00:00 2001 From: Maxim Likhachev Date: Fri, 28 Feb 2020 21:10:52 +0300 Subject: [PATCH] joplin: ++custom theme --- etc/rc.linux-gnu | 2 ++ etc/soft/joplin/userchrome.css | 48 ++++++++++++++++++++++++++++++++++++++++++ etc/soft/joplin/userstyle.css | 47 +++++++++++++++++++++++++++++++++++++++++ 3 files changed, 97 insertions(+) create mode 100644 etc/soft/joplin/userchrome.css create mode 100644 etc/soft/joplin/userstyle.css diff --git a/etc/rc.linux-gnu b/etc/rc.linux-gnu index b506d66..f91164f 100644 --- a/etc/rc.linux-gnu +++ b/etc/rc.linux-gnu @@ -68,6 +68,8 @@ mkdir -p ~/.config/dunst - soft/vim/vimrc ~ - soft/dunst/dunstrc ~/.config/dunst - soft/linters/eslintrc ~ ++ soft/joplin/userchrome.css ~/.config/joplin-desktop/ ++ soft/joplin/userstyle.css ~/.config/joplin-desktop/ : --------------------------------------------------------------- diff --git a/etc/soft/joplin/userchrome.css b/etc/soft/joplin/userchrome.css new file mode 100644 index 0000000..e980ae4 --- /dev/null +++ b/etc/soft/joplin/userchrome.css @@ -0,0 +1,48 @@ +/* For styling the entire Joplin app (except the rendered Markdown, which is defined in `userstyle.css`) */ + +.ace_heading { + font-weight: bold; + color: #5082be !important; +} + +#note-editor{ + color: black !important; +} + +.ace_emphasis{ + color: black !important; + font-weight: bold; +} + +.ace_blockquote{ + color: #797979 !important; +} + +/* +.ace_string{ + color: #85b096 !important; + font-weight: bold; +} + +.ace_support{ + color: #298d56 !important; + font-weight: bold; +} + +.ace_function{ + margin-left: 5px; + color: #85b096 !important; + background-color: #f7f7f7; + font-style: italic; +} + +.ace_list{ + color:#313131 !important; + font-family: monospace; +} + +.ace_strong { + color: black !important; + font-weight: bold; +} +*/ diff --git a/etc/soft/joplin/userstyle.css b/etc/soft/joplin/userstyle.css new file mode 100644 index 0000000..efed138 --- /dev/null +++ b/etc/soft/joplin/userstyle.css @@ -0,0 +1,47 @@ +h1, h2, h3, h4 { + padding-left: 0.5em; + padding-bottom: 0; +} + +h1 { + color: white; + font-weight: 300; + background-color: #414650; + width: 100%; + border: 3px solid #414650; +} + +h2 { + color: white; + font-weight: 400; + background-color: #414650; + width: 100%; + border: 2px solid #414650; +} + + +h3 { + color: white; + font-weight: 150; + background-color: #606776; +} + +h4 { + color: black; + font-weight: 100; + width: 100%; + text-decoration: underline; +} + +mark { + background: #aeefce; + color: black; + padding-left: 3px; + padding-right: 3px; +} + +a { + color: #5082be; + font-weight: bold; + text-decoration: none; +}