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" }}
+
Assets and guidelines for using Tangled's logo and brand elements.
+
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".
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 @@
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 @@
+
When a smaller 1:1 logo or icon is needed, Dolly's face may be used on its own.
@@ -123,7 +123,7 @@
+
White logo mark on colored backgrounds.
@@ -165,7 +165,7 @@
+
Dark logo mark on lighter, pastel backgrounds.
@@ -186,7 +186,7 @@
+
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. -
-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.