template_0205
This commit is contained in:
23
RN_TEMPLATE/app/theme/theme.ts
Normal file
23
RN_TEMPLATE/app/theme/theme.ts
Normal file
@@ -0,0 +1,23 @@
|
||||
import { colors as colorsLight } from "./colors"
|
||||
import { colors as colorsDark } from "./colorsDark"
|
||||
import { spacing as spacingLight } from "./spacing"
|
||||
import { spacing as spacingDark } from "./spacingDark"
|
||||
import { timing } from "./timing"
|
||||
import type { Theme } from "./types"
|
||||
import { typography } from "./typography"
|
||||
|
||||
// Here we define our themes.
|
||||
export const lightTheme: Theme = {
|
||||
colors: colorsLight,
|
||||
spacing: spacingLight,
|
||||
typography,
|
||||
timing,
|
||||
isDark: false,
|
||||
}
|
||||
export const darkTheme: Theme = {
|
||||
colors: colorsDark,
|
||||
spacing: spacingDark,
|
||||
typography,
|
||||
timing,
|
||||
isDark: true,
|
||||
}
|
||||
Reference in New Issue
Block a user