Skip to content

Commit

Permalink
Remove set-color-scheme! from README since it no longer exists.
Browse files Browse the repository at this point in the history
  • Loading branch information
greglook committed Mar 7, 2015
1 parent cc877f9 commit 120301d
Showing 1 changed file with 8 additions and 17 deletions.
25 changes: 8 additions & 17 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -119,25 +119,16 @@ convenience, or a map can be passed directly into Puget's print functions to
override the defaults.

Puget's colors are defined by the `:color-scheme` key, which maps syntax element
keywords to a vector of ANSI style keywords to apply. The `set-color-scheme!`
function offers a convenient way to change the colors by providing either
color/style argument pairs or a single map of colors to merge into the current
color scheme.
keywords to a vector of ANSI style keywords to apply. Some example elements and
their default colors:

```clojure
(puget/set-color-scheme! :nil [:bold :black])
{:boolean [:green]
:class-delimiter [:blue]
:class-name [:bold :blue]
:delimiter [:bold :red]
:function-symbol [:bold :blue]
:keyword [:bold :yellow]
:nil [:bold :black]
:number [:cyan]
:string [:bold :magenta]
:character [:bold :magenta]
:symbol nil
:tag [:red]}
:boolean [:green]
:delimiter [:bold :red]
:keyword [:bold :yellow]
:number [:cyan]
:string [:bold :magenta]
:symbol nil
```

## License
Expand Down

0 comments on commit 120301d

Please sign in to comment.