Yukuro / goph-to-stylesheet

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

gogh-to-stylesheet has been archived

Gogh theme integration has been merged into hugo-theme-shell.
See the hugo-theme-shell repository for details.

goph-to-stylesheet

goph-to-stylesheet supports conversion from gogh to any file format.

Synopsis

goph-to-stylesheet [-t gogh_theme] [-i input_file] [-o output_file]

Options

  • -t --theme
    • Enter the name of the Gogh theme
    • You can find the Gogh theme here
  • -i --input
    • Enter the template file
    • Colors can be set in the template file using [[ COLOR ]]
      • COLOR can be any of the following colors defined in Gogh
        • black , red , green , yellow , blue , purple , cyan , white , brightBlack , brightRed , brightGreen , brightYellow , brightBlue , brightPurple , brightCyan , brightWhite , foreground , background , cursorColor
      • The specified color will be replaced by the HEX color code defined in Gogh
      • See template/shell.scss for details
  • -o --output
    • Enter the output file
    • Not only style sheets(.css, .scss), but also text files can be specified.

Example

If you want to use the "3024Day" theme in Gogh with Yukuro/hugo-theme-shell

goph-to-stylesheet -t 3024Day -i template/shell.scss -o goph.scss

About

License:MIT License


Languages

Language:Go 94.4%Language:SCSS 5.6%