electron-gtk-theme

Inspects the system GTK theme and builds browser-compatible CSS


Keywords
electron, gtk, theme, css, icon
License
MIT
Install
npm install electron-gtk-theme@0.0.1

Documentation

electron-gtk-theme

This module inspects the system GTK theme, icon theme, and builds browser-compatible CSS. It is based on postcss-gtk and @jakejarrett/gtk-theme. This is alpha-quality software and a work-in-progress.

Options

  • outputPath (string): The directory that the generated CSS, and the fallback CSS resides in.

Fallback

If a theme is in a resource:// path, electron-gtk-theme will fallback to a file named gtk.css in a directory configured by outputPath.