central-auth-js-sdk 1.0.13 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/INTEGRATION_GUIDE.md +210 -52
- package/auth.js +78 -4
- package/core/api.js +8 -4
- package/core/login-flow.js +3 -2
- package/core/login-state.js +3 -0
- package/core/oauth-redirect.js +106 -0
- package/index.js +17 -3
- package/login.js +74 -35
- package/package.json +1 -1
- package/signup.js +13 -16
- package/styles.css +255 -177
- package/theme.js +2 -2
- package/ui/layout.js +0 -1
package/theme.js
CHANGED
|
@@ -202,8 +202,8 @@ export function applyTheme(layoutRoot, theme) {
|
|
|
202
202
|
bgEl.querySelectorAll('.wf-bg-orb').forEach(orb => { orb.style.display = 'none'; });
|
|
203
203
|
} else if (primary || bgColor) {
|
|
204
204
|
backupInline(bgEl);
|
|
205
|
-
const p = primary || '#
|
|
206
|
-
const bg = bgColor || '#
|
|
205
|
+
const p = primary || '#4F46E5';
|
|
206
|
+
const bg = bgColor || '#F7F8FA';
|
|
207
207
|
bgEl.style.background = [
|
|
208
208
|
`radial-gradient(ellipse 80% 50% at 20% 80%, ${withAlpha(lighten(p, 0.45), 0.7)} 0%, transparent 55%)`,
|
|
209
209
|
`radial-gradient(ellipse 60% 60% at 85% 15%, ${withAlpha(lighten(p, 0.50), 0.5)} 0%, transparent 50%)`,
|
package/ui/layout.js
CHANGED