Skip to content

Commit

Permalink
Added new folder icons for dark theme, the old ones are now for light…
Browse files Browse the repository at this point in the history
… theme

Added 12 as valid icon size, 16 can be a bit too large with small font
Icons provided by Flagpole1up
  • Loading branch information
Cruor committed Sep 3, 2022
1 parent 2bb9ade commit b4d19b0
Show file tree
Hide file tree
Showing 8 changed files with 2 additions and 1 deletion.
Binary file added src/ui/assets/icons/folder-12.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 src/ui/assets/icons/folder-16.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 src/ui/assets/icons/folder-24.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 added src/ui/themes/light/icons/folder-12.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 added src/ui/themes/light/icons/folder-16.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 added src/ui/themes/light/icons/folder-24.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/ui/themes/light/theme.lua
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
return {
__themeName = "light",
iconsPath = "ui/themes/light/icons/",
horizontalLine = {
color = {0.7, 0.7, 0.7, 1.0}
},
Expand Down
2 changes: 1 addition & 1 deletion src/ui/utils/icons.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ local utils = require("utils")

local iconUtils = {}

local iconSizes = {64, 32, 24, 16}
local iconSizes = {64, 32, 24, 16, 12}
local iconCache = {}

local previousThemeName = themes.defaultThemeName
Expand Down

0 comments on commit b4d19b0

Please sign in to comment.