mirror of
https://github.com/gohugoio/hugo.git
synced 2026-08-24 15:28:54 +00:00
committed by
Bjørn Erik Pedersen
parent
e51e761d9c
commit
88d838a971
@@ -22,8 +22,13 @@ hugo gen chromastyles --style monokai
|
||||
hugo gen chromastyles --omitEmpty --style monokai --logLevel info
|
||||
stderr 'deprecated: --omitEmpty was deprecated'
|
||||
|
||||
# Keep same-colour token classes in generated CSS. This is needed when pairing
|
||||
# styles such as github and github-dark in dual-theme sites.
|
||||
hugo gen chromastyles --style github-dark
|
||||
stdout 'NameOther.*\.chroma \.nx \{ color:#e6edf3 \}'
|
||||
|
||||
# Disable class comments.
|
||||
hugo gen chromastyles --style monokai
|
||||
stdout 'GenericSubheading'
|
||||
hugo gen chromastyles --omitClassComments --style monokai
|
||||
! stdout 'GenericSubheading'
|
||||
! stdout 'GenericSubheading'
|
||||
|
||||
Reference in New Issue
Block a user