Press n or j to go to the next uncovered block, b, p or k for the previous block.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | 8x 8x 8x 53x 53x | const typography = { fontFamily: '-apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Noto Sans", "Ubuntu", "Droid Sans", "Helvetica Neue", sans-serif', fontSize: '16px' }; const light = { typography, colors: { textColor: '#424242', primaryTextColor: '#fff', primaryColor: '#0B6AFF', titleColor: '#424242', alertColor: '#d9534f', borderColor: '#595959', } }; const dark = { typography, colors: { textColor: '#fff', backgroundColor: '#212121', primaryTextColor: '#fff', primaryColor: '#2196F3', titleColor: '#fff', alertColor: '#d9534f', borderColor: '#666' } }; export default function getTheme(preset) { Eif (preset === 'light') { return light; } return dark; } |