summaryrefslogtreecommitdiffhomepage
path: root/gui/src/renderer/components/common-styles.ts
blob: 76f6a0529ed0cf37d1ab76311205746a200a6f19 (plain)
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
import React from 'react';
import { colors } from '../../config.json';

export const openSans: React.CSSProperties = {
  fontFamily: 'Open Sans',
};

export const sourceSansPro: React.CSSProperties = {
  fontFamily: '"Source Sans Pro", "Noto Sans Myanmar", "Noto Sans Thai", sans-serif',
  fontWeight: 'bold',
};

export const smallText = {
  ...openSans,
  fontSize: '13px',
  fontWeight: 600,
  lineHeight: '20px',
  color: colors.white80,
};

export const mediumText = {
  ...openSans,
  fontSize: '18px',
  lineHeight: '24px',
};

export const buttonText = {
  ...sourceSansPro,
  fontSize: '20px',
  lineHeight: '24px',
  color: colors.white,
};

export const bigText = {
  ...sourceSansPro,
  fontSize: '32px',
  lineHeight: '34px',
  color: colors.white,
};