-
Notifications
You must be signed in to change notification settings - Fork 10
/
uiengine.config.js
77 lines (70 loc) · 1.9 KB
/
uiengine.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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
module.exports = {
// Project config: Defaults to name and version from package.json.
// Here you can overwrite it and add more custom properties.
// For a detailed documentation of all the options in here see
// https://uiengine.uix.space/basics/config/
name: 'BTCPay Server Design System',
logo: '/resources/design-files/btcpay-logo.svg',
// Base directories for the input, your raw source files:
// - components is the root of the directory containing the components
// - templates contains the variant preview and application templates
// - pages is the directory of the UIengine's site structure and page markdown files
source: {
components: ['./src/components', './src/views'],
templates: './src/templates',
pages: './pages',
additionalWatches: ['./src/design']
},
// Destination paths for the generated output.
target: './dist',
// Adapters are used for templating/rendering. Each adapter is a module that gets required
// and needs to provide functions for setup and rendering. For details see the adapters docs.
adapters: {
html: {
module: '@uiengine/adapter-html',
options: {
basedir: './src/components',
skipScaffold: false
}
}
},
// Here you can configure the template that the variant preview gets embeded in.
template: 'patternlib.html',
themes: [
{
id: 'light',
title: 'Light'
},
{
id: 'dark',
title: 'Dark'
}
],
ui: {
lang: 'en',
customStylesFile: '/styles/patternlib-overrides.css',
repoBaseUrl:
'https://github.com/btcpayserver/btcpayserver-design/blob/master/',
viewports: {
Phone: {
width: 320
},
Tablet: {
width: 768
},
Desktop: {
width: 1280
}
},
breakpoints: {
XS: 320,
S: 560,
M: 768,
L: 960,
XL: 1280
}
},
browserSync: {
open: false
}
}