cirex / atom-metro-syntax Goto Github PK
View Code? Open in Web Editor NEWBlue based syntax highlighting theme for Atom
License: MIT License
Blue based syntax highlighting theme for Atom
License: MIT License
In index.less: Use .bracket-matcher .region
to select highlighted brackets.
Part of the Atom 1.0 API deprecations.
Store package style sheets in the styles/
directory instead of stylesheets/
in the metro-syntax
package
Part of the Atom 1.0 API deprecations.
When you highlight text, it blends into the background. For example, what is highlighted here?
Atom Version: 1.0.19
System: Microsoft Windows 8.1 Enterprise
Thrown From: metro-syntax package, v0.3.1
Failed to activate the metro-syntax theme
At 'base.less' wasn't found in C:\Users\xxx\.atom\packages\metro-syntax\index.less:4:0
LessError: 'base.less' wasn't found
at C:\Users\xxx\.atom\packages\metro-syntax\index.less:4:0
-0:23.1.0 core:confirm (atom-text-editor.editor.mini.is-focused)
{
"core": {
"themes": [
"metro-ui",
"atom-light-syntax"
],
"packagesWithKeymapsDisabled": [],
"disabledPackages": [
"tool-bar"
]
}
}
# User
language-powershell, v2.1.0
metro-ui, v2.2.2
react, v0.12.10
terminal-plus, v0.6.2
# Dev
No dev packages
In metro-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:
.punctuation
=> .syntax--punctuation
.punctuation.comment
=> .syntax--punctuation.syntax--comment
.punctuation.string
=> .syntax--punctuation.syntax--string
.punctuation.tag
=> .syntax--punctuation.syntax--tag
.punctuation.variable, .punctuation.constant
=> .syntax--punctuation.syntax--variable, .syntax--punctuation.syntax--constant
.punctuation.function, .punctuation.separator, .punctuation.parameters, .punctuation.terminator
=> .syntax--punctuation.syntax--function, .syntax--punctuation.syntax--separator, .syntax--punctuation.syntax--parameters, .syntax--punctuation.syntax--terminator
.punctuation.embedded, .punctuation.string.html.begin, .punctuation.string.html.end
=> .syntax--punctuation.syntax--embedded, .syntax--punctuation.syntax--string.syntax--html.syntax--begin, .syntax--punctuation.syntax--string.syntax--html.syntax--end
.punctuation.embedded.php
=> .syntax--punctuation.syntax--embedded.syntax--php
.punctuation.entry.yaml
=> .syntax--punctuation.syntax--entry.syntax--yaml
.punctuation.symbol.ruby.begin, .punctuation.symbol.ruby.end
=> .syntax--punctuation.syntax--symbol.syntax--ruby.syntax--begin, .syntax--punctuation.syntax--symbol.syntax--ruby.syntax--end
.variable
=> .syntax--variable
.variable.parameter
=> .syntax--variable.syntax--parameter
.variable.class.ruby, .variable.instance.ruby, .variable.block.ruby
=> .syntax--variable.syntax--class.syntax--ruby, .syntax--variable.syntax--instance.syntax--ruby, .syntax--variable.syntax--block.syntax--ruby
.variable.constant.ruby
=> .syntax--variable.syntax--constant.syntax--ruby
.entity
=> .syntax--entity
.entity.attribute-name
=> .syntax--entity.syntax--attribute-name
.entity.attribute-name.pseudo-element.css, .entity.attribute-name.pseudo-class.css, .entity.attribute-name.class, .entity.attribute-name.id
=> .syntax--entity.syntax--attribute-name.syntax--pseudo-element.syntax--css, .syntax--entity.syntax--attribute-name.syntax--pseudo-class.syntax--css, .syntax--entity.syntax--attribute-name.syntax--class, .syntax--entity.syntax--attribute-name.syntax--id
.entity.css
=> .syntax--entity.syntax--css
.entity.tag
=> .syntax--entity.syntax--tag
.entity.tag.reference.scss
=> .syntax--entity.syntax--tag.syntax--reference.syntax--scss
.entity.tag.css, .entity.tag.script.html
=> .syntax--entity.syntax--tag.syntax--css, .syntax--entity.syntax--tag.syntax--script.syntax--html
.entity.tag.doctype
=> .syntax--entity.syntax--tag.syntax--doctype
.entity.inherited-class.ruby
=> .syntax--entity.syntax--inherited-class.syntax--ruby
.entity.entity.module.ruby
=> .syntax--entity.syntax--entity.syntax--module.syntax--ruby
.entity.gfm
=> .syntax--entity.syntax--gfm
.support
=> .syntax--support
.support.constant
=> .syntax--support.syntax--constant
.support.constant.css
=> .syntax--support.syntax--constant.syntax--css
.support.constant.css.media
=> `.syntax--support.syntax--constant.syntax--css.
In index.less: Use the atom-text-editor
tag instead of the editor
class.
Part of the Atom 1.0 API deprecations.
In index.less: Target the selector :host, atom-text-editor
instead of .editor
for shadow DOM support.
Part of the Atom 1.0 API deprecations.
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.