Skip to content

Latest commit

 

History

History
31 lines (19 loc) · 1.5 KB

CONTRIBUTING.md

File metadata and controls

31 lines (19 loc) · 1.5 KB

Contributing

Color themes

Requirements: Python 3, npm

Run npm run build:color-themes. Alternatively, cd into src and run build.py. Open this project in VS Code and hit F5 to test out your changes.

Adwaita syntax highlighting rules are translated from a GtkSourceView style scheme. This is far from perfect, but I've tried to make sure most popular languages look good. If something seems too off, open an issue.

Product icons

Requirements: Python 3, npm, nanoemoji

Adding a new icon

  1. Obtain an .svg icon in the Icon Library app
  2. Put it into product-icons/scalable/, incrementing the name in hexadecimal
  3. Open it with a text editor, replace the hardcoded color with currentColor and apply style="transform:scale(0.8)translate(2,2)" as the icons are too big by default for some reason
  4. Edit the icon if needed
  5. Add it to adwaita.json
  6. Build the .ttf file with npm run build:product-icons

This process should be automated in the future.

List of icons edited in step 4:

  • All window controls got a background circle with opacity 0.1
  • layout is grid-symbolic modified in Inkscape

The menu bar icon must have the code point of U+EB94. It's !important for some reason.