**Note:** In htmx 2.0, these features will be migrated to extensions. These new extensions are already available in
htmx 1.7+ and, if you are writing new code, you are encouraged to use the extensions instead. All new feature work for
diff --git a/www/themes/htmx-theme/highlighting/two-dark-edited.tmTheme b/www/themes/htmx-theme/highlighting/two-dark-edited.tmTheme
new file mode 100644
index 00000000..4742848d
--- /dev/null
+++ b/www/themes/htmx-theme/highlighting/two-dark-edited.tmTheme
@@ -0,0 +1,878 @@
+
+
+
+
+ author
+ Roberto Mauro (erremauro@icloud.com)
+ name
+ TwoDark
+ semanticClass
+ theme.dark.two_dark
+ colorSpaceName
+ sRGB
+ gutterSettings
+
+ background
+ #393939
+ divider
+ #393939
+ foreground
+ #747369
+ selectionBackground
+ #515151
+ selectionForeground
+ #a09f93
+
+ settings
+
+
+ settings
+
+ background
+ #1f2329
+ caret
+ #528BFF
+ foreground
+ #ABB2BF
+ invisibles
+ #747369
+ lineHighlight
+ #2B313A
+ selection
+ #3D4350
+
+
+
+ name
+ Text
+ scope
+ variable.parameter.function
+ settings
+
+ foreground
+ #ABB2BF
+
+
+
+ name
+ Comments
+ scope
+ comment, punctuation.definition.comment
+ settings
+
+ foreground
+ #848da1
+ fontStyle
+ italic
+
+
+
+ name
+ Delimiters
+ scope
+ none
+ settings
+
+ foreground
+ #ABB2BF
+
+
+
+ name
+ Operators
+ scope
+ keyword.operator
+ settings
+
+ foreground
+ #ABB2BF
+
+
+
+ name
+ Keywords
+ scope
+ keyword
+ settings
+
+ foreground
+ #C678DD
+
+
+
+ name
+ Variables
+ scope
+ variable
+ settings
+
+ foreground
+ #E06C75
+
+
+
+ name
+ Functions
+ scope
+ entity.name.function, meta.require, support.function.any-method
+ settings
+
+ foreground
+ #61AFEF
+
+
+
+ name
+ Classes
+ scope
+ support.class, entity.name.class, entity.name.type.class
+ settings
+
+ foreground
+ #E5C07B
+
+
+
+ name
+ Classes
+ scope
+ meta.class
+ settings
+
+ foreground
+ #ABB2BF
+
+
+
+ name
+ Methods
+ scope
+ keyword.other.special-method
+ settings
+
+ foreground
+ #61AFEF
+
+
+
+ name
+ Storage
+ scope
+ storage
+ settings
+
+ foreground
+ #C678DD
+
+
+
+ name
+ Support
+ scope
+ support.function
+ settings
+
+ foreground
+ #56B6C2
+
+
+
+ name
+ Strings, Inherited Class
+ scope
+ string, constant.other.symbol, entity.other.inherited-class
+ settings
+
+ foreground
+ #98C379
+
+
+
+ name
+ Integers
+ scope
+ constant.numeric
+ settings
+
+ foreground
+ #D19A66
+
+
+
+ name
+ Floats
+ scope
+ none
+ settings
+
+ foreground
+ #D19A66
+
+
+
+ name
+ Boolean
+ scope
+ none
+ settings
+
+ foreground
+ #D19A66
+
+
+
+ name
+ Constants
+ scope
+ constant
+ settings
+
+ foreground
+ #D19A66
+
+
+
+ name
+ Tags
+ scope
+ entity.name.tag
+ settings
+
+ foreground
+ #E06C75
+
+
+
+ name
+ Attributes
+ scope
+ entity.other.attribute-name
+ settings
+
+ foreground
+ #D19A66
+
+
+
+ name
+ Attribute IDs
+ scope
+ entity.other.attribute-name.id, punctuation.definition.entity
+ settings
+
+ foreground
+ #D19A66
+
+
+
+ name
+ Selector
+ scope
+ meta.selector
+ settings
+
+ foreground
+ #C678DD
+
+
+
+ name
+ Values
+ scope
+ none
+ settings
+
+ foreground
+ #D19A66
+
+
+
+ name
+ Headings
+ scope
+ markup.heading punctuation.definition.heading, entity.name.section
+ settings
+
+ fontStyle
+
+ foreground
+ #61AFEF
+
+
+
+ name
+ Units
+ scope
+ keyword.other.unit
+ settings
+
+ foreground
+ #D19A66
+
+
+
+ name
+ Bold
+ scope
+ markup.bold, punctuation.definition.bold
+ settings
+
+ foreground
+ #E5C07B
+
+
+
+ name
+ Italic
+ scope
+ markup.italic, punctuation.definition.italic
+ settings
+
+ foreground
+ #C678DD
+
+
+
+ name
+ Code
+ scope
+ markup.raw.inline
+ settings
+
+ foreground
+ #98C379
+
+
+
+ name
+ Link Text
+ scope
+ string.other.link, punctuation.definition.string.end.markdown
+ settings
+
+ foreground
+ #E06C75
+
+
+
+ name
+ Link Url
+ scope
+ meta.link
+ settings
+
+ foreground
+ #D19A66
+
+
+
+ name
+ Lists
+ scope
+ markup.list
+ settings
+
+ foreground
+ #E06C75
+
+
+
+ name
+ Quotes
+ scope
+ markup.quote
+ settings
+
+ foreground
+ #D19A66
+
+
+
+ name
+ Separator
+ scope
+ meta.separator
+ settings
+
+ background
+ #515151
+ foreground
+ #ABB2BF
+
+
+
+ name
+ Inserted
+ scope
+ markup.inserted
+ settings
+
+ foreground
+ #98C379
+
+
+
+ name
+ Deleted
+ scope
+ markup.deleted
+ settings
+
+ foreground
+ #E06C75
+
+
+
+ name
+ Changed
+ scope
+ markup.changed
+ settings
+
+ foreground
+ #C678DD
+
+
+
+ name
+ Colors
+ scope
+ constant.other.color
+ settings
+
+ foreground
+ #56B6C2
+
+
+
+ name
+ Regular Expressions
+ scope
+ string.regexp
+ settings
+
+ foreground
+ #56B6C2
+
+
+
+ name
+ Escape Characters
+ scope
+ constant.character.escape
+ settings
+
+ foreground
+ #56B6C2
+
+
+
+ name
+ Embedded
+ scope
+ punctuation.section.embedded, variable.interpolation
+ settings
+
+ foreground
+ #BE5046
+
+
+
+ name
+ Illegal
+ scope
+ invalid.illegal
+ settings
+
+ background
+ #f2777a
+ foreground
+ #272B33
+
+
+
+ name
+ Broken
+ scope
+ invalid.broken
+ settings
+
+ background
+ #f99157
+ foreground
+ #2d2d2d
+
+
+
+ name
+ Deprecated
+ scope
+ invalid.deprecated
+ settings
+
+ background
+ #d27b53
+ foreground
+ #272B33
+
+
+
+ name
+ Unimplemented
+ scope
+ invalid.unimplemented
+ settings
+
+ background
+ #747369
+ foreground
+ #272B33
+
+
+
+ name
+ Json key
+ scope
+ source.json meta.structure.dictionary.json string.quoted.double.json
+ settings
+
+ foreground
+ #E06C75
+
+
+
+ name
+ Json value
+ scope
+ source.json meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json
+ settings
+
+ foreground
+ #98C379
+
+
+
+ name
+ json sub key
+ scope
+ source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json string.quoted.double.json
+ settings
+
+ foreground
+ #E06C75
+
+
+
+ name
+ Json sub value
+ scope
+ source.json meta.structure.dictionary.json meta.structure.dictionary.value.json meta.structure.dictionary.json meta.structure.dictionary.value.json string.quoted.double.json
+ settings
+
+ foreground
+ #98C379
+
+
+
+ name
+ laravel blade tag
+ scope
+ text.html.laravel-blade source.php.embedded.line.html entity.name.tag.laravel-blade
+ settings
+
+ foreground
+ #C678DD
+
+
+
+ name
+ laravel blade @
+ scope
+ text.html.laravel-blade source.php.embedded.line.html support.constant.laravel-blade
+ settings
+
+ foreground
+ #C678DD
+
+
+
+ name
+ python function parameter
+ scope
+ source.python meta.function.python meta.function.parameters.python variable.parameter.function.python
+ settings
+
+ foreground
+ #D19A66
+
+
+
+ name
+ python meta function
+ scope
+ source.python meta.function-call.python support.type.python
+ settings
+
+ foreground
+ #56B6C2
+
+
+
+ name
+ python logical keyword
+ scope
+ source.python keyword.operator.logical.python
+ settings
+
+ foreground
+ #C678DD
+
+
+
+ name
+ python class ( begin
+ scope
+ source.python meta.class.python punctuation.definition.inheritance.begin.python
+ settings
+
+ foreground
+ #E5C07B
+
+
+
+ name
+ python class ) end
+ scope
+ source.python meta.class.python punctuation.definition.inheritance.end.python
+ settings
+
+ foreground
+ #E5C07B
+
+
+
+ name
+ python function call parameter name
+ scope
+ source.python meta.function-call.python meta.function-call.arguments.python variable.parameter.function.python
+ settings
+
+ foreground
+ #D19A66
+
+
+
+ name
+ php fcuntion constants
+ scope
+ text.html.basic source.php.embedded.block.html support.constant.std.php
+ settings
+
+ foreground
+ #D19A66
+
+
+
+ name
+ php namespace name
+ scope
+ text.html.basic source.php.embedded.block.html meta.namespace.php entity.name.type.namespace.php
+ settings
+
+ foreground
+ #E5C07B
+
+
+
+ name
+ javascript meta constant
+ scope
+ source.js meta.function.js support.constant.js
+ settings
+
+ foreground
+ #D19A66
+
+
+
+ name
+ php namespace in top
+ scope
+ text.html.basic` source.php.embedded.block.html constant.other.php
+ settings
+
+ foreground
+ #C678DD
+
+
+
+ name
+ php namespace name in top
+ scope
+ text.html.basic source.php.embedded.block.html support.other.namespace.php
+ settings
+
+ foreground
+ #D19A66
+
+
+
+ name
+ latex label names
+ scope
+ text.tex.latex meta.function.environment.math.latex string.other.math.block.environment.latex meta.definition.label.latex variable.parameter.definition.label.latex
+ settings
+
+ foreground
+ #ABB2BF
+
+
+
+ name
+ latex italic emph
+ scope
+ text.tex.latex meta.function.emph.latex markup.italic.emph.latex
+ settings
+
+ fontStyle
+ italic
+ foreground
+ #C678DD
+
+
+
+ name
+ subl_new js vars
+ scope
+ source.js variable.other.readwrite.js
+ settings
+
+ foreground
+ ABB2BF
+
+
+
+ name
+ new_subl js $
+ scope
+ source.js meta.function-call.with-arguments.js variable.function.js
+ settings
+
+ foreground
+ #ABB2BF
+
+
+
+ name
+ new_subl js call method
+ scope
+ source.js meta.group.braces.round meta.group.braces.curly meta.function-call.method.without-arguments.js variable.function.js
+ settings
+
+ foreground
+ #ABB2BF
+
+
+
+ name
+ new_subl e js
+ scope
+ source.js meta.group.braces.round meta.group.braces.curly variable.other.object.js
+ settings
+
+ foreground
+ #ABB2BF
+
+
+
+ name
+ new_subl js key
+ scope
+ source.js meta.group.braces.round meta.group.braces.curly constant.other.object.key.js string.unquoted.label.js
+ settings
+
+ foreground
+ #ABB2BF
+
+
+
+ name
+ new_subl obejct key
+ scope
+ source.js meta.group.braces.round meta.group.braces.curly constant.other.object.key.js punctuation.separator.key-value.js
+ settings
+
+ foreground
+ #ABB2BF
+
+
+
+ name
+ new_subl js method with args
+ scope
+ source.js meta.group.braces.round meta.group.braces.curly meta.function-call.method.with-arguments.js variable.function.js
+ settings
+
+ foreground
+ #ABB2BF
+
+
+
+ name
+ new_subl js variable function
+ scope
+ source.js meta.function-call.method.with-arguments.js variable.function.js
+ settings
+
+ foreground
+ #ABB2BF
+
+
+
+ name
+ new_subl variabel function method
+ scope
+ source.js meta.function-call.method.without-arguments.js variable.function.js
+ settings
+
+ foreground
+ #ABB2BF
+
+
+
+ name
+ SublimeLinter Error
+ scope
+ sublimelinter.mark.error
+ settings
+
+ foreground
+ #D02000
+
+
+ name
+ SublimeLinter Gutter Mark
+ scope
+ sublimelinter.gutter-mark
+ settings
+
+ foreground
+ #FFFFFF
+
+
+ name
+ SublimeLinter Warning
+ scope
+ sublimelinter.mark.warning
+ settings
+
+ foreground
+ #DDB700
+
+
+ uuid
+ 32bd64fa-d60a-4858-a5fc-5164cc49a2b8
+ comment
+ Work in progress
+
+
\ No newline at end of file
diff --git a/www/themes/htmx-theme/static/css/site.css b/www/themes/htmx-theme/static/css/site.css
index ee5b979b..8b82d3ba 100644
--- a/www/themes/htmx-theme/static/css/site.css
+++ b/www/themes/htmx-theme/static/css/site.css
@@ -1,5 +1,5 @@
:root {
- --midBlue: #3465a4;
+ --midBlue: #3366cc;
--lightBlue: #3d72d7;
}
@@ -8,7 +8,7 @@ body {
margin: 0px;
line-height: 1.5em;
font-size: 16px;
- color: #333;
+ color: #111;
background-color: white;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif !important;
@@ -70,7 +70,7 @@ body .content code {
}
code:not(code[class*="language-"]) {
- background: #3465a424;
+ background: #3465a41f;
border-radius: 2px;
padding: 2px 5px;
}
@@ -104,7 +104,7 @@ code:not(code[class*="language-"]) {
.dark-hero .logo {
font-size: 100px;
}
- .dark-hero a {
+ .dark-hero .blue {
color: var(--lightBlue);
}
diff --git a/www/themes/htmx-theme/templates/base.html b/www/themes/htmx-theme/templates/base.html
index 045ed8d7..2a9061da 100644
--- a/www/themes/htmx-theme/templates/base.html
+++ b/www/themes/htmx-theme/templates/base.html
@@ -2,6 +2,9 @@
+
{# This block should set html_title appropriately -#}
{% block title %} {% endblock title -%}
{{ html_title | default(value=config.title) | safe }}
@@ -89,7 +92,7 @@