refine theme VSCode-dark
@ -93,6 +93,7 @@
|
|||||||
<file>icons/search_dock.svg</file>
|
<file>icons/search_dock.svg</file>
|
||||||
<file>icons/snippet_dock.svg</file>
|
<file>icons/snippet_dock.svg</file>
|
||||||
<file>icons/location_list_dock.svg</file>
|
<file>icons/location_list_dock.svg</file>
|
||||||
|
<file>icons/console_dock.svg</file>
|
||||||
<file>logo/vnote.svg</file>
|
<file>logo/vnote.svg</file>
|
||||||
<file>logo/vnote.png</file>
|
<file>logo/vnote.png</file>
|
||||||
<file>logo/256x256/vnote.png</file>
|
<file>logo/256x256/vnote.png</file>
|
||||||
|
1
src/data/core/icons/console_dock.svg
Normal file
@ -0,0 +1 @@
|
|||||||
|
<?xml version="1.0" standalone="no"?><!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd"><svg t="1641561431900" class="icon" viewBox="0 0 1024 1024" version="1.1" xmlns="http://www.w3.org/2000/svg" p-id="9361" width="512" height="512" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><style type="text/css"></style></defs><path d="M853.333333 810.666667 853.333333 298.666667 170.666667 298.666667 170.666667 810.666667 853.333333 810.666667M853.333333 128C900.266667 128 938.666667 166.4 938.666667 213.333333L938.666667 810.666667C938.666667 857.6 900.266667 896 853.333333 896L170.666667 896C123.733333 896 85.333333 857.6 85.333333 810.666667L85.333333 213.333333C85.333333 165.973333 123.733333 128 170.666667 128L853.333333 128M554.666667 725.333333 554.666667 640 768 640 768 725.333333 554.666667 725.333333M408.746667 554.666667 237.653333 384 358.4 384 499.2 524.8C515.84 541.44 515.84 568.746667 499.2 585.386667L359.253333 725.333333 238.506667 725.333333 408.746667 554.666667Z" p-id="9362" fill="#000000"></path></svg>
|
After Width: | Height: | Size: 1.1 KiB |
@ -540,5 +540,39 @@
|
|||||||
<file>syntax-highlighting/syntax/yang.xml</file>
|
<file>syntax-highlighting/syntax/yang.xml</file>
|
||||||
<file>syntax-highlighting/syntax/zonnon.xml</file>
|
<file>syntax-highlighting/syntax/zonnon.xml</file>
|
||||||
<file>syntax-highlighting/syntax/zsh.xml</file>
|
<file>syntax-highlighting/syntax/zsh.xml</file>
|
||||||
|
<file>syntax-highlighting/themes/vscode-dark.theme</file>
|
||||||
|
<file>themes/vscode-dark/arrow_dropdown.svg</file>
|
||||||
|
<file>themes/vscode-dark/arrow_dropdown_disabled.svg</file>
|
||||||
|
<file>themes/vscode-dark/branch_closed.svg</file>
|
||||||
|
<file>themes/vscode-dark/branch_open.svg</file>
|
||||||
|
<file>themes/vscode-dark/checkbox_checked.svg</file>
|
||||||
|
<file>themes/vscode-dark/checkbox_checked_disabled.svg</file>
|
||||||
|
<file>themes/vscode-dark/checkbox_unchecked.svg</file>
|
||||||
|
<file>themes/vscode-dark/checkbox_unchecked_disabled.svg</file>
|
||||||
|
<file>themes/vscode-dark/close.svg</file>
|
||||||
|
<file>themes/vscode-dark/close_grey.svg</file>
|
||||||
|
<file>themes/vscode-dark/cover.png</file>
|
||||||
|
<file>themes/vscode-dark/down.svg</file>
|
||||||
|
<file>themes/vscode-dark/down_disabled.svg</file>
|
||||||
|
<file>themes/vscode-dark/float.svg</file>
|
||||||
|
<file>themes/vscode-dark/highlight.css</file>
|
||||||
|
<file>themes/vscode-dark/interface.qss</file>
|
||||||
|
<file>themes/vscode-dark/left.svg</file>
|
||||||
|
<file>themes/vscode-dark/left_disabled.svg</file>
|
||||||
|
<file>themes/vscode-dark/menu_checkbox.svg</file>
|
||||||
|
<file>themes/vscode-dark/menu_radiobutton.svg</file>
|
||||||
|
<file>themes/vscode-dark/palette.json</file>
|
||||||
|
<file>themes/vscode-dark/radiobutton_checked.svg</file>
|
||||||
|
<file>themes/vscode-dark/radiobutton_checked_disabled.svg</file>
|
||||||
|
<file>themes/vscode-dark/radiobutton_unchecked.svg</file>
|
||||||
|
<file>themes/vscode-dark/radiobutton_unchecked_disabled.svg</file>
|
||||||
|
<file>themes/vscode-dark/readme.md</file>
|
||||||
|
<file>themes/vscode-dark/right.svg</file>
|
||||||
|
<file>themes/vscode-dark/right_disabled.svg</file>
|
||||||
|
<file>themes/vscode-dark/sizegrip.svg</file>
|
||||||
|
<file>themes/vscode-dark/text-editor.theme</file>
|
||||||
|
<file>themes/vscode-dark/up.svg</file>
|
||||||
|
<file>themes/vscode-dark/up_disabled.svg</file>
|
||||||
|
<file>themes/vscode-dark/web.css</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"metadata" : {
|
"metadata" : {
|
||||||
"revision" : 1,
|
"revision" : 1,
|
||||||
"name" : "dark_vs"
|
"name" : "vscode-dark"
|
||||||
},
|
},
|
||||||
"text-styles": {
|
"text-styles": {
|
||||||
"Normal" : {
|
"Normal" : {
|
Before Width: | Height: | Size: 548 B After Width: | Height: | Size: 548 B |
Before Width: | Height: | Size: 548 B After Width: | Height: | Size: 548 B |
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 247 B After Width: | Height: | Size: 247 B |
Before Width: | Height: | Size: 555 B After Width: | Height: | Size: 555 B |
Before Width: | Height: | Size: 555 B After Width: | Height: | Size: 555 B |
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 350 B After Width: | Height: | Size: 350 B |
Before Width: | Height: | Size: 995 B After Width: | Height: | Size: 995 B |
Before Width: | Height: | Size: 995 B After Width: | Height: | Size: 995 B |
Before Width: | Height: | Size: 50 KiB After Width: | Height: | Size: 50 KiB |
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 264 B |
Before Width: | Height: | Size: 264 B After Width: | Height: | Size: 264 B |
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 309 B After Width: | Height: | Size: 309 B |
Before Width: | Height: | Size: 353 B After Width: | Height: | Size: 353 B |
Before Width: | Height: | Size: 346 B After Width: | Height: | Size: 346 B |
@ -3,14 +3,14 @@
|
|||||||
"revision" : 0,
|
"revision" : 0,
|
||||||
"//comment" : "If there is a file named 'editor-highlight.theme' under theme folder, this value will be ignored.",
|
"//comment" : "If there is a file named 'editor-highlight.theme' under theme folder, this value will be ignored.",
|
||||||
"//comment" : "Otherwise, this value specify the theme name to use for syntax highlighting.",
|
"//comment" : "Otherwise, this value specify the theme name to use for syntax highlighting.",
|
||||||
"editor-highlight-theme" : "dark_vs",
|
"editor-highlight-theme" : "vscode-dark",
|
||||||
"//comment" : "If there is a file named 'markdown-editor-highlight.theme' under theme folder, this value will be ignored.",
|
"//comment" : "If there is a file named 'markdown-editor-highlight.theme' under theme folder, this value will be ignored.",
|
||||||
"//comment" : "Otherwise, this value specify the theme name to use for syntax highlighting.",
|
"//comment" : "Otherwise, this value specify the theme name to use for syntax highlighting.",
|
||||||
"//comment" : "If empty, 'editor-highlight-theme' will be used.",
|
"//comment" : "If empty, 'editor-highlight-theme' will be used.",
|
||||||
"markdown-editor-highlight-theme" : "dark_vs",
|
"markdown-editor-highlight-theme" : "vscode-dark",
|
||||||
"display_name" : "dark_vs",
|
"display_name" : "VSCode-dark",
|
||||||
"//comment" : "Display name for different locales",
|
"//comment" : "Display name for different locales",
|
||||||
"display_name_zh_CN" : "黑暗"
|
"display_name_zh_CN" : "VSCode-深色"
|
||||||
},
|
},
|
||||||
"palette" : {
|
"palette" : {
|
||||||
"bg1_1" : "#07080d",
|
"bg1_1" : "#07080d",
|
Before Width: | Height: | Size: 549 B After Width: | Height: | Size: 549 B |
Before Width: | Height: | Size: 549 B After Width: | Height: | Size: 549 B |
Before Width: | Height: | Size: 351 B After Width: | Height: | Size: 351 B |
Before Width: | Height: | Size: 351 B After Width: | Height: | Size: 351 B |
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 969 B After Width: | Height: | Size: 969 B |
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"metadata" : {
|
"metadata" : {
|
||||||
"revision" : 0,
|
"revision" : 0,
|
||||||
"name" : "dark_vs",
|
"name" : "vscode-dark",
|
||||||
"type" : "vtextedit"
|
"type" : "vtextedit"
|
||||||
},
|
},
|
||||||
"editor-styles" : {
|
"editor-styles" : {
|
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 295 B |
Before Width: | Height: | Size: 295 B After Width: | Height: | Size: 295 B |
@ -79,6 +79,8 @@ QString DockWidgetHelper::iconFileName(DockIndex p_dockIndex)
|
|||||||
return "snippet_dock.svg";
|
return "snippet_dock.svg";
|
||||||
case DockIndex::LocationListDock:
|
case DockIndex::LocationListDock:
|
||||||
return "location_list_dock.svg";
|
return "location_list_dock.svg";
|
||||||
|
case DockIndex::ConsoleDock:
|
||||||
|
return "console_dock.svg";
|
||||||
default:
|
default:
|
||||||
return QString();
|
return QString();
|
||||||
}
|
}
|
||||||
|
@ -1057,7 +1057,6 @@ void MarkdownEditor::parseToMarkdownAndPaste()
|
|||||||
void MarkdownEditor::handleHtmlToMarkdownData(quint64 p_id, TimeStamp p_timeStamp, const QString &p_text)
|
void MarkdownEditor::handleHtmlToMarkdownData(quint64 p_id, TimeStamp p_timeStamp, const QString &p_text)
|
||||||
{
|
{
|
||||||
Q_UNUSED(p_id);
|
Q_UNUSED(p_id);
|
||||||
qDebug() << "htmlToMarkdownData" << p_timeStamp << p_text;
|
|
||||||
if (m_timeStamp == p_timeStamp && !p_text.isEmpty()) {
|
if (m_timeStamp == p_timeStamp && !p_text.isEmpty()) {
|
||||||
QString text(p_text);
|
QString text(p_text);
|
||||||
|
|
||||||
|