commit
Polish up
diff --git a/src/app/[member_id]/member.css.ts b/src/app/[member_id]/member.css.ts
index e2ce04b..c4d9605 100644
--- a/src/app/[member_id]/member.css.ts
+++ b/src/app/[member_id]/member.css.ts
@@ -45,22 +45,19 @@ export const avatarBlock = style({
display: "inline-block",
});
-/* Thought bubble */
+/* Status tag — plain bordered box below the avatar, not a floating bubble */
export const bubbleWrap = style({
- position: "absolute",
- top: "-5rem",
- left: "50%",
- transform: "translateX(-50%)",
- zIndex: 20,
+ marginTop: "0.75rem",
+ display: "flex",
+ justifyContent: "center",
});
export const bubble = style({
position: "relative",
- backgroundColor: vars.bg,
- border: `2px solid ${vars.surface}`,
- borderRadius: "30px",
+ backgroundColor: vars.bgDeep,
+ border: `1px solid ${vars.surfaceHigher}`,
+ borderRadius: 0,
padding: "0.5rem 1rem",
- boxShadow: "0 10px 15px -3px rgb(0 0 0 / 0.1)",
maxWidth: "200px",
});
@@ -82,61 +79,15 @@ export const bubbleText = style({
whiteSpace: "nowrap",
});
-const dotBase = {
- position: "absolute",
- left: "50%",
-} as const;
-
-export const bubbleDot1Wrap = style({
- ...dotBase,
- bottom: "-1.25rem",
- transform: "translateX(calc(-50% + 0.5rem))",
-});
-export const bubbleDot2Wrap = style({
- ...dotBase,
- bottom: "-2rem",
- transform: "translateX(calc(-50% + 1rem))",
-});
-export const bubbleDot3Wrap = style({
- ...dotBase,
- bottom: "-2.5rem",
- transform: "translateX(calc(-50% + 1.25rem))",
-});
-
-export const bubbleDot1 = style({
- width: "0.75rem",
- height: "0.75rem",
- backgroundColor: vars.bg,
- border: `2px solid ${vars.surface}`,
- borderRadius: "9999px",
- boxShadow: "0 4px 6px -1px rgb(0 0 0 / 0.1)",
-});
-export const bubbleDot2 = style({
- width: "0.5rem",
- height: "0.5rem",
- backgroundColor: vars.bg,
- border: `2px solid ${vars.surface}`,
- borderRadius: "9999px",
- boxShadow: "0 4px 6px -1px rgb(0 0 0 / 0.1)",
-});
-export const bubbleDot3 = style({
- width: "0.375rem",
- height: "0.375rem",
- backgroundColor: vars.bg,
- border: `1px solid ${vars.surface}`,
- borderRadius: "9999px",
- boxShadow: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
-});
-
export const avatar = style({
width: "8rem",
height: "8rem",
- borderRadius: "9999px",
+ borderRadius: 0,
margin: "0 auto",
objectFit: "cover",
- borderWidth: "4px",
+ borderWidth: "2px",
borderStyle: "solid",
- transition: "all 0.15s ease",
+ transition: "filter 0.15s ease",
display: "block",
});
@@ -160,10 +111,13 @@ export const content = style({
});
export const sectionTitle = style({
- fontSize: "1.125rem",
+ fontSize: "0.75rem",
fontFamily: vars.fontComic,
- marginBottom: "0.5rem",
- fontWeight: 600,
+ marginBottom: "0.625rem",
+ fontWeight: 700,
+ textTransform: "uppercase",
+ letterSpacing: "0.08em",
+ color: vars.textDim,
});
export const description = style({
diff --git a/src/app/[member_id]/page.tsx b/src/app/[member_id]/page.tsx
index 7bf80fd..0308b73 100644
--- a/src/app/[member_id]/page.tsx
+++ b/src/app/[member_id]/page.tsx
@@ -104,10 +104,6 @@ export default function MemberDetails() {
const memberColor = normalizeColor(member.color);
const borderColor = memberColor || "var(--accent)";
const nameColor = readableOnDark(member.color, "var(--text)");
- // Appending an alpha suffix only yields valid CSS for a hex literal.
- const glow = memberColor
- ? `${memberColor}40`
- : "color-mix(in srgb, var(--accent) 25%, transparent)";
const pronounColor = memberColor
? `${nameColor}cc`
: "var(--text-muted)";
@@ -118,29 +114,6 @@ export default function MemberDetails() {
<Card>
<CardHeader className={s.headerCenter}>
<div className={s.avatarBlock}>
- {/* Status Bubble - Thought Bubble Style */}
- {member.status && (
- <div className={s.bubbleWrap}>
- <div className={s.bubble}>
- <div className={s.bubbleRow}>
- {member.status.emoji && (
- <span className={s.bubbleEmoji}>{member.status.emoji}</span>
- )}
- <span className={s.bubbleText}>{member.status.text}</span>
- </div>
- {/* Thought bubble circles - staggered diagonally toward avatar */}
- <div className={s.bubbleDot1Wrap}>
- <div className={s.bubbleDot1}></div>
- </div>
- <div className={s.bubbleDot2Wrap}>
- <div className={s.bubbleDot2}></div>
- </div>
- <div className={s.bubbleDot3Wrap}>
- <div className={s.bubbleDot3}></div>
- </div>
- </div>
- </div>
- )}
{/* eslint-disable-next-line @next/next/no-img-element */}
<img
src={member.avatar_url || FALLBACK_AVATAR}
@@ -148,7 +121,7 @@ export default function MemberDetails() {
className={s.avatar}
style={{
borderColor: borderColor,
- boxShadow: `0 0 20px ${glow}`,
+ boxShadow: `4px 4px 0 ${borderColor}`,
}}
onError={(e) => {
(e.target as HTMLImageElement).src = FALLBACK_AVATAR;
@@ -171,6 +144,19 @@ export default function MemberDetails() {
{member.pronouns}
</p>
)}
+ {/* Status tag — plain bordered box, replaces the old thought bubble */}
+ {member.status && (
+ <div className={s.bubbleWrap}>
+ <div className={s.bubble}>
+ <div className={s.bubbleRow}>
+ {member.status.emoji && (
+ <span className={s.bubbleEmoji}>{member.status.emoji}</span>
+ )}
+ <span className={s.bubbleText}>{member.status.text}</span>
+ </div>
+ </div>
+ </div>
+ )}
</CardHeader>
<CardContent className={s.content}>
{member.description && (
@@ -238,11 +224,11 @@ export default function MemberDetails() {
display: "inline-block",
width: "0.8rem",
height: "0.8rem",
- borderRadius: "3px",
+ borderRadius: 0,
marginRight: "0.4rem",
verticalAlign: "middle",
background: swatch,
- border: "1px solid rgba(0,0,0,0.2)",
+ border: "1px solid rgba(0,0,0,0.35)",
}}
/>
{identity}
@@ -271,8 +257,8 @@ export default function MemberDetails() {
alignItems: "center",
gap: "0.4rem",
padding: "0.25rem 0.6rem 0.25rem 0.3rem",
- borderRadius: "999px",
- border: "1px solid var(--border, rgba(255,255,255,0.15))",
+ borderRadius: 0,
+ border: "1px solid var(--surface-higher)",
textDecoration: "none",
color: "var(--text)",
}}
@@ -284,7 +270,7 @@ export default function MemberDetails() {
style={{
width: "1.5rem",
height: "1.5rem",
- borderRadius: "50%",
+ borderRadius: 0,
objectFit: "cover",
}}
onError={(event) => {
@@ -311,7 +297,20 @@ export default function MemberDetails() {
: undefined
}
>
- <Link href="/">← Back to Members</Link>
+ <Link href="/">
+ <svg
+ width="12"
+ height="12"
+ viewBox="0 0 24 24"
+ fill="none"
+ stroke="currentColor"
+ strokeWidth={2.4}
+ style={{ marginRight: "0.4rem", verticalAlign: "-1px" }}
+ >
+ <path strokeLinecap="round" strokeLinejoin="round" d="M15 19l-7-7 7-7" />
+ </svg>
+ Back to Members
+ </Link>
</Button>
</div>
</CardContent>
diff --git a/src/app/admin/dash/page.tsx b/src/app/admin/dash/page.tsx
index 6423e40..b5fb688 100644
--- a/src/app/admin/dash/page.tsx
+++ b/src/app/admin/dash/page.tsx
@@ -13,6 +13,15 @@ import { Button } from "@/components/ui/button";
import { Alert, AlertDescription } from "@/components/ui/alert";
import ProtectedRoute from "@/components/ProtectedRoute";
import * as s from "@/styles/admin.css";
+import {
+ ArrowRepeat,
+ Activity,
+ ChatSquareText,
+ Tag,
+ Flag,
+ CircleHalf,
+ Hdd,
+} from "react-bootstrap-icons";
const AdminDash: React.FC = () => {
const client = useDoughminationClient();
@@ -25,43 +34,43 @@ const AdminDash: React.FC = () => {
{
path: "/admin/switch",
label: "Switch Manager",
- icon: "🔄",
+ icon: ArrowRepeat,
desc: "Manage fronting members"
},
{
path: "/admin/mental",
label: "Mental Health",
- icon: "🧠",
+ icon: Activity,
desc: "Update mental state"
},
{
path: "/admin/status",
label: "Status Manager",
- icon: "💬",
+ icon: ChatSquareText,
desc: "Set member statuses"
},
{
path: "/admin/tags",
label: "Tag Manager",
- icon: "🏷️",
+ icon: Tag,
desc: "Manage member tags"
},
{
path: "/admin/pride",
label: "Pride Manager",
- icon: "🏳️🌈",
+ icon: Flag,
desc: "Set member pride identities"
},
{
path: "/admin/relationships",
label: "Relationships",
- icon: "💞",
+ icon: CircleHalf,
desc: "Map who is dating who",
},
{
path: "https://doughmination.uk/docs",
label: "API Endpoints",
- icon: "🔌",
+ icon: Hdd,
desc: "View API reference",
external: true,
},
@@ -132,7 +141,7 @@ const AdminDash: React.FC = () => {
<div className={s.dangerBanner}>
<div className={s.dangerBannerRow}>
<div className={s.flexGrow}>
- <h3 className={s.dangerBannerTitle}>🔄 Force Refresh All Clients</h3>
+ <h3 className={s.dangerBannerTitle}>[ danger ] Force Refresh All Clients</h3>
<p className={s.dangerBannerText}>
Send a refresh command to all users currently viewing the website. This will
immediately reload their browsers.
@@ -144,7 +153,7 @@ const AdminDash: React.FC = () => {
disabled={refreshing}
className={s.noWrap}
>
- {refreshing ? "Sending..." : "🔄 Refresh All"}
+ {refreshing ? "Sending..." : "Refresh All"}
</Button>
</div>
</div>
@@ -155,7 +164,9 @@ const AdminDash: React.FC = () => {
page.external ? (
<a key={page.path} href={page.path} target="_blank" rel="noopener noreferrer">
<div className={s.dashCard}>
- <span className={s.dashIcon}>{page.icon}</span>
+ <div className={s.dashIconBlock}>
+ <page.icon className={s.dashIcon} />
+ </div>
<h3 className={s.dashLabel}>{page.label}</h3>
<p className={s.dashDesc}>{page.desc}</p>
</div>
@@ -163,7 +174,9 @@ const AdminDash: React.FC = () => {
) : (
<Link key={page.path} href={page.path}>
<div className={s.dashCard}>
- <span className={s.dashIcon}>{page.icon}</span>
+ <div className={s.dashIconBlock}>
+ <page.icon className={s.dashIcon} />
+ </div>
<h3 className={s.dashLabel}>{page.label}</h3>
<p className={s.dashDesc}>{page.desc}</p>
</div>
diff --git a/src/app/admin/mental/mental.css.ts b/src/app/admin/mental/mental.css.ts
index 48c5708..b5b23af 100644
--- a/src/app/admin/mental/mental.css.ts
+++ b/src/app/admin/mental/mental.css.ts
@@ -11,7 +11,7 @@ const tint = (color: string, pct: number) =>
`color-mix(in srgb, ${color} ${pct}%, ${vars.bg})`;
export const stateCardBase = style({
- borderWidth: "2px",
+ borderWidth: "1px",
});
export const stateSafe = style({
@@ -46,7 +46,7 @@ export const currentRow = style({
marginBottom: "0.75rem",
});
-export const currentIcon = style({ fontSize: "2.25rem" });
+export const currentIcon = style({ width: "2rem", height: "2rem", flexShrink: 0 });
export const currentLabel = style({
fontFamily: vars.fontComic,
@@ -65,9 +65,9 @@ export const currentNotes = style({
export const select = style({
width: "100%",
padding: "0.5rem",
- border: `1px solid ${vars.surface}`,
- borderRadius: "0.375rem",
- backgroundColor: vars.bg,
+ border: `1px solid ${vars.surfaceHigher}`,
+ borderRadius: 0,
+ backgroundColor: vars.surface,
color: vars.text,
fontFamily: vars.fontComic,
});
@@ -75,9 +75,9 @@ export const select = style({
export const textarea = style({
width: "100%",
padding: "0.5rem",
- border: `1px solid ${vars.surface}`,
- borderRadius: "0.375rem",
- backgroundColor: vars.bg,
+ border: `1px solid ${vars.surfaceHigher}`,
+ borderRadius: 0,
+ backgroundColor: vars.surface,
color: vars.text,
fontFamily: vars.fontComic,
resize: "none",
diff --git a/src/app/admin/mental/page.tsx b/src/app/admin/mental/page.tsx
index e77f7a8..870c279 100644
--- a/src/app/admin/mental/page.tsx
+++ b/src/app/admin/mental/page.tsx
@@ -21,6 +21,13 @@ import ProtectedRoute from "@/components/ProtectedRoute";
import { cn } from "@/lib/utils";
import * as s from "@/styles/admin.css";
import * as m from "./mental.css";
+import {
+ CheckCircleFill,
+ ExclamationTriangleFill,
+ ExclamationCircleFill,
+ ExclamationOctagonFill,
+ ShieldFillExclamation,
+} from "react-bootstrap-icons";
const MentalHealthManager: React.FC = () => {
// Live current state; the socket keeps this current after any admin saves.
@@ -50,31 +57,31 @@ const MentalHealthManager: React.FC = () => {
{
value: "safe",
label: "Safe",
- icon: "✅",
+ icon: CheckCircleFill,
className: m.stateSafe
},
{
value: "unstable",
label: "Unstable",
- icon: "⚠️",
+ icon: ExclamationTriangleFill,
className: m.stateUnstable
},
{
value: "idealizing",
label: "Idealizing",
- icon: "❗",
+ icon: ExclamationCircleFill,
className: m.stateIdealizing
},
{
value: "self-harming",
label: "Self-Harming",
- icon: "🚨",
+ icon: ExclamationOctagonFill,
className: m.stateSelfHarming
},
{
value: "highly at risk",
label: "Highly At Risk",
- icon: "⛔",
+ icon: ShieldFillExclamation,
className: m.stateHighRisk
},
];
@@ -146,25 +153,28 @@ const MentalHealthManager: React.FC = () => {
)}
{/* Current Mental State Display */}
- {mentalState && getCurrentStateConfig() && (
- <Card className={cn(m.stateCardBase, getCurrentStateConfig()?.className)}>
- <CardHeader>
- <CardTitle>Current Status</CardTitle>
- </CardHeader>
- <CardContent>
- <div className={m.currentRow}>
- <span className={m.currentIcon}>{getCurrentStateConfig()?.icon}</span>
- <div>
- <p className={m.currentLabel}>{getCurrentStateConfig()?.label}</p>
- {mentalState.notes && <p className={m.currentNotes}>{mentalState.notes}</p>}
+ {mentalState && getCurrentStateConfig() && (() => {
+ const StateIcon = getCurrentStateConfig()?.icon;
+ return (
+ <Card className={cn(m.stateCardBase, getCurrentStateConfig()?.className)}>
+ <CardHeader>
+ <CardTitle>Current Status</CardTitle>
+ </CardHeader>
+ <CardContent>
+ <div className={m.currentRow}>
+ {StateIcon && <StateIcon className={m.currentIcon} />}
+ <div>
+ <p className={m.currentLabel}>{getCurrentStateConfig()?.label}</p>
+ {mentalState.notes && <p className={m.currentNotes}>{mentalState.notes}</p>}
+ </div>
</div>
- </div>
- <p className={s.smallMuted}>
- Last updated: {new Date(mentalState.updated_at).toLocaleString()}
- </p>
- </CardContent>
- </Card>
- )}
+ <p className={s.smallMuted}>
+ Last updated: {new Date(mentalState.updated_at).toLocaleString()}
+ </p>
+ </CardContent>
+ </Card>
+ );
+ })()}
{/* Update Form */}
<Card>
@@ -185,7 +195,7 @@ const MentalHealthManager: React.FC = () => {
<option value="">-- Select mental state --</option>
{mentalStateOptions.map((option) => (
<option key={option.value} value={option.value}>
- {option.icon} {option.label}
+ {option.label}
</option>
))}
</select>
diff --git a/src/app/admin/pride/page.tsx b/src/app/admin/pride/page.tsx
index 339f99c..a419fa5 100644
--- a/src/app/admin/pride/page.tsx
+++ b/src/app/admin/pride/page.tsx
@@ -42,9 +42,9 @@ const PrideSwatch: React.FC<{ label: string }> = ({ label }) => {
display: "inline-block",
width: "0.9rem",
height: "0.9rem",
- borderRadius: "3px",
+ borderRadius: 0,
background,
- border: "1px solid rgba(0,0,0,0.2)",
+ border: "1px solid rgba(0,0,0,0.35)",
}}
/>
);
diff --git a/src/app/admin/switch/switch.css.ts b/src/app/admin/switch/switch.css.ts
index 1d29f9c..10435e4 100644
--- a/src/app/admin/switch/switch.css.ts
+++ b/src/app/admin/switch/switch.css.ts
@@ -61,12 +61,12 @@ export const memberOption = style({
alignItems: "center",
gap: "0.75rem",
padding: "0.75rem",
- borderRadius: "0.5rem",
- border: `2px solid ${vars.surface}`,
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
cursor: "pointer",
- transition: "all 0.15s ease",
+ transition: "border-color 0.15s ease, background-color 0.15s ease",
":hover": {
- borderColor: `color-mix(in srgb, ${vars.accent} 50%, transparent)`,
+ borderColor: vars.accent,
},
});
@@ -76,13 +76,16 @@ export const memberOptionSelected = style({
});
export const tagChip = style({
- fontSize: "0.75rem",
+ fontSize: "0.6875rem",
padding: "0.125rem 0.5rem",
- borderRadius: "9999px",
- backgroundColor: vars.surface,
- color: vars.text,
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
+ backgroundColor: "transparent",
+ color: vars.textSoft,
fontFamily: vars.fontComic,
- fontWeight: 600,
+ fontWeight: 700,
+ textTransform: "uppercase",
+ letterSpacing: "0.03em",
});
export const tagRow = style({
@@ -107,7 +110,8 @@ export const sideRow = style({
export const sideAvatar = style({
width: "2rem",
height: "2rem",
- borderRadius: "9999px",
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
objectFit: "cover",
});
diff --git a/src/app/owner/dash/page.tsx b/src/app/owner/dash/page.tsx
index b9b2d9e..72e4cce 100644
--- a/src/app/owner/dash/page.tsx
+++ b/src/app/owner/dash/page.tsx
@@ -11,13 +11,14 @@ import Link from "next/link";
import { Button } from "@/components/ui/button";
import ProtectedRoute from "@/components/ProtectedRoute";
import * as s from "@/styles/admin.css";
+import { People } from "react-bootstrap-icons";
const OwnerDash: React.FC = () => {
const ownerPages = [
{
path: "/owner/users",
label: "User Management",
- icon: "👤",
+ icon: People,
desc: "Manage all users"
},
];
@@ -51,7 +52,9 @@ const OwnerDash: React.FC = () => {
{ownerPages.map((page) => (
<Link key={page.path} href={page.path}>
<div className={s.dashCard}>
- <span className={s.dashIcon}>{page.icon}</span>
+ <div className={s.dashIconBlock}>
+ <page.icon className={s.dashIcon} />
+ </div>
<h3 className={s.dashLabel}>{page.label}</h3>
<p className={s.dashDesc}>{page.desc}</p>
</div>
diff --git a/src/app/user/auth.css.ts b/src/app/user/auth.css.ts
index 02bd0f8..b1130ae 100644
--- a/src/app/user/auth.css.ts
+++ b/src/app/user/auth.css.ts
@@ -29,10 +29,9 @@ export const card = style({
maxWidth: "28rem",
margin: "2.5rem auto 0",
padding: "1.5rem",
- border: `1px solid ${vars.surface}`,
- borderRadius: "0.5rem",
- boxShadow: "0 10px 15px -3px rgb(0 0 0 / 0.1)",
- backgroundColor: vars.bg,
+ border: `1px solid ${vars.surfaceHigher}`,
+ borderRadius: 0,
+ backgroundColor: vars.bgRaised,
});
export const heading = style({
@@ -44,18 +43,20 @@ export const heading = style({
});
export const errorBox = style({
- backgroundColor: `color-mix(in srgb, ${vars.danger} 15%, ${vars.bg})`,
+ backgroundColor: `color-mix(in srgb, ${vars.danger} 12%, ${vars.bg})`,
+ border: `1px solid ${vars.danger}`,
color: vars.danger,
padding: "0.75rem",
- borderRadius: "0.375rem",
+ borderRadius: 0,
marginBottom: "1rem",
});
export const successBox = style({
- backgroundColor: `color-mix(in srgb, ${vars.success} 15%, ${vars.bg})`,
+ backgroundColor: `color-mix(in srgb, ${vars.success} 12%, ${vars.bg})`,
+ border: `1px solid ${vars.success}`,
color: vars.success,
padding: "0.75rem",
- borderRadius: "0.375rem",
+ borderRadius: 0,
marginBottom: "1rem",
});
@@ -75,10 +76,10 @@ export const fieldLabel = style({
export const textInput = style({
width: "100%",
- border: `1px solid ${vars.surface}`,
+ border: `1px solid ${vars.surfaceHigher}`,
padding: "0.5rem",
- borderRadius: "0.25rem",
- backgroundColor: vars.bg,
+ borderRadius: 0,
+ backgroundColor: vars.surface,
color: vars.text,
fontFamily: vars.fontComic,
});
@@ -117,26 +118,40 @@ export const mutedNote = style({
});
export const submitBtn = style({
- display: "block",
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ gap: "0.5rem",
width: "100%",
boxSizing: "border-box",
textAlign: "center",
textDecoration: "none",
- backgroundColor: vars.info,
- color: vars.bg,
+ backgroundColor: vars.accent,
+ color: vars.bgDeep,
padding: "0.625rem 0.75rem",
- borderRadius: "0.25rem",
- border: "none",
+ borderRadius: 0,
+ border: `1px solid ${vars.text}`,
cursor: "pointer",
+ fontWeight: 700,
+ fontSize: "0.8125rem",
+ textTransform: "uppercase",
+ letterSpacing: "0.04em",
transition: "background-color 0.15s ease",
fontFamily: vars.fontComic,
- ":hover": { backgroundColor: vars.sapphire },
+ ":hover": { backgroundColor: vars.accentAlt },
":disabled": {
- backgroundColor: `color-mix(in srgb, ${vars.info} 50%, ${vars.bg})`,
+ backgroundColor: vars.surfaceHigher,
+ color: vars.textDim,
+ borderColor: vars.surfaceHigher,
cursor: "not-allowed",
},
});
+export const submitBtnIcon = style({
+ width: "0.9375rem",
+ height: "0.9375rem",
+});
+
/** Vertical stack for standalone actions (e.g. the SSO sign-in button). */
export const actions = style({
display: "flex",
diff --git a/src/app/user/login/page.tsx b/src/app/user/login/page.tsx
index a7ac7fa..f7823d2 100644
--- a/src/app/user/login/page.tsx
+++ b/src/app/user/login/page.tsx
@@ -9,6 +9,7 @@
import React, { Suspense, useState } from "react";
import { useSearchParams } from "next/navigation";
import { useDoughminationClient } from "@doughmination/react-api";
+import { KeyFill } from "react-bootstrap-icons";
import * as s from "../auth.css";
const Login: React.FC = () => {
@@ -45,7 +46,14 @@ const Login: React.FC = () => {
onClick={handleLogin}
disabled={redirecting}
>
- {redirecting ? "Redirecting to SSO…" : "🔑 Sign in with SSO"}
+ {redirecting ? (
+ "Redirecting to SSO…"
+ ) : (
+ <>
+ <KeyFill className={s.submitBtnIcon} />
+ Sign in with SSO
+ </>
+ )}
</button>
<p className={s.mutedNote}>
diff --git a/src/app/user/metrics/metrics.css.ts b/src/app/user/metrics/metrics.css.ts
index fb9df10..1b2bb86 100644
--- a/src/app/user/metrics/metrics.css.ts
+++ b/src/app/user/metrics/metrics.css.ts
@@ -102,11 +102,10 @@ export const overviewNote = style({
});
export const tooltipBox = style({
- backgroundColor: vars.bg,
- border: `1px solid ${vars.surface}`,
- borderRadius: "0.5rem",
+ backgroundColor: vars.bgDeep,
+ border: `1px solid ${vars.surfaceHigher}`,
+ borderRadius: 0,
padding: "0.75rem",
- boxShadow: "0 10px 15px -3px rgb(0 0 0 / 0.1)",
});
export const tooltipName = style({
@@ -133,7 +132,8 @@ export const fronterRow = style({
gap: "0.75rem",
padding: "0.75rem",
backgroundColor: vars.surface,
- borderRadius: "0.5rem",
+ border: `1px solid ${vars.surfaceHigher}`,
+ borderRadius: 0,
});
export const fronterRank = style({
@@ -142,9 +142,9 @@ export const fronterRank = style({
justifyContent: "center",
width: "2rem",
height: "2rem",
- borderRadius: "9999px",
+ borderRadius: 0,
backgroundColor: vars.accent,
- color: vars.bg,
+ color: vars.bgDeep,
fontWeight: 700,
fontFamily: vars.fontComic,
fontSize: "0.875rem",
@@ -153,7 +153,8 @@ export const fronterRank = style({
export const fronterAvatar = style({
width: "2.5rem",
height: "2.5rem",
- borderRadius: "9999px",
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
objectFit: "cover",
});
@@ -185,7 +186,8 @@ export const progressWrap = style({
export const progressTrack = style({
height: "0.5rem",
backgroundColor: vars.bg,
- borderRadius: "9999px",
+ border: `1px solid ${vars.surfaceHigher}`,
+ borderRadius: 0,
overflow: "hidden",
});
diff --git a/src/app/user/profile/edit/edit.css.ts b/src/app/user/profile/edit/edit.css.ts
index e202d72..06580e0 100644
--- a/src/app/user/profile/edit/edit.css.ts
+++ b/src/app/user/profile/edit/edit.css.ts
@@ -91,37 +91,43 @@ export const avatarRelative = style({ position: "relative" });
export const avatar = style({
width: "5rem",
height: "5rem",
- borderRadius: "9999px",
+ borderRadius: 0,
objectFit: "cover",
- border: `2px solid ${vars.surface}`,
+ border: `2px solid ${vars.surfaceHigher}`,
});
export const avatarFallback = style({
width: "5rem",
height: "5rem",
- borderRadius: "9999px",
+ borderRadius: 0,
backgroundColor: vars.surface,
display: "flex",
alignItems: "center",
justifyContent: "center",
- border: `2px solid ${vars.surface}`,
+ border: `2px solid ${vars.surfaceHigher}`,
});
-export const avatarFallbackEmoji = style({ fontSize: "1.5rem" });
+export const avatarFallbackEmoji = style({
+ width: "1.5rem",
+ height: "1.5rem",
+ color: vars.textDim,
+});
export const avatarCheck = style({
position: "absolute",
bottom: "-0.25rem",
right: "-0.25rem",
backgroundColor: vars.accent,
- color: vars.bg,
- borderRadius: "9999px",
+ color: vars.bgDeep,
+ border: `1px solid ${vars.text}`,
+ borderRadius: 0,
width: "1.5rem",
height: "1.5rem",
display: "flex",
alignItems: "center",
justifyContent: "center",
fontSize: "0.75rem",
+ fontWeight: 700,
});
export const avatarControls = style({
diff --git a/src/app/user/profile/edit/page.tsx b/src/app/user/profile/edit/page.tsx
index cce225a..6455a4e 100644
--- a/src/app/user/profile/edit/page.tsx
+++ b/src/app/user/profile/edit/page.tsx
@@ -16,6 +16,7 @@ import { Label } from "@/components/ui/label";
import { Alert, AlertDescription } from "@/components/ui/alert";
import { Separator } from "@/components/ui/separator";
import ProtectedRoute from "@/components/ProtectedRoute";
+import { PersonFill } from "react-bootstrap-icons";
import * as s from "./edit.css";
/** Loose client-side sanity check only — the API does the real validation. */
@@ -215,7 +216,7 @@ function UserEdit() {
/>
) : (
<div className={s.avatarFallback}>
- <span className={s.avatarFallbackEmoji}>👤</span>
+ <PersonFill className={s.avatarFallbackEmoji} />
</div>
)}
{avatarUrl.trim() !== (userData.avatar_url || "") && (
diff --git a/src/app/user/profile/page.tsx b/src/app/user/profile/page.tsx
index f7a8b77..2303eaa 100644
--- a/src/app/user/profile/page.tsx
+++ b/src/app/user/profile/page.tsx
@@ -14,6 +14,7 @@ import { Badge } from "@/components/ui/badge";
import { Alert, AlertDescription } from "@/components/ui/alert";
import ProtectedRoute from "@/components/ProtectedRoute";
import { useUserInfo } from "@doughmination/react-api";
+import { PersonFill } from "react-bootstrap-icons";
import * as s from "./profile.css";
function UserProfile() {
@@ -96,7 +97,7 @@ function UserProfile() {
</div>
) : (
<div className={s.avatarFallback}>
- <span className={s.avatarFallbackEmoji}>👤</span>
+ <PersonFill className={s.avatarFallbackEmoji} />
</div>
)}
diff --git a/src/app/user/profile/profile.css.ts b/src/app/user/profile/profile.css.ts
index 839a110..d42de5c 100644
--- a/src/app/user/profile/profile.css.ts
+++ b/src/app/user/profile/profile.css.ts
@@ -63,26 +63,30 @@ export const avatarWrap = style({
export const avatar = style({
width: "6rem",
height: "6rem",
- borderRadius: "9999px",
+ borderRadius: 0,
margin: "0 auto",
objectFit: "cover",
- border: `2px solid ${vars.surface}`,
+ border: `2px solid ${vars.surfaceHigher}`,
display: "block",
});
export const avatarFallback = style({
width: "6rem",
height: "6rem",
- borderRadius: "9999px",
+ borderRadius: 0,
backgroundColor: vars.surface,
margin: "0 auto 1rem",
display: "flex",
alignItems: "center",
justifyContent: "center",
- border: `2px solid ${vars.surface}`,
+ border: `2px solid ${vars.surfaceHigher}`,
});
-export const avatarFallbackEmoji = style({ fontSize: "2.25rem" });
+export const avatarFallbackEmoji = style({
+ width: "2rem",
+ height: "2rem",
+ color: vars.textDim,
+});
export const displayName = style({
fontSize: "1.25rem",
diff --git a/src/components/ComingSoon.css.ts b/src/components/ComingSoon.css.ts
index 7108d50..d552166 100644
--- a/src/components/ComingSoon.css.ts
+++ b/src/components/ComingSoon.css.ts
@@ -55,7 +55,9 @@ export const iconWrap = style({
});
export const icon = style({
- fontSize: "6rem",
+ width: "5rem",
+ height: "5rem",
+ color: vars.accent,
animation: `${bounce} 1s infinite`,
});
@@ -117,21 +119,22 @@ export const progressActive = style({
export const progressTrack = style({
width: "100%",
backgroundColor: vars.surface,
- borderRadius: "9999px",
+ border: `1px solid ${vars.surfaceHigher}`,
+ borderRadius: 0,
height: "0.75rem",
overflow: "hidden",
});
export const progressBar = style({
height: "100%",
- background: `linear-gradient(to right, ${vars.accent}, ${vars.accent})`,
- borderRadius: "9999px",
+ backgroundColor: vars.accent,
animation: `${pulse} 2s cubic-bezier(0.4, 0, 0.6, 1) infinite`,
});
export const featuresBox = style({
- backgroundColor: `color-mix(in srgb, ${vars.surface} 50%, transparent)`,
- borderRadius: "0.5rem",
+ backgroundColor: vars.surface,
+ border: `1px solid ${vars.surfaceHigher}`,
+ borderRadius: 0,
padding: "1.5rem",
display: "flex",
flexDirection: "column",
@@ -162,7 +165,12 @@ export const featureItem = style({
gap: "0.5rem",
});
-export const featureIcon = style({ fontSize: "1.25rem" });
+export const featureIcon = style({
+ width: "1.125rem",
+ height: "1.125rem",
+ flexShrink: 0,
+ color: vars.accent,
+});
export const featureText = style({
fontSize: "0.875rem",
diff --git a/src/components/ComingSoon.tsx b/src/components/ComingSoon.tsx
index 50ea78f..448d980 100644
--- a/src/components/ComingSoon.tsx
+++ b/src/components/ComingSoon.tsx
@@ -13,18 +13,26 @@ import { Button } from "@/components/ui/button";
import { Card, CardContent, CardHeader, CardTitle, CardDescription } from "@/components/ui/card";
import { cn } from "@/lib/utils";
import * as s from "./ComingSoon.css";
+import {
+ ConeStriped,
+ Stars,
+ Palette,
+ LightningChargeFill,
+ ShieldCheck,
+ type Icon,
+} from "react-bootstrap-icons";
interface ComingSoonProps {
title?: string;
description?: string;
- icon?: string;
+ icon?: Icon;
showBackButton?: boolean;
}
const ComingSoon: React.FC<ComingSoonProps> = ({
title,
description,
- icon = "🚧",
+ icon: IconComponent = ConeStriped,
showBackButton = true,
}) => {
const pathname = usePathname();
@@ -55,7 +63,7 @@ const ComingSoon: React.FC<ComingSoonProps> = ({
<CardHeader className={cn(s.headerCenter)}>
{/* Animated Icon */}
<div className={s.iconWrap}>
- <div className={s.icon}>{icon}</div>
+ <IconComponent className={s.icon} />
</div>
{/* Title */}
@@ -85,19 +93,19 @@ const ComingSoon: React.FC<ComingSoonProps> = ({
<h3 className={s.featuresTitle}>What to Expect</h3>
<div className={s.featuresGrid}>
<div className={s.featureItem}>
- <span className={s.featureIcon}>✨</span>
+ <Stars className={s.featureIcon} />
<span className={s.featureText}>New features and functionality</span>
</div>
<div className={s.featureItem}>
- <span className={s.featureIcon}>🎨</span>
+ <Palette className={s.featureIcon} />
<span className={s.featureText}>Beautiful, intuitive design</span>
</div>
<div className={s.featureItem}>
- <span className={s.featureIcon}>⚡</span>
+ <LightningChargeFill className={s.featureIcon} />
<span className={s.featureText}>Fast and responsive</span>
</div>
<div className={s.featureItem}>
- <span className={s.featureIcon}>🔒</span>
+ <ShieldCheck className={s.featureIcon} />
<span className={s.featureText}>Secure and reliable</span>
</div>
</div>
diff --git a/src/components/ProtectedRoute.tsx b/src/components/ProtectedRoute.tsx
index bfe9ecc..e5d3592 100644
--- a/src/components/ProtectedRoute.tsx
+++ b/src/components/ProtectedRoute.tsx
@@ -9,6 +9,7 @@
import React, { useEffect, useState } from "react";
import { usePathname, useRouter } from "next/navigation";
import { useUserInfo } from "@doughmination/react-api";
+import { ShieldLockFill, ArrowLeft } from "react-bootstrap-icons";
import * as s from "./components.css";
interface ProtectedRouteProps {
@@ -77,14 +78,17 @@ const ProtectedRoute: React.FC<ProtectedRouteProps> = ({
return null;
}
- const denied = (emoji: string, title: string, text: string) => (
+ const denied = (title: string, text: string) => (
<div className={s.guardPage}>
<div className={s.guardCard}>
- <div className={s.guardEmoji}>{emoji}</div>
+ <div className={s.guardIconBlock}>
+ <ShieldLockFill className={s.guardIcon} />
+ </div>
<h1 className={s.guardTitle}>{title}</h1>
<p className={s.guardText}>{text}</p>
<button onClick={() => window.history.back()} className={s.guardBack}>
- ← Go Back
+ <ArrowLeft className={s.guardBackIcon} />
+ Go Back
</button>
</div>
</div>
@@ -92,17 +96,17 @@ const ProtectedRoute: React.FC<ProtectedRouteProps> = ({
// Check owner permission (owner has all permissions)
if (ownerRequired && !isOwner) {
- return denied("🔒", "Owner Access Required", "This area is restricted to system owners only.");
+ return denied("Owner Access Required", "This area is restricted to system owners only.");
}
// Check admin permission (admin and owner have admin access)
if (adminRequired && !isAdmin && !isOwner) {
- return denied("🔒", "Admin Access Required", "This area is restricted to administrators only.");
+ return denied("Admin Access Required", "This area is restricted to administrators only.");
}
// Check pet permission
if (petRequired && !isPet && !isOwner) {
- return denied("🐾", "Pet Access Required", "This area is restricted to pets only.");
+ return denied("Pet Access Required", "This area is restricted to pets only.");
}
return <>{children}</>;
diff --git a/src/components/components.css.ts b/src/components/components.css.ts
index 4e68294..8469d64 100644
--- a/src/components/components.css.ts
+++ b/src/components/components.css.ts
@@ -38,9 +38,9 @@ export const statusFull = style({
alignItems: "flex-start",
gap: "0.5rem",
padding: "0.75rem",
- borderRadius: "0.5rem",
- backgroundColor: `color-mix(in srgb, ${vars.surface} 50%, transparent)`,
- border: `1px solid ${vars.surface}`,
+ borderRadius: 0,
+ backgroundColor: vars.surface,
+ border: `1px solid ${vars.surfaceHigher}`,
});
export const statusFullEmoji = style({
@@ -116,7 +116,21 @@ export const guardCard = style({
gap: "1rem",
});
-export const guardEmoji = style({ fontSize: "3.75rem" });
+export const guardIconBlock = style({
+ width: "4rem",
+ height: "4rem",
+ margin: "0 auto",
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ border: `2px solid ${vars.danger}`,
+});
+
+export const guardIcon = style({
+ width: "1.75rem",
+ height: "1.75rem",
+ color: vars.danger,
+});
export const guardTitle = style({
fontSize: "1.5rem",
@@ -131,11 +145,23 @@ export const guardText = style({
});
export const guardBack = style({
+ display: "inline-flex",
+ alignItems: "center",
+ gap: "0.375rem",
color: vars.accent,
fontFamily: vars.fontComic,
- fontWeight: 600,
+ fontWeight: 700,
+ textTransform: "uppercase",
+ letterSpacing: "0.04em",
+ fontSize: "0.8125rem",
background: "none",
border: "none",
cursor: "pointer",
- ":hover": { textDecoration: "underline" },
+ margin: "0 auto",
+ ":hover": { color: vars.accentAlt },
+});
+
+export const guardBackIcon = style({
+ width: "0.75rem",
+ height: "0.75rem",
});
diff --git a/src/components/ui/ui.css.ts b/src/components/ui/ui.css.ts
index dd4958e..a52b206 100644
--- a/src/components/ui/ui.css.ts
+++ b/src/components/ui/ui.css.ts
@@ -46,10 +46,12 @@ export const button = recipe({
justifyContent: "center",
gap: "0.5rem",
whiteSpace: "nowrap",
- borderRadius: "0.375rem",
- fontSize: "0.875rem",
+ borderRadius: 0,
+ fontSize: "0.8125rem",
lineHeight: "1.25rem",
- fontWeight: 500,
+ fontWeight: 700,
+ textTransform: "uppercase",
+ letterSpacing: "0.04em",
transition: "color 0.15s ease, background-color 0.15s ease, border-color 0.15s ease",
cursor: "pointer",
border: "1px solid transparent",
@@ -68,39 +70,45 @@ export const button = recipe({
variant: {
default: {
backgroundColor: vars.accent,
- color: vars.bg,
- ":hover": { backgroundColor: mix(vars.accent, 90) },
+ color: vars.bgDeep,
+ ":hover": { backgroundColor: vars.accentAlt },
},
destructive: {
- backgroundColor: vars.danger,
- color: vars.bg,
- ":hover": { backgroundColor: mix(vars.danger, 90) },
+ backgroundColor: "transparent",
+ color: vars.danger,
+ border: `1px solid ${vars.danger}`,
+ ":hover": { backgroundColor: vars.danger, color: vars.bgDeep },
},
outline: {
- border: `1px solid ${vars.surface}`,
- backgroundColor: vars.bg,
- color: vars.text,
+ border: `1px solid ${vars.surfaceHigher}`,
+ backgroundColor: "transparent",
+ color: vars.textSoft,
":hover": {
- backgroundColor: vars.accent,
- color: vars.bg,
+ backgroundColor: vars.surfaceHi,
+ color: vars.text,
+ borderColor: vars.accent,
},
},
secondary: {
backgroundColor: vars.surface,
- color: vars.text,
- ":hover": { backgroundColor: mix(vars.surface, 80) },
+ border: `1px solid ${vars.surfaceHigher}`,
+ color: vars.textSoft,
+ ":hover": { backgroundColor: vars.surfaceHi },
},
ghost: {
backgroundColor: "transparent",
- color: vars.text,
+ color: vars.textSoft,
":hover": {
- backgroundColor: vars.accent,
- color: vars.bg,
+ backgroundColor: vars.surfaceHi,
+ color: vars.text,
},
},
link: {
backgroundColor: "transparent",
color: vars.accent,
+ textTransform: "none",
+ letterSpacing: "normal",
+ fontWeight: 600,
textUnderlineOffset: "4px",
":hover": { textDecoration: "underline" },
},
@@ -112,12 +120,12 @@ export const button = recipe({
},
sm: {
height: "2.25rem",
- borderRadius: "0.375rem",
+ borderRadius: 0,
padding: "0 0.75rem"
},
lg: {
height: "2.75rem",
- borderRadius: "0.375rem",
+ borderRadius: 0,
padding: "0 2rem"
},
icon: {
@@ -137,11 +145,10 @@ export const button = recipe({
CARD
============================================================================ */
export const card = style({
- borderRadius: "0.5rem",
- border: `1px solid ${vars.surface}`,
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
backgroundColor: vars.bgRaised,
color: vars.text,
- boxShadow: "0 1px 2px 0 rgb(0 0 0 / 0.05)",
});
export const cardHeader = style({
@@ -182,14 +189,14 @@ export const input = style({
display: "flex",
height: "2.5rem",
width: "100%",
- borderRadius: "0.375rem",
- border: `1px solid ${vars.surface}`,
- backgroundColor: vars.bg,
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
+ backgroundColor: vars.surface,
padding: "0.5rem 0.75rem",
fontSize: "1rem",
color: vars.text,
"::placeholder": {
- color: vars.textMuted,
+ color: vars.textDim,
},
selectors: {
"&:focus-visible": {
@@ -222,30 +229,34 @@ export const badge = recipe({
base: {
display: "inline-flex",
alignItems: "center",
- borderRadius: "9999px",
+ borderRadius: 0,
border: "1px solid transparent",
padding: "0.125rem 0.625rem",
- fontSize: "0.75rem",
- fontWeight: 600,
+ fontSize: "0.6875rem",
+ fontWeight: 700,
+ textTransform: "uppercase",
+ letterSpacing: "0.03em",
transition: "colors 0.15s ease",
},
variants: {
variant: {
default: {
backgroundColor: vars.accent,
- color: vars.bg,
+ color: vars.bgDeep,
},
secondary: {
- backgroundColor: vars.surface,
- color: vars.text,
+ backgroundColor: "transparent",
+ border: `1px solid ${vars.surfaceHigher}`,
+ color: vars.textSoft,
},
destructive: {
- backgroundColor: vars.danger,
- color: vars.bg,
+ backgroundColor: "transparent",
+ border: `1px solid ${vars.danger}`,
+ color: vars.danger,
},
outline: {
color: vars.text,
- borderColor: vars.surface,
+ borderColor: vars.surfaceHigher,
backgroundColor: "transparent",
},
},
@@ -260,18 +271,19 @@ export const alert = recipe({
base: {
position: "relative",
width: "100%",
- borderRadius: "0.5rem",
- border: `1px solid ${vars.surface}`,
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
padding: "1rem",
},
variants: {
variant: {
default: {
- backgroundColor: vars.bg,
+ backgroundColor: vars.surface,
color: vars.text,
},
destructive: {
- borderColor: mix(vars.danger, 50),
+ borderColor: vars.danger,
+ backgroundColor: "rgba(209, 95, 140, 0.08)",
color: vars.danger,
},
},
@@ -316,7 +328,7 @@ export const checkbox = style({
height: "1rem",
width: "1rem",
flexShrink: 0,
- borderRadius: "0.125rem",
+ borderRadius: 0,
border: `1px solid ${vars.accent}`,
backgroundColor: "transparent",
cursor: "pointer",
@@ -349,13 +361,12 @@ export const checkboxIndicator = style({
export const tooltipContent = style({
zIndex: 50,
overflow: "hidden",
- borderRadius: "0.375rem",
- border: `1px solid ${vars.surface}`,
- backgroundColor: vars.bgRaised,
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
+ backgroundColor: vars.bgDeep,
padding: "0.375rem 0.75rem",
- fontSize: "0.875rem",
+ fontSize: "0.8125rem",
color: vars.text,
- boxShadow: "0 4px 6px -1px rgb(0 0 0 / 0.1)",
animation: `${fadeZoomIn} 0.15s ease`,
selectors: {
'&[data-state="closed"]': {
@@ -373,9 +384,9 @@ export const selectTrigger = style({
width: "100%",
alignItems: "center",
justifyContent: "space-between",
- borderRadius: "0.375rem",
- border: `1px solid ${vars.surface}`,
- backgroundColor: vars.bg,
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
+ backgroundColor: vars.surface,
color: vars.text,
padding: "0.5rem 0.75rem",
fontSize: "0.875rem",
@@ -418,11 +429,10 @@ export const selectContent = style({
maxHeight: "24rem",
minWidth: "8rem",
overflow: "hidden",
- borderRadius: "0.375rem",
- border: `1px solid ${vars.surface}`,
- backgroundColor: vars.bgRaised,
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
+ backgroundColor: vars.bgDeep,
color: vars.text,
- boxShadow: "0 4px 6px -1px rgb(0 0 0 / 0.1)",
animation: `${fadeZoomIn} 0.15s ease`,
selectors: {
'&[data-state="closed"]': {
@@ -456,7 +466,7 @@ export const selectItem = style({
cursor: "default",
userSelect: "none",
alignItems: "center",
- borderRadius: "0.125rem",
+ borderRadius: 0,
padding: "0.375rem 0.5rem 0.375rem 2rem",
fontSize: "0.875rem",
outline: "none",
@@ -542,11 +552,10 @@ export const toastRoot = recipe({
justifyContent: "space-between",
gap: "1rem",
overflow: "hidden",
- borderRadius: "0.375rem",
- border: `1px solid ${vars.surface}`,
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
padding: "1.5rem",
paddingRight: "2rem",
- boxShadow: "0 10px 15px -3px rgb(0 0 0 / 0.1)",
transition: "all 0.2s ease",
selectors: {
'&[data-swipe="cancel"]': { transform: "translateX(0)" },
@@ -597,8 +606,8 @@ export const toastAction = style({
flexShrink: 0,
alignItems: "center",
justifyContent: "center",
- borderRadius: "0.375rem",
- border: `1px solid ${vars.surface}`,
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
backgroundColor: "transparent",
padding: "0 0.75rem",
fontSize: "0.875rem",
@@ -622,7 +631,7 @@ export const toastClose = style({
position: "absolute",
right: "0.5rem",
top: "0.5rem",
- borderRadius: "0.375rem",
+ borderRadius: 0,
padding: "0.25rem",
color: mix(vars.text, 50),
opacity: 0,
diff --git a/src/styles/admin.css.ts b/src/styles/admin.css.ts
index 9ed138d..ae46213 100644
--- a/src/styles/admin.css.ts
+++ b/src/styles/admin.css.ts
@@ -76,11 +76,11 @@ export const dashGrid = style({
export const dashCard = style({
padding: "1.5rem",
- borderRadius: "0.5rem",
- border: `2px solid ${vars.surface}`,
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
backgroundColor: vars.bgRaised,
color: vars.text,
- transition: "all 0.15s ease",
+ transition: "border-color 0.15s ease, background-color 0.15s ease, transform 0.1s ease",
cursor: "pointer",
textAlign: "center",
height: "100%",
@@ -92,17 +92,24 @@ export const dashCard = style({
":hover": {
borderColor: vars.accent,
backgroundColor: vars.surfaceHi,
+ transform: "translate(-1px, -1px)",
},
});
-export const dashIcon = style({
- fontSize: "2.25rem",
- display: "block",
+export const dashIconBlock = style({
+ width: "2.75rem",
+ height: "2.75rem",
+ display: "flex",
+ alignItems: "center",
+ justifyContent: "center",
+ border: `2px solid ${vars.accent}`,
marginBottom: "0.75rem",
- transition: "transform 0.15s ease",
- selectors: {
- [`${dashCard}:hover &`]: { transform: "scale(1.1)" },
- },
+});
+
+export const dashIcon = style({
+ width: "1.25rem",
+ height: "1.25rem",
+ color: vars.accent,
});
export const dashLabel = style({
@@ -172,8 +179,8 @@ export const userRow = style({
gap: "0.75rem",
padding: "1rem",
backgroundColor: vars.surface,
- borderRadius: "0.5rem",
- border: `1px solid ${vars.surface}`,
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
});
export const userRowCurrent = style({
@@ -183,7 +190,8 @@ export const userRowCurrent = style({
export const userAvatar = style({
width: "3rem",
height: "3rem",
- borderRadius: "9999px",
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
objectFit: "cover",
flexShrink: 0,
});
@@ -221,8 +229,8 @@ export const smallBadge = style({
export const editPanel = style({
padding: "1rem",
backgroundColor: vars.bg,
- borderRadius: "0.5rem",
- border: `1px solid ${vars.surface}`,
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
display: "flex",
flexDirection: "column",
gap: "1rem",
@@ -238,7 +246,8 @@ export const statsGrid = style({
export const statBox = style({
padding: "1rem",
backgroundColor: vars.surface,
- borderRadius: "0.5rem",
+ border: `1px solid ${vars.surfaceHigher}`,
+ borderRadius: 0,
});
export const statLabel = style({
@@ -270,8 +279,8 @@ export const memberRow = style({
gap: "0.75rem",
padding: "0.75rem",
backgroundColor: vars.surface,
- borderRadius: "0.5rem",
- border: `1px solid ${vars.surface}`,
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
transition: "border-color 0.15s ease",
cursor: "pointer",
":hover": { borderColor: vars.accent },
@@ -285,14 +294,16 @@ export const memberRowSelected = style({
export const memberAvatarSm = style({
width: "1.5rem",
height: "1.5rem",
- borderRadius: "9999px",
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
objectFit: "cover",
});
export const memberAvatarMd = style({
width: "2.5rem",
height: "2.5rem",
- borderRadius: "9999px",
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
objectFit: "cover",
});
@@ -347,12 +358,12 @@ export const emojiButton = style({
width: "2rem",
height: "2rem",
fontSize: "1.25rem",
- borderRadius: "0.25rem",
- border: "none",
+ borderRadius: 0,
+ border: `1px solid transparent`,
background: "transparent",
cursor: "pointer",
- transition: "background-color 0.15s ease",
- ":hover": { backgroundColor: vars.surfaceHi },
+ transition: "background-color 0.15s ease, border-color 0.15s ease",
+ ":hover": { backgroundColor: vars.surfaceHi, borderColor: vars.surfaceHigher },
});
export const emojiPickerRow = style({
@@ -367,8 +378,8 @@ export const statusBox = style({
marginTop: "1rem",
padding: "0.75rem",
backgroundColor: vars.surface,
- borderRadius: "0.5rem",
- border: `1px solid ${vars.surface}`,
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
});
export const statusBoxText = style({
@@ -390,13 +401,16 @@ export const chip = style({
display: "inline-flex",
alignItems: "center",
gap: "0.375rem",
- fontSize: "0.75rem",
+ fontSize: "0.6875rem",
padding: "0.25rem 0.625rem",
- borderRadius: "9999px",
- backgroundColor: vars.surface,
- color: vars.text,
+ borderRadius: 0,
+ border: `1px solid ${vars.surfaceHigher}`,
+ backgroundColor: "transparent",
+ color: vars.textSoft,
fontFamily: vars.fontComic,
- fontWeight: 600,
+ fontWeight: 700,
+ textTransform: "uppercase",
+ letterSpacing: "0.03em",
});
export const chipRemove = style({
@@ -412,9 +426,9 @@ export const chipRemove = style({
/* Force refresh banner */
export const dangerBanner = style({
- backgroundColor: `color-mix(in srgb, ${vars.danger} 10%, transparent)`,
- border: `2px solid ${vars.danger}`,
- borderRadius: "0.5rem",
+ backgroundColor: `color-mix(in srgb, ${vars.danger} 8%, transparent)`,
+ border: `1px solid ${vars.danger}`,
+ borderRadius: 0,
padding: "1rem",
});
diff --git a/src/styles/global.css.ts b/src/styles/global.css.ts
index f0823ec..02418f2 100644
--- a/src/styles/global.css.ts
+++ b/src/styles/global.css.ts
@@ -94,11 +94,11 @@ globalStyle("html ::-webkit-scrollbar", {
});
globalStyle("html ::-webkit-scrollbar-track", {
background: vars.bgRaised,
- borderRadius: "6px",
+ borderRadius: 0,
});
globalStyle("html ::-webkit-scrollbar-thumb", {
background: vars.accent,
- borderRadius: "6px",
+ borderRadius: 0,
border: `2px solid ${vars.bgRaised}`,
transition: "background-color 0.2s ease",
});
diff --git a/src/styles/site.css.ts b/src/styles/site.css.ts
index b3eb14c..53804a0 100644
--- a/src/styles/site.css.ts
+++ b/src/styles/site.css.ts
@@ -419,8 +419,8 @@ export const searchClear = style({
color: vars.textMuted,
cursor: "pointer",
padding: "0.25rem",
- borderRadius: "0.25rem",
- transition: "all 0.2s ease",
+ borderRadius: 0,
+ transition: "color 0.15s ease, background-color 0.15s ease",
":hover": {
color: vars.text,
backgroundColor: vars.surface,