SublimeText/AFileIcon

Default Theme displays icons in black

vknell opened this issue · 0 comments

Expected Behavior

Icons should use the default color theme when no color is selected. ("color": "",)

Current Behavior

Works well for Dark and Adaptive Theme.
Does not for the White Default Theme, all icons are displayed in black.

When icon_tint (in the Theme preferences) is set to white the icons are displayed using the default behavior, when icon_tint is set to black, the icons from A File Icon are displayed in monochrome black.

Possible Solution

Icons and folders are tinted using the same variable: icon_tint

Changing the Default Theme preferences to the following settings allow the theme to be in black (Shapes and Folders) and the Icons to use the default color theme:

{
	"variables":
	{
		"base_tint": "white",
		"folder_tint": "black",
		"shape_tint": "black",
	},
	"rules":
	[
		{
			"class": "icon_folder",
			"layer0.tint": "var(folder_tint)",
		},
	]
}

Steps to Reproduce (for bugs)

Change theme from Default Dark to Default on a Mac (fresh install with only one package A File Icon).

Your Environment

Fresh install of ST and A File Icon
MacOS 12.1 on Macbook Pro M1