Update default themes (#2475)
This commit is contained in:
@@ -110,18 +110,18 @@ A colour theme ``.conf`` file consists of the following settings:
|
||||
headertag = green:L135
|
||||
emphasis = orange
|
||||
dialog = blue
|
||||
altdialog = blue
|
||||
altdialog = red
|
||||
note = yellow:D125
|
||||
hidden = faded
|
||||
shortcode = green
|
||||
shortcode = blue
|
||||
keyword = red
|
||||
tag = green
|
||||
value = blue
|
||||
optional = green
|
||||
value = green
|
||||
optional = blue
|
||||
spellcheckline = red
|
||||
errorline = green
|
||||
replacetag = green
|
||||
modifier = green
|
||||
modifier = blue
|
||||
texthighlight = yellow:72
|
||||
|
||||
|
||||
|
||||
@@ -63,11 +63,11 @@ dialog = blue
|
||||
altdialog = red
|
||||
note = yellow
|
||||
hidden = faded
|
||||
shortcode = green
|
||||
shortcode = blue
|
||||
keyword = red
|
||||
tag = green
|
||||
value = green
|
||||
optional = green
|
||||
optional = blue
|
||||
spellcheckline = red
|
||||
errorline = green
|
||||
replacetag = green
|
||||
|
||||
@@ -63,11 +63,11 @@ dialog = blue
|
||||
altdialog = red
|
||||
note = yellow:D125
|
||||
hidden = faded
|
||||
shortcode = green
|
||||
shortcode = blue
|
||||
keyword = red
|
||||
tag = green
|
||||
value = green
|
||||
optional = green
|
||||
optional = blue
|
||||
spellcheckline = red
|
||||
errorline = green
|
||||
replacetag = green
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%%~name: John Smith
|
||||
%%~path: f7e2d9f330615/14298de4d9524
|
||||
%%~kind: CHARACTER/NOTE
|
||||
%%~hash: f85b4da6ba4a557db0c4d5f1b59f33ba01542606
|
||||
%%~date: Unknown/2024-01-30 10:58:18
|
||||
%%~hash: d344894f612ee7b6f75e60a8d2cfdf32c78d1b0a
|
||||
%%~date: Unknown/2025-07-16 12:09:00
|
||||
# John Smith
|
||||
|
||||
@tag: John | John Smith
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%%~name: Chapter One
|
||||
%%~path: 7031beac91f75/6a2d6d5f4f401
|
||||
%%~kind: NOVEL/DOCUMENT
|
||||
%%~hash: 89687756c204742d17f1d37a0ba7fa3aadaf00f2
|
||||
%%~date: Unknown/2023-08-25 16:51:56
|
||||
%%~hash: 4310d3f9d399b5cf1eef66d7d7caa8b022fc6663
|
||||
%%~date: Unknown/2025-07-16 12:09:14
|
||||
## So it Begins
|
||||
|
||||
@pov: Jane
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%%~name: Chapter One
|
||||
%%~path: e5e47ebf63b1c/a520879ca0b45
|
||||
%%~kind: NOVEL/DOCUMENT
|
||||
%%~hash: 2285256b970dbb3ccf833d9275cd5f8935b6aff1
|
||||
%%~date: Unknown/2023-08-25 16:52:02
|
||||
%%~hash: 223ba31c0cd6c59ebb14df7f26e722c3ef3eea42
|
||||
%%~date: Unknown/2025-07-16 12:09:42
|
||||
## Chapter One
|
||||
|
||||
@pov: Jane
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%%~name: Title Page
|
||||
%%~path: e5e47ebf63b1c/bacb7059e3083
|
||||
%%~kind: NOVEL/DOCUMENT
|
||||
%%~hash: 16b55dd0f8dc6bbba266384930a87ec211d471df
|
||||
%%~date: Unknown/2023-08-25 16:52:01
|
||||
%%~hash: 4805628d99711129c7296b01e5059410993ebd02
|
||||
%%~date: Unknown/2025-07-16 12:09:35
|
||||
#! Sequel Novel
|
||||
|
||||
>> **By Jane Doh** <<
|
||||
|
||||
@@ -1,8 +1,8 @@
|
||||
%%~name: Jane Smith
|
||||
%%~path: f7e2d9f330615/bb2c23b3c42cc
|
||||
%%~kind: CHARACTER/NOTE
|
||||
%%~hash: 10f072a4bf7389b0c178a4181e50833d39b945af
|
||||
%%~date: Unknown/2024-01-30 11:05:37
|
||||
%%~hash: d3911172cd384130e57b3754ea8a3ff30633f825
|
||||
%%~date: Unknown/2025-07-16 12:09:50
|
||||
# Jane Smith
|
||||
|
||||
@tag: Jane | Jane Smith
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
<?xml version='1.0' encoding='utf-8'?>
|
||||
<novelWriterXML appVersion="2.8a1" hexVersion="0x020800a1" fileVersion="1.5" fileRevision="6" timeStamp="2025-07-13 18:58:02">
|
||||
<project id="e2be99af-f9bf-4403-857a-c3d1ac25abea" saveCount="2279" autoCount="301" editTime="99977">
|
||||
<novelWriterXML appVersion="2.8a1" hexVersion="0x020800a1" fileVersion="1.5" fileRevision="6" timeStamp="2025-07-16 12:10:17">
|
||||
<project id="e2be99af-f9bf-4403-857a-c3d1ac25abea" saveCount="2282" autoCount="304" editTime="100292">
|
||||
<name>Sample Project</name>
|
||||
<author>Jane Smith</author>
|
||||
</project>
|
||||
@@ -54,7 +54,7 @@
|
||||
<name status="s90e6c9" import="ia857f0" active="yes">Part One</name>
|
||||
</item>
|
||||
<item handle="6a2d6d5f4f401" parent="7031beac91f75" root="7031beac91f75" order="3" type="FILE" class="NOVEL" layout="DOCUMENT">
|
||||
<meta expanded="yes" heading="H2" charCount="95" wordCount="18" paraCount="1" cursorPos="291" />
|
||||
<meta expanded="yes" heading="H2" charCount="95" wordCount="18" paraCount="1" cursorPos="47" />
|
||||
<name status="sf24ce6" import="ia857f0" active="yes">Chapter One</name>
|
||||
</item>
|
||||
<item handle="636b6aa9b697b" parent="6a2d6d5f4f401" root="7031beac91f75" order="0" type="FILE" class="NOVEL" layout="DOCUMENT">
|
||||
@@ -86,11 +86,11 @@
|
||||
<name status="sf12341" import="ia857f0">Sequel</name>
|
||||
</item>
|
||||
<item handle="bacb7059e3083" parent="e5e47ebf63b1c" root="e5e47ebf63b1c" order="0" type="FILE" class="NOVEL" layout="DOCUMENT">
|
||||
<meta expanded="no" heading="H1" charCount="27" wordCount="5" paraCount="1" cursorPos="100" />
|
||||
<meta expanded="no" heading="H1" charCount="27" wordCount="5" paraCount="1" cursorPos="41" />
|
||||
<name status="sc24b8f" import="ia857f0" active="yes">Title Page</name>
|
||||
</item>
|
||||
<item handle="a520879ca0b45" parent="e5e47ebf63b1c" root="e5e47ebf63b1c" order="1" type="FILE" class="NOVEL" layout="DOCUMENT">
|
||||
<meta expanded="no" heading="H2" charCount="299" wordCount="55" paraCount="2" cursorPos="387" />
|
||||
<meta expanded="no" heading="H2" charCount="299" wordCount="55" paraCount="2" cursorPos="29" />
|
||||
<name status="s8ae72a" import="ia857f0" active="yes">Chapter One</name>
|
||||
</item>
|
||||
<item handle="f6622b4617424" parent="None" root="f6622b4617424" order="2" type="ROOT" class="CHARACTER">
|
||||
@@ -102,11 +102,11 @@
|
||||
<name status="sf12341" import="ia857f0">Main Characters</name>
|
||||
</item>
|
||||
<item handle="14298de4d9524" parent="f7e2d9f330615" root="f6622b4617424" order="0" type="FILE" class="CHARACTER" layout="NOTE">
|
||||
<meta expanded="no" heading="H1" charCount="49" wordCount="9" paraCount="1" cursorPos="23" />
|
||||
<meta expanded="no" heading="H1" charCount="49" wordCount="9" paraCount="1" cursorPos="40" />
|
||||
<name status="sf12341" import="i2d7a54" active="yes">John Smith</name>
|
||||
</item>
|
||||
<item handle="bb2c23b3c42cc" parent="f7e2d9f330615" root="f6622b4617424" order="1" type="FILE" class="CHARACTER" layout="NOTE">
|
||||
<meta expanded="no" heading="H1" charCount="55" wordCount="9" paraCount="1" cursorPos="31" />
|
||||
<meta expanded="no" heading="H1" charCount="55" wordCount="9" paraCount="1" cursorPos="40" />
|
||||
<name status="sf12341" import="i56be10" active="yes">Jane Smith</name>
|
||||
</item>
|
||||
<item handle="15c4492bd5107" parent="None" root="15c4492bd5107" order="3" type="ROOT" class="WORLD">
|
||||
|
||||
@@ -37,7 +37,7 @@ T_HANDLE = "0123456789abc"
|
||||
@pytest.fixture()
|
||||
def syntax(nwGUI):
|
||||
"""Create a syntax object for use with testing."""
|
||||
CONFIG.lightTheme = "tomorrow"
|
||||
CONFIG.lightTheme = "default_light"
|
||||
CONFIG.themeMode = nwTheme.LIGHT
|
||||
|
||||
CONFIG.dialogStyle = 3
|
||||
@@ -48,8 +48,8 @@ def syntax(nwGUI):
|
||||
|
||||
theme = SHARED.theme
|
||||
theme.loadTheme(force=True)
|
||||
assert theme._guiPalette.base().color().getRgb() == (0xff, 0xff, 0xff, 0xff)
|
||||
assert theme.syntaxTheme.text.getRgb() == (0x4d, 0x4d, 0x4c, 0xff)
|
||||
assert theme._guiPalette.base().color().getRgb() == (0xfc, 0xfc, 0xfc, 0xff)
|
||||
assert theme.syntaxTheme.text.getRgb() == (0x30, 0x30, 0x30, 0xff)
|
||||
|
||||
doc = QTextDocument()
|
||||
syntax = GuiDocHighlighter(doc)
|
||||
|
||||
Reference in New Issue
Block a user