Commit 854a7723 by g-ouattara

basic app theme, default from documentation. will be updated later

parent 54e0a092
import { createTheme } from "@shopify/restyle";
const palette = {
purpleLight: "#8C6FF7",
purplePrimary: "#5A31F4",
purpleDark: "#3F22AB",
greenLight: "#56DCBA",
greenPrimary: "#0ECD9D",
greenDark: "#0A906E",
black: "#0B0B0B",
white: "#F0F2F3",
};
const theme = createTheme({
colors: {
mainBackground: palette.white,
cardPrimaryBackground: palette.purplePrimary,
},
spacing: {
s: 8,
m: 16,
l: 24,
xl: 40,
},
textVariants: {
header: {
fontWeight: "bold",
fontSize: 34,
},
body: {
fontSize: 16,
lineHeight: 24,
},
defaults: {
// We can define a default text variant here.
},
},
});
export type AppTheme = typeof theme;
export default theme;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment