diff --git a/appview/pages/pages.go b/appview/pages/pages.go --- a/appview/pages/pages.go +++ b/appview/pages/pages.go @@ -210,8 +210,19 @@ return tpl.ExecuteTemplate(w, "layouts/base", params) } +type DollyParams struct { + Classes string + FillColor string +} + +func (p *Pages) Dolly(w io.Writer, params DollyParams) error { + return p.executePlain("fragments/dolly/logo", w, params) +} + func (p *Pages) Favicon(w io.Writer) error { - return p.executePlain("fragments/dolly/silhouette", w, nil) + return p.Dolly(w, DollyParams{ + Classes: "text-black dark:text-white", + }) } type LoginParams struct { diff --git a/appview/pages/templates/brand/brand.html b/appview/pages/templates/brand/brand.html --- a/appview/pages/templates/brand/brand.html +++ b/appview/pages/templates/brand/brand.html @@ -4,7 +4,7 @@ {{ define "content" }}

Brand

-

+

Assets and guidelines for using Tangled's logo and brand elements.

@@ -14,11 +14,11 @@
-

+

Tangled's logo and mascot is Dolly, the first ever cloned mammal. Please follow the below guidelines when using Dolly and the logotype.

-

+

All assets are served as SVGs, and can be downloaded by right-clicking and clicking "Save image as".

@@ -34,7 +34,7 @@

Black logotype

-

For use on light-colored backgrounds.

+

For use on light-colored backgrounds.

This is the preferred version of the logotype, featuring dark text and elements, ideal for light backgrounds and designs. @@ -53,7 +53,7 @@

White logotype

-

For use on dark-colored backgrounds.

+

For use on dark-colored backgrounds.

This version features white text and elements, ideal for dark backgrounds and inverted designs. @@ -81,7 +81,7 @@

Mark only

-

+

When a smaller 1:1 logo or icon is needed, Dolly's face may be used on its own.

@@ -123,7 +123,7 @@

Colored backgrounds

-

+

White logo mark on colored backgrounds.

@@ -165,7 +165,7 @@

Lighter backgrounds

-

+

Dark logo mark on lighter, pastel backgrounds.

@@ -186,7 +186,7 @@

Recoloring

-

+

Custom coloring of the logotype is permitted.

@@ -194,26 +194,6 @@ Recoloring the logotype is allowed as long as readability is maintained.

Example: Gray/sand colored logotype on a light yellow/tan background. -

-
- - - -
-
-
- Dolly silhouette -
-
-
-

Dolly silhouette

-

A minimalist version of Dolly.

-

- The silhouette can be used where a subtle brand presence is needed, - or as a background element. Works on any background color with proper contrast. - For example, we use this as the site's favicon.

diff --git a/appview/pages/templates/fragments/dolly/logo.html b/appview/pages/templates/fragments/dolly/logo.html --- a/appview/pages/templates/fragments/dolly/logo.html +++ b/appview/pages/templates/fragments/dolly/logo.html @@ -2,7 +2,7 @@ {{ define "fragments/dolly/logo" }} + - {{ template "fragments/dolly/logo" "size-16 text-black dark:text-white" }} + {{ template "fragments/dolly/logo" (dict "Classes" "size-16 text-black dark:text-white") }} tangled alpha diff --git a/appview/pages/templates/fragments/logotypeSmall.html b/appview/pages/templates/fragments/logotypeSmall.html --- a/appview/pages/templates/fragments/logotypeSmall.html +++ b/appview/pages/templates/fragments/logotypeSmall.html @@ -1,6 +1,6 @@ {{ define "fragments/logotypeSmall" }} - {{ template "fragments/dolly/logo" "size-8 text-black dark:text-white" }} + {{ template "fragments/dolly/logo" (dict "Classes" "size-8 text-black dark:text-white")}} tangled alpha diff --git a/appview/pages/templates/layouts/fragments/topbar.html b/appview/pages/templates/layouts/fragments/topbar.html --- a/appview/pages/templates/layouts/fragments/topbar.html +++ b/appview/pages/templates/layouts/fragments/topbar.html @@ -3,11 +3,7 @@