make it more colorful
This commit is contained in:
parent
6b0e3857fb
commit
6663949f26
5
build.js
5
build.js
@ -83,6 +83,11 @@ function build() {
|
|||||||
const baseHtml = readFile(baseHtmlPath);
|
const baseHtml = readFile(baseHtmlPath);
|
||||||
let css = readFile(cssPath);
|
let css = readFile(cssPath);
|
||||||
|
|
||||||
|
if (data.theme != null) {
|
||||||
|
let themeCss = readFile(path.join(__dirname, 'src', 'themes', `${data.theme}.css`))
|
||||||
|
css += themeCss
|
||||||
|
}
|
||||||
|
|
||||||
// Get the current year
|
// Get the current year
|
||||||
const currentYear = new Date().getFullYear();
|
const currentYear = new Date().getFullYear();
|
||||||
// Pass the current year to the Handlebars data
|
// Pass the current year to the Handlebars data
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{
|
{
|
||||||
|
"theme": "galaxy",
|
||||||
"head": {
|
"head": {
|
||||||
"title": "LinkMeUp WieErWill",
|
"title": "LinkMeUp WieErWill",
|
||||||
"description": "Get all weblinks of WieErWill.",
|
"description": "Get all weblinks of WieErWill.",
|
||||||
|
@ -1,3 +0,0 @@
|
|||||||
import './templates/social-links.hbs';
|
|
||||||
import '../public/styles/main.css';
|
|
||||||
// Additional JavaScript code can be added here
|
|
12
src/themes/galaxy.css
Normal file
12
src/themes/galaxy.css
Normal file
@ -0,0 +1,12 @@
|
|||||||
|
html {
|
||||||
|
background:
|
||||||
|
radial-gradient(circle at 20% 35%, rgba(255, 225, 0, 0.8), transparent 60%),
|
||||||
|
radial-gradient(circle at 75% 44%, rgba(0, 128, 255, 0.8), transparent 60%),
|
||||||
|
radial-gradient(circle at 46% 80%, rgba(255, 0, 0, 0.8), transparent 60%),
|
||||||
|
radial-gradient(circle at 60% 10%, rgba(0, 255, 0, 0.8), transparent 60%),
|
||||||
|
radial-gradient(circle at 10% 90%, rgba(128, 0, 128, 0.8), transparent 60%);
|
||||||
|
background-blend-mode: screen;
|
||||||
|
background-size: cover;
|
||||||
|
background-attachment: fixed;
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
0
src/themes/galaxy.js
Normal file
0
src/themes/galaxy.js
Normal file
Loading…
Reference in New Issue
Block a user