diff --git a/crates/templates/src/res/components/button.html b/crates/templates/src/res/components/button.html index c7c9d223..45a93197 100644 --- a/crates/templates/src/res/components/button.html +++ b/crates/templates/src/res/components/button.html @@ -26,7 +26,7 @@ limitations under the License. {{ self::common_class() }} border-accent bg-accent text-white hover:opacity-75 {%- endmacro %} -{% macro ghost_class() -%} +{% macro outline_class() -%} {{ self::common_class() }} border-accent hover:bg-accent/10 text-accent {%- endmacro %} @@ -42,8 +42,8 @@ limitations under the License. {{ text }} {% endmacro %} -{% macro link_ghost(text, href="#", class="") %} - {{ text }} +{% macro link_outline(text, href="#", class="") %} + {{ text }} {% endmacro %} {% macro button(text, name="", type="submit", class="", value="") %} @@ -54,6 +54,6 @@ limitations under the License. {% endmacro %} -{% macro button_ghost(text, name="", type="submit", class="", value="") %} - +{% macro button_outline(text, name="", type="submit", class="", value="") %} + {% endmacro %} diff --git a/crates/templates/src/res/components/navbar.html b/crates/templates/src/res/components/navbar.html index def40c17..c3591200 100644 --- a/crates/templates/src/res/components/navbar.html +++ b/crates/templates/src/res/components/navbar.html @@ -28,11 +28,11 @@ limitations under the License.
{% else %} {{ button::link(text="Sign in", href="/login") }} - {{ button::link_ghost(text="Create an account", href="/register") }} + {{ button::link_outline(text="Create an account", href="/register") }} {% endif %} diff --git a/crates/templates/src/res/pages/account/index.html b/crates/templates/src/res/pages/account/index.html index 7665bdf9..10ebf4be 100644 --- a/crates/templates/src/res/pages/account/index.html +++ b/crates/templates/src/res/pages/account/index.html @@ -31,7 +31,7 @@ limitations under the License.