+
{error}
)}
-
-
+
Display Name
setDisplayName(e.target.value)}
- className="w-full px-3 py-2.5 bg-discord-bg-tertiary border-none rounded text-discord-text-primary outline-none focus:ring-2 focus:ring-discord-blurple transition-all"
+ className="w-full px-3 py-2.5 bg-surface-input border-none rounded text-txt-primary outline-none focus:ring-2 focus:ring-accent-primary transition-all"
autoComplete="name"
/>
-
- Password *
+
+ Password *
setPassword(e.target.value)}
- className="w-full px-3 py-2.5 bg-discord-bg-tertiary border-none rounded text-discord-text-primary outline-none focus:ring-2 focus:ring-discord-blurple transition-all"
+ className="w-full px-3 py-2.5 bg-surface-input border-none rounded text-txt-primary outline-none focus:ring-2 focus:ring-accent-primary transition-all"
autoComplete="new-password"
/>
@@ -102,14 +102,14 @@ export function RegisterPage() {
-
+
Already have an account?{' '}
-
+
Log In
diff --git a/packages/web/src/components/modals/AddDmMemberModal.tsx b/packages/web/src/components/modals/AddDmMemberModal.tsx
index d58d7bdb..0e703c3c 100644
--- a/packages/web/src/components/modals/AddDmMemberModal.tsx
+++ b/packages/web/src/components/modals/AddDmMemberModal.tsx
@@ -80,10 +80,10 @@ export function AddDmMemberModal() {
-
+
Search for a user to add to this conversation.
-
+
{memberCount}/10
@@ -94,25 +94,25 @@ export function AddDmMemberModal() {
value={query}
onChange={(e) => handleSearch(e.target.value)}
placeholder="Search for a user..."
- className="w-full px-3 py-2 bg-discord-bg-tertiary text-discord-text-primary placeholder-discord-text-muted/60 rounded-[4px] text-[14px] outline-none focus:ring-1 focus:ring-discord-blurple"
+ className="w-full px-3 py-2 bg-surface-input text-txt-primary placeholder-txt-tertiary/60 rounded-[4px] text-[14px] outline-none focus:ring-1 focus:ring-accent-primary"
disabled={memberCount >= 10}
/>
{memberCount >= 10 && (
-
This group DM has reached the 10-member limit.
+
This group DM has reached the 10-member limit.
)}
{error && (
-
{error}
+
{error}
)}
{isSearching && (
-
Searching...
+
Searching...
)}
{!isSearching && query.trim().length >= 2 && results.length === 0 && (
-
No users found
+
No users found
)}
{results.map((user) => (
@@ -120,14 +120,14 @@ export function AddDmMemberModal() {
key={user.id}
onClick={() => handleSelectUser(user)}
disabled={isAdding}
- className="w-full flex items-center gap-3 px-3 py-2 rounded-[4px] hover:bg-discord-modifier-hover transition-colors text-left disabled:opacity-50"
+ className="w-full flex items-center gap-3 px-3 py-2 rounded-[4px] hover:bg-interactive-hover transition-colors text-left disabled:opacity-50"
>
-
+
{user.displayName ?? user.username}
-
@{user.username}
+
@{user.username}
))}
diff --git a/packages/web/src/components/modals/ChannelSettingsModal.tsx b/packages/web/src/components/modals/ChannelSettingsModal.tsx
index b291c0b1..819be8b4 100644
--- a/packages/web/src/components/modals/ChannelSettingsModal.tsx
+++ b/packages/web/src/components/modals/ChannelSettingsModal.tsx
@@ -92,10 +92,10 @@ export function ChannelSettingsModal() {
-
+
Channel
-
+
@@ -104,16 +104,16 @@ export function ChannelSettingsModal() {
{error && (
-
+
{error}
)}
-
+
-
Private Channel
-
+
Private Channel
+
Only selected members and roles will be able to view this channel.
@@ -122,10 +122,10 @@ export function ChannelSettingsModal() {
disabled={isLoading || isFetching}
className={`relative w-10 h-6 rounded-full transition-colors flex-shrink-0 ml-4 ${
isFetching
- ? 'bg-discord-bg-tertiary opacity-50 cursor-wait'
+ ? 'bg-surface-input opacity-50 cursor-wait'
: isPrivate
- ? 'bg-discord-green'
- : 'bg-discord-bg-tertiary'
+ ? 'bg-status-online'
+ : 'bg-surface-input'
} ${isLoading ? 'opacity-70 cursor-wait' : 'cursor-pointer'}`}
aria-label={isPrivate ? 'Make channel public' : 'Make channel private'}
>
@@ -139,8 +139,8 @@ export function ChannelSettingsModal() {
{isPrivate && !isFetching && (
-
-