stable

Clone or download

Read-only

refactor: move homepage styles out of shared BurningParrot stylesheet

No functional change. Homepage visual should not change. WebAuthn passwordless login visual should not change. OIDC provider buttons are still colored in homepage and login page. Notes: - Introduce new lib to share login styles. As a result, shared classes are renamed. - `to-snake-case` function is now private (with dash prefix). - `.colored-button` class is only output in homepage styles. Since tlp-swatch-colors are imported everywhere, previously this class was being output a lot of times, but it's only needed in the homepage. Sharing the mixin is ok since it does not produce output CSS unless it's used. Part of story #33005 login with only my passkey Change-Id: I9dcb086f1d3914be6d7f2bb05322e94383e4cf6b

Modified Files

Name
A lib/frontend/burningparrot-sign-in/package.json +13 −0 Go to diff View file
A lib/frontend/burningparrot-sign-in/pnpm-lock.yaml +5 −0 Go to diff View file
A lib/frontend/burningparrot-sign-in/themes/main.scss +62 −0 Go to diff View file
M lib/frontend/tlp-swatch-colors/themes/_button-colors.scss +3 −7 Go to diff View file
M plugins/webauthn/scripts/login/package.json +1 −0 Go to diff View file
M plugins/webauthn/scripts/login/pnpm-lock.yaml +3 −0 Go to diff View file
M plugins/webauthn/scripts/login/themes/style.scss +3 −2 Go to diff View file
M plugins/webauthn/templates/login.mustache +6 −7 Go to diff View file
M src/templates/homepage/homepage-sign-in.mustache +7 −7 Go to diff View file
M src/templates/homepage/homepage.mustache +1 −1 Go to diff View file
M src/themes/BurningParrot/css/burning-parrot.scss +0 −1 Go to diff View file
M src/themes/BurningParrot/css/homepage/homepage.scss +345 −2 Go to diff View file
M src/themes/BurningParrot/css/homepage/includes/_login.scss +6 −0 Go to diff View file
D src/themes/BurningParrot/css/includes/_homepage.scss +0 −397 Go to diff View file
M src/themes/BurningParrot/package.json +1 −0 Go to diff View file
M src/themes/BurningParrot/pnpm-lock.yaml +3 −0 Go to diff View file