Skip to content

Commit 9ce88be

Browse files
author
Lester Xie
committed
Initial commit
0 parents  commit 9ce88be

File tree

16 files changed

+532
-0
lines changed

16 files changed

+532
-0
lines changed

.editorconfig

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
root = true
2+
3+
[*]
4+
indent_style = tab
5+
end_of_line = lf
6+
charset = utf-8
7+
trim_trailing_whitespace = true
8+
insert_final_newline = true
9+
10+
[*.yml]
11+
indent_style = space
12+
indent_size = 2

.gitattributes

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
* text=auto eol=lf

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
node_modules
2+
yarn.lock
3+
/dist

.travis.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
os: osx
2+
osx_image: xcode10.2
3+
language: node_js
4+
node_js: '12'
5+
script:
6+
- npm test
7+
- npm run dist

build/background.png

914 Bytes
Loading

build/background@2x.png

2.02 KB
Loading

build/icon.png

310 KB
Loading

config.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
'use strict';
2+
const Store = require('electron-store');
3+
4+
module.exports = new Store({
5+
defaults: {
6+
favoriteAnimal: '🦄'
7+
}
8+
});

index.css

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
1+
html,
2+
body {
3+
padding: 0;
4+
margin: 0;
5+
background: transparent;
6+
}
7+
8+
/* Use OS default fonts */
9+
body {
10+
font-family: -apple-system,
11+
BlinkMacSystemFont,
12+
'Segoe UI',
13+
Roboto,
14+
Oxygen-Sans,
15+
Ubuntu,
16+
Cantarell,
17+
'Helvetica Neue',
18+
sans-serif,
19+
'Apple Color Emoji',
20+
'Segoe UI Emoji',
21+
'Segoe UI Symbol';
22+
text-rendering: optimizeLegibility;
23+
font-feature-settings: 'liga', 'clig', 'kern';
24+
}
25+
26+
header {
27+
position: absolute;
28+
width: 500px;
29+
height: 250px;
30+
top: 50%;
31+
left: 50%;
32+
margin-top: -125px;
33+
margin-left: -250px;
34+
text-align: center;
35+
}
36+
37+
header h1 {
38+
font-size: 60px;
39+
font-weight: 200;
40+
margin: 0;
41+
padding: 0;
42+
opacity: 0.7;
43+
}

index.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
<!doctype html>
2+
<html>
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Electron boilerplate</title>
6+
<link rel="stylesheet" href="index.css">
7+
</head>
8+
<body>
9+
<div class="container">
10+
<header>
11+
<h1>Electron boilerplate</h1>
12+
<p></p>
13+
</header>
14+
<section class="main"></section>
15+
<footer></footer>
16+
</div>
17+
</body>
18+
</html>

0 commit comments

Comments
 (0)