diff options
author | Toby Vincent <tobyv@tobyvin.dev> | 2023-08-17 15:11:38 -0500 |
---|---|---|
committer | Toby Vincent <tobyv@tobyvin.dev> | 2023-08-17 15:11:38 -0500 |
commit | 7bce1b1bcf594248c6df38b7bac0cd30306cc6a3 (patch) | |
tree | 13131ac1036c3b95b029bf12a8f9b35d50705fc7 | |
parent | 2115385890d119c777c70936d2f392b6917441a4 (diff) |
fix: fix bug in syntax style generation
-rw-r--r-- | config.toml | 5 | ||||
-rw-r--r-- | static/syntax-theme-dark.css | 188 | ||||
-rw-r--r-- | static/syntax-theme-light.css | 192 |
3 files changed, 382 insertions, 3 deletions
diff --git a/config.toml b/config.toml index 9d5e7d0..42166f6 100644 --- a/config.toml +++ b/config.toml @@ -11,8 +11,8 @@ name = "tags" highlight_code = true highlight_theme = "css" highlight_themes_css = [ - { theme = "gruvbox-dark", filename = "../public/syntax-theme-dark.css" }, - { theme = "gruvbox-light", filename = "../public/syntax-theme-light.css" }, + { theme = "gruvbox-dark", filename = "syntax-theme-dark.css" }, + { theme = "gruvbox-light", filename = "syntax-theme-light.css" }, ] [extra] @@ -46,6 +46,5 @@ display = "tobyvin" [[extra.meta]] name = "PGP Key" -# 0xC8F6E06F5C8E2634-2023-07-11 href = "/public_key.asc" display = "C8F6E06F5C8E2634" diff --git a/static/syntax-theme-dark.css b/static/syntax-theme-dark.css new file mode 100644 index 0000000..79f7045 --- /dev/null +++ b/static/syntax-theme-dark.css @@ -0,0 +1,188 @@ +/* + * theme "gruvbox" generated by syntect + */ + +.z-code { + color: #fdf4c1; + background-color: #282828; +} + +.z-punctuation.z-definition.z-tag { + color: #83a598; +} +.z-punctuation.z-definition.z-entity { + color: #d3869b; +} +.z-constant { + color: #d3869b; +} +.z-constant.z-character.z-escape { + color: #b8bb26; +} +.z-constant.z-other { + color: #fdf4c1; +} +.z-entity { + color: #8ec07c; +} +.z-keyword.z-operator.z-comparison, .z-keyword.z-operator, .z-keyword.z-operator.z-symbolic, .z-keyword.z-operator.z-string, .z-keyword.z-operator.z-assignment, .z-keyword.z-operator.z-arithmetic, .z-keyword.z-operator.z-class, .z-keyword.z-operator.z-key, .z-keyword.z-operator.z-logical { + color: #fe8019; +} +.z-keyword, .z-keyword.z-operator.z-new, .z-keyword.z-other, .z-keyword.z-control { + color: #fa5c4b; +} +.z-storage { + color: #fa5c4b; +} +.z-string, .z-string.z-unquoted.z-heredoc .z-string { + color: #b8bb26; +} +.z-comment { + color: #928374; +font-style: italic; +} +.z-string.z-regexp .z-constant.z-character.z-escape { + color: #b8bb26; +} +.z-support { + color: #fabd2f; +} +.z-variable { + color: #fdf4c1; +} +.z-variable.z-language { + color: #fdf4c1; +} +.z-meta.z-function-call { + color: #fdf4c1; +} +.z-invalid { + color: #fdf4c1; + background-color: #932b1e; +} +.z-text .z-source, .z-string.z-unquoted.z-heredoc, .z-source .z-source { + color: #fdf4c1; +} +.z-string.z-quoted .z-source { + color: #b8bb26; +} +.z-string { + color: #b8bb26; +} +.z-support.z-constant { + color: #fabd2f; +} +.z-support.z-class { + color: #8ec07c; +} +.z-entity.z-name.z-tag { + color: #8ec07c; +font-weight: bold; +} +.z-meta.z-tag, .z-meta.z-tag .z-entity { + color: #8ec07c; +} +.z-constant.z-other.z-color.z-rgb-value { + color: #83a598; +} +.z-meta.z-selector.z-css .z-entity.z-name.z-tag { + color: #fa5c4b; +} +.z-meta.z-selector.z-css, .z-entity.z-other.z-attribute-name.z-id { + color: #b8bb26; +} +.z-meta.z-selector.z-css .z-entity.z-other.z-attribute-name.z-class { + color: #b8bb26; +} +.z-support.z-type.z-property-name.z-css { + color: #8ec07c; +} +.z-meta.z-preprocessor.z-at-rule .z-keyword.z-control.z-at-rule { + color: #fabd2f; +} +.z-meta.z-property-value .z-constant { + color: #fabd2f; +} +.z-meta.z-property-value .z-support.z-constant.z-named-color.z-css { + color: #fe8019; +} +.z-meta.z-constructor.z-argument.z-css { + color: #fabd2f; +} +.z-meta.z-diff, .z-meta.z-diff.z-header { + color: #83a598; +} +.z-markup.z-deleted { + color: #fa5c4b; +} +.z-markup.z-changed { + color: #fabd2f; +} +.z-markup.z-inserted { + color: #8ec07c; +} +.z-markup.z-bold { +font-weight: bold; +} +.z-markup.z-italic { +font-style: italic; +} +.z-markup.z-heading { + color: #8ec07c; +font-weight: bold; +} +.z-entity.z-name.z-type.z-class.z-php { + color: #8ec07c; +} +.z-keyword.z-other.z-phpdoc { + color: #928374; +} +.z-constant.z-numeric.z-css, .z-keyword.z-other.z-unit.z-css { + color: #d3869b; +} +.z-punctuation.z-definition.z-entity.z-css { + color: #b8bb26; +} +.z-variable.z-language.z-js { + color: #fabd2f; +} +.z-string.z-unquoted.z-label.z-js { + color: #fdf4c1; +} +.z-constant.z-other.z-table-name.z-sql { + color: #b8bb26; +} +.z-constant.z-other.z-database-name.z-sql { + color: #b8bb26; +} +.z-storage.z-type.z-dired.z-item.z-directory, .z-dired.z-item.z-directory { + color: #8ec07c; +} +.z-orgmode.z-link { + color: #fabd2f; +font-style: underline; +} +.z-orgmode.z-page { + color: #b8bb26; +} +.z-orgmode.z-break { + color: #d3869b; +} +.z-orgmode.z-headline { + color: #8ec07c; +} +.z-orgmode.z-tack { + color: #fabd2f; +} +.z-orgmode.z-follow_up { + color: #fabd2f; +} +.z-orgmode.z-checkbox { + color: #fabd2f; +} +.z-orgmode.z-checkbox.z-summary { + color: #fabd2f; +} +.z-orgmode.z-tags { + color: #fa5c4b; +} diff --git a/static/syntax-theme-light.css b/static/syntax-theme-light.css new file mode 100644 index 0000000..dfd37a8 --- /dev/null +++ b/static/syntax-theme-light.css @@ -0,0 +1,192 @@ +/* + * theme "gruvbox" generated by syntect + */ + +.z-code { + color: #282828; + background-color: #fcf0ca; +} + +.z-punctuation.z-definition.z-tag { + color: #076678; +} +.z-punctuation.z-definition.z-entity { + color: #8f3f71; +} +.z-constant { + color: #8f3f71; +} +.z-constant.z-character.z-escape { + color: #79740e; +} +.z-constant.z-other { + color: #282828; +} +.z-entity { + color: #407959; +} +.z-keyword.z-operator.z-comparison, .z-keyword.z-operator, .z-keyword.z-operator.z-symbolic, .z-keyword.z-operator.z-string, .z-keyword.z-operator.z-assignment, .z-keyword.z-operator.z-arithmetic, .z-keyword.z-operator.z-class, .z-keyword.z-operator.z-key, .z-keyword.z-operator.z-logical { + color: #b23c15; +} +.z-keyword, .z-keyword.z-operator.z-new, .z-keyword.z-other, .z-keyword.z-control { + color: #9d0006; +} +.z-storage { + color: #9d0006; +} +.z-string, .z-string.z-unquoted.z-heredoc .z-string { + color: #79740e; +} +.z-comment { + color: #928374; +font-style: italic; +} +.z-string.z-regexp .z-constant.z-character.z-escape { + color: #79740e; +} +.z-support { + color: #b57614; +} +.z-variable { + color: #282828; +} +.z-variable.z-language { + color: #282828; +} +.z-meta.z-function-call { + color: #282828; +} +.z-invalid { + color: #282828; + background-color: #932b1e; +} +.z-text .z-source, .z-string.z-unquoted.z-heredoc, .z-source .z-source { + color: #282828; +} +.z-string.z-quoted .z-source { + color: #79740e; +} +.z-string { + color: #79740e; +} +.z-support.z-constant { + color: #b57614; +} +.z-support.z-class { + color: #407959; +} +.z-entity.z-name.z-tag { + color: #407959; +font-weight: bold; +} +.z-meta.z-tag, .z-meta.z-tag .z-entity { + color: #407959; +} +.z-constant.z-other.z-color.z-rgb-value { + color: #076678; +} +.z-meta.z-selector.z-css .z-entity.z-name.z-tag { + color: #9d0006; +} +.z-meta.z-selector.z-css, .z-entity.z-other.z-attribute-name.z-id { + color: #79740e; +} +.z-meta.z-selector.z-css .z-entity.z-other.z-attribute-name.z-class { + color: #79740e; +} +.z-support.z-type.z-property-name.z-css { + color: #407959; +} +.z-meta.z-preprocessor.z-at-rule .z-keyword.z-control.z-at-rule { + color: #b57614; +} +.z-meta.z-property-value .z-constant { + color: #b57614; +} +.z-meta.z-property-value .z-support.z-constant.z-named-color.z-css { + color: #b23c15; +} +.z-meta.z-constructor.z-argument.z-css { + color: #b57614; +} +.z-meta.z-diff, .z-meta.z-diff.z-header { + color: #282828; + background-color: #076678; +} +.z-markup.z-deleted { + color: #282828; + background-color: #9d0006; +} +.z-markup.z-changed { + color: #282828; + background-color: #b57614; +} +.z-markup.z-inserted { + color: #282828; + background-color: #407959; +} +.z-markup.z-bold { +font-weight: bold; +} +.z-markup.z-italic { +font-style: italic; +} +.z-markup.z-heading { + color: #407959; +font-weight: bold; +} +.z-entity.z-name.z-type.z-class.z-php { + color: #407959; +} +.z-keyword.z-other.z-phpdoc { + color: #928374; +} +.z-constant.z-numeric.z-css, .z-keyword.z-other.z-unit.z-css { + color: #8f3f71; +} +.z-punctuation.z-definition.z-entity.z-css { + color: #79740e; +} +.z-variable.z-language.z-js { + color: #b57614; +} +.z-string.z-unquoted.z-label.z-js { + color: #282828; +} +.z-constant.z-other.z-table-name.z-sql { + color: #79740e; +} +.z-constant.z-other.z-database-name.z-sql { + color: #79740e; +} +.z-storage.z-type.z-dired.z-item.z-directory, .z-dired.z-item.z-directory { + color: #407959; +} +.z-orgmode.z-link { + color: #b57614; +font-style: underline; +} +.z-orgmode.z-page { + color: #79740e; +} +.z-orgmode.z-break { + color: #8f3f71; +} +.z-orgmode.z-headline { + color: #407959; +} +.z-orgmode.z-tack { + color: #b57614; +} +.z-orgmode.z-follow_up { + color: #b57614; +} +.z-orgmode.z-checkbox { + color: #b57614; +} +.z-orgmode.z-checkbox.z-summary { + color: #b57614; +} +.z-orgmode.z-tags { + color: #9d0006; +} |