replace commandline arguments with config.lua & add support for changing themes & coloschemes

This commit is contained in:
neon_arch 2023-04-30 18:16:08 +03:00
parent fe8f5dee43
commit 137c62ed5f
17 changed files with 209 additions and 228 deletions

View file

@ -1,4 +1,4 @@
@import url('./catppuccin-mocha.css');
/* @import url('./catppuccin-mocha.css'); */
* {
padding: 0;

View file

@ -1,4 +1,4 @@
{{>header}}
{{>header this}}
<main class="error_container">
<img src="images/robot-404.svg" alt="Image of broken robot." />
<div class="error_content">

View file

@ -1,4 +1,4 @@
{{>header}}
{{>header this}}
<main class="about-container">
<h1>Websurfx</h1>
<small

View file

@ -1,10 +1,11 @@
<!DOCTYPE html>
<html lang="en">
<head>
<title></title>
<title>Websurfx</title>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link href="static/style.css" rel="stylesheet" type="text/css" />
<link href="static/colorschemes/{{colorscheme}}.css" rel="stylesheet" type="text/css" />
<link href="static/themes/{{theme}}.css" rel="stylesheet" type="text/css" />
</head>
<body>

View file

@ -1,4 +1,4 @@
{{>header}}
{{>header this}}
<main class="search-container">
<img src="images/fps_logo.png" alt="Websurfx meta-search engine logo" />
{{>search_bar}}

View file

@ -1,4 +1,4 @@
{{>header}}
{{>header this.style}}
<main class="results">
{{>search_bar}}
<div class="results_aggregated">

View file

@ -1,4 +1,4 @@
{{>header}}
{{>header this}}
<main class="settings">
<h1>Page is under construction</h1>
</main>