1
0
mirror of https://github.com/alecthomas/chroma.git synced 2025-01-14 02:23:16 +02:00
chroma/styles
Alec Thomas d5083b3f7c Big changes to the style and colour APIs.
- Styles now use a builder system, to enforce immutability of styles.
- Corrected and cleaned up how style inheritance works.
- Added a brightening function to colours
- HTML formatter will now automatically pick line and highlight colours
  if they are not provided in the style. This is done by slightly
  darkening or lightening.

Fixes #21.
2017-09-23 22:09:46 +10:00
..
abap.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
algol_nu.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
algol.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
api.go Sort formatters and styles Names(). 2017-09-19 11:31:51 +10:00
arduino.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
autumn.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
borland.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
bw.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
colorful.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
emacs.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
friendly.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
fruity.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
igor.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
lovelace.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
manni.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
monokai.go Big changes to the style and colour APIs. 2017-09-23 22:09:46 +10:00
monokailight.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
murphy.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
native.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
paraiso-dark.go Big changes to the style and colour APIs. 2017-09-23 22:09:46 +10:00
paraiso-light.go Big changes to the style and colour APIs. 2017-09-23 22:09:46 +10:00
pastie.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
perldoc.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
pygments.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
rainbow_dash.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
rrt.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
swapoff.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
tango.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
trac.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
vim.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
vs.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00
xcode.go Return errors for invalid styles, rather than panicking. 2017-09-21 12:52:08 +10:00