Skip to content

Commit 4e1f533

Browse files
UI: use the official Solid emblem, align palette to brand purple
- solid-emblem.svg (from solidproject.org) replaces the plain gradient dot in the card and the data-URI favicon - accent palette shifts to Solid's #7C4DFF (hover #6A3DE8, light #9D7BFF); shadows and background tint follow - README: pod hosting now lists the emblem alongside index.html and login.js
1 parent 5093403 commit 4e1f533

3 files changed

Lines changed: 23 additions & 14 deletions

File tree

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,9 @@ to the right host — is 0.0.6 on the roadmap.)
105105
Three sensible deployment targets:
106106

107107
1. **GitHub Pages** on this repo (`gh-pages` branch is the default).
108-
2. **A Solid pod** — eats own dog food. Drop `index.html` + `login.js`
109-
at `<pod>/sso/` and the SSO page itself becomes a Solid resource.
108+
2. **A Solid pod** — eats own dog food. Drop `index.html`, `login.js`
109+
and `solid-emblem.svg` at `<pod>/sso/` and the SSO page itself
110+
becomes a Solid resource.
110111
3. **`jss.live/sso/`** — pairs with the other JSS no-build apps
111112
([JSS Git](https://jss.live/git/)).
112113

index.html

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta name="viewport" content="width=device-width, initial-scale=1">
77
<meta name="color-scheme" content="light">
88
<meta name="description" content="Universal one-click sign-in for Solid pods. Click the button — you're at your pod.">
9-
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'%3E%3Ccircle cx='50' cy='50' r='45' fill='%236839e6'/%3E%3C/svg%3E">
9+
<link rel="icon" type="image/svg+xml" href="./solid-emblem.svg">
1010

1111
<!-- Open Graph -->
1212
<meta property="og:title" content="JSS SSO — one click, you're at your pod">
@@ -18,9 +18,9 @@
1818
color-scheme: light;
1919
--bg: #fafbfc;
2020
--fg: #1f2328;
21-
--accent: #6839e6;
22-
--accent-2: #8b5cf6;
23-
--accent-hover: #5328d4;
21+
--accent: #7c4dff;
22+
--accent-2: #9d7bff;
23+
--accent-hover: #6a3de8;
2424
--muted: #656d76;
2525
--error: #cf222e;
2626
--error-bg: #fff5f5;
@@ -35,7 +35,7 @@
3535
}
3636
body {
3737
background:
38-
radial-gradient(60rem 30rem at 50% -10%, rgba(104, 57, 230, 0.06), transparent 70%),
38+
radial-gradient(60rem 30rem at 50% -10%, rgba(124, 77, 255, 0.06), transparent 70%),
3939
var(--bg);
4040
}
4141
main {
@@ -60,9 +60,8 @@
6060
align-items: center; gap: 0.9rem;
6161
}
6262
.logo {
63-
width: 56px; height: 56px; border-radius: 50%;
64-
background: radial-gradient(circle at 30% 30%, var(--accent-2), var(--accent));
65-
box-shadow: 0 8px 24px rgba(104, 57, 230, 0.3);
63+
width: 64px; height: auto; display: block;
64+
filter: drop-shadow(0 6px 16px rgba(124, 77, 255, 0.35));
6665
}
6766
h1 {
6867
font-size: clamp(1.5rem, 4vw, 1.9rem);
@@ -82,18 +81,18 @@
8281
font-weight: 600;
8382
transition: background 0.15s, transform 0.1s, box-shadow 0.15s;
8483
min-width: 14rem;
85-
box-shadow: 0 2px 8px rgba(104, 57, 230, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
84+
box-shadow: 0 2px 8px rgba(124, 77, 255, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.2);
8685
}
8786
button#signin:hover {
8887
background: linear-gradient(180deg, var(--accent), var(--accent-hover));
8988
transform: translateY(-1px);
90-
box-shadow: 0 6px 16px rgba(104, 57, 230, 0.3);
89+
box-shadow: 0 6px 16px rgba(124, 77, 255, 0.3);
9190
}
9291
button#signin:active { transform: translateY(0) scale(0.98); }
9392
button#signin:focus-visible { outline: 3px solid #c4b5fd; outline-offset: 3px; }
9493
button#signin:disabled {
9594
opacity: 0.75; cursor: progress;
96-
transform: none; box-shadow: 0 2px 8px rgba(104, 57, 230, 0.25);
95+
transform: none; box-shadow: 0 2px 8px rgba(124, 77, 255, 0.25);
9796
}
9897
button#signin[aria-busy="true"]::before {
9998
content: '';
@@ -139,7 +138,7 @@
139138
<main>
140139
<div class="card">
141140
<header>
142-
<div class="logo" aria-hidden="true"></div>
141+
<img class="logo" src="./solid-emblem.svg" alt="" aria-hidden="true">
143142
<h1>Sign in to Solid</h1>
144143
<p class="tagline">One click. We resolve your Nostr / WebID. You land at your pod.</p>
145144
</header>

solid-emblem.svg

Lines changed: 9 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)