Skip to content

Commit

Permalink
fix #60 flexible mono color/brightness
Browse files Browse the repository at this point in the history
  • Loading branch information
braver committed Apr 7, 2023
1 parent ab5bc6a commit 2b797d5
Show file tree
Hide file tree
Showing 445 changed files with 28 additions and 12 deletions.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ The following changes are made to Adaptive/Default.sublime-theme. You can overri
[
{
"class": "icon_file_type",
"layer0.tint": [255, 255, 255],
"layer0.tint": [128, 128, 128],
"layer0.opacity": 0.6,
"content_margin": [8, 8]
},
Expand All @@ -36,6 +36,8 @@ The following changes are made to Adaptive/Default.sublime-theme. You can overri
]
```

For instance, the `layer0.tint` can be adjusted to create higher or lower contrast, or to a non-grey monochromatic color.

## Contributing

The "build" directory contains svg assets. Each icon is assigned a color in icons.json, available colors are listed in colors.json.
Expand Down
16 changes: 8 additions & 8 deletions build/colors.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"red": "hsl(0, 0%, 50%)",
"orange": "hsl(0, 0%, 50%)",
"yellow": "hsl(0, 0%, 50%)",
"green": "hsl(0, 0%, 50%)",
"cyan": "hsl(0, 0%, 50%)",
"blue": "hsl(0, 0%, 50%)",
"purple": "hsl(0, 0%, 50%)",
"graphite": "hsl(0, 0%,50%)"
"red": "hsl(0, 0%, 100%)",
"orange": "hsl(0, 0%, 100%)",
"yellow": "hsl(0, 0%, 100%)",
"green": "hsl(0, 0%, 100%)",
"cyan": "hsl(0, 0%, 100%)",
"blue": "hsl(0, 0%, 100%)",
"purple": "hsl(0, 0%, 100%)",
"graphite": "hsl(0, 0%, 100%)"
}
3 changes: 3 additions & 0 deletions messages.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"2.0.0": "2.0.0.txt"
}
11 changes: 11 additions & 0 deletions messages/2.0.0.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# FileIcons Mono 2.0.0

In this latest version of FileIcons Mono,
we've changed the icon files to pure white.

This allows full control over the color and contrast of the icons.
Of course we updated our built-in support for the default themes.
To update your custom theme, adjust the "layer0.tint" to your taste.

Credits for the idea go to @jwortmann.
See https://github.com/braver/FileIcons/issues/60
2 changes: 1 addition & 1 deletion theme/Adaptive.sublime-theme
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"class": "icon_file_type",
"layer0.tint": [255, 255, 255],
"layer0.tint": [128, 128, 128],
"layer0.opacity": 0.6,
"content_margin": [8, 8]
},
Expand Down
2 changes: 1 addition & 1 deletion theme/Default Dark.sublime-theme
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"class": "icon_file_type",
"layer0.tint": [255, 255, 255],
"layer0.tint": [128, 128, 128],
"layer0.opacity": 0.85,
"content_margin": [8, 8]
},
Expand Down
2 changes: 1 addition & 1 deletion theme/Default.sublime-theme
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[
{
"class": "icon_file_type",
"layer0.tint": [255, 255, 255],
"layer0.tint": [128, 128, 128],
"layer0.opacity": 0.6,
"content_margin": [8, 8]
},
Expand Down
Binary file modified theme/file_type_access.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/file_type_actionscript.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/file_type_ae.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/file_type_ai.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/file_type_angular.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/file_type_applescript.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/file_type_archive.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/file_type_arduino.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/file_type_audio.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_babel.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_binary.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_blade.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_bower.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_c.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_cad.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_cairo.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_cf.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_cheader.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_circleci.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_clojure.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_cmake.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_coffeescript.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_composer.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_cpp.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_cppheader.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_crystal.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_csharp.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_css.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_csv.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_dart.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_default.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_dlang.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_docker.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_dotnet.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_editorconfig.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_ejs.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_elm.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_erlang.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_eslint.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_ex.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_excel.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_fixedform-fortran.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_font.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_git.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_go.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_gradle.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_graphviz.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_groovy.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_gruntfile.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_gulpfile.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_haml.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_haskell.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_haxe.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_html.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_image.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_imageunsupported.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_indesign.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_java.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_js.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_json.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_jsp.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_jsx.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_julia.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_kotlin.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_ksp.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_less.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_license.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_liquid.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_lisp.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_lock.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_log.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_lsl.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_lua.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_markdown.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_markup.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_matlab.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_maya.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_mint.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_modern-fortran.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_mustache.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_nginx.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_nim.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_nodejs.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_note.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_npm.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_nsis.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_ocaml.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_odin.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_onenote.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_pcb.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_pdf.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_perl.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_php.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_plist.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_postcss.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_powerpoint.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_powershell.png
Binary file modified theme/[email protected]
Binary file modified theme/[email protected]
Binary file modified theme/file_type_preferences.png
Binary file modified theme/[email protected]
Loading

0 comments on commit 2b797d5

Please sign in to comment.