Skip to content

Commit

Permalink
Merge pull request #143 from TankNee/rebuild/fix
Browse files Browse the repository at this point in the history
2.1.7 [fix]: fix fatal error
  • Loading branch information
TankNee authored Aug 11, 2021
2 parents d940b1b + e59cb01 commit 4500939
Show file tree
Hide file tree
Showing 5 changed files with 452 additions and 10 deletions.
251 changes: 251 additions & 0 deletions src-electron/main-process/assets/css/Default-Dark.dark.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,251 @@
export default `:root {
--backgroundColor: #35373e;
--editorAreaWidth: 90%;
--activeItemBgColor: rgb(41, 42, 44);
/*editor*/
--themeColor: rgb(242, 192, 55);
--themeColor90: rgba(242, 192, 55, .9);
--themeColor80: rgba(242, 192, 55, .8);
--themeColor70: rgba(242, 192, 55, .7);
--themeColor60: rgba(242, 192, 55, .6);
--themeColor50: rgba(242, 192, 55, .5);
--themeColor40: rgba(242, 192, 55, .4);
--themeColor30: rgba(242, 192, 55, .3);
--themeColor20: rgba(242, 192, 55, .2);
--themeColor10: rgba(242, 192, 55, .1);
--highlightColor: rgba(102, 177, 255, .6);
--selectionColor: rgba(70, 122, 189, .7);
--editorColor: rgba(222, 222, 222, .7);
--editorColor80: rgba(222, 222, 222, .8);
--editorColor60: rgba(222, 222, 222, .6);
--editorColor50: rgba(222, 222, 222, .5);
--editorColor40: rgba(222, 222, 222, .4);
--editorColor30: rgba(222, 222, 222, .3);
--editorColor10: rgba(222, 222, 222, .1);
--editorColor04: rgba(222, 222, 222, .04);
--editorBgColor: rgb(53, 55, 62);
--deleteColor: #cf000f;
--iconColor: rgba(255, 255, 255, .56);
--codeBgColor: #424344;
--codeBlockBgColor: #424344;
--footnoteBgColor: rgba(66, 67, 68, .3);
--inputBgColor: #2f3336;
--focusColor: var(--themeColor);
--buttonFontColor: rgba(255, 255, 255, .6);
--buttonBgColor: #424344;
--buttonBorder: 1px solid rgba(0, 0, 0, 0.2);
--buttonShadow: none;
--buttonFontColorHover: var(--buttonFontColor);
--buttonBgColorHover: #4f5051;
--buttonBorderHover: 1px solid rgba(0, 0, 0, 0.3);
--buttonFontColorActive: var(--buttonFontColor);
--buttonBgColorActive: #333434;
--buttonBorderActive: var(--buttonBorder);
--buttonPrimaryFontColor: #ffffff;
--buttonPrimaryBgColor: var(--themeColor);
--buttonPrimaryBorder: none;
--buttonPrimaryShadow: none;
--buttonPrimaryFontColorHover: var(--buttonPrimaryFontColor);
--buttonPrimaryBgColorHover: #5aabff;
--buttonPrimaryBorderHover: var(--buttonPrimaryBorder);
--buttonPrimaryFontColorActive: var(--buttonPrimaryFontColor);
--buttonPrimaryBgColorActive: #2791ff;
--buttonPrimaryBorderActive: var(--buttonPrimaryBorder);
--buttonPrimaryFocusBorder: none;
--buttonPrimaryFocusShadow: inset 0 0 0 1px rgba(24, 26, 31, 0.5), 0 0 0 1px var(--themeColor);
--tableBorderColor: rgb(158, 158, 158);
--highlightThemeColor: rgb(170, 147, 114);
--treeNodeColor: rgb(174, 180, 187);
/*marktext*/
--sideBarColor: rgba(255, 255, 255, .6);
--sideBarIconColor: var(--iconColor);
--sideBarTitleColor: rgba(255, 255, 255, .8);
--sideBarTextColor: rgba(255, 255, 255, .4);
--sideBarBgColor: #1e1e1e;
--sideBarItemHoverBgColor: rgba(255, 255, 255, .03);
--itemBgColor: #3C4650;
--floatFontColor: rgba(255, 255, 255, .7);
--floatBgColor: #3C4650;
--floatHoverColor: rgba(255, 255, 255, .04);
--floatBorderColor: rgba(0, 0, 0, .05);
--floatShadow: rgba(0, 0, 0, 0.2);
--maskColor: rgba(0, 0, 0, .7);
--editorAreaWidth: 750px;
--floatShadow: rgba(15, 15, 15, 0.03) 0px 0px 0px 1px, rgba(15, 15, 15, 0.04) 0px 3px 6px, rgba(15, 15, 15, 0.05) 0px 9px 24px;
}
::-webkit-scrollbar {
background: var(--editorBgColor);
}
#ag-editor-id {
color: #B8BFC6;
}
/* ------------------------------------ */
:not(pre) > code[class*="language-"],
pre:not(.CodeMirror-line),
pre[class*="language-"],
pre.ag-paragraph {
background: var(--codeBlockBgColor) !important;
border: none !important;
}
p:not(.ag-active)[data-role="hr"]::before {
border-top: 2px dashed var(--editorColor10) !important;
background: none !important;
}
figure.ag-active.ag-container-block > div.ag-container-preview {
box-shadow: 0 3px 8px 0 var(--floatShadow) !important;
}
/**
* prism.js default theme for JavaScript, CSS and HTML
* Based on dabblet (http://dabblet.com)
* @author Lea Verou
The MIT License (MIT)
Copyright (c) 2016 Adrián
Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.
*/
#mind code {
color: inherit;
background: transparent;
}
code[class*="language-"],
pre.ag-paragraph {
color: #ABB2BF;
/*font-family: Consolas, Monaco, 'Andale Mono', 'Ubuntu Mono', monospace;*/
text-align: left;
white-space: pre;
word-spacing: normal;
word-break: normal;
word-wrap: normal;
-moz-tab-size: 4;
-o-tab-size: 4;
tab-size: 4;
text-shadow: none;
-webkit-hyphens: none;
-moz-hyphens: none;
-ms-hyphens: none;
hyphens: none;
font-family: JetBrains Mono;
}
/* Code Fence */
pre.ag-paragraph {
padding: 1em;
margin: 1em 0;
border-radius: 0.3em;
}
/* Inline Code */
:not(pre) > code[class*="language-"],
pre.ag-paragraph {
background: #3a3f4b;
}
/* Inline Code */
:not(pre) > code[class*="language-"] {
padding: .1em;
border-radius: .3em;
white-space: normal;
}
.token.comment,
.token.prolog,
.token.doctype,
.token.cdata {
color: #5C6370;
}
.token.punctuation {
color: #abb2bf;
}
.token.selector,
.token.tag {
color: #e06c75;
}
.token.property,
.token.boolean,
.token.number,
.token.constant,
.token.symbol,
.token.attr-name,
.token.deleted {
color: #d19a66;
}
.token.string,
.token.char,
.token.attr-value,
.token.builtin,
.token.inserted {
color: #98c379;
}
.token.operator,
.token.entity,
.token.url,
.language-css .token.string,
.style .token.string {
color: #56b6c2;
background-color: transparent !important;
}
.token.atrule,
.token.keyword {
color: #c678dd;
}
.token.function {
color: #61afef;
}
.token.regex,
.token.important,
.token.variable {
color: #c678dd;
}
.token.important,
.token.bold {
font-weight: bold;
}
.token.italic {
font-style: italic;
}
.token.entity {
cursor: help;
}
`
Loading

0 comments on commit 4500939

Please sign in to comment.