Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set colorSpaceName to sRGB #15

Closed
sorbits opened this issue Feb 25, 2013 · 3 comments
Closed

Set colorSpaceName to sRGB #15

sorbits opened this issue Feb 25, 2013 · 3 comments
Labels

Comments

@sorbits
Copy link

@sorbits sorbits commented Feb 25, 2013

Assuming the colors exported are in the sRGB color space then I humbly request you make it explicit by adding the colorSpaceName key to the root dictionary with a value of sRGB.

This is a key I recently added (textmate/textmate@d70ccc7) to improve interoperability.

I think most non-Mac software will already treat colors as sRGB, so this key will just make it explicit, though without the key “conforming” software should treat the colors as in Apple’s Generic RGB color space, but as I never documented it, and as this color space itself is (to the best of my knowledge) undocumented, I would be surprised if non-Mac software did the proper conversion.

@aziz
Copy link
Owner

@aziz aziz commented Feb 28, 2013

Thanks for the heads up Allan, I would be grateful if you update the textmate's theme documentation with some new changes you're working on. I've also noticed this:

<key>semanticClass</key>
<string>theme.light.prospettiva</string>

in some of the new Textmate themes. Sublime also has some specific settings for gutter text color and backgrounds. I would love to see some standardization or at least some documentation.

@sorbits
Copy link
Author

@sorbits sorbits commented Mar 1, 2013

Besides the commit I linked, the colorSpaceName key is only mentioned in the change log.

There will be updated documentation when TextMate 2 is closer to final release. Things change too much to make it worthwhile to regularly update the existing 1.x documentation (although no planned changes wrt. the colorSpaceName key).

Gutter settings for TextMate 2 is mentioned here. I’d welcome standardization if some of those who make extensions to the TextMate customization files will get in touch with me to discuss them. I have been toying with the idea of creating a mailing list for this, right now though my main focus is getting 2.0 out of alpha, which should also give me more leverage in coordinating a standard.

The semantic class system is still WIP, you can read about some of what it enables here and a specific theme-use here. Though I wouldn’t worry about this ATM.

@aziz
Copy link
Owner

@aziz aziz commented May 1, 2013

Added in latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.