Comments (2)
Interesting, do you know if TextMate supports additional selectors for embedded JS vs a JS document?
from textmate-solarized.
do you know if TextMate supports additional selectors for embedded JS vs a JS document?
Any selector chain starting with source.js.embedded.html
will target embedded JS and any starting with source.js
will target JS documents only. So yes, this allows you to style them differently.
Elements that have the same colour no matter the context, like if()
, can be styled by leaving out a parent selector. So styling keywords like that green you would only use keyword.control.js
as selector to target it in both cases at once.
Functions have a different colour depending on context so you would make source.js.embedded.html support.function.js
orange and make source.js support.function.js
grey. (Or you define no colour for them at all and just set source.js.embedded.html
to orange and source.js
to grey.)
from textmate-solarized.
Related Issues (20)
- Difference in colour codes from Solarized standard list HOT 2
- Markdown HOT 6
- can not be use with textmate 2 HOT 2
- TextMate 2 and base text color HOT 11
- Looking for contributors / maintainers HOT 9
- Possible wrong colors for html in Sublime text 2 HOT 3
- Background color for dark theme are significantly lighter than Solarized screenshots HOT 7
- Figure out how to skin the gutter correctly HOT 7
- CSS looks messy HOT 7
- Please fix selection color in Solarized light HOT 7
- Use variables for color definitions HOT 1
- Can’t get current line to highlight bg HOT 3
- C function names in dark theme should not be base01
- Highlight selected text colour in dark theme HOT 11
- Dimming of highlighted text when out of focus (solarized dark) HOT 1
- don't highlight word starting with `function`
- Duplicate elements
- (orignal theme compatibility patch) Do not color arithmetical operators HOT 4
- Invisible selection color in diffs
- Find All: clicking on a search result doesn't always bring it within current window. HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from textmate-solarized.