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