Sign-in look: the logo follows IAWL's rules; no plate by default; the brand fields are admin-only

Bitmaps only (JPEG, PNG, WebP, AVIF, GIF; SVG with svgLogo: true), the file fetched and checked by its
bytes before it is printed (checkLogo; 512 KB; ten-minute memory; an unreachable address is believed),
served from a generated size at least twice the shown width. logoPlate replaces logoMadeFor: no plate
unless asked. With the look on, the name, logo and icon of Site settings are changed by admins only
(brandAccess: 'editor' gives them back). Docs, skills, changelog draft, tests and pictures follow.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
This commit is contained in:
Radosław Smoliński
2026-11-26 20:52:41 +01:00
co-authored by Claude Fable 5.2
parent 3ceeab8469
commit 939ab679c7
67 changed files with 343 additions and 111 deletions
+3 -1
View File
@@ -74,6 +74,7 @@ export {
ADMIN_LANGUAGE_PATH,
adminPathFromReferer,
buildAdminLanguageEndpoint,
checkLogoFile,
fitLogo,
isHexColour,
isSvgUpload,
@@ -81,6 +82,7 @@ export {
languageLinks,
loadSignInBrand,
SIGN_IN_LOGO_BOX,
SIGN_IN_LOGO_TYPES,
SIGN_IN_LOOK,
SIGN_IN_NAME_MAX,
SIGN_IN_STYLE_ID,
@@ -89,7 +91,7 @@ export {
signInName,
signInProviderActive,
} from './modules/branding/signIn/index.js'
export type { LanguageLink, SignInBrand, SignInLogo, SignInLookProps } from './modules/branding/signIn/index.js'
export type { LanguageLink, LogoCheck, SignInBrand, SignInLogo, SignInLookProps } from './modules/branding/signIn/index.js'
export { resolveSignInLook } from './modules/branding/signIn/options.js'
export type { ResolvedSignInLook, SignInLookOptions } from './modules/branding/signIn/options.js'
export {