migrate
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
{
|
||||
"name": "Dark Clarity",
|
||||
"author": "chenbihao",
|
||||
"authorUrl": "https://github.com/chenbihao",
|
||||
"version": "1.2.1",
|
||||
"repo": "chenbihao/obsidian-theme-dark-clarity",
|
||||
"screenshot": "screenshot.png",
|
||||
"modes": ["dark", "light"]
|
||||
}
|
||||
+1740
File diff suppressed because one or more lines are too long
@@ -0,0 +1,6 @@
|
||||
{
|
||||
"name": "Dracula for Obsidian",
|
||||
"version": "0.0.0",
|
||||
"minAppVersion": "0.16.0",
|
||||
"author": "jarodise"
|
||||
}
|
||||
@@ -0,0 +1,717 @@
|
||||
:root
|
||||
{
|
||||
--font-size-normal: 19px;
|
||||
--font-size-code: 16px;
|
||||
--font-size-side-dock: 16px;
|
||||
--font-size-side-dock-title: 18px;
|
||||
--font-size-status-bar: 16px;
|
||||
--font-size-h1: 24px;
|
||||
--font-size-h2: 23px;
|
||||
--font-size-h3: 22px;
|
||||
--font-size-h4: 21px;
|
||||
--font-size-h5: 20px;
|
||||
--font-size-h6: 19px;
|
||||
--font-family-editor: Avenir, Avenir Next, sans-serif;
|
||||
--font-family-preview: Avenir, Avenir Next, sans-serif;
|
||||
}
|
||||
|
||||
.theme-light,
|
||||
.theme-dark {
|
||||
--background-primary: #282a36;
|
||||
--background-primary-alt: #44475a;
|
||||
--background-secondary: #44475a;
|
||||
--background-secondary-alt: #282a36;
|
||||
--background-accent: #f8f8f2;
|
||||
--background-modifier-border: #f8f8f2;
|
||||
--background-modifier-form-field: rgba(0, 0, 0, 0.2);
|
||||
--background-modifier-form-field-highlighted: rgba(0, 0, 0, 0.5);
|
||||
--background-modifier-box-shadow: rgba(0, 0, 0, 0.3);
|
||||
--background-modifier-success: #50fa7b; /*no sure*/
|
||||
--background-modifier-error: #3d0000; /*no sure*/
|
||||
--background-modifier-error-rgb: 61, 0, 0;
|
||||
--background-modifier-error-hover: #470000;
|
||||
--background-modifier-cover: rgba(0, 0, 0, 0.6);
|
||||
--text-accent: #ffb86c;
|
||||
--text-accent-hover: #8be9fd;
|
||||
--text-normal: #f8f8f2;
|
||||
--text-muted: #f8f8f2;
|
||||
--text-faint: #bd93f9;
|
||||
--text-highlight-bg: #ff5555;
|
||||
--text-error: #ff79c6;
|
||||
--text-error-hover: #ff79c6;
|
||||
--text-selection: #6272a4; /* Chromium precess this color with alpha channel */
|
||||
--text-on-accent: #bd93f9;
|
||||
--interactive-normal: #ffb86c;
|
||||
--interactive-hover: #ff5555;
|
||||
--interactive-accent: #ffb86c;
|
||||
--interactive-accent-rgb: 123, 108, 217;
|
||||
--interactive-accent-hover: #ff5555;
|
||||
--scrollbar-active-thumb-bg: rgba(255, 255, 255, 0.2);
|
||||
--scrollbar-bg: rgba(255, 255, 255, 0.05);
|
||||
--scrollbar-thumb-bg: rgba(255, 255, 255, 0.1);
|
||||
|
||||
--text-title-h1: #ff79c6;
|
||||
--text-title-h2: #bd93f9;
|
||||
--text-title-h3: #ff5555;
|
||||
--text-title-h4: #ffb86c;
|
||||
--text-title-h5: #50fa7b;
|
||||
--text-title-h6: #8be9fd;
|
||||
--inline-code: #bd93f9;
|
||||
--code-block: #8be9fd;
|
||||
--pre-code: #44475a;
|
||||
--blockquote-border: #ffb86c;
|
||||
--vim-cursor: #ff5555;
|
||||
--border-color: #2b2727; /*also like transparent*/
|
||||
}
|
||||
|
||||
/*-------------------------------------*/
|
||||
/* Search the following lines */
|
||||
/* to jump to specific section */
|
||||
/*-------------------------------------*/
|
||||
/* resize-handle and borders */
|
||||
/* tags */
|
||||
/* link */
|
||||
/* Cursor */
|
||||
/* basic format in EDITOR and PREVIEW */
|
||||
/* Headings - EDITOR and PREVIEW */
|
||||
/* Code block in Preview */
|
||||
/* Code block in Editor */
|
||||
/* Brackets */
|
||||
/* Blockquote */
|
||||
/* table */
|
||||
/* Checkbox */
|
||||
/* html in editor */
|
||||
/* popover */
|
||||
/* Side panel */
|
||||
/* internal embedded link in preview */
|
||||
/* graph view */
|
||||
/* settings */
|
||||
/* Hide side bar */
|
||||
/* width of content */
|
||||
/* at a rule line before ul list *
|
||||
/* Hide Scrollbar (recommend for mac) */
|
||||
/*-------------------------------------*/
|
||||
|
||||
/***************************************/
|
||||
/* resize-handle and borders */
|
||||
/***************************************/
|
||||
|
||||
/*vertical resize-handle*/
|
||||
.workspace-split.mod-vertical > * > .workspace-leaf-resize-handle,
|
||||
.workspace-split.mod-left-split > .workspace-leaf-resize-handle,
|
||||
.workspace-split.mod-right-split > .workspace-leaf-resize-handle{
|
||||
width: 1px !important;
|
||||
background-color: var(--border-color);
|
||||
}
|
||||
|
||||
/*horizontal resize-handle*/
|
||||
.workspace-split.mod-horizontal > * > .workspace-leaf-resize-handle{
|
||||
height: 1px !important;
|
||||
background-color: var(--border-color);
|
||||
}
|
||||
|
||||
/*workspace ribbon when collapsed*/
|
||||
.workspace-ribbon.is-collapsed {
|
||||
background-color: var(--background-primary-alt);
|
||||
}
|
||||
|
||||
/*the vertical split*/
|
||||
.workspace-split.mod-root .workspace-split.mod-vertical .workspace-leaf-content,
|
||||
.workspace-split.mod-vertical > .workspace-split,
|
||||
.workspace-split.mod-vertical > .workspace-leaf,
|
||||
.workspace-tabs{
|
||||
padding-right: 0px;
|
||||
}
|
||||
|
||||
/*status-bar*/
|
||||
.status-bar{
|
||||
font-size: var(--font-size-status-bar);
|
||||
background-color: var(--background-secondary-alt);
|
||||
border-top: 0px;
|
||||
}
|
||||
|
||||
.document-search-container{
|
||||
border-top: 0px;
|
||||
border-right: 0px;
|
||||
z-index: inherit;
|
||||
}
|
||||
|
||||
.workspace-ribbon.mod-left.is-collapsed{
|
||||
border-right: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
.workspace-ribbon.mod-right.is-collapsed{
|
||||
border-left: 1px solid var(--border-color);
|
||||
}
|
||||
|
||||
/*************************************/
|
||||
/* tags */
|
||||
/*************************************/
|
||||
|
||||
/* Tag hover in preview */
|
||||
a.tag:hover {
|
||||
color: var(--text-accent) !important;
|
||||
}
|
||||
|
||||
/* Tag Color in editor and preview*/
|
||||
.cm-hashtag, a.tag {
|
||||
color: var(--text-accent-hover) !important;
|
||||
text-decoration: none !important;
|
||||
font-style: normal !important;
|
||||
}
|
||||
|
||||
/*********************************/
|
||||
/* link */
|
||||
/*********************************/
|
||||
|
||||
/* link */
|
||||
a,
|
||||
.internal-link,
|
||||
.cm-hmd-internal-link,
|
||||
.cm-link,
|
||||
.cm-formatting-link,
|
||||
.cm-url {
|
||||
text-decoration: none !important;
|
||||
}
|
||||
|
||||
/* the url string in editor */
|
||||
.cm-s-obsidian span.cm-string{
|
||||
color: var(--text-accent-hover) !important;
|
||||
}
|
||||
|
||||
/* make external links italics to differentiate */
|
||||
a:not(.internal-link) {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/*footnote*/
|
||||
.cm-s-obsidian pre.HyperMD-footnote span.cm-hmd-footnote,
|
||||
.cm-s-obsidian span.cm-footref {
|
||||
color: var(--text-accent) !important;
|
||||
}
|
||||
|
||||
/***************************************/
|
||||
/* Cursor */
|
||||
/***************************************/
|
||||
|
||||
/* Cursor color and opacity */
|
||||
|
||||
.cm-fat-cursor .CodeMirror-cursor, .cm-animate-fat-cursor
|
||||
{
|
||||
width: 0.5em;
|
||||
background: var(--vim-cursor);
|
||||
opacity: 60% !important;
|
||||
}
|
||||
|
||||
/**************************************/
|
||||
/* basic format in EDITOR and PREVIEW */
|
||||
/**************************************/
|
||||
|
||||
/* font for everything outside of editor/preview panes */
|
||||
.app-container {
|
||||
font-family: var(--font-family-preview);
|
||||
}
|
||||
|
||||
/* set the text selection color for preview mode */
|
||||
::selection {
|
||||
background-color: var(--text-selection);
|
||||
}
|
||||
|
||||
/* normal text outside of headings and code of editor */
|
||||
.cm-s-obsidian, .mod-single-child .cm-s-obsidian {
|
||||
font-family: var(--font-family-editor);
|
||||
font-size: var(--font-size-normal);
|
||||
}
|
||||
|
||||
/* normal text outside of headings and code of preview */
|
||||
.markdown-preview-view, .mod-single-child .markdown-preview-view {
|
||||
font-family: var(--font-family-editor);
|
||||
font-size: var(--font-size-normal);
|
||||
padding-top: 0px;
|
||||
padding-left: 2% !important;
|
||||
padding-right: 1% !important;
|
||||
}
|
||||
|
||||
/* bold in preview and editor */
|
||||
strong, .cm-strong {
|
||||
font-weight: 600;
|
||||
color: #50fa7b;
|
||||
}
|
||||
|
||||
/* emphasis in preview and editor */
|
||||
em, .cm-em {
|
||||
color: var(--text-muted);
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* strikethrough in preview and editor */
|
||||
s, .cm-strikethrough {
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
/* list in editor */
|
||||
.cm-s-obsidian span.cm-formatting-list {
|
||||
color: var(--text-normal) !important;
|
||||
}
|
||||
|
||||
/* horizontal line in preview */
|
||||
.markdown-preview-view hr {
|
||||
background-color: var(--text-faint) !important;
|
||||
}
|
||||
|
||||
/* embedded images */
|
||||
img:not(.emoji) {
|
||||
display: block;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
/* img hover zoom out img*/
|
||||
img:hover {
|
||||
transform: scale(1.04);
|
||||
transition: transform 0.25s ease-in-out 0s;
|
||||
}
|
||||
|
||||
.community-theme img:hover{
|
||||
transform: none;
|
||||
}
|
||||
|
||||
/*********************************/
|
||||
/* Headings - EDITOR and PREVIEW */
|
||||
/*********************************/
|
||||
|
||||
|
||||
/* headings for editor and preview */
|
||||
.cm-header-1, .markdown-preview-view h1
|
||||
{
|
||||
font-family: var(--font-family-editor);
|
||||
font-weight: 500;
|
||||
font-size: var(--font-size-h1);
|
||||
color: var(--text-title-h1);
|
||||
}
|
||||
|
||||
.cm-header-2, .markdown-preview-view h2
|
||||
{
|
||||
font-family: var(--font-family-editor);
|
||||
font-weight: 500;
|
||||
font-size: var(--font-size-h2);
|
||||
color: var(--text-title-h2);
|
||||
}
|
||||
|
||||
.cm-header-3, .markdown-preview-view h3
|
||||
{
|
||||
font-family: var(--font-family-editor);
|
||||
font-weight: 500;
|
||||
font-size: var(--font-size-h3);
|
||||
color: var(--text-title-h3);
|
||||
}
|
||||
|
||||
.cm-header-4, .markdown-preview-view h4
|
||||
{
|
||||
font-family: var(--font-family-editor);
|
||||
font-weight: 500;
|
||||
font-size: var(--font-size-h4);
|
||||
color: var(--text-title-h4);
|
||||
}
|
||||
|
||||
.cm-header-5, .markdown-preview-view h5
|
||||
{
|
||||
font-family: var(--font-family-editor);
|
||||
font-weight: 500;
|
||||
font-size: var(--font-size-h5);
|
||||
color: var(--text-title-h5);
|
||||
}
|
||||
|
||||
.cm-header-6, .markdown-preview-view h6
|
||||
{
|
||||
font-family: var(--font-family-editor);
|
||||
font-weight: 500;
|
||||
font-size: var(--font-size-h6);
|
||||
color: var(--text-title-h6);
|
||||
}
|
||||
|
||||
/***************************************/
|
||||
/* Code block in Preview */
|
||||
/***************************************/
|
||||
|
||||
/* code blocks in preview */
|
||||
pre code {
|
||||
font-family: monaco !important;
|
||||
font-size: var(--font-size-code) !important;
|
||||
padding: 6px !important;
|
||||
line-height: normal;
|
||||
display: block;
|
||||
color: var(--code-block) !important;
|
||||
}
|
||||
|
||||
/* padding of code blocks in preview */
|
||||
.markdown-preview-view pre {
|
||||
padding: 0px !important;
|
||||
}
|
||||
|
||||
/* font-size of in-line block for preview */
|
||||
.markdown-preview-view code
|
||||
{
|
||||
font-size: var(--font-size-code);
|
||||
}
|
||||
|
||||
|
||||
/* remove the shadow that typically affect light mode */
|
||||
.theme-dark code[class*="language-"],
|
||||
.theme-dark pre[class*="language-"],
|
||||
.theme-light code[class*="language-"],
|
||||
.theme-light pre[class*="language-"]
|
||||
{
|
||||
text-shadow: none !important;
|
||||
color: var(--text-faint) !important;
|
||||
background-color: var(--pre-code);
|
||||
}
|
||||
|
||||
/***************************************/
|
||||
/* Brackets */
|
||||
/***************************************/
|
||||
|
||||
.cm-s-obsidian span.cm-formatting-link {
|
||||
color: var(--text-accent) !important;
|
||||
}
|
||||
|
||||
/***************************************/
|
||||
/* Blockquote */
|
||||
/***************************************/
|
||||
|
||||
/* for editor */
|
||||
.cm-quote {
|
||||
color: var(--text-normal) !important;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/* for preview */
|
||||
.markdown-preview-view blockquote {
|
||||
background-color: var(--pre-code);
|
||||
border: 0px solid;
|
||||
border-color: var(--blockquote-border) !important;
|
||||
border-left-width: 4px !important;
|
||||
border-radius: 0 8px 8px 0;
|
||||
line-height: 1.5em;
|
||||
margin: 30px 0px;
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/***************************************/
|
||||
/* table */
|
||||
/***************************************/
|
||||
|
||||
th {
|
||||
font-weight: 800 !important;
|
||||
}
|
||||
|
||||
.markdown-preview-view th {
|
||||
font-weight: 800;
|
||||
background-color: var(--background-secondary) !important;
|
||||
}
|
||||
|
||||
thead {
|
||||
border-bottom: 3px solid var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.table {
|
||||
padding: 4px;
|
||||
line-height: normal;
|
||||
display: block;
|
||||
border-top-left-radius: 4px;
|
||||
border-top-right-radius: 4px;
|
||||
border-bottom-right-radius: 4px;
|
||||
border-bottom-left-radius: 4px;
|
||||
}
|
||||
|
||||
/***************************************/
|
||||
/* Checkbox */
|
||||
/***************************************/
|
||||
|
||||
.markdown-preview-view .task-list-item-checkbox:checked::before {
|
||||
content: '✓';
|
||||
position: absolute;
|
||||
color: var(--text-accent);
|
||||
font-size:1em;
|
||||
line-height: 1.25em;
|
||||
width:1.2em;
|
||||
text-align:center;
|
||||
text-shadow: 0 0 0.1em var(--text-accent);
|
||||
}
|
||||
|
||||
.markdown-preview-view .task-list-item-checkbox {
|
||||
-webkit-appearance: none;
|
||||
top: 0.2em !important;
|
||||
right: 4px;
|
||||
box-sizing: border-box;
|
||||
border: 1px solid var(--text-muted);
|
||||
position: relative;
|
||||
width: 1.25em;
|
||||
height: 1.25em;
|
||||
margin: 0;
|
||||
box-shadow: 0 0 0.1em var(--text-muted);
|
||||
}
|
||||
|
||||
.checkbox-container {
|
||||
background-color: var(--background-primary);
|
||||
}
|
||||
|
||||
|
||||
/***************************************/
|
||||
/* popover */
|
||||
/***************************************/
|
||||
|
||||
.popover{
|
||||
border: 1px solid var(--border-color);
|
||||
background-color: var(--background-secondary);
|
||||
}
|
||||
|
||||
|
||||
/***************************************/
|
||||
/* Side panel */
|
||||
/***************************************/
|
||||
|
||||
/* search result in backlink or file search */
|
||||
.search-result-file-title {
|
||||
font-size: 15px ;
|
||||
}
|
||||
|
||||
.search-result-file-matches, .search-empty-state {
|
||||
font-size: var(--font-size-side-dock);
|
||||
}
|
||||
|
||||
/*decrease the spacing between result items*/
|
||||
.search-result-file-title,
|
||||
.search-result-file-match {
|
||||
padding: 0px 10px;
|
||||
}
|
||||
|
||||
.nav-file-title, .nav-folder-title {
|
||||
border-bottom-left-radius: 0 !important;
|
||||
border-bottom-right-radius: 0 !important;
|
||||
border-top-left-radius: 0 !important;
|
||||
border-top-right-radius: 0 !important;
|
||||
}
|
||||
|
||||
/*backlink pane*/
|
||||
.workspace-leaf-content[data-type="backlink"] .view-content{
|
||||
background-color: var(--background-secondary);
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="tag"] .tag-pane-tag-count,
|
||||
.workspace-leaf-content[data-type="tag"] .tag-pane-tag-text {
|
||||
font-size: var(--font-size-side-dock);
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type="backlink"] .search-result-file-matches {
|
||||
font-size: var(--font-size-side-dock);
|
||||
}
|
||||
/***************************************/
|
||||
/* internal embedded link in preview */
|
||||
/***************************************/
|
||||
|
||||
/* Naked Embeds */
|
||||
.markdown-embed-title { display: none; }
|
||||
.markdown-preview-view .markdown-embed-content>:first-child { margin-top: 0; }
|
||||
.markdown-preview-view .markdown-embed-content>:last-child { margin-bottom: 0; }
|
||||
/*remove the following two line, you will get border and scroll*/
|
||||
.markdown-preview-view .markdown-embed { border:none; padding:0; margin:0; }
|
||||
.markdown-preview-view .markdown-embed-content
|
||||
{
|
||||
max-height: unset;
|
||||
background-color: var(--background-secondary);
|
||||
}
|
||||
|
||||
/* the link on the top right corner*/
|
||||
.markdown-embed-link {
|
||||
color: var(--text-faint) !important;
|
||||
}
|
||||
|
||||
.markdown-embed-link:hover {
|
||||
color: var(--text-accent) !important;
|
||||
}
|
||||
|
||||
/***************************************/
|
||||
/* graph view */
|
||||
/***************************************/
|
||||
.graph-view.color-circle,
|
||||
.graph-view.color-fill-highlight,
|
||||
.graph-view.color-line-highlight
|
||||
{
|
||||
color: var(--text-accent) !important;
|
||||
}
|
||||
|
||||
.graph-view.color-text
|
||||
{
|
||||
color: var(--text-normal) !important;
|
||||
}
|
||||
|
||||
.graph-view.color-line {
|
||||
color: #6272a4;
|
||||
}
|
||||
|
||||
.graph-view.color-fill{
|
||||
color: var(--text-muted);
|
||||
}
|
||||
|
||||
.workspace-leaf-content[data-type = "graph"] .view-content{
|
||||
background-color: var(--background-primary);
|
||||
}
|
||||
|
||||
/***************************************/
|
||||
/* settings */
|
||||
/***************************************/
|
||||
|
||||
.modal.mod-settings button:not(.mod-cta):hover {
|
||||
background-color: var(--interactive-accent-hover);
|
||||
}
|
||||
|
||||
/***************************************/
|
||||
/* Hide side bar */
|
||||
/***************************************/
|
||||
|
||||
.workspace-ribbon:not(:hover) .workspace-ribbon-collapse-btn,
|
||||
.workspace-ribbon:not(:hover) .side-dock-actions,
|
||||
.workspace-ribbon:not(:hover) .side-dock-settings {
|
||||
display:none;
|
||||
transition: all 300ms ease-in-out;}
|
||||
.workspace-ribbon:not(:hover) {
|
||||
width: 0px;
|
||||
transition: all 300ms ease-in-out;}
|
||||
|
||||
.workspace-split.mod-left-split {margin-left: 0px;}
|
||||
.workspace-split.mod-right-split {margin-right: 0px;}
|
||||
|
||||
/***************************************/
|
||||
/* width of content */
|
||||
/***************************************/
|
||||
|
||||
.markdown-source-view.is-readable-line-width .CodeMirror {
|
||||
max-width: 900px;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
.markdown-preview-view.is-readable-line-width .markdown-preview-section {
|
||||
max-width: 900px;
|
||||
margin-left: 30px;
|
||||
margin-right: 30px;
|
||||
}
|
||||
|
||||
|
||||
/* header */
|
||||
|
||||
.theme-dark .view-header {
|
||||
background-color: var(--background-primary) !important;
|
||||
border-top: 1px solid var(--border-color) !important;
|
||||
border-bottom: 1px solid var(--border-color) !important;
|
||||
}
|
||||
|
||||
.theme-dark .view-header-title-container:after {
|
||||
background: linear-gradient(to bottom, transparent, var(--background-primary)) !important;
|
||||
}
|
||||
|
||||
.theme-dark .workspace-leaf.mod-active .view-header {
|
||||
background-color: var(--background-secondary-alt) !important;
|
||||
border-top: 0px !important;
|
||||
border-bottom: 3px solid var(--interactive-accent) !important;
|
||||
}
|
||||
|
||||
.workspace-leaf.mod-active .view-header-title-container:after {
|
||||
background: linear-gradient(to bottom, transparent, var(--background-secondary-alt)) !important;
|
||||
}
|
||||
|
||||
.workspace-leaf.mod-active .view-header-title,
|
||||
.workspace-leaf.mod-active .view-header-icon
|
||||
{
|
||||
color: var(--background-modifier-border);
|
||||
}
|
||||
|
||||
.view-header-title, .view-header-icon, .view-action{
|
||||
color: var(--text-faint);
|
||||
}
|
||||
.view-header-title
|
||||
{
|
||||
font-size: 20px;
|
||||
}
|
||||
|
||||
/***************************************/
|
||||
/* at a rule line before ul list */
|
||||
/***************************************/
|
||||
|
||||
ul ul { position: relative; }
|
||||
ul ul::before {
|
||||
content:'';
|
||||
border-left: 1px solid var(--border-color);
|
||||
position: absolute;
|
||||
}
|
||||
ul ul::before { left: -1em; top: 0; bottom: 0; }
|
||||
|
||||
/* rule line when there are checkboxes*/
|
||||
ul .task-list-item ul::before {left: 0.15em !important}
|
||||
|
||||
/***************************************/
|
||||
/* Code block in Editor */
|
||||
/***************************************/
|
||||
|
||||
/* in-line block for editor */
|
||||
.cm-s-obsidian span.cm-inline-code,
|
||||
.cm-s-obsidian span.cm-inline-code.cm-hmd-indented-code,
|
||||
.cm-s-obsidian span.cm-inline-code:not(.cm-formatting):not(.cm-hmd-indented-code)
|
||||
{
|
||||
background-color: var(--pre-code-bg);
|
||||
color: var(--inline-code) !important;
|
||||
bottom: 0px !important;
|
||||
}
|
||||
|
||||
/* Editor CodeBlock TEXT Appearance */
|
||||
.cm-s-obsidian pre.HyperMD-codeblock {
|
||||
font-family: monaco !important;
|
||||
font-size: var(--font-size-code) !important;
|
||||
padding: 1px !important;
|
||||
display: block;
|
||||
color: var(--code-block) !important;
|
||||
font-weight: 500;
|
||||
text-indent: 0px !important;
|
||||
}
|
||||
|
||||
/*remove the border of codeblock in editor */
|
||||
.HyperMD-codeblock-bg{
|
||||
border: 0px !important;
|
||||
}
|
||||
|
||||
/*an active line highlight in vim normal mode
|
||||
.cm-fat-cursor .CodeMirror-activeline .CodeMirror-linebackground{
|
||||
background-color: var(--text-selection) !important;
|
||||
} */
|
||||
|
||||
/* in-line block for preview */
|
||||
code{
|
||||
color: var(--inline-code) !important;
|
||||
bottom: 0px !important;
|
||||
}
|
||||
|
||||
/* graph css */
|
||||
.theme-dark .graph-view.color-arrow {
|
||||
color: #50fa7b;
|
||||
}
|
||||
|
||||
.theme-dark .graph-view.color-fill-tag {
|
||||
color: #ffb86c;
|
||||
}
|
||||
|
||||
.theme-dark .graph-view.color-fill-attachment {
|
||||
color: #ff5555;
|
||||
}
|
||||
|
||||
.theme-dark .graph-view.color-fill-unresolved {
|
||||
color: #6272a4;
|
||||
}
|
||||
|
||||
.search-result-collapse-indicator {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: -3px;
|
||||
color: var(--text-faint);
|
||||
transition: transform 100ms ease-in-out;
|
||||
padding: 0px !important;
|
||||
}
|
||||
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "Obsidianite",
|
||||
"version": "2.0.2",
|
||||
"minAppVersion": "1.1.0",
|
||||
"author": "@bennyxguo",
|
||||
"authorUrl": "https://github.com/bennyxguo"
|
||||
}
|
||||
+1481
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"name": "Soloing",
|
||||
"version": "1.1.0",
|
||||
"minAppVersion": "1.1.0",
|
||||
"author": "isax785",
|
||||
"authorUrl": "https://github.com/isax785"
|
||||
}
|
||||
+396
@@ -0,0 +1,396 @@
|
||||
/*
|
||||
|
||||
███████╗ ██████╗ ██╗ ██████╗ ██╗███╗ ██╗ ██████╗
|
||||
██╔════╝██╔═══██╗██║ ██╔═══██╗██║████╗ ██║██╔════╝
|
||||
███████╗██║ ██║██║ ██║ ██║██║██╔██╗ ██║██║ ███╗
|
||||
╚════██║██║ ██║██║ ██║ ██║██║██║╚██╗██║██║ ██║
|
||||
███████║╚██████╔╝███████╗╚██████╔╝██║██║ ╚████║╚██████╔╝
|
||||
╚══════╝ ╚═════╝ ╚══════╝ ╚═════╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝
|
||||
*/
|
||||
|
||||
:root {
|
||||
--white: #FCFCFC;
|
||||
--raisin-black: #1B1825;
|
||||
--rich-black: #121019;
|
||||
--dark-purple: #242032;
|
||||
/* --tropical-indigo: #8B80F9; original, below darker*/
|
||||
--tropical-indigo: #685fce;
|
||||
--tropical-indigo-light: #A69EFA;
|
||||
--robin-egg-blue: #19D8D5;
|
||||
--cool-gray: #7C809B;
|
||||
--cool-gray-light: #cbcdd3;
|
||||
--french-gray : #D1D2DC; /*cool gray light*/
|
||||
--white-smoke: #F5F5F5;
|
||||
--ylmn-blue: #375BA9;
|
||||
--mint: #13C4A3;
|
||||
--mint-light: #9af6e5;
|
||||
--anti-flash-white: #EBEBEB;
|
||||
--folly-dark: #c7204a;
|
||||
--folly: #FF3366;
|
||||
--gold-light: #e8e08b;
|
||||
--gold: rgb(253, 233, 9);
|
||||
--line-width: 850px;
|
||||
--light-sea-green: #00BFB3; /* accent color*/
|
||||
--floral-white:#FFF8F0; /* try it for the text */
|
||||
--bittersweet:#F05D5E; /* try it for the separator lines */
|
||||
--lime: #C3F73A;
|
||||
--lime-dark: #92cb00;
|
||||
--light-mint: #3fc570; /*original*/
|
||||
--dark-mint: #2f9b56; /* modded */
|
||||
--bright-green: #5AFF15;
|
||||
/* --mint: #68B684; /*original*/
|
||||
/* --mint: #4ea76e; /*darker*/
|
||||
|
||||
/* --- DARK --- */
|
||||
--background-1st-dark: #1a1c25;
|
||||
--background-2nd-dark: #20212b;
|
||||
--dark-background-primary: var(--background-1st-dark);
|
||||
--dark-background-secondary: var(--background-2nd-dark);
|
||||
--dark-divider-color: #2f3144;
|
||||
--dark-hr-color: var(--bright-green);
|
||||
--dark-hr-color: #6e8166;
|
||||
--dark-accent: var(--bright-green);
|
||||
--dark-code: var(--lime);
|
||||
--dark-link: var(--mint);
|
||||
--dark-code-background: #292c3a;
|
||||
|
||||
/* --- LIGHT --- */
|
||||
--background-1st-light: #f6f6fc;
|
||||
--background-2nd-light: #eceff5;
|
||||
--light-divider:#dbe1f0;
|
||||
--light-background-primary: var(--background-1st-light);
|
||||
--light-background-secondary: var(--background-2nd-light);
|
||||
--light-divider-color: var(--light-divider);
|
||||
--light-hr-color: var(--light-divider);
|
||||
--light-accent: var(--light-mint);
|
||||
--light-code: var(--dark-mint);
|
||||
--light-link: var(--light-mint);
|
||||
--light-code-background:#dee1e7;
|
||||
}
|
||||
|
||||
|
||||
.theme-dark {
|
||||
--checklist-done-decoration: none;
|
||||
--checklist-done-color: var(--cool-gray);
|
||||
--file-line-width: var(--line-width);
|
||||
--background-primary: var(--dark-background-primary);
|
||||
--background-secondary: var(--dark-background-secondary);
|
||||
--background-primary-alt: var(--dark-background-secondary);
|
||||
--background-secondary-alt: var(--dark-background-secondary);
|
||||
--tab-divider-color: var(--dark-divider-color);
|
||||
--tab-outline-color: var(--dark-divider-color);
|
||||
--interactive-accent: var(--dark-accent);
|
||||
--color-accent: var(--dark-accent);
|
||||
/* --bold-color: var(--dark-code);
|
||||
--italic-color: var(--dark-link); */
|
||||
--bold-color: var(--dark-link);
|
||||
--link-color: var(--dark-link);
|
||||
--highlight-bg-color: var(--dark-link);
|
||||
--highlight-text-color: var(--rich-black);
|
||||
|
||||
/* Checkboxes */
|
||||
--checkbox-color: var(--dark-link);
|
||||
--checkbox-color-hover: var(--dark-accent);
|
||||
--checkbox-border-color-hover: var(--dark-accent);
|
||||
|
||||
/* Code block*/
|
||||
--codeblock-background: var(--dark-code-background);
|
||||
--codeblock-color: var(--white);
|
||||
--inline-code-background: var(--dark-code-background);
|
||||
/* --inline-code-color: var(--bright-green); */
|
||||
--code-variable-color: var(--white);
|
||||
--code-function-color: var(--mint);
|
||||
--code-builtin-color: var(--tropical-indigo-light);
|
||||
--code-string-color: var(--gold-light);
|
||||
--code-operator-color: var(--mint);
|
||||
--code-comment-color: var(--cool-gray);
|
||||
--code-text-size: 0.9em;
|
||||
--code-size: 0.9rem;
|
||||
|
||||
/* Quotes */
|
||||
--blockquote-background-color: var(--dark-code-background);
|
||||
--blockquote-border-color: var(--dark-accent);
|
||||
--blockquote-border-thickness: 5px;
|
||||
|
||||
--hr-color: var(--dark-hr-color) !important;
|
||||
|
||||
/* Text Formatting */
|
||||
.cm-strong {
|
||||
color: var(--bold-color) !important;
|
||||
}
|
||||
|
||||
/* Inline Code */
|
||||
.cm-s-obsidian span.cm-inline-code {
|
||||
color: var(--dark-code) !important;
|
||||
}
|
||||
.markdown-rendered code {
|
||||
color: var(--dark-code);
|
||||
}
|
||||
|
||||
/* Links */
|
||||
.cm-s-obsidian span.cm-link {
|
||||
color: var(--dark-link) !important;
|
||||
}
|
||||
.cm-s-obsidian span.cm-formatting-link.cm-url, .cm-s-obsidian span.cm-url {
|
||||
color: var(--dark-link) !important;
|
||||
}
|
||||
--links-color: var(--dark-link);
|
||||
/* Tags */
|
||||
.cm-hashtag {
|
||||
color: var(--dark-link) !important;
|
||||
}
|
||||
.tag {
|
||||
color: var(--dark-link) !important;
|
||||
}
|
||||
|
||||
/* Explorer */
|
||||
--folder-title-color: var(--floral-white);
|
||||
--file-title-color: var(--floral-white);
|
||||
--file-content: '📄 ';
|
||||
--folder-filter: invert(51%) sepia(51%) saturate(596%) hue-rotate(89deg) brightness(89%) contrast(84%)
|
||||
|
||||
}
|
||||
|
||||
.theme-light {
|
||||
--checklist-done-decoration: none;
|
||||
--checklist-done-color: var(--cool-gray);
|
||||
--file-line-width: var(--line-width);
|
||||
--background-primary: var(--light-background-primary);
|
||||
--background-secondary: var(--light-background-secondary);
|
||||
--background-primary-alt: var(--light-background-secondary);
|
||||
--background-secondary-alt: var(--light-background-secondary);
|
||||
--tab-divider-color: var(--light-divider-color);
|
||||
--tab-outline-color: var(--light-divider-color);
|
||||
--divider-color: var(--light-divider-color);
|
||||
--interactive-accent: var(--light-accent);
|
||||
--color-accent: var(--light-accent);
|
||||
--bold-color: var(--light-code);
|
||||
/* --italic-color: var(--light-link); */
|
||||
--link-color: var(--light-link);
|
||||
--highlight-bg-color: var(--light-link);
|
||||
--highlight-text-color: var(--rich-black);
|
||||
|
||||
/* Checkboxes */
|
||||
--checkbox-color: var(--light-link);
|
||||
--checkbox-color-hover: var(--light-accent);
|
||||
--checkbox-border-color-hover: var(--light-accent);
|
||||
|
||||
/* Code block */
|
||||
--codeblock-background: var(--light-code-background);
|
||||
--codeblock-color: var(--rich-black);
|
||||
--inline-code-background: var(--light-code-background);
|
||||
--code-variable-color: var(--rich-black);
|
||||
--code-string-color: var(--tropical-indigo);
|
||||
--code-builtin-color: var(--mint);
|
||||
--code-function-color: var(--bittersweet);
|
||||
--code-operator-color: var(--mint);
|
||||
--code-comment-color: var(--cool-gray);
|
||||
--code-text-size: 0.9em;
|
||||
--code-size: 0.9rem;
|
||||
|
||||
--hr-color: var(--light-hr-color) !important;
|
||||
|
||||
|
||||
/* Inline Code */
|
||||
.cm-s-obsidian span.cm-inline-code {
|
||||
color: var(--light-code) !important;
|
||||
}
|
||||
.markdown-rendered code {
|
||||
color: var(--light-code);
|
||||
}
|
||||
|
||||
/* Links */
|
||||
.cm-s-obsidian span.cm-link {
|
||||
color: var(--light-link) !important;
|
||||
}
|
||||
.cm-s-obsidian span.cm-formatting-link.cm-url, .cm-s-obsidian span.cm-url {
|
||||
color: var(--light-link) !important;
|
||||
}
|
||||
--links-color: var(--light-link);
|
||||
|
||||
/* Tags */
|
||||
.cm-hashtag {
|
||||
color: var(--light-link) !important;
|
||||
}
|
||||
.tag {
|
||||
color: var(--light-link) !important;
|
||||
}
|
||||
|
||||
/* Quotes */
|
||||
--blockquote-background-color: var(--light-code-background);
|
||||
--blockquote-border-color: var(--light-accent);
|
||||
--blockquote-border-thickness: 5px;
|
||||
|
||||
/* Explorer */
|
||||
--folder-title-color: var(--rich-black);
|
||||
--file-title-color: var(--rich-black);
|
||||
--folder-filter: invert(55%) sepia(89%) saturate(330%) hue-rotate(89deg) brightness(99%) contrast(88%);
|
||||
--file-content: '📄 ';
|
||||
|
||||
}
|
||||
|
||||
/* ----------- Links ----------- */
|
||||
|
||||
.external-link {
|
||||
color: var(--links-color);
|
||||
}
|
||||
|
||||
/* ----------- Highlight ----------- */
|
||||
|
||||
.cm-s-obsidian span.cm-highlight, .markdown-rendered mark {
|
||||
background-color: var(--highlight-bg-color);
|
||||
color: var(--highlight-text-color);
|
||||
padding: 2px 2px 2px 2px;
|
||||
}
|
||||
|
||||
/* ----------- Quotes ----------- */
|
||||
|
||||
.markdown-source-view.mod-cm6.is-live-preview .HyperMD-quote, .markdown-rendered blockquote {
|
||||
font-style: var(--quote-style);
|
||||
font-size: 0.9em;
|
||||
background-color: var(--quote-background);
|
||||
padding-top: 0.3em;
|
||||
padding-bottom: 0.4em;
|
||||
}
|
||||
|
||||
/* ----------- Tables ----------- */
|
||||
|
||||
table {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
.markdown-preview-view table {
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
|
||||
/* ----------- Images ----------- */
|
||||
|
||||
img {display:block;
|
||||
margin-left:auto;
|
||||
margin-right:auto;}
|
||||
|
||||
.markdown-preview-view img {
|
||||
display: block;
|
||||
margin-top: 20pt;
|
||||
margin-bottom: 20pt;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
width: 40%; /* experiment with values */
|
||||
transition:transform 0.25s ease;
|
||||
}
|
||||
|
||||
.markdown-preview-view img:hover {
|
||||
-webkit-transform:scale(1); /* experiment with values */
|
||||
transform:scale(1.4);
|
||||
}
|
||||
|
||||
/* ----------- Code - Code Block ----------- */
|
||||
|
||||
pre code {
|
||||
background-color: var(--codeblock-background) !important;
|
||||
border: var(--codeblock-background) !important;
|
||||
color: var(--codeblock-color)!important;
|
||||
}
|
||||
|
||||
.markdown-rendered pre {
|
||||
background-color: var(--codeblock-background);
|
||||
}
|
||||
|
||||
pre[class*="language-"],
|
||||
code[class*="language-"]
|
||||
{
|
||||
font-size: var(--code-text-size)!important;
|
||||
background: var(--codeblock-background)!important;
|
||||
color: var(--codeblock-color)!important;
|
||||
}
|
||||
|
||||
.cm-s-obsidian div.HyperMD-codeblock-begin-bg,
|
||||
.cm-s-obsidian div.HyperMD-codeblock-end-bg {
|
||||
background-color: var(--codeblock-background);
|
||||
}
|
||||
|
||||
.cm-s-obsidian div.HyperMD-codeblock-bg {
|
||||
left: 0;
|
||||
right: 0;
|
||||
background-color: var(--codeblock-background);
|
||||
}
|
||||
|
||||
.cm-inline-code{
|
||||
background-color: var(--inline-code-background)!important;
|
||||
color: var(--inline-code-color)!important;
|
||||
font-size: var(--code-text-size)!important;
|
||||
padding: 3px 4px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.markdown-rendered code {
|
||||
background-color: var(--codeblock-background)!important;
|
||||
/* color: var(--white); */
|
||||
color: var(--inline-code-color);
|
||||
font-size: var(--code-text-size)!important;
|
||||
padding: 3px 4px;
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
/* ----------- Code Styling ----------- */
|
||||
|
||||
.cm-link, .cm-variable, .cm-variable-2, .cm-variable-3 {color: var(--code-variable-color)!important;} /* variable */
|
||||
.cm-def.cm-hmd-codeblock, .token.function, .token.class-name{
|
||||
color: var(--code-function-color)!important;
|
||||
text-emphasis: italic;
|
||||
} /* function name in declaration */
|
||||
.cm-builtin, .cm-property, .cm-attribute, .cm-type, .cm-keyword, .token.keyword, .token.builtin, .token.property {color: var(--code-builtin-color)!important;} /* built-in functions, methods */
|
||||
.cm-hmd-codeblock.cm-string, .token.string {color: var(--code-string-color)!important;} /* strings */
|
||||
.cm-hmd-codeblock.cm-number, .token.number {color: var(--code-operator-color)!important} /* numbers */
|
||||
.cm-operator, .token.operator {color: var(--code-operator-color)!important;} /* operators */
|
||||
.cm-hmd-codeblock {color: var(--codeblock-color);} /* codeblock */
|
||||
.cm-comment, .token.comment {color: var(--code-comment-color)!important;} /* comment */
|
||||
|
||||
/* ----------- File Explorer ----------- */
|
||||
|
||||
.nav-folder-children .nav-file-title-content:first-child::before
|
||||
{
|
||||
content: var(--file-content);
|
||||
|
||||
}
|
||||
|
||||
.nav-folder-children .nav-folder-title-content::before
|
||||
{
|
||||
content: '📁 '; /*FCD53F*/
|
||||
margin-right: 0px !important;
|
||||
}
|
||||
|
||||
.nav-folder-title-content
|
||||
{
|
||||
color: var(--folder-title-color);
|
||||
}
|
||||
|
||||
.nav-file-title-content
|
||||
{
|
||||
color: var(--file-title-color);
|
||||
}
|
||||
|
||||
/* how to get CSS filter ?
|
||||
0, open website: https://www.zhangxinxu.com/sp/filter.html
|
||||
1, first: image original color this is : #FCD53F folder color
|
||||
2, second: display color i want : #D6FFF1
|
||||
3, CSS filter trans btn clik: the result is :
|
||||
filter: invert(99%) sepia(90%) saturate(382%) hue-rotate(69deg) brightness(106%) contrast(102%);
|
||||
4, pause👇 : OK ✌️;
|
||||
*/
|
||||
|
||||
.nav-folder-title-content::before {
|
||||
font-size: 13px;
|
||||
|
||||
filter: var(--folder-filter);
|
||||
|
||||
/*
|
||||
/* If you want to change the icon, you only need to modify this code.you can only change d=''
|
||||
*/
|
||||
|
||||
/* Master folder icon */
|
||||
content: url("data:image/svg+xml;charset=UTF-8, <svg xmlns='http://www.w3.org/2000/svg' version='1.1' viewBox='0 0 100 100' width='17' height='17'><path fill='currentColor' stroke='currentColor' d='M6.1,8c-3.3,0-6,2.7-6,6v73.8c-0.1,0.5-0.1,0.9,0.1,1.4c0.6,2.7,3,4.8,5.9,4.8h78c3,0,5.4-2.2,5.9-5.1 c0-0.1,0.1-0.2,0.1-0.4c0,0,0-0.1,0-0.1l0.1-0.3c0,0,0,0,0-0.1l9.9-53.6l0.1-0.2V34c0-3.3-2.7-6-6-6v-6c0-3.3-2.7-6-6-6H36.1 c0,0,0,0-0.1,0c-0.1,0-0.2-0.2-0.6-0.6c-0.5-0.6-1.1-1.5-1.7-2.5c-0.6-1-1.3-2.1-2.1-3C30.9,9,29.7,8,28.1,8L6.1,8z M6.1,12h22 c-0.1,0,0.1,0,0.6,0.6c0.5,0.6,1.1,1.5,1.7,2.5c0.6,1,1.3,2.1,2.1,3c0.8,0.9,1.9,1.9,3.6,1.9h52c1.1,0,2,0.9,2,2v6h-74 c-3.1,0-5.7,2.5-5.9,5.6h-0.1L10.1,34l-6,32.4V14C4.1,12.9,4.9,12,6.1,12z M16.1,32h78c1.1,0,2,0.9,2,2l-9.8,53.1l-0.1,0.1 c0,0.1,0,0.2-0.1,0.2c0,0.1,0,0.2-0.1,0.2c0,0,0,0.1,0,0.1c0,0,0,0,0,0.1c0,0.1,0,0.2-0.1,0.3c0,0.1,0,0.1,0,0.2 c0,0.1,0,0.2,0,0.2c-0.3,0.8-1,1.4-1.9,1.4h-78c-1.1,0-2-0.9-2-2L14,34.4l0.1-0.2V34C14.1,32.9,14.9,32,16.1,32L16.1,32z'/></svg>");
|
||||
|
||||
margin-right: 7px !important;
|
||||
}
|
||||
Reference in New Issue
Block a user