Skip to content

Commit

Permalink
Support for dark mode in Mojave (#147)
Browse files Browse the repository at this point in the history
* #146 Background color

* Text and comment colors

* Use the same font that Xcode uses

* Some icons changed. Seems like the macOS is still buggy

* Added it to the changelog
  • Loading branch information
2ndalpha committed Jan 28, 2019
1 parent 63aa9f7 commit b4120d7
Show file tree
Hide file tree
Showing 17 changed files with 715 additions and 3,382 deletions.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
25 changes: 25 additions & 0 deletions Assets.xcassets/ActivateImage.imageset/Contents.json
@@ -0,0 +1,25 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "Activate.png"
},
{
"idiom" : "universal",
"filename" : "Activate Dark.png",
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
]
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}
38 changes: 38 additions & 0 deletions Assets.xcassets/BackgroundColor.colorset/Contents.json
@@ -0,0 +1,38 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
},
"colors" : [
{
"idiom" : "universal",
"color" : {
"color-space" : "srgb",
"components" : {
"red" : "1.000",
"alpha" : "1.000",
"blue" : "1.000",
"green" : "1.000"
}
}
},
{
"idiom" : "universal",
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "extended-srgb",
"components" : {
"red" : "0x29",
"alpha" : "1.000",
"blue" : "0x2F",
"green" : "0x2A"
}
}
}
]
}
38 changes: 38 additions & 0 deletions Assets.xcassets/CommentColor.colorset/Contents.json
@@ -0,0 +1,38 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
},
"colors" : [
{
"idiom" : "universal",
"color" : {
"color-space" : "extended-srgb",
"components" : {
"red" : "0x65",
"alpha" : "1.000",
"blue" : "0x8C",
"green" : "0x79"
}
}
},
{
"idiom" : "universal",
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "extended-srgb",
"components" : {
"red" : "0x7E",
"alpha" : "1.000",
"blue" : "0x97",
"green" : "0x8B"
}
}
}
]
}
6 changes: 6 additions & 0 deletions Assets.xcassets/Contents.json
@@ -0,0 +1,6 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
}
}
25 changes: 25 additions & 0 deletions Assets.xcassets/RemoveImage.imageset/Contents.json
@@ -0,0 +1,25 @@
{
"images" : [
{
"idiom" : "universal",
"filename" : "Remove.png"
},
{
"idiom" : "universal",
"filename" : "Remove Dark.png",
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
]
}
],
"info" : {
"version" : 1,
"author" : "xcode"
},
"properties" : {
"template-rendering-intent" : "template"
}
}
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added Assets.xcassets/RemoveImage.imageset/Remove.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
38 changes: 38 additions & 0 deletions Assets.xcassets/TextColor.colorset/Contents.json
@@ -0,0 +1,38 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
},
"colors" : [
{
"idiom" : "universal",
"color" : {
"color-space" : "srgb",
"components" : {
"red" : "0.000",
"alpha" : "1.000",
"blue" : "0.000",
"green" : "0.000"
}
}
},
{
"idiom" : "universal",
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"red" : "1.000",
"alpha" : "1.000",
"blue" : "1.000",
"green" : "1.000"
}
}
}
]
}
4 changes: 4 additions & 0 deletions CHANGELOG.txt
@@ -1,3 +1,7 @@
0.8.7
----------------------------------------------------
- Support for the Dark Mode in macOS Mojave

0.8.6
----------------------------------------------------
- Changed how the hide editor window logic works so that relaunching is not necessary (by Andrew Muraco)
Expand Down

0 comments on commit b4120d7

Please sign in to comment.