about summary refs log tree commit diff
path: root/src/lib/ThemeContext.tsx
diff options
context:
space:
mode:
authorSamuel Newman <mozzius@protonmail.com>2025-07-30 21:05:45 +0300
committerGitHub <noreply@github.com>2025-07-30 11:05:45 -0700
commit25e60548c41949e7ad45d043cbdf8b8cfa3e036a (patch)
treeca5b9327203c98ce573f2c73340b61bc83c0dea1 /src/lib/ThemeContext.tsx
parentfade51e9eba84cfba1a8797aafc4958ab3764deb (diff)
downloadvoidsky-25e60548c41949e7ad45d043cbdf8b8cfa3e036a.tar.zst
Mark old components as deprecated (#8747)
* mark a bunch of stuff as deprecated

* mark s as deprecated (serverence reference????)

* rm type import
Diffstat (limited to 'src/lib/ThemeContext.tsx')
-rw-r--r--src/lib/ThemeContext.tsx10
1 files changed, 7 insertions, 3 deletions
diff --git a/src/lib/ThemeContext.tsx b/src/lib/ThemeContext.tsx
index e4cebfcb2..c00d26606 100644
--- a/src/lib/ThemeContext.tsx
+++ b/src/lib/ThemeContext.tsx
@@ -1,7 +1,8 @@
-import React, {createContext, ReactNode, useContext} from 'react'
-import {TextStyle, ViewStyle} from 'react-native'
+import {type ReactNode} from 'react'
+import {createContext, useContext} from 'react'
+import {type TextStyle, type ViewStyle} from 'react-native'
 
-import {ThemeName} from '#/alf/types'
+import {type ThemeName} from '#/alf/types'
 import {darkTheme, defaultTheme, dimTheme} from './themes'
 
 export type ColorScheme = 'light' | 'dark'
@@ -29,6 +30,9 @@ export type Palette = Record<PaletteColorName, PaletteColor>
 export type ShapeName = 'button' | 'bigButton' | 'smallButton'
 export type Shapes = Record<ShapeName, ViewStyle>
 
+/**
+ * @deprecated use typography atoms from `#/alf`
+ */
 export type TypographyVariant =
   | '2xl-thin'
   | '2xl'