mirror of
https://github.com/hzrd149/nostrudel.git
synced 2025-09-27 20:17:05 +02:00
small fix for colors
This commit is contained in:
@@ -66,7 +66,7 @@ export default function EventReactionButtons({ event, max }: { event: NostrEvent
|
|||||||
url={group.url}
|
url={group.url}
|
||||||
count={group.count}
|
count={group.count}
|
||||||
onClick={() => addReaction(group.emoji, group.url)}
|
onClick={() => addReaction(group.emoji, group.url)}
|
||||||
colorScheme={account && group.pubkeys.includes(account?.pubkey) ? "brand" : undefined}
|
colorScheme={account && group.pubkeys.includes(account?.pubkey) ? "primary" : undefined}
|
||||||
/>
|
/>
|
||||||
))}
|
))}
|
||||||
<Button onClick={detailsModal.onOpen}>Show all</Button>
|
<Button onClick={detailsModal.onOpen}>Show all</Button>
|
||||||
|
@@ -52,7 +52,7 @@ export default function NavItems() {
|
|||||||
<Button
|
<Button
|
||||||
onClick={() => navigate("/")}
|
onClick={() => navigate("/")}
|
||||||
leftIcon={<FeedIcon />}
|
leftIcon={<FeedIcon />}
|
||||||
colorScheme={active === "notes" ? "brand" : undefined}
|
colorScheme={active === "notes" ? "primary" : undefined}
|
||||||
{...buttonProps}
|
{...buttonProps}
|
||||||
>
|
>
|
||||||
Notes
|
Notes
|
||||||
@@ -62,7 +62,7 @@ export default function NavItems() {
|
|||||||
<Button
|
<Button
|
||||||
onClick={() => navigate("/notifications")}
|
onClick={() => navigate("/notifications")}
|
||||||
leftIcon={<NotificationIcon />}
|
leftIcon={<NotificationIcon />}
|
||||||
colorScheme={active === "notifications" ? "brand" : undefined}
|
colorScheme={active === "notifications" ? "primary" : undefined}
|
||||||
{...buttonProps}
|
{...buttonProps}
|
||||||
>
|
>
|
||||||
Notifications
|
Notifications
|
||||||
@@ -70,7 +70,7 @@ export default function NavItems() {
|
|||||||
<Button
|
<Button
|
||||||
onClick={() => navigate("/dm")}
|
onClick={() => navigate("/dm")}
|
||||||
leftIcon={<MessagesIcon />}
|
leftIcon={<MessagesIcon />}
|
||||||
colorScheme={active === "dm" ? "brand" : undefined}
|
colorScheme={active === "dm" ? "primary" : undefined}
|
||||||
{...buttonProps}
|
{...buttonProps}
|
||||||
>
|
>
|
||||||
Messages
|
Messages
|
||||||
@@ -80,7 +80,7 @@ export default function NavItems() {
|
|||||||
<Button
|
<Button
|
||||||
onClick={() => navigate("/search")}
|
onClick={() => navigate("/search")}
|
||||||
leftIcon={<SearchIcon />}
|
leftIcon={<SearchIcon />}
|
||||||
colorScheme={active === "search" ? "brand" : undefined}
|
colorScheme={active === "search" ? "primary" : undefined}
|
||||||
{...buttonProps}
|
{...buttonProps}
|
||||||
>
|
>
|
||||||
Search
|
Search
|
||||||
@@ -97,7 +97,7 @@ export default function NavItems() {
|
|||||||
<Button
|
<Button
|
||||||
onClick={() => navigate("/relays")}
|
onClick={() => navigate("/relays")}
|
||||||
leftIcon={<RelayIcon />}
|
leftIcon={<RelayIcon />}
|
||||||
colorScheme={active === "relays" ? "brand" : undefined}
|
colorScheme={active === "relays" ? "primary" : undefined}
|
||||||
{...buttonProps}
|
{...buttonProps}
|
||||||
>
|
>
|
||||||
Relays
|
Relays
|
||||||
@@ -108,7 +108,7 @@ export default function NavItems() {
|
|||||||
<Button
|
<Button
|
||||||
onClick={() => navigate("/streams")}
|
onClick={() => navigate("/streams")}
|
||||||
leftIcon={<LiveStreamIcon />}
|
leftIcon={<LiveStreamIcon />}
|
||||||
colorScheme={active === "streams" ? "brand" : undefined}
|
colorScheme={active === "streams" ? "primary" : undefined}
|
||||||
{...buttonProps}
|
{...buttonProps}
|
||||||
>
|
>
|
||||||
Streams
|
Streams
|
||||||
@@ -116,7 +116,7 @@ export default function NavItems() {
|
|||||||
<Button
|
<Button
|
||||||
onClick={() => navigate("/communities")}
|
onClick={() => navigate("/communities")}
|
||||||
leftIcon={<CommunityIcon />}
|
leftIcon={<CommunityIcon />}
|
||||||
colorScheme={active === "communities" ? "brand" : undefined}
|
colorScheme={active === "communities" ? "primary" : undefined}
|
||||||
{...buttonProps}
|
{...buttonProps}
|
||||||
>
|
>
|
||||||
Communities
|
Communities
|
||||||
@@ -124,7 +124,7 @@ export default function NavItems() {
|
|||||||
<Button
|
<Button
|
||||||
onClick={() => navigate("/lists")}
|
onClick={() => navigate("/lists")}
|
||||||
leftIcon={<ListIcon />}
|
leftIcon={<ListIcon />}
|
||||||
colorScheme={active === "lists" ? "brand" : undefined}
|
colorScheme={active === "lists" ? "primary" : undefined}
|
||||||
{...buttonProps}
|
{...buttonProps}
|
||||||
>
|
>
|
||||||
Lists
|
Lists
|
||||||
@@ -132,7 +132,7 @@ export default function NavItems() {
|
|||||||
<Button
|
<Button
|
||||||
onClick={() => navigate("/goals")}
|
onClick={() => navigate("/goals")}
|
||||||
leftIcon={<GoalIcon />}
|
leftIcon={<GoalIcon />}
|
||||||
colorScheme={active === "goals" ? "brand" : undefined}
|
colorScheme={active === "goals" ? "primary" : undefined}
|
||||||
{...buttonProps}
|
{...buttonProps}
|
||||||
>
|
>
|
||||||
Goals
|
Goals
|
||||||
@@ -140,7 +140,7 @@ export default function NavItems() {
|
|||||||
<Button
|
<Button
|
||||||
onClick={() => navigate("/badges")}
|
onClick={() => navigate("/badges")}
|
||||||
leftIcon={<BadgeIcon />}
|
leftIcon={<BadgeIcon />}
|
||||||
colorScheme={active === "badges" ? "brand" : undefined}
|
colorScheme={active === "badges" ? "primary" : undefined}
|
||||||
{...buttonProps}
|
{...buttonProps}
|
||||||
>
|
>
|
||||||
Badges
|
Badges
|
||||||
@@ -148,7 +148,7 @@ export default function NavItems() {
|
|||||||
<Button
|
<Button
|
||||||
onClick={() => navigate("/emojis")}
|
onClick={() => navigate("/emojis")}
|
||||||
leftIcon={<EmojiIcon />}
|
leftIcon={<EmojiIcon />}
|
||||||
colorScheme={active === "emojis" ? "brand" : undefined}
|
colorScheme={active === "emojis" ? "primary" : undefined}
|
||||||
{...buttonProps}
|
{...buttonProps}
|
||||||
>
|
>
|
||||||
Emojis
|
Emojis
|
||||||
@@ -156,7 +156,7 @@ export default function NavItems() {
|
|||||||
<Button
|
<Button
|
||||||
onClick={() => navigate("/tools")}
|
onClick={() => navigate("/tools")}
|
||||||
leftIcon={<ToolsIcon />}
|
leftIcon={<ToolsIcon />}
|
||||||
colorScheme={active === "tools" ? "brand" : undefined}
|
colorScheme={active === "tools" ? "primary" : undefined}
|
||||||
{...buttonProps}
|
{...buttonProps}
|
||||||
>
|
>
|
||||||
Tools
|
Tools
|
||||||
@@ -165,7 +165,7 @@ export default function NavItems() {
|
|||||||
<Button
|
<Button
|
||||||
onClick={() => navigate("/settings")}
|
onClick={() => navigate("/settings")}
|
||||||
leftIcon={<SettingsIcon />}
|
leftIcon={<SettingsIcon />}
|
||||||
colorScheme={active === "settings" ? "brand" : undefined}
|
colorScheme={active === "settings" ? "primary" : undefined}
|
||||||
{...buttonProps}
|
{...buttonProps}
|
||||||
>
|
>
|
||||||
Settings
|
Settings
|
||||||
|
@@ -43,7 +43,7 @@ export default function NoteZapButton({ event, allowComment, showEventPreview, .
|
|||||||
leftIcon={<LightningIcon />}
|
leftIcon={<LightningIcon />}
|
||||||
aria-label="Zap Note"
|
aria-label="Zap Note"
|
||||||
title="Zap Note"
|
title="Zap Note"
|
||||||
colorScheme={hasZapped ? "brand" : undefined}
|
colorScheme={hasZapped ? "primary" : undefined}
|
||||||
{...props}
|
{...props}
|
||||||
onClick={onOpen}
|
onClick={onOpen}
|
||||||
isDisabled={!metadata?.allowsNostr}
|
isDisabled={!metadata?.allowsNostr}
|
||||||
|
Reference in New Issue
Block a user