Skip to content

Commit

Permalink
adding basic roles in yupiik theme
Browse files Browse the repository at this point in the history
  • Loading branch information
rmannibucau committed Oct 12, 2022
1 parent e68c1d8 commit 7e2c976
Show file tree
Hide file tree
Showing 2 changed files with 35 additions and 1 deletion.
20 changes: 20 additions & 0 deletions README.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,26 @@ Simplest setup is to define the plugin and create a file `src/main/pdf/index.ado

TIP: `watch-pdf` goal exists and just keeps re-rendering your `adoc` to `pdf` when something changed in the source directories. You can exit it with `Ctrl+C` command.

TIP: some default roles are defined in the theme and can be used to color the icons (`icon:xxx[role=<name>]`).
Here are the default ones:
[source,yaml]
----
red:
font-color: #ff00ff
green:
font-color: #00ff00
blue:
font-color: #0000ff
red-darker:
font-color: #cc0000
green-darker:
font-color: #006600
yupiik:
font-color: #0075bb
yupiik_dark:
font-color: #054470
----

==== Configuration

[options="header",cols="1,m,m,m,1"]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -243,4 +243,18 @@ footer:
verso:
left:
content: $footer_recto_right_content

role:
red:
font-color: #ff00ff
green:
font-color: #00ff00
blue:
font-color: #0000ff
red-darker:
font-color: #cc0000
green-darker:
font-color: #006600
yupiik:
font-color: #0075bb
yupiik_dark:
font-color: #054470

0 comments on commit 7e2c976

Please sign in to comment.