mango-v4-ui/utils/theme.ts

100 lines
2.5 KiB
TypeScript
Raw Normal View History

import { ThemeData } from 'types'
2023-06-08 03:41:23 -07:00
import {
2023-10-24 20:02:36 -07:00
comicNeueBody,
comicNeueDisplay,
lalezar,
2023-06-08 03:41:23 -07:00
nunitoBody,
nunitoDisplay,
ttCommons,
ttCommonsExpanded,
ttCommonsMono,
} from './fonts'
2022-07-14 16:36:31 -07:00
export const breakpoints = {
sm: 640,
// => @media (min-width: 640px) { ... }
md: 768,
// => @media (min-width: 768px) { ... }
lg: 1024,
// => @media (min-width: 1024px) { ... }
xl: 1280,
// => @media (min-width: 1280px) { ... }
'2xl': 1536,
// => @media (min-width: 1536px) { ... }
2022-09-13 23:24:26 -07:00
'3xl': 1792,
2023-07-13 03:37:41 -07:00
// => @media (min-width: 1792px) { ... }
2022-07-14 16:36:31 -07:00
}
type NftThemeMeta = {
[key: string]: ThemeData
}
export const nftThemeMeta: NftThemeMeta = {
default: {
buttonStyle: 'flat',
fonts: {
body: ttCommons,
display: ttCommonsExpanded,
mono: ttCommonsMono,
rewards: lalezar,
},
logoPath: '/logos/logo-mark.svg',
platformName: 'Mango',
rainAnimationImagePath: '',
sideImagePath: '',
sideTilePath: '',
2023-08-09 20:31:47 -07:00
sideTilePathExpanded: '',
topTilePath: '',
tvChartTheme: 'Dark',
tvImagePath: '',
useGradientBg: false,
},
Bonk: {
buttonStyle: 'raised',
fonts: {
body: nunitoBody,
display: nunitoDisplay,
mono: ttCommonsMono,
rewards: lalezar,
},
logoPath: '/images/themes/bonk/bonk-logo.png',
platformName: 'Bongo',
rainAnimationImagePath: '/images/themes/bonk/bonk-animation-logo.png',
sideImagePath: '/images/themes/bonk/sidenav-image.png',
sideTilePath: '/images/themes/bonk/bonk-tile.png',
2023-08-09 20:31:47 -07:00
sideTilePathExpanded: '/images/themes/bonk/bonk-tile-expanded.png',
topTilePath: '/images/themes/bonk/bonk-tile.png',
tvChartTheme: 'Light',
tvImagePath: '/images/themes/bonk/tv-chart-image.png',
useGradientBg: true,
},
2023-08-07 21:24:07 -07:00
Pepe: {
buttonStyle: 'raised',
2023-08-09 20:53:18 -07:00
fonts: {
2023-10-24 20:02:36 -07:00
body: comicNeueBody,
display: comicNeueDisplay,
2023-08-09 20:53:18 -07:00
mono: ttCommonsMono,
rewards: lalezar,
2023-08-09 20:53:18 -07:00
},
2023-08-07 21:24:07 -07:00
logoPath: '/images/themes/pepe/pepe-logo.png',
platformName: 'Pepe',
2023-08-09 20:31:47 -07:00
rainAnimationImagePath: '/images/themes/pepe/pepe-logo.png',
sideImagePath: '/images/themes/pepe/sidenav-image.png',
2023-08-07 21:24:07 -07:00
sideTilePath: '/images/themes/pepe/pepe-vert-tile.png',
2023-08-09 20:31:47 -07:00
sideTilePathExpanded: '/images/themes/pepe/pepe-vert-tile-expanded.png',
2023-08-07 21:24:07 -07:00
topTilePath: '/images/themes/pepe/pepe-hori-tile.png',
tvChartTheme: 'Dark',
2023-08-08 02:51:50 -07:00
tvImagePath: '/images/themes/pepe/tv-chart-image.png',
2023-08-07 21:24:07 -07:00
useGradientBg: false,
},
}
export const CUSTOM_SKINS: { [key: string]: string } = {
2023-10-18 08:52:00 -07:00
pepe: 'GJHEhovHn8UT98xUbWWWAC9J5iaRs6M5grBUzs8zqTd6',
}