Use consistent dialogue colours in preview, ODT and HTML
This commit is contained in:
@@ -435,8 +435,8 @@ class ToHtml(Tokenizer):
|
|||||||
styles.append(".break {text-align: left;}")
|
styles.append(".break {text-align: left;}")
|
||||||
styles.append(".synopsis {font-style: italic;}")
|
styles.append(".synopsis {font-style: italic;}")
|
||||||
styles.append(".comment {font-style: italic; color: rgb(100, 100, 100);}")
|
styles.append(".comment {font-style: italic; color: rgb(100, 100, 100);}")
|
||||||
styles.append(".dialog {color: rgb(174, 0, 0);}")
|
styles.append(".dialog {color: rgb(66, 113, 174);}")
|
||||||
styles.append(".altdialog {color: rgb(66, 113, 174);}")
|
styles.append(".altdialog {color: rgb(129, 55, 9);}")
|
||||||
|
|
||||||
return styles
|
return styles
|
||||||
|
|
||||||
|
|||||||
@@ -341,8 +341,8 @@ class GuiManuscript(NToolDialog):
|
|||||||
theme.keyword = QColor(245, 135, 31)
|
theme.keyword = QColor(245, 135, 31)
|
||||||
theme.tag = QColor(66, 113, 174)
|
theme.tag = QColor(66, 113, 174)
|
||||||
theme.optional = QColor(66, 113, 174)
|
theme.optional = QColor(66, 113, 174)
|
||||||
theme.dialog = QColor(174, 0, 0)
|
theme.dialog = QColor(66, 113, 174)
|
||||||
theme.altdialog = QColor(66, 113, 174)
|
theme.altdialog = QColor(129, 55, 9)
|
||||||
|
|
||||||
self.docPreview.beginNewBuild(len(docBuild))
|
self.docPreview.beginNewBuild(len(docBuild))
|
||||||
for step, _ in docBuild.iterBuildPreview(theme):
|
for step, _ in docBuild.iterBuildPreview(theme):
|
||||||
|
|||||||
@@ -19,8 +19,8 @@ mark {background: rgb(255, 255, 166);}
|
|||||||
.break {text-align: left;}
|
.break {text-align: left;}
|
||||||
.synopsis {font-style: italic;}
|
.synopsis {font-style: italic;}
|
||||||
.comment {font-style: italic; color: rgb(100, 100, 100);}
|
.comment {font-style: italic; color: rgb(100, 100, 100);}
|
||||||
.dialog {color: rgb(174, 0, 0);}
|
.dialog {color: rgb(66, 113, 174);}
|
||||||
.altdialog {color: rgb(66, 113, 174);}
|
.altdialog {color: rgb(129, 55, 9);}
|
||||||
</style>
|
</style>
|
||||||
<body>
|
<body>
|
||||||
<article>
|
<article>
|
||||||
|
|||||||
@@ -2,8 +2,8 @@
|
|||||||
"meta": {
|
"meta": {
|
||||||
"projectName": "Lorem Ipsum",
|
"projectName": "Lorem Ipsum",
|
||||||
"novelAuthor": "lipsum.com",
|
"novelAuthor": "lipsum.com",
|
||||||
"buildTime": 1718032228,
|
"buildTime": 1718057434,
|
||||||
"buildTimeStr": "2024-06-10 17:10:28"
|
"buildTimeStr": "2024-06-11 00:10:34"
|
||||||
},
|
},
|
||||||
"text": {
|
"text": {
|
||||||
"css": [
|
"css": [
|
||||||
@@ -21,8 +21,8 @@
|
|||||||
".break {text-align: left;}",
|
".break {text-align: left;}",
|
||||||
".synopsis {font-style: italic;}",
|
".synopsis {font-style: italic;}",
|
||||||
".comment {font-style: italic; color: rgb(100, 100, 100);}",
|
".comment {font-style: italic; color: rgb(100, 100, 100);}",
|
||||||
".dialog {color: rgb(174, 0, 0);}",
|
".dialog {color: rgb(66, 113, 174);}",
|
||||||
".altdialog {color: rgb(66, 113, 174);}"
|
".altdialog {color: rgb(129, 55, 9);}"
|
||||||
],
|
],
|
||||||
"html": [
|
"html": [
|
||||||
[
|
[
|
||||||
|
|||||||
Reference in New Issue
Block a user