Skip to content

Commit

Permalink
Fix italics
Browse files Browse the repository at this point in the history
  • Loading branch information
Ike Ku committed Sep 17, 2017
1 parent a308ce6 commit 497e37f
Show file tree
Hide file tree
Showing 7 changed files with 126 additions and 42 deletions.
32 changes: 23 additions & 9 deletions ayu-dark.tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ a {
<string>constant.language</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#FFEE99</string>
</dict>
Expand Down Expand Up @@ -241,15 +239,13 @@ a {
<string>storage.type</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#FF7733</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Entity name</string>
<string>Function name</string>
<key>scope</key>
<string>entity.name.function</string>
<key>settings</key>
Expand Down Expand Up @@ -313,8 +309,6 @@ a {
<string>entity.name.tag, meta.tag.sgml</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#39BAE6</string>
</dict>
Expand Down Expand Up @@ -359,8 +353,6 @@ a {
<string>support.function, support.macro</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#F07178</string>
</dict>
Expand Down Expand Up @@ -426,6 +418,28 @@ a {
<string>#c594c5</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>CSS tag names</string>
<key>scope</key>
<string>source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#59C2FF</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>CSS browser prefix</string>
<key>scope</key>
<string>source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#5C6773</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>CSS Properties</string>
Expand Down
32 changes: 23 additions & 9 deletions ayu-light.tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ a {
<string>constant.language</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#A37ACC</string>
</dict>
Expand Down Expand Up @@ -241,15 +239,13 @@ a {
<string>storage.type</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#FA6E32</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Entity name</string>
<string>Function name</string>
<key>scope</key>
<string>entity.name.function</string>
<key>settings</key>
Expand Down Expand Up @@ -313,8 +309,6 @@ a {
<string>entity.name.tag, meta.tag.sgml</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#55B4D4</string>
</dict>
Expand Down Expand Up @@ -359,8 +353,6 @@ a {
<string>support.function, support.macro</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#F07171</string>
</dict>
Expand Down Expand Up @@ -426,6 +418,28 @@ a {
<string>#c594c5</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>CSS tag names</string>
<key>scope</key>
<string>source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#399EE6</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>CSS browser prefix</string>
<key>scope</key>
<string>source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#ABB0B6</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>CSS Properties</string>
Expand Down
32 changes: 23 additions & 9 deletions ayu-mirage.tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ a {
<string>constant.language</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#D4BFFF</string>
</dict>
Expand Down Expand Up @@ -241,15 +239,13 @@ a {
<string>storage.type</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#FFA759</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Entity name</string>
<string>Function name</string>
<key>scope</key>
<string>entity.name.function</string>
<key>settings</key>
Expand Down Expand Up @@ -313,8 +309,6 @@ a {
<string>entity.name.tag, meta.tag.sgml</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#5CCFE6</string>
</dict>
Expand Down Expand Up @@ -359,8 +353,6 @@ a {
<string>support.function, support.macro</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#F28779</string>
</dict>
Expand Down Expand Up @@ -426,6 +418,28 @@ a {
<string>#c594c5</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>CSS tag names</string>
<key>scope</key>
<string>source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#73D0FF</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>CSS browser prefix</string>
<key>scope</key>
<string>source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#5C6773</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>CSS Properties</string>
Expand Down
3 changes: 2 additions & 1 deletion messages.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,6 @@
"2.2.2": "messages/2.2.2.txt",
"3.0.0": "messages/3.0.0.md",
"3.0.1": "messages/3.0.1.md",
"3.1.0": "messages/3.1.0.md"
"3.1.0": "messages/3.1.0.md",
"3.1.1": "messages/3.1.1.md"
}
19 changes: 19 additions & 0 deletions messages/3.1.1.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
**ayu theme for Sublime Text**
https://github.com/dempfi/ayu/releases

********************************************************************************
ayu from version 3.0.0 supports customization via A File Icon package
(https://github.com/ihodev/a-file-icon). Please install it for better expereince.
********************************************************************************


# Version 3.1.1

CHANGES:
- Reduce usage of italics to required minimum
- Improve support of css colors

# Version 3.1.0
CHANGES:
🌈 Massive update to syntax highlighning and contrast of all 3 themes.

32 changes: 23 additions & 9 deletions src/templates/sublime.syntax.xml
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,6 @@ a {
<string>constant.language</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#"{syntax.constant.hex}"</string>
</dict>
Expand Down Expand Up @@ -241,15 +239,13 @@ a {
<string>storage.type</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#"{syntax.keyword.hex}"</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>Entity name</string>
<string>Function name</string>
<key>scope</key>
<string>entity.name.function</string>
<key>settings</key>
Expand Down Expand Up @@ -313,8 +309,6 @@ a {
<string>entity.name.tag, meta.tag.sgml</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string></string>
<key>foreground</key>
<string>#"{syntax.tag.hex}"</string>
</dict>
Expand Down Expand Up @@ -359,8 +353,6 @@ a {
<string>support.function, support.macro</string>
<key>settings</key>
<dict>
<key>fontStyle</key>
<string>italic</string>
<key>foreground</key>
<string>#"{syntax.markup.hex}"</string>
</dict>
Expand Down Expand Up @@ -426,6 +418,28 @@ a {
<string>#c594c5</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>CSS tag names</string>
<key>scope</key>
<string>source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#"{syntax.entity.hex}"</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>CSS browser prefix</string>
<key>scope</key>
<string>source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type</string>
<key>settings</key>
<dict>
<key>foreground</key>
<string>#"{syntax.comment.hex}"</string>
</dict>
</dict>
<dict>
<key>name</key>
<string>CSS Properties</string>
Expand Down
18 changes: 13 additions & 5 deletions src/templates/sublime.syntax.yml
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,6 @@ settings:
- name: Built-in constant
scope: constant.language
settings:
fontStyle: italic
foreground: *constant

- name: User-defined constant
Expand Down Expand Up @@ -124,10 +123,9 @@ settings:
- name: Storage type
scope: storage.type
settings:
fontStyle: italic
foreground: *keyword

- name: Entity name
- name: Function name
scope: entity.name.function
settings:
foreground: &function '#"{syntax.func.hex}"'
Expand Down Expand Up @@ -157,7 +155,6 @@ settings:
- name: Tag
scope: entity.name.tag, meta.tag.sgml
settings:
fontStyle: ''
foreground: *tag

- name: Tag start/end
Expand All @@ -178,7 +175,6 @@ settings:
- name: Library function
scope: support.function, support.macro
settings:
fontStyle: italic
foreground: &markup '#"{syntax.markup.hex}"'

- name: Library constant
Expand Down Expand Up @@ -209,11 +205,23 @@ settings:
settings:
foreground: '#c594c5'

# CSS
- name: CSS tag names
scope: source.css entity.name.tag, source.sass entity.name.tag, source.scss entity.name.tag, source.less entity.name.tag, source.stylus entity.name.tag
settings:
foreground: *entity

- name: CSS browser prefix
scope: source.css support.type, source.sass support.type, source.scss support.type, source.less support.type, source.stylus support.type
settings:
foreground: *comment

- name: CSS Properties
scope: support.type.property-name
settings:
foreground: *tag

# Search results
- name: Search Results Nums
scope: constant.numeric.line-number.find-in-files - match
settings:
Expand Down

0 comments on commit 497e37f

Please sign in to comment.