Skip to content

Commit

Permalink
Merge pull request #1371 from Sequel-Ace/dynamic-tab-color-adjustment
Browse files Browse the repository at this point in the history
#changed Improved tab coloring appearance in Dark and Light modes
  • Loading branch information
Jason-Morcos committed Jan 27, 2022
2 parents 29c8169 + 5de537e commit 8afb7e5
Show file tree
Hide file tree
Showing 15 changed files with 417 additions and 16 deletions.
20 changes: 20 additions & 0 deletions Resources/Colors.xcassets/favoriteBlue-tab.colorset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.800",
"green" : "0.637",
"red" : "0.407"
}
},
"idiom" : "mac"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
36 changes: 36 additions & 0 deletions Resources/Colors.xcassets/favoriteBlue.colorset/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,42 @@
}
},
"idiom" : "mac"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "light"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.910",
"green" : "0.725",
"red" : "0.463"
}
},
"idiom" : "mac"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.450",
"green" : "0.359",
"red" : "0.229"
}
},
"idiom" : "mac"
}
],
"info" : {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.610",
"green" : "0.610",
"red" : "0.610"
}
},
"idiom" : "mac"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
56 changes: 46 additions & 10 deletions Resources/Colors.xcassets/favoriteGraphite.colorset/Contents.json
Original file line number Diff line number Diff line change
@@ -1,20 +1,56 @@
{
"info" : {
"version" : 1,
"author" : "xcode"
},
"colors" : [
{
"idiom" : "mac",
"color" : {
"color-space" : "srgb",
"components" : {
"red" : "0.714",
"alpha" : "1.000",
"blue" : "0.714",
"green" : "0.714"
}
}
},
{
"idiom" : "mac",
"appearances" : [
{
"appearance" : "luminosity",
"value" : "light"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"red" : "0.714",
"alpha" : "1.000",
"blue" : "0.714",
"green" : "0.714",
"red" : "0.714"
"green" : "0.714"
}
},
"idiom" : "mac"
}
},
{
"idiom" : "mac",
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"red" : "0.408",
"alpha" : "1.000",
"blue" : "0.408",
"green" : "0.408"
}
}
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
]
}
20 changes: 20 additions & 0 deletions Resources/Colors.xcassets/favoriteGreen-tab.colorset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.305",
"green" : "0.600",
"red" : "0.438"
}
},
"idiom" : "mac"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
36 changes: 36 additions & 0 deletions Resources/Colors.xcassets/favoriteGreen.colorset/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,42 @@
}
},
"idiom" : "mac"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "light"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.354",
"green" : "0.696",
"red" : "0.508"
}
},
"idiom" : "mac"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.183",
"green" : "0.360",
"red" : "0.263"
}
},
"idiom" : "mac"
}
],
"info" : {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.292",
"green" : "0.608",
"red" : "0.860"
}
},
"idiom" : "mac"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
40 changes: 38 additions & 2 deletions Resources/Colors.xcassets/favoriteOrange.colorset/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,48 @@
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.459",
"green" : "0.741",
"blue" : "0.327",
"green" : "0.683",
"red" : "0.965"
}
},
"idiom" : "mac"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "light"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.327",
"green" : "0.683",
"red" : "0.965"
}
},
"idiom" : "mac"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.153",
"green" : "0.318",
"red" : "0.450"
}
},
"idiom" : "mac"
}
],
"info" : {
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.780",
"green" : "0.529",
"red" : "0.704"
}
},
"idiom" : "mac"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}
36 changes: 36 additions & 0 deletions Resources/Colors.xcassets/favoritePurple.colorset/Contents.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,42 @@
}
},
"idiom" : "mac"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "light"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.878",
"green" : "0.596",
"red" : "0.792"
}
},
"idiom" : "mac"
},
{
"appearances" : [
{
"appearance" : "luminosity",
"value" : "dark"
}
],
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.450",
"green" : "0.305",
"red" : "0.406"
}
},
"idiom" : "mac"
}
],
"info" : {
Expand Down
20 changes: 20 additions & 0 deletions Resources/Colors.xcassets/favoriteRed-tab.colorset/Contents.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"colors" : [
{
"color" : {
"color-space" : "srgb",
"components" : {
"alpha" : "1.000",
"blue" : "0.353",
"green" : "0.402",
"red" : "0.790"
}
},
"idiom" : "mac"
}
],
"info" : {
"author" : "xcode",
"version" : 1
}
}

0 comments on commit 8afb7e5

Please sign in to comment.