/rouge-themes

Highlight themes generated by rougify.

Primary LanguagePythonMIT LicenseMIT

rouge-themes

Highlight themes generated by rougify.

$ rougify version
3.13.0

目录

使用

在 dist 文件夹里挑选好需要引用的 theme 后,可在网页里直接引用,比如引用 monokai.sublime

<link rel="stylesheet" href="https://cdn.jsdelivr.net/gh/mzlogin/rouge-themes@master/monokai.sublime.css">

theme 列表

base16

base16

base16.dark

base16.dark

base16.light

base16.light

base16.monokai

base16.monokai

base16.monokai.dark

base16.monokai.dark

base16.monokai.light

base16.monokai.light

base16.solarized

base16.solarized

base16.solarized.dark

base16.solarized.dark

base16.solarized.light

base16.solarized.light

bw

bw

colorful

colorful

github

github

gruvbox

gruvbox

gruvbox.dark

gruvbox.dark

gruvbox.light

gruvbox.light

igorpro

igorpro

magritte

magritte

molokai

molokai

monokai

monokai

monokai.sublime

monokai.sublime

pastie

pastie

thankful_eyes

thankful_eyes

tulip

tulip

生成方法

首先需要安装 rouge:

gem install rouge

自动

python3 generate.py

手动

  1. 获取 available themes:

    rougify help style
  2. 选择一个喜欢的 theme,然后输出到 CSS 文件:

    rougify style monokai.sublime > dist/monokai.sublime.css