Skip to content

Commit e94045b

Browse files
committed
change default hyperapp css
1 parent ce8e118 commit e94045b

File tree

1 file changed

+2
-43
lines changed

1 file changed

+2
-43
lines changed

src/projects/createFiles.ts

Lines changed: 2 additions & 43 deletions
Original file line numberDiff line numberDiff line change
@@ -68,52 +68,11 @@ app(state, actions, view, document.body)
6868
const haHtml = blankHtml
6969

7070
const haCss = `body {
71-
align-items: center;
72-
background-color: #111;
73-
display: flex;
71+
background-color: #111111;
72+
color: #ffffff;
7473
font-family: Helvetica Neue, sans-serif;
7574
height: 100vh;
76-
justify-content: center;
77-
margin: 0;
78-
padding: 0;
79-
line-height: 1;
8075
text-align: center;
81-
color: #00caff;
82-
}
83-
h1 {
84-
color: inherit;
85-
font-weight: 100;
86-
font-size: 8em;
87-
margin: 0;
88-
padding-bottom: 15px;
89-
}
90-
button {
91-
background: #111;
92-
border-radius: 0px;
93-
border: 1px solid #00caff;
94-
color: inherit;
95-
font-size: 2em;
96-
font-weight: 100;
97-
line-height: inherit;
98-
margin: 0;
99-
outline: none;
100-
padding: 5px 15px 10px;
101-
transition: background .2s;
102-
}
103-
button:hover,
104-
button:active,
105-
button:disabled {
106-
background: #00caff;
107-
color: #111;
108-
}
109-
button:active {
110-
outline: 2px solid #00caff;
111-
}
112-
button:focus {
113-
border: 1px solid #00caff;
114-
}
115-
button + button {
116-
margin-left: 3px;
11776
}`
11877

11978
export function createBlankFiles(): Files {

0 commit comments

Comments
 (0)