New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix opacity of icons for themes those support icon customization #133

Open
ihodev opened this Issue Sep 14, 2017 · 1 comment

Comments

1 participant
@ihodev
Owner

ihodev commented Sep 14, 2017

@ihodev ihodev added the bug label Sep 14, 2017

@ihodev ihodev added this to the 4.0.0 milestone Sep 14, 2017

@ihodev ihodev self-assigned this Sep 14, 2017

@ihodev

This comment has been minimized.

Show comment
Hide comment
@ihodev

ihodev Sep 14, 2017

Owner

Workaround:

  1. Open Packages/zzz A File Icon zzz/patches/specific/<Material|Boxy> Theme/multi/<name>.sublime-theme file
  2. Paste next code:
[
  // Sidebar File Icons
  // --------------------------------------------------------------------------

  // Default

  {
    "class": "icon_file_type",
    "layer0.opacity": 0.6
  },

  // Hovered

  {
    "class": "icon_file_type",
    "parents": [{"class": "tree_row", "attributes": ["hover"]}],
    "layer0.opacity": { "target": 1.0, "speed": 3.0, "interpolation": "smoothstep" }
  },

  // Selected

  {
    "class": "icon_file_type",
    "parents": [{"class": "tree_row", "attributes": ["selected"]}],
    "layer0.opacity": 1
  }
]
  1. Save
Owner

ihodev commented Sep 14, 2017

Workaround:

  1. Open Packages/zzz A File Icon zzz/patches/specific/<Material|Boxy> Theme/multi/<name>.sublime-theme file
  2. Paste next code:
[
  // Sidebar File Icons
  // --------------------------------------------------------------------------

  // Default

  {
    "class": "icon_file_type",
    "layer0.opacity": 0.6
  },

  // Hovered

  {
    "class": "icon_file_type",
    "parents": [{"class": "tree_row", "attributes": ["hover"]}],
    "layer0.opacity": { "target": 1.0, "speed": 3.0, "interpolation": "smoothstep" }
  },

  // Selected

  {
    "class": "icon_file_type",
    "parents": [{"class": "tree_row", "attributes": ["selected"]}],
    "layer0.opacity": 1
  }
]
  1. Save
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment