Page 1 of 1

Custom colour schemes

Posted: Fri Jan 13, 2012 10:57 pm
by gregster
The stock colour scheme for Oxygen is tough for me to endure for hours on end.

The Zenburn look is just right for my eyes, so I've taken a stab at a Zenburn-ish scheme for Oxygen. I only have XML, XQuery, XPath and Javascript completed, but if it helps anyone else out you're welcome to it.

Get it here:
http://hcmc.uvic.ca/people/greg/oxypref ... enburn.xml

Re: Custom colour schemes

Posted: Tue Feb 21, 2012 9:29 pm
by bds
hi Greg & others,

i'm interesting in applying (and tweaking) this color scheme -- however, short of rekeying the new values, i'm not seeing a way to "import" a color scheme (this being the only one).

is there a directory to drop a file like this? or, a config file that can be edited, perhaps somewhere in ~/oxygen/frameworks/?

@Greg - thanks very much for the coloring scheme! dark colors are easier on my eyes, too.

cheers!

Re: Custom colour schemes

Posted: Tue Feb 21, 2012 9:31 pm
by bds
i see another thread on importing global options. apologies for the post.

Re: Custom colour schemes

Posted: Fri Feb 24, 2012 1:54 am
by bds
hi all - thanks in advance for any suggestions you have regarding this issue. i'm working on a color scheme, but there are certain characters that 1) aren't following the scheme, and 2) seem to be non-editable.

i've attached a screenshot illustrating the problem:Image

the characters in question:
<xsl:template match="/*"> or <xsl:apply-templates select="@*|node()"/>

i'm not finding a place to edit attribute values, or values in nested double/single quotes. is it there and i'm overlooking it? thanks again.

Re: Custom colour schemes

Posted: Fri Feb 24, 2012 2:25 am
by adrian
@bds: What version of Oxygen are you using(Help > About)?

I believe there were some tokens in v12 and earlier that could not be configured.

Regards,
Adrian

Re: Custom colour schemes

Posted: Fri Feb 24, 2012 2:37 am
by bds
@Adrian,
oXygen 13.2, build 2012012413

thanks!

Re: Custom colour schemes

Posted: Fri Feb 24, 2012 3:40 pm
by adrian
Hi,

Starting with 13.2 Oxygen has syntax highlight for mixed content types(embedded content).
The values of the match and select attributes are considered XPath and have their own color scheme. So, to change their colors you have to edit the XPath color scheme: Options > Preferences, Editor > Colors, XPath

Regards,
Adrian

Re: Custom colour schemes

Posted: Fri Feb 24, 2012 4:39 pm
by bds
Adrian - thanks (again) for the help. It's much appreciated!

cheers!

Re: Custom colour schemes

Posted: Fri Apr 13, 2012 7:27 pm
by bds
hi all --

here's another dark color scheme, roughly based on Dmitriy Zotikov's xoria256 for Vim. I hope someone finds this useful. Thanks to Greg & Adrian for the starting point & helpful suggestions!

Grab it here: http://dlweb.lib.utk.edu/~bridger/errat ... -esque.xml

Cheers!

Re: Custom colour schemes

Posted: Tue Jul 03, 2012 1:17 am
by gregster
I notice that there have been some changes to the way colour schemes work, so I've adjusted my zenburn scheme for v14. If you look at the file you'll notice that I've provided the stock values that oxygen uses as well as a few comments to help if you're interested in extending/changing it.
I've added as many languages as I find myself using, but the list is not complete (it would be great if we could export a complete prefs file that gave us all possible editable values. It would make colour scheme creation pretty easy.).
Grab a copy here http://hcmc.uvic.ca/people/greg/oxygen- ... urn.tar.gz. Inside the zip file is the zenburn scheme as well as a 'stock' colour scheme and an xslt file that I use to transform the stock file.