-
Notifications
You must be signed in to change notification settings - Fork 2
/
app.config.js
40 lines (30 loc) · 1.01 KB
/
app.config.js
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
const pkg = require('./package.json')
const utils = require('./app.utils')
const APP_VERSION = pkg.version
const APP_FEEDBACK_URL = 'https://t.me/sshrshnv'
const APP_CHANNEL_URL = 'https://t.me/+D8-zCZIWvedkMTli'
const APP_SOURCE_URL = 'https://github.com/sshrshnv/tgfeed'
const APP_TITLE = 'TgFeed'
const APP_DESCRIPTION = 'Read Telegram channels like a news feed.'
const APP_THEME_MODES = ['system', 'light', 'dark']
const APP_DEFAULT_THEME_MODE = APP_THEME_MODES[0]
const APP_THEME_COLORS = { splash: '#3A4E7E', light: '#E3E9F7', dark: '#1D2129' }
const APP_DEFAULT_THEME_COLOR = APP_THEME_COLORS['splash']
const APP_LOCALE_LANGS = utils.getLocaleLangs()
const APP_DEFAULT_LOCALE_LANG = 'en'
const APP_FEED_MAX_DAYS_COUNT = 30
module.exports = {
APP_VERSION,
APP_FEEDBACK_URL,
APP_CHANNEL_URL,
APP_SOURCE_URL,
APP_TITLE,
APP_DESCRIPTION,
APP_THEME_MODES,
APP_DEFAULT_THEME_MODE,
APP_THEME_COLORS,
APP_DEFAULT_THEME_COLOR,
APP_LOCALE_LANGS,
APP_DEFAULT_LOCALE_LANG,
APP_FEED_MAX_DAYS_COUNT
}