$ apm install apex-syntax
tjholowaychuk.com · GitHub @tj · Twitter @tjholowaychuk
Apex monochrome Atom theme syntax.
License: MIT License
$ apm install apex-syntax
tjholowaychuk.com · GitHub @tj · Twitter @tjholowaychuk
In apex-syntax\index.less
:
Starting from Atom v1.13.0, the contents of atom-text-editor
elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host
and ::shadow
pseudo-selectors, and prepend all your syntax selectors with syntax--
. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:
atom-text-editor, :host
=> atom-text-editor,atom-text-editor
atom-text-editor .wrap-guide, :host .wrap-guide
=> atom-text-editor .wrap-guide,atom-text-editor .wrap-guide
atom-text-editor .indent-guide, :host .indent-guide
=> atom-text-editor .indent-guide,atom-text-editor .indent-guide
atom-text-editor .invisible-character, :host .invisible-character
=> atom-text-editor .invisible-character,atom-text-editor .invisible-character
atom-text-editor .lines .cursor-line, :host .lines .cursor-line
=> atom-text-editor .lines .cursor-line,atom-text-editor .lines .cursor-line
atom-text-editor .gutter, :host .gutter
=> atom-text-editor .gutter,atom-text-editor .gutter
atom-text-editor .gutter .line-number.cursor-line, :host .gutter .line-number.cursor-line
=> atom-text-editor .gutter .line-number.cursor-line,atom-text-editor .gutter .line-number.cursor-line
atom-text-editor .gutter .line-number.cursor-line-no-selection, :host .gutter .line-number.cursor-line-no-selection
=> atom-text-editor .gutter .line-number.cursor-line-no-selection,atom-text-editor .gutter .line-number.cursor-line-no-selection
atom-text-editor .gutter .line-number.folded, :host .gutter .line-number.folded, atom-text-editor .gutter .line-number:after, :host .gutter .line-number:after, atom-text-editor .fold-marker:after, :host .fold-marker:after
=> atom-text-editor .gutter .line-number.folded,atom-text-editor .gutter .line-number.folded, atom-text-editor .gutter .line-number:after,atom-text-editor .gutter .line-number:after, atom-text-editor .fold-marker:after,atom-text-editor .fold-marker:after
atom-text-editor .invisible, :host .invisible
=> atom-text-editor .invisible,atom-text-editor .invisible
atom-text-editor .cursor, :host .cursor
=> atom-text-editor .cursor,atom-text-editor .cursor
atom-text-editor .selection .region, :host .selection .region
=> atom-text-editor .selection .region,atom-text-editor .selection .region
atom-text-editor .search-results .marker .region, :host .search-results .marker .region
=> atom-text-editor .search-results .syntax--marker .region,atom-text-editor .search-results .syntax--marker .region
atom-text-editor .search-results .marker.current-result .region, :host .search-results .marker.current-result .region
=> atom-text-editor .search-results .syntax--marker.current-result .region,atom-text-editor .search-results .syntax--marker.current-result .region
.string
=> .syntax--string
.comment
=> .syntax--comment
.punctuation.definition.comment
=> .syntax--punctuation.syntax--definition.syntax--comment
.punctuation.definition.bold
=> .syntax--punctuation.syntax--definition.syntax--bold
.punctuation.definition.italic
=> .syntax--punctuation.syntax--definition.syntax--italic
.punctuation.section.embedded
=> .syntax--punctuation.syntax--section.syntax--embedded
.source.css .selector
=> .syntax--source.syntax--css .syntax--selector
.source.css .property-value
=> `.syntax--source.syntax--css .syntax--property
Thanks for this nice theme! I noticed that the wrap guide at column 80 is no longer visible when I switch to this theme. Is there any way to configure that to be visible? Thanks!
Not sure if you want to, but, thought I'd ask -- do you have any plans on publishing this to apm
?
This looks beautiful and thank you for your work :) 👍
:)
EDIT:
I see there is a comment in the UI package about a dark theme, I suppose this one remains as one may want the UI to be light but the syntax to be dark, or vice versa.
In apex-syntax/index.less
:
Starting from Atom v1.13.0, the contents of atom-text-editor
elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host
and ::shadow
pseudo-selectors, and prepend all your syntax selectors with syntax--
. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:
atom-text-editor, :host
=> atom-text-editor,atom-text-editor
atom-text-editor .wrap-guide, :host .wrap-guide
=> atom-text-editor .wrap-guide,atom-text-editor .wrap-guide
atom-text-editor .indent-guide, :host .indent-guide
=> atom-text-editor .indent-guide,atom-text-editor .indent-guide
atom-text-editor .invisible-character, :host .invisible-character
=> atom-text-editor .invisible-character,atom-text-editor .invisible-character
atom-text-editor .lines .cursor-line, :host .lines .cursor-line
=> atom-text-editor .lines .cursor-line,atom-text-editor .lines .cursor-line
atom-text-editor .gutter, :host .gutter
=> atom-text-editor .gutter,atom-text-editor .gutter
atom-text-editor .gutter .line-number.cursor-line, :host .gutter .line-number.cursor-line
=> atom-text-editor .gutter .line-number.cursor-line,atom-text-editor .gutter .line-number.cursor-line
atom-text-editor .gutter .line-number.cursor-line-no-selection, :host .gutter .line-number.cursor-line-no-selection
=> atom-text-editor .gutter .line-number.cursor-line-no-selection,atom-text-editor .gutter .line-number.cursor-line-no-selection
atom-text-editor .gutter .line-number.folded, :host .gutter .line-number.folded, atom-text-editor .gutter .line-number:after, :host .gutter .line-number:after, atom-text-editor .fold-marker:after, :host .fold-marker:after
=> atom-text-editor .gutter .line-number.folded,atom-text-editor .gutter .line-number.folded, atom-text-editor .gutter .line-number:after,atom-text-editor .gutter .line-number:after, atom-text-editor .fold-marker:after,atom-text-editor .fold-marker:after
atom-text-editor .invisible, :host .invisible
=> atom-text-editor .invisible,atom-text-editor .invisible
atom-text-editor .cursor, :host .cursor
=> atom-text-editor .cursor,atom-text-editor .cursor
atom-text-editor .selection .region, :host .selection .region
=> atom-text-editor .selection .region,atom-text-editor .selection .region
atom-text-editor .search-results .marker .region, :host .search-results .marker .region
=> atom-text-editor .search-results .syntax--marker .region,atom-text-editor .search-results .syntax--marker .region
atom-text-editor .search-results .marker.current-result .region, :host .search-results .marker.current-result .region
=> atom-text-editor .search-results .syntax--marker.current-result .region,atom-text-editor .search-results .syntax--marker.current-result .region
.string
=> .syntax--string
.comment
=> .syntax--comment
.punctuation.definition.comment
=> .syntax--punctuation.syntax--definition.syntax--comment
.punctuation.definition.bold
=> .syntax--punctuation.syntax--definition.syntax--bold
.punctuation.definition.italic
=> .syntax--punctuation.syntax--definition.syntax--italic
.punctuation.section.embedded
=> .syntax--punctuation.syntax--section.syntax--embedded
.source.css .selector
=> .syntax--source.syntax--css .syntax--selector
.source.css .property-value
=> .syntax--source.syntax--css .syntax--property-value
.source.gfm .heading.marker
=> .syntax--source.syntax--gfm .syntax--heading.syntax--marker
.source.gfm .heading
=> .syntax--source.syntax--gfm .syntax--heading
.todo, .fixme, .xxx
=> .syntax--todo, .syntax--fixme, .xxx
atom-text-editor::shadow .bracket-matcher .region
=> atom-text-editor.editor .bracket-matcher .region
.tab-bar .tab[data-type="TextEditor"]::after
=> .tab-bar .syntax--tab[data-type="TextEditor"]::after
Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.
Slight UI issue I'm having - when the cursor sits on a line, that line is highlighted. If I select text on the line, the highlight is almost invisible due to the similarity of the background colours. Bumping the tint of the background and/or bumping the shade of the highlight might be an idea? Example (the text in the blue rect is highlighted):
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.