forked from rostaklein/awesome-acp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
gatsby-config.ts
56 lines (54 loc) · 1.32 KB
/
gatsby-config.ts
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
import { getThemeVariables } from "antd/dist/theme";
import { GatsbyConfig } from "gatsby";
const config: GatsbyConfig = {
siteMetadata: {
title: "Awesome ACP",
},
plugins: [
`gatsby-plugin-react-helmet`,
`gatsby-plugin-emotion`,
{
resolve: `gatsby-plugin-manifest`,
options: {
name: "Awesome ACP",
short_name: "Lineage 2 Account Panel",
start_url: "/",
icon: "src/images/100ka_favicon.png",
},
},
{
resolve: "gatsby-plugin-antd",
options: {
style: true,
},
},
{
resolve: `gatsby-plugin-less`,
options: {
lessOptions: {
javascriptEnabled: true,
modifyVars: {
...getThemeVariables({
dark: true,
compact: true,
}),
"font-family": "PT Serif",
"primary-color": "#ffc439",
"body-background": "#121212",
"component-background": "#ececec",
"input-bg": "#2a2a2a",
"btn-default-bg": "#1d1d1d",
"btn-primary-color": "#1d1d1d",
},
},
},
},
// {
// resolve: '@sentry/gatsby',
// options: {
// dsn: 'https://[email protected]/5410118',
// },
// },
],
};
export default config;