daylerees / colour-schemes

Colour schemes for a variety of editors created by Dayle Rees.
http://daylerees.github.io
Other
9.31k stars 1.62k forks source link

Unable to select contrast theme in Sublime Text #132

Open EspadaV8 opened 10 years ago

EspadaV8 commented 10 years ago

I've been trying to set my theme to use glowfish-contrast, but it seems that because it's within a subfolder, sublime is unable to load it giving the following error

Error loading colour scheme Packages/Dayle Rees Color Schemes/sublimeui/glowfish-contrast/Widget - glowfish-contrast.stTheme: Unable to open Packages/Dayle Rees Color Schemes/sublimeui/glowfish-contrast/Widget - glowfish-contrast.stTheme

Using the non-contrast version works fine.

daylerees commented 10 years ago

Noticed this myself. Will take a look shortly. :)

yankeeinlondon commented 10 years ago

I think maybe a similar issue exists with Textmate 2.x. Considering they're using the same source maybe this makes sense?

yankeeinlondon commented 10 years ago

BTW, two things ... one the cp command you give in the README will not copy the subdirectories across for Textmate. You should change this to:

cp -R * ~/Library/Application\ Support/TextMate/Managed/Bundles/Themes.tmbundle/Themes/

Unfortunately this still results in the subdirectories being ignored. For the time being I've just copied the "contrast" themes into the base folder and that makes it accessible. Not sure if there is a more graceful way of doing this.