-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
adds a new `hex_format` string option to the template frontmatter. this string, if set, is used to render all hex-format colours in the template with tera. the following context variables are available: - r: red - g: green - b: blue - a: alpha - z: alpha, or blank if alpha == 0xFF these are all lowercase 2-digit hex values, for example '7e'. all five of these have uppercase counterparts, for example `G`, which are uppercase 2-digit hex values, for example '7E'. the default format is `{{r}}{{g}}{{b}}{{z}}`. Co-authored-by: Ruby <rubyowo284@pm.me>
- Loading branch information
1 parent
7f6c57b
commit f12edc6
Showing
8 changed files
with
293 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.