diff --git a/LICENSE-ARTWORK.md b/LICENSE-ARTWORK.md new file mode 100644 index 0000000..6cc252a --- /dev/null +++ b/LICENSE-ARTWORK.md @@ -0,0 +1,30 @@ +# Artwork licence + +Copyright (c) 2026 Matthew Daubney. All rights reserved. + +This applies to the Scrobbled logo and everything derived from it: the record and +tonearm mark, the wordmark and the icon files. In this repository that is +`frontend/img/`, `frontend/favicon.*`, `frontend/apple-touch-icon.png`, +`frontend/icon-*.png` and the mark drawn by `.brand-mark` in the web UI. The rest +of the repository is under [LICENSE](LICENSE). + +## Permitted use + +You may use the Scrobbled name and logo, unmodified, to refer to the Scrobbled +product. For example, in an article, review, tutorial, integration listing or +"works with Scrobbled" mention. + +When you do: + +- Use the files as supplied. Scaling is fine. Don't recolour, redraw, crop, + distort, animate or combine them with other marks. +- Don't use the logo in a way that suggests Scrobbled made, endorsed or + sponsors your product, service or organisation. +- Don't use the logo, or anything confusingly similar, as the name or logo of + your own product, app or business. + +## Everything else + +Any other use needs written permission first. That includes modifying the +artwork, selling it or merchandise bearing it, and using it as part of another +brand. To ask, contact Matthew Daubney. diff --git a/README.md b/README.md index 4d49751..0739ecb 100644 --- a/README.md +++ b/README.md @@ -40,4 +40,5 @@ configuration reference and production notes. ## Licence BSD 3-Clause; see [LICENSE](LICENSE). The fonts vendored in `frontend/fonts/` are under -the SIL Open Font License 1.1. +the SIL Open Font License 1.1. The Scrobbled logo, wordmark and icons are not BSD-licensed: +they are all rights reserved, see [LICENSE-ARTWORK.md](LICENSE-ARTWORK.md). diff --git a/frontend/css/style.css b/frontend/css/style.css index a7ababe..8eab501 100644 --- a/frontend/css/style.css +++ b/frontend/css/style.css @@ -24,7 +24,6 @@ --font-ui: "Instrument Sans", system-ui, -apple-system, "Segoe UI", sans-serif; --font-display: "Doto", "Instrument Sans", monospace; - --font-brand: "Bricolage Grotesque", "Instrument Sans", system-ui, sans-serif; /* Type scale: a 1.25 ratio on a 16px base */ --step--1: 0.8rem; @@ -153,11 +152,6 @@ code { display: inline-flex; align-items: center; gap: 0.6rem; - font-family: var(--font-brand); - font-weight: 800; - font-size: var(--step-1); - letter-spacing: -0.02em; - text-transform: lowercase; text-decoration: none; } @@ -168,6 +162,24 @@ code { background: url("../img/scrobbled-mark-simple.svg") center / contain no-repeat; } +/* The outlined wordmark; the name is in the link's visually-hidden text. The "b" is + lime on dark and violet on light, so there is one file per theme. */ +.brand-word { + width: 5.3rem; + height: 1.4rem; + background: url("../img/scrobbled-wordmark-on-light.svg") center / contain no-repeat; +} + +@media (prefers-color-scheme: dark) { + :root:not([data-theme="light"]) .brand-word { + background-image: url("../img/scrobbled-wordmark-on-dark.svg"); + } +} + +:root[data-theme="dark"] .brand-word { + background-image: url("../img/scrobbled-wordmark-on-dark.svg"); +} + .site-header nav ul { display: flex; flex-wrap: wrap; diff --git a/frontend/fonts/OFL-bricolage-grotesque.txt b/frontend/fonts/OFL-bricolage-grotesque.txt deleted file mode 100644 index 49135ef..0000000 --- a/frontend/fonts/OFL-bricolage-grotesque.txt +++ /dev/null @@ -1,93 +0,0 @@ -Copyright 2022 The Bricolage Grotesque Project Authors (https://github.com/ateliertriay/bricolage) - -This Font Software is licensed under the SIL Open Font License, Version 1.1. -This license is copied below, and is also available with a FAQ at: -http://scripts.sil.org/OFL - - ------------------------------------------------------------ -SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007 ------------------------------------------------------------ - -PREAMBLE -The goals of the Open Font License (OFL) are to stimulate worldwide -development of collaborative font projects, to support the font creation -efforts of academic and linguistic communities, and to provide a free and -open framework in which fonts may be shared and improved in partnership -with others. - -The OFL allows the licensed fonts to be used, studied, modified and -redistributed freely as long as they are not sold by themselves. The -fonts, including any derivative works, can be bundled, embedded, -redistributed and/or sold with any software provided that any reserved -names are not used by derivative works. The fonts and derivatives, -however, cannot be released under any other type of license. The -requirement for fonts to remain under this license does not apply -to any document created using the fonts or their derivatives. - -DEFINITIONS -"Font Software" refers to the set of files released by the Copyright -Holder(s) under this license and clearly marked as such. This may -include source files, build scripts and documentation. - -"Reserved Font Name" refers to any names specified as such after the -copyright statement(s). - -"Original Version" refers to the collection of Font Software components as -distributed by the Copyright Holder(s). - -"Modified Version" refers to any derivative made by adding to, deleting, -or substituting -- in part or in whole -- any of the components of the -Original Version, by changing formats or by porting the Font Software to a -new environment. - -"Author" refers to any designer, engineer, programmer, technical -writer or other person who contributed to the Font Software. - -PERMISSION & CONDITIONS -Permission is hereby granted, free of charge, to any person obtaining -a copy of the Font Software, to use, study, copy, merge, embed, modify, -redistribute, and sell modified and unmodified copies of the Font -Software, subject to the following conditions: - -1) Neither the Font Software nor any of its individual components, -in Original or Modified Versions, may be sold by itself. - -2) Original or Modified Versions of the Font Software may be bundled, -redistributed and/or sold with any software, provided that each copy -contains the above copyright notice and this license. These can be -included either as stand-alone text files, human-readable headers or -in the appropriate machine-readable metadata fields within text or -binary files as long as those fields can be easily viewed by the user. - -3) No Modified Version of the Font Software may use the Reserved Font -Name(s) unless explicit written permission is granted by the corresponding -Copyright Holder. This restriction only applies to the primary font name as -presented to the users. - -4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font -Software shall not be used to promote, endorse or advertise any -Modified Version, except to acknowledge the contribution(s) of the -Copyright Holder(s) and the Author(s) or with their explicit written -permission. - -5) The Font Software, modified or unmodified, in part or in whole, -must be distributed entirely under this license, and must not be -distributed under any other license. The requirement for fonts to -remain under this license does not apply to any document created -using the Font Software. - -TERMINATION -This license becomes null and void if any of the above conditions are -not met. - -DISCLAIMER -THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF -MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT -OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE -COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL -DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM -OTHER DEALINGS IN THE FONT SOFTWARE. diff --git a/frontend/fonts/bricolage-grotesque-latin-800-normal.woff b/frontend/fonts/bricolage-grotesque-latin-800-normal.woff deleted file mode 100644 index 5ffe9d7..0000000 Binary files a/frontend/fonts/bricolage-grotesque-latin-800-normal.woff and /dev/null differ diff --git a/frontend/fonts/bricolage-grotesque-latin-800-normal.woff2 b/frontend/fonts/bricolage-grotesque-latin-800-normal.woff2 deleted file mode 100644 index b3da42e..0000000 Binary files a/frontend/fonts/bricolage-grotesque-latin-800-normal.woff2 and /dev/null differ diff --git a/frontend/fonts/fonts.css b/frontend/fonts/fonts.css index 0a7bd1d..f0dbd0f 100644 --- a/frontend/fonts/fonts.css +++ b/frontend/fonts/fonts.css @@ -1,4 +1,4 @@ -/* Vendored fonts. Doto, Instrument Sans (from Google Fonts) and Bricolage Grotesque are licensed under the SIL Open Font License 1.1. */ +/* Vendored from Google Fonts. Doto and Instrument Sans are licensed under the SIL Open Font License 1.1. */ /* Doto latin-ext */ @font-face { font-family: 'Doto'; @@ -37,11 +37,3 @@ src: url(instrument-sans-latin.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } -/* Bricolage Grotesque ExtraBold, the wordmark typeface (SIL Open Font License 1.1, see OFL-bricolage-grotesque.txt). */ -@font-face { - font-family: 'Bricolage Grotesque'; - font-style: normal; - font-weight: 800; - font-display: swap; - src: url(bricolage-grotesque-latin-800-normal.woff2) format('woff2'), url(bricolage-grotesque-latin-800-normal.woff) format('woff'); -} diff --git a/frontend/img/scrobbled-wordmark-on-dark.svg b/frontend/img/scrobbled-wordmark-on-dark.svg new file mode 100644 index 0000000..e10e6a8 --- /dev/null +++ b/frontend/img/scrobbled-wordmark-on-dark.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/frontend/img/scrobbled-wordmark-on-light.svg b/frontend/img/scrobbled-wordmark-on-light.svg new file mode 100644 index 0000000..99efabc --- /dev/null +++ b/frontend/img/scrobbled-wordmark-on-light.svg @@ -0,0 +1,11 @@ + + + + + + + + + + + diff --git a/frontend/js/layout.js b/frontend/js/layout.js index 138cbf4..b98f55a 100644 --- a/frontend/js/layout.js +++ b/frontend/js/layout.js @@ -38,7 +38,13 @@ export function publicPage() { } function brand() { - return h("a", { class: "brand", href: "index.html" }, h("span", { class: "brand-mark", "aria-hidden": "true" }), "Scrobbled"); + return h( + "a", + { class: "brand", href: "index.html" }, + h("span", { class: "brand-mark", "aria-hidden": "true" }), + h("span", { class: "brand-word", "aria-hidden": "true" }), + h("span", { class: "visually-hidden" }, "Scrobbled"), + ); } function nav(active) {