openlp-core team mailing list archive
-
openlp-core team
-
Mailing list archive
-
Message #08505
[Merge] lp:~trb143/openlp/b1 into lp:openlp
Tim Bentley has proposed merging lp:~trb143/openlp/b1 into lp:openlp.
Requested reviews:
OpenLP Core (openlp-core)
Related bugs:
Bug #774853 in OpenLP: "Color formatting tag displays incorrect color"
https://bugs.launchpad.net/openlp/+bug/774853
For more details, see:
https://code.launchpad.net/~trb143/openlp/b1/+merge/59618
Correct Colour specifications
--
https://code.launchpad.net/~trb143/openlp/b1/+merge/59618
Your team OpenLP Core is requested to review the proposed merge of lp:~trb143/openlp/b1 into lp:openlp.
=== modified file 'openlp/core/lib/__init__.py'
--- openlp/core/lib/__init__.py 2011-04-16 11:42:35 +0000
+++ openlp/core/lib/__init__.py 2011-05-01 14:01:01 +0000
@@ -37,6 +37,7 @@
base_html_expands = []
+# Hex Color tags from http://www.w3schools.com/html/html_colornames.asp
base_html_expands.append({u'desc': u'Red', u'start tag': u'{r}',
u'start html': u'<span style="-webkit-text-fill-color:red">',
u'end tag': u'{/r}', u'end html': u'</span>', u'protected': True})
@@ -53,13 +54,13 @@
u'start html': u'<span style="-webkit-text-fill-color:green">',
u'end tag': u'{/g}', u'end html': u'</span>', u'protected': True})
base_html_expands.append({u'desc': u'Pink', u'start tag': u'{pk}',
- u'start html': u'<span style="-webkit-text-fill-color:#CC33CC">',
+ u'start html': u'<span style="-webkit-text-fill-color:#FFCOCB">',
u'end tag': u'{/pk}', u'end html': u'</span>', u'protected': True})
base_html_expands.append({u'desc': u'Orange', u'start tag': u'{o}',
- u'start html': u'<span style="-webkit-text-fill-color:#CC0033">',
+ u'start html': u'<span style="-webkit-text-fill-color:#FFA500">',
u'end tag': u'{/o}', u'end html': u'</span>', u'protected': True})
base_html_expands.append({u'desc': u'Purple', u'start tag': u'{pp}',
- u'start html': u'<span style="-webkit-text-fill-color:#9900FF">',
+ u'start html': u'<span style="-webkit-text-fill-color:#800080">',
u'end tag': u'{/pp}', u'end html': u'</span>', u'protected': True})
base_html_expands.append({u'desc': u'White', u'start tag': u'{w}',
u'start html': u'<span style="-webkit-text-fill-color:white">',
Follow ups