diff options
author | Samuel Newman <mozzius@protonmail.com> | 2025-07-30 21:05:45 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-07-30 11:05:45 -0700 |
commit | 25e60548c41949e7ad45d043cbdf8b8cfa3e036a (patch) | |
tree | ca5b9327203c98ce573f2c73340b61bc83c0dea1 /src/lib/styles.ts | |
parent | fade51e9eba84cfba1a8797aafc4958ab3764deb (diff) | |
download | voidsky-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/styles.ts')
-rw-r--r-- | src/lib/styles.ts | 15 |
1 files changed, 13 insertions, 2 deletions
diff --git a/src/lib/styles.ts b/src/lib/styles.ts index 55fb1a844..13b8c2bf3 100644 --- a/src/lib/styles.ts +++ b/src/lib/styles.ts @@ -1,9 +1,17 @@ -import {Dimensions, StyleProp, StyleSheet, TextStyle} from 'react-native' +import { + Dimensions, + type StyleProp, + StyleSheet, + type TextStyle, +} from 'react-native' import {isWeb} from '#/platform/detection' -import {Theme, TypographyVariant} from './ThemeContext' +import {type Theme, type TypographyVariant} from './ThemeContext' // 1 is lightest, 2 is light, 3 is mid, 4 is dark, 5 is darkest +/** + * @deprecated use ALF colors instead + */ export const colors = { white: '#ffffff', black: '#000000', @@ -63,6 +71,9 @@ export const gradients = { blueDark: {start: '#5F45E0', end: colors.blue3}, // avis, banner } +/** + * @deprecated use atoms from `#/alf` + */ export const s = StyleSheet.create({ // helpers footerSpacer: {height: 100}, |