Skip to content

Commit

Permalink
add note as to why bundled themes use underscore as key separator ins…
Browse files Browse the repository at this point in the history
…tead of hyphen
  • Loading branch information
mojavelinux committed Feb 27, 2024
1 parent 5171b06 commit adc5d05
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/modules/theme/pages/language.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,10 @@ See xref:blocks.adoc#align[Alignment for blocks] for more information.
See xref:text.adoc#text-align[Text alignment] for more information.
* The `font-color` property in the theme language is equivalent to the `color` property in CSS.
TIP: When you look at the bundled themes, you'll see that they use an underscore to separate key names.
The underscore separator is used for bundled themes since it requires no translation and those themes are loaded frequently.
The hyphen is the preferred separator for use in custom themes since it looks clearer.

[#values]
== Key values

Expand Down

0 comments on commit adc5d05

Please sign in to comment.