Skip to content

An open-source, self-hosted system for apps built with web technologies.

Align authentication surface treatment

zohayrslilehe60ae01312f3
diff --git a/source/client/view/appearance/appearance.css b/source/client/view/appearance/appearance.css
index 956289d..43fb9bd 100644
--- a/source/client/view/appearance/appearance.css
+++ b/source/client/view/appearance/appearance.css
@@ -29,9 +29,9 @@
--shadow-launcher-icon: inset 0 1px 0 rgba(255, 255, 255, 0.8), 0 6px 14px -8px rgba(12, 46, 88, 0.55);
- --shadow-window-active: 0 24px 48px rgba(12, 30, 60, 0.4), 0 8px 20px -8px rgba(56, 189, 248, 0.35);
+ --shadow-window-active: 0 24px 48px rgba(12, 30, 60, 0.2), 0 8px 20px -8px rgba(56, 189, 248, 0.175);
- --shadow-window-inactive: 0 14px 28px rgba(12, 30, 60, 0.28), 0 8px 20px -8px rgba(56, 189, 248, 0);
+ --shadow-window-inactive: 0 14px 28px rgba(12, 30, 60, 0.14), 0 8px 20px -8px rgba(56, 189, 248, 0);
--shadow-window-controls: inset 0 1px 0 rgba(255, 255, 255, 0.9), 0 1px 2px rgba(12, 46, 88, 0.15);
diff --git a/source/client/view/structure/authentication/credentials-form.tsx b/source/client/view/structure/authentication/credentials-form.tsx
index d7dbf64..b0e1cff 100644
--- a/source/client/view/structure/authentication/credentials-form.tsx
+++ b/source/client/view/structure/authentication/credentials-form.tsx
@@ -72,7 +72,7 @@ export default function CredentialsForm({ title, description, submitLabel, passw
</div>
- <div style={{ borderRadius: innerRadius }} className="relative m-1.5 mt-0 grid gap-5 bg-white/25 p-5 shadow-window-content">
+ <Surface opacity="small" style={{ borderRadius: innerRadius }} className="relative m-1.5 mt-0 grid gap-5 p-5">
<div className="grid gap-4">
@@ -154,7 +154,7 @@ export default function CredentialsForm({ title, description, submitLabel, passw
</button>
- </div>
+ </Surface>
</form>