asciidoctor / atom-language-asciidoc

⚛ AsciiDoc language package for the Atom editor.
https://atom.io/packages/language-asciidoc
MIT License
42 stars 20 forks source link

Getting error with Stylesheet #160

Closed thesteve0 closed 8 years ago

thesteve0 commented 8 years ago

Description

No matter what editor stylesheet I use I get an error with line 4 in the stylesheet for this. I get a complaint that line 4 @syntax-color-constant is not found. If I change that to a constant, like white, then it throws an error on the next @ in the statement.

https://github.com/asciidoctor/atom-language-asciidoc/blob/master/styles/asciidoc.atom-text-editor.less#L4

I am on Fedora 23 with atom 0.186.0

ldez commented 8 years ago

@syntax-color-constant is provided by the themes, but some themes does not provide this value.

Which theme do you use ?

ldez commented 8 years ago

this works:

@syntax-text-mark: mix(white, @syntax-color-keyword, 50%);
ldez commented 8 years ago

You are using a very old Atom (0.186.0), the current version is 1.8.0. The package is only supported by Atom after 1.0.0.

Update your Atom: https://github.com/atom/atom#fedora-22

thesteve0 commented 8 years ago

Thanks so much - I am all good now.

On Thu, Jul 7, 2016 at 1:34 PM, Ludovic Fernandez notifications@github.com wrote:

You are using a very old Atom (0.186.0), the current version is 1.8.0. The package is only supported by Atom after 1.0.0.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/asciidoctor/atom-language-asciidoc/issues/160#issuecomment-231199043, or mute the thread https://github.com/notifications/unsubscribe/ABVsw2ZuczzYwqo05_3YAanNkzOC0ZkOks5qTWLqgaJpZM4JHdN8 .