mango-v4-ui/utils/theme.ts

85 lines
2.4 KiB
TypeScript
Raw Normal View History

import { ThemeData } from 'types'
2023-06-08 03:41:23 -07:00
import {
2023-08-09 20:31:47 -07:00
gloriaBody,
gloriaDisplay,
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',
2023-06-08 03:41:23 -07:00
fonts: { body: ttCommons, display: ttCommonsExpanded, mono: ttCommonsMono },
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',
2023-06-08 03:41:23 -07:00
fonts: { body: nunitoBody, display: nunitoDisplay, mono: ttCommonsMono },
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:31:47 -07:00
fonts: { body: gloriaBody, display: gloriaDisplay, mono: ttCommonsMono },
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 } = {
bonk: '6FUYsgvSPiLsMpKZqLWswkw7j4juudZyVopU6RYKLkQ3',
2023-08-09 20:31:47 -07:00
pepe: '6FUYsgvSPiLsMpKZqLWswkw7j4juudZyVopU6RYKLkQ3',
}