Skip to content

Latest commit

 

History

History
134 lines (79 loc) · 1.94 KB

File metadata and controls

134 lines (79 loc) · 1.94 KB

How to customize the monochromatic icons.



Showcase


Requirements

What you need to run this tool.



 You only need Deno



Command

The tool can be found in /Tools/ .


  • You don't have to be in a specific folder to run the tool.

    user@computer:~/Projects/Evolvere-Icons$ Tools/Colorize.js
    user@computer:~$ Projects/Evolvere-Icons/Tools/Colorize.js

  • You may require to make it executable.

    Linux:

    sudo chmod ug+x Tools/Colorize.js


Syntax

Tools/Colorize.js <Template>

 Template  The path to your template file.


Example

You can try it with the example template.

Tools/Colorize.js Resources/Examples/Template.yaml


Template

The configuration for how to colorize the icons.


You can specify the Color & Alpha for:

  • Foreground
  • Background
  • Warning
  • Success
  • Accent
  • Error

➜ Everything is optional.
➜ If not specified, default values are used.


Example

Setting the RGBA of a component.

Foreground:
    Color : '090d11'    # Hex
    Alpha : .75         # Float

Deactivating a component.

Foreground:
    Color : None

Check out the Examples/Template.yaml for a full example.