Skip to content

Commit 386a072

Browse files
Revert "feat: ensure that default color theme is dark (#166)" (#169)
This reverts commit 42f5f45.
1 parent 835cfa1 commit 386a072

File tree

16 files changed

+10
-138
lines changed

16 files changed

+10
-138
lines changed

libs/web/auth/ui/src/lib/auth-ui-page.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ import { AppFeature } from '@pubkey-link/sdk'
44
import { CommunityUiFeatured } from '@pubkey-link/web-community-ui'
55
import { useAppConfig } from '@pubkey-link/web-core-data-access'
66
import { AppLogo, UiBackgroundImage, UiSocialDiscord, UiSocialGithub, UiSocialX } from '@pubkey-link/web-core-ui'
7-
import { UiStack } from '@pubkey-ui/core'
8-
import { useUiColorScheme } from '@pubkey-link/web-core-ui'
7+
import { UiStack, useUiColorScheme } from '@pubkey-ui/core'
98
import { ReactNode } from 'react'
109
import { AuthUiEnabled } from './auth-ui-enabled'
1110

libs/web/community-member/ui/src/lib/community-member-ui-admin-badge.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import { Badge, BadgeProps } from '@mantine/core'
22
import { CommunityMember } from '@pubkey-link/sdk'
3-
import { useUiColorScheme } from '@pubkey-link/web-core-ui'
3+
import { useUiColorScheme } from '@pubkey-ui/core'
44

55
export function CommunityMemberUiAdminBadge({ member, ...props }: BadgeProps & { member: CommunityMember }) {
66
const { colorScheme } = useUiColorScheme()

libs/web/core/feature/src/lib/web-core.feature.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { useAppConfig } from '@pubkey-link/web-core-data-access'
22
import { SolanaClusterProvider } from '@pubkey-link/web-solana-data-access'
3-
import { UiThemeLink } from '@pubkey-ui/core'
4-
import { UiThemeProvider } from '@pubkey-link/web-core-ui'
3+
import { UiThemeLink, UiThemeProvider } from '@pubkey-ui/core'
54
import '@pubkey-ui/core/index.esm.css'
65
import 'mantine-datatable/styles.layer.css'
76
import { Link } from 'react-router-dom'

libs/web/core/ui/src/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ export * from './lib/identity-ui-avatar-group'
44
export * from './lib/app-ui-debug'
55
export * from './lib/app-ui-header'
66
export * from './lib/app-ui-theme-switch'
7-
export * from './lib/app-ui-theme'
87
export * from './lib/ui-about'
98
export * from './lib/ui-address-input'
109
export * from './lib/ui-background-image'

libs/web/core/ui/src/lib/app-logo.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { Image } from '@mantine/core'
22
import { useAppConfig } from '@pubkey-link/web-core-data-access'
3-
import { UiLogoType } from '@pubkey-ui/core'
4-
import { useUiColorScheme } from '../lib/app-ui-theme'
3+
import { UiLogoType, useUiColorScheme } from '@pubkey-ui/core'
54

65
export function AppLogo({ height = 28 }: { height?: number }) {
76
const { colorScheme } = useUiColorScheme()

libs/web/core/ui/src/lib/app-ui-theme-switch/app-ui-theme-switch.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import { rem, Switch, SwitchProps, Tooltip, useMantineTheme } from '@mantine/core'
2-
import { useUiColorScheme } from '../app-ui-theme'
2+
import { useUiColorScheme } from '@pubkey-ui/core'
33
import { IconMoonStars, IconSun } from '@tabler/icons-react'
44

55
export function AppUiThemeSwitch(props: SwitchProps) {

libs/web/core/ui/src/lib/app-ui-theme/app-ui-color-scheme-provider.tsx

Lines changed: 0 additions & 28 deletions
This file was deleted.

libs/web/core/ui/src/lib/app-ui-theme/app-ui-theme-provider.tsx

Lines changed: 0 additions & 72 deletions
This file was deleted.

libs/web/core/ui/src/lib/app-ui-theme/app-ui-theme-styles.ts

Lines changed: 0 additions & 5 deletions
This file was deleted.

libs/web/core/ui/src/lib/app-ui-theme/index.ts

Lines changed: 0 additions & 3 deletions
This file was deleted.

0 commit comments

Comments
 (0)