Skip to content

Instantly share code, notes, and snippets.

@idelem
Last active December 14, 2022 08:05
Show Gist options
  • Save idelem/297c386e77ba6dd09a489686792ebb2f to your computer and use it in GitHub Desktop.
Save idelem/297c386e77ba6dd09a489686792ebb2f to your computer and use it in GitHub Desktop.
write monkey 3 theme inspired by LEFT
/*
Theme name: wm-default-dark
Author: Josip
Date: July 25th 2016
*/
/*
QUICK THEME SETTINGS
*/
:root {
--main-background-color: #eff0f0;
--alt-background-color-a: #eff0f0; /* documents list background */
--alt-background-color-b: #eff0f0; /* projects background */
--alt-background-color-c: #eff0f0; /* modules default background */
--alt-background-color-d: #dfe0e0; /* hover background */
--main-text-color: #282828;
--alt-text-color-a: #919191; /* dimmed */
--alt-text-color-b: #000000; /* stronger */
--alt-text-color-c: #919191; /* lists */
--mark-color: #828282; /* highlight color */
--alt-mark-color-a: #C2C2C2; /* secondary highlight color */
}
/*
ADVANCED THEME SETTINGS
Only thinker with this if you know what are you doing
*/
$wm-ui-general {
background-color: var(--main-background-color);
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI Emoji","Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell, "Microsoft Yahei", consolas, Arial, sans-serif;
background-image: none;
}
$wm-ui-editor-viewport {
background: transparent;
background-image: none;
background-size: cover;
background-repeat: no-repeat;
}
$wm-ui-writing-area {
padding: 0px;
background-color: transparent;
}
$wm-ui-infobar {
font-size: 0.8em;
color: var(--alt-text-color-a);
}
$wm-ui-progress-background {
background-color: #F1F1F1;
}
$wm-ui-progress-bar {
background-color: var(--main-text-color);
}
$wm-ui-progress-session {
background-color: var(--mark-color);
}
$wm-ui-icons {
color: var(--alt-text-color-a) !important;
}
$wm-ui-document-pane {
background-color: var(--alt-background-color-a);
color: var(--alt-text-color-a);
}
$wm-ui-project-pane {
background-color: var(--alt-background-color-b);
color: var(--alt-text-color-c);
}
$wm-ui-module-pane {
background-color: var(--alt-background-color-c);
color: var(--main-text-color);
}
$wm-ui-list-input {
color: var(--alt-text-color-c)!important;
}
$wm-ui-list-hover {
color: var(--alt-text-color-a);
background-color: var(--alt-background-color-d)!important;
}
$wm-ui-list-selected {
background-color: var(--alt-background-color-d)!important;
color: var(--alt-text-color-a)!important;
}
$wm-ui-list-divider {
border-bottom: none!important;
}
$wm-repo-tile {
background-color: var(--alt-background-color-d);
color: var(--main-text-color);
}
$wm-repo-clickable {
background-color: var(--alt-background-color-d);
color: var(--main-text-color);
}
$wm-repo-comment {
background-color: var(--main-text-color);
color: var(--main-background-color);
}
.repoLabel {
line-height: 1.5 !important;
}
.repository-textarea {
font-size: 0.8rem !important;
font-family: -apple-system,BlinkMacSystemFont,"Segoe UI Emoji","Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell, "Microsoft Yahei", consolas, Arial, sans-serif !important;
}
/* B. EDITOR STYLES */
$wm-editor {
font-size: 16px;
height: 100%;
background: transparent;
color: var(--main-text-color);
}
$wm-formatting {
color: var(--mark-color)!important;
text-decoration: none!important;
font-weight: normal!important;
font-style: normal!important;
border: none!important;
}
$wm-selection {
background-color: #d9efd9;
opacity: .5;
border-radius: 0px;
}
$wm-active-line {
background: rgba(0, 0, 0, .07);
opacity: 1;
border-radius: 0px;
border-right: 0px solid var(--mark-color);
}
$wm-active-sentence {
background-color: rgba(0, 0, 0, 0.1)!important;
}
$wm-cursor {
border-left: 2px solid var(--mark-color)!important;
}
$wm-comment {
color: #B5B5B5!important;
font-size: 1em;
font-style: italic!important;
font-weight: normal;
}
$wm-marked {
background-color: #d9efd9; // rgba(255, 255, 0, .7);
color: #181818!important;
}
$wm-deleted {
text-decoration: line-through; opacity: .5;
}
$wm-whitespace-redundantspace {
background-color: var(--alt-mark-color-a);
opacity: .3;
}
$wm-whitespace-tab {
position: absolute;
content: "\25AA";
display: none; /*must be none at startup!*/
color: var(--alt-mark-color-a);
opacity: .7;
}
$wm-whitespace-newline {
position: absolute;
content: "¬";
display: none; /*must be none at startup!*/
color: var(--alt-mark-color-a);
padding-left: 2px;
opacity: .7;
}
$wm-spell-error {
border-bottom: 1px solid red;
}
$wm-task-unchecked {
color: #fff;
border-radius: 2em;
opacity: 1;
cursor: crosshair;
}
$wm-task-checked {
color: #fff;
border-radius: 2em;
opacity: .4;
cursor: crosshair;
}
$wm-search-match {
color: var(--main-background-color)!important;
padding-top: 1px;
padding-bottom: 1px;
background: var(--main-text-color)!important;
border-radius: 3px;
}
$wm-scrollbar-matches {
background: var(--main-text-color);
border: 0px solid var(--main-text-color);
box-sizing: border-box;
opacity: .7;
}
$wm-metadata {
font-style: italic;
color: var(--mark-color);
font-size: .8em;
}
$wm-bold {
font-weight: bold;
}
$wm-italic {
font-style: italic;
}
$wm-break {
content: "";
height: 0px;
width: calc(100% - 4em);
border-top: 1px solid var(--main-text-color);
display: block;
position: absolute;
left: 3em;
top: 50%;
margin-top: -1px;
}
/* Define general style for headings (#, ##, ### ...) */
$wm-headings {
color: var(--alt-text-color-b);
font-weight: bold;
}
/* Define styles for individual heading levels. .wm-heading-1 for #, .wm-heading-2 for ## ...*/
$wm-heading-1 { font-size: 100%; }
$wm-heading-2 { font-size: 100%; }
$wm-heading-3 { font-size: 100%; }
$wm-heading-4 { font-size: 100%; }
$wm-heading-5 { font-size: 100%; }
$wm-heading-6 { font-size: 100%; }
$wm-code {
color: var(--mark-color);
}
$wm-list-item-1 {
}
$wm-list-item-2 {
}
$wm-list-item-3 {
}
$wm-quotes {
color: var(--mark-color);
}
/*$wm-quote-1 {}
$wm-quote-2 {}*/
$wm-link {
text-decoration: none;
}
/*$wm-url {
}*/
$wm-image {
color: #7e7e7e;
}
$wm-notice {
background-color: var(--main-text-color)!important;
color: var(--main-background-color)!important;
border-width: 0px;
border-radius: 2px;
opacity: 1;
cursor: pointer;
font-weight: normal;
}
$wm-collapsed-placeholder {
border-radius: 2px;
padding: .4em;
margin-right: 5px;
font-size: .8em;
color: var(--main-background-color);
background-color: var(--main-text-color);
cursor: pointer;
}
.wm-snow-white #util_pane_right {
border-left: 1px solid var(--alt-mark-color-a);
border-right: 1px solid var(--alt-mark-color-a);
}
.wm-snow-white #module_pane {
border-left: 1px solid var(--alt-mark-color-a);
}
.wm-snow-white #info_bar_bottom {
border-top: 1px solid var(--alt-mark-color-a);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment