Skip to content

Commit

Permalink
refactor(palette)!: rework dayfox (#285)
Browse files Browse the repository at this point in the history
* refactor(palette)!: rework dayfox to ensure contrast

The old dayfox had little contrast for the colors compared to the
background. Dayfox has been completely reworked to address this issue.

Some notes about design:

- Background blended with yellow to make it not as white on the eyes
- Foreground is blended with magenta to contrast the yellow in the bg
  • Loading branch information
EdenEast authored Jan 5, 2023
1 parent c88664b commit 4f6eff4
Show file tree
Hide file tree
Showing 12 changed files with 284 additions and 285 deletions.
40 changes: 20 additions & 20 deletions extra/dayfox/nightfox_alacritty.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,28 +4,28 @@
colors:
# Default colors
primary:
background: '0xeaeaea'
foreground: '0x1d344f'
background: '0xf6f2ee'
foreground: '0x3d2b5a'
# Normal colors
normal:
black: '0x1d344f'
red: '0xb95d76'
green: '0x618774'
yellow: '0xba793e'
blue: '0x4d688e'
magenta: '0x8e6f98'
cyan: '0x6ca7bd'
white: '0xcdd1d5'
black: '0x352c24'
red: '0xa5222f'
green: '0x396847'
yellow: '0xac5402'
blue: '0x2848a9'
magenta: '0x6e33ce'
cyan: '0x287980'
white: '0xf2e9e1'
# Bright colors
bright:
black: '0x24476f'
red: '0xc76882'
green: '0x629f81'
yellow: '0xca884a'
blue: '0x4e75aa'
magenta: '0x9f75ac'
cyan: '0x74b2c9'
white: '0xcfd6dd'
black: '0x534c45'
red: '0xb3434e'
green: '0x577f63'
yellow: '0xb86e28'
blue: '0x4863b6'
magenta: '0x8452d5'
cyan: '0x488d93'
white: '0xf4ece6'
indexed_colors:
- { index: 16, color: '0xe3786c' }
- { index: 17, color: '0xd685af' }
- { index: 16, color: '0x955f61' }
- { index: 17, color: '0xa440b5' }
20 changes: 10 additions & 10 deletions extra/dayfox/nightfox_fish.fish
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
# Nightfox Color Palette
# Style: dayfox
# Upstream: https://github.com/edeneast/nightfox.nvim/raw/main/extra/dayfox/nightfox_fish.fish
set -l foreground 1d344f
set -l selection ced5de
set -l comment 7f848e
set -l red b95d76
set -l orange e3786c
set -l yellow ba793e
set -l green 618774
set -l purple 8e6f98
set -l cyan 6ca7bd
set -l pink d685af
set -l foreground 3d2b5a
set -l selection e7d2be
set -l comment 837a72
set -l red a5222f
set -l orange 955f61
set -l yellow ac5402
set -l green 396847
set -l purple 6e33ce
set -l cyan 287980
set -l pink a440b5

# Syntax Highlighting Colors
set -g fish_color_normal $foreground
Expand Down
138 changes: 69 additions & 69 deletions extra/dayfox/nightfox_iterm.itermcolors
Original file line number Diff line number Diff line change
Expand Up @@ -10,253 +10,253 @@
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.30980392156863</real>
<real>0.14117647058824</real>
<key>Green Component</key>
<real>0.20392156862745</real>
<real>0.17254901960784</real>
<key>Red Component</key>
<real>0.11372549019608</real>
<real>0.2078431372549</real>
</dict>
<key>Ansi 1 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.46274509803922</real>
<real>0.1843137254902</real>
<key>Green Component</key>
<real>0.36470588235294</real>
<real>0.13333333333333</real>
<key>Red Component</key>
<real>0.72549019607843</real>
<real>0.64705882352941</real>
</dict>
<key>Ansi 10 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.50588235294118</real>
<real>0.38823529411765</real>
<key>Green Component</key>
<real>0.62352941176471</real>
<real>0.49803921568627</real>
<key>Red Component</key>
<real>0.3843137254902</real>
<real>0.34117647058824</real>
</dict>
<key>Ansi 11 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.29019607843137</real>
<real>0.15686274509804</real>
<key>Green Component</key>
<real>0.53333333333333</real>
<real>0.43137254901961</real>
<key>Red Component</key>
<real>0.7921568627451</real>
<real>0.72156862745098</real>
</dict>
<key>Ansi 12 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.66666666666667</real>
<real>0.71372549019608</real>
<key>Green Component</key>
<real>0.45882352941176</real>
<real>0.38823529411765</real>
<key>Red Component</key>
<real>0.30588235294118</real>
<real>0.28235294117647</real>
</dict>
<key>Ansi 13 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.67450980392157</real>
<real>0.83529411764706</real>
<key>Green Component</key>
<real>0.45882352941176</real>
<real>0.32156862745098</real>
<key>Red Component</key>
<real>0.62352941176471</real>
<real>0.51764705882353</real>
</dict>
<key>Ansi 14 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.78823529411765</real>
<real>0.57647058823529</real>
<key>Green Component</key>
<real>0.69803921568627</real>
<real>0.55294117647059</real>
<key>Red Component</key>
<real>0.45490196078431</real>
<real>0.28235294117647</real>
</dict>
<key>Ansi 15 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.86666666666667</real>
<real>0.90196078431373</real>
<key>Green Component</key>
<real>0.83921568627451</real>
<real>0.92549019607843</real>
<key>Red Component</key>
<real>0.81176470588235</real>
<real>0.95686274509804</real>
</dict>
<key>Ansi 2 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.45490196078431</real>
<real>0.27843137254902</real>
<key>Green Component</key>
<real>0.52941176470588</real>
<real>0.4078431372549</real>
<key>Red Component</key>
<real>0.38039215686275</real>
<real>0.22352941176471</real>
</dict>
<key>Ansi 3 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.24313725490196</real>
<real>0.007843137254902</real>
<key>Green Component</key>
<real>0.47450980392157</real>
<real>0.32941176470588</real>
<key>Red Component</key>
<real>0.72941176470588</real>
<real>0.67450980392157</real>
</dict>
<key>Ansi 4 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.55686274509804</real>
<real>0.66274509803922</real>
<key>Green Component</key>
<real>0.4078431372549</real>
<real>0.28235294117647</real>
<key>Red Component</key>
<real>0.30196078431373</real>
<real>0.15686274509804</real>
</dict>
<key>Ansi 5 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.59607843137255</real>
<real>0.8078431372549</real>
<key>Green Component</key>
<real>0.43529411764706</real>
<real>0.2</real>
<key>Red Component</key>
<real>0.55686274509804</real>
<real>0.43137254901961</real>
</dict>
<key>Ansi 6 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.74117647058824</real>
<real>0.50196078431373</real>
<key>Green Component</key>
<real>0.65490196078431</real>
<real>0.47450980392157</real>
<key>Red Component</key>
<real>0.42352941176471</real>
<real>0.15686274509804</real>
</dict>
<key>Ansi 7 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.83529411764706</real>
<real>0.88235294117647</real>
<key>Green Component</key>
<real>0.81960784313725</real>
<real>0.91372549019608</real>
<key>Red Component</key>
<real>0.80392156862745</real>
<real>0.94901960784314</real>
</dict>
<key>Ansi 8 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.43529411764706</real>
<real>0.27058823529412</real>
<key>Green Component</key>
<real>0.27843137254902</real>
<real>0.29803921568627</real>
<key>Red Component</key>
<real>0.14117647058824</real>
<real>0.32549019607843</real>
</dict>
<key>Ansi 9 Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.50980392156863</real>
<real>0.30588235294118</real>
<key>Green Component</key>
<real>0.4078431372549</real>
<real>0.26274509803922</real>
<key>Red Component</key>
<real>0.78039215686275</real>
<real>0.70196078431373</real>
</dict>
<key>Background Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.91764705882353</real>
<real>0.93333333333333</real>
<key>Green Component</key>
<real>0.91764705882353</real>
<real>0.94901960784314</real>
<key>Red Component</key>
<real>0.91764705882353</real>
<real>0.96470588235294</real>
</dict>
<key>Bold Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.30980392156863</real>
<real>0.35294117647059</real>
<key>Green Component</key>
<real>0.20392156862745</real>
<real>0.16862745098039</real>
<key>Red Component</key>
<real>0.11372549019608</real>
<real>0.23921568627451</real>
</dict>
<key>Cursor Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.30980392156863</real>
<real>0.35294117647059</real>
<key>Green Component</key>
<real>0.20392156862745</real>
<real>0.16862745098039</real>
<key>Red Component</key>
<real>0.11372549019608</real>
<real>0.23921568627451</real>
</dict>
<key>Cursor Text Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.91764705882353</real>
<real>0.93333333333333</real>
<key>Green Component</key>
<real>0.91764705882353</real>
<real>0.94901960784314</real>
<key>Red Component</key>
<real>0.91764705882353</real>
<real>0.96470588235294</real>
</dict>
<key>Foreground Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.30980392156863</real>
<real>0.35294117647059</real>
<key>Green Component</key>
<real>0.20392156862745</real>
<real>0.16862745098039</real>
<key>Red Component</key>
<real>0.11372549019608</real>
<real>0.23921568627451</real>
</dict>
<key>Selected Text Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.30980392156863</real>
<real>0.35294117647059</real>
<key>Green Component</key>
<real>0.20392156862745</real>
<real>0.16862745098039</real>
<key>Red Component</key>
<real>0.11372549019608</real>
<real>0.23921568627451</real>
</dict>
<key>Selection Color</key>
<dict>
<key>Color Space</key>
<string>sRGB</string>
<key>Blue Component</key>
<real>0.87058823529412</real>
<real>0.74509803921569</real>
<key>Green Component</key>
<real>0.83529411764706</real>
<real>0.82352941176471</real>
<key>Red Component</key>
<real>0.8078431372549</real>
<real>0.90588235294118</real>
</dict>
</dict>
</plist>
Loading

0 comments on commit 4f6eff4

Please sign in to comment.