diff --git a/VERSION b/VERSION index 8c1384d..c694117 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v2 +v4 diff --git a/examples/foo.yaml b/examples/foo.yaml new file mode 100644 index 0000000..358af69 --- /dev/null +++ b/examples/foo.yaml @@ -0,0 +1,33 @@ +pages: + - name: start + label: Home + + - name: foo + label: Foo + +page: + theme: gruvbox + label: "Foo. Bar." + +sections: + # Productivity + # ============ + - label: Foo + items: + - label: Google + description: No luck + url: https://www.google.se/404 + icon: google-downasaur + + - label: Foobar + url: https://en.wikipedia.org/wiki/Foobar + icon: wikipedia + + # Multimedia + # ========== + - label: Bar + items: + - label: Beer. + description: Served by bartenders. + url: https://en.wikipedia.org/wiki/Beer + icon: wikipedia diff --git a/examples/start.yaml b/examples/start.yaml new file mode 100644 index 0000000..6389da7 --- /dev/null +++ b/examples/start.yaml @@ -0,0 +1,55 @@ +pages: + - name: start + label: Home + + - name: foo + label: Foo + +page: + theme: default + label: Home + +sections: + # Productivity + # ============ + - label: Search + items: + - label: Google + url: https://www.google.com + icon: google + + - label: DuckDuckGo + description: '"Privacy, simplified."' + url: https://duckduckgo.com + icon: duck + + # Multimedia + # ========== + - label: Multimedia + items: + - label: Jellyfin + description: The free software media system + url: https://jellyfin.org + icon: filmstrip + + - label: Spotify + url: https://spotify.com + icon: music + + # Development + # =========== + - label: Development + items: + - label: Gitea + url: https://gitea.com + icon: git + + - label: Neovim + description: Great text editor + url: https://neovim.io + icon: text + + - label: Go + description: Programming language + url: https://go.dev + icon: language-go diff --git a/index.html b/index.html index 801d895..da6c399 100644 --- a/index.html +++ b/index.html @@ -18,7 +18,7 @@ } } - +
diff --git a/js/app.js b/js/app.mjs similarity index 100% rename from js/app.js rename to js/app.mjs diff --git a/themes.yaml b/themes.yaml index 37dc9e8..5a829de 100644 --- a/themes.yaml +++ b/themes.yaml @@ -1,3 +1,38 @@ +# Default shadow +# ============== +default-shadow: + page: + text: '#fff' + header: '#333' + background: '#fff' + footer: + show: true + text: "#aaa" + background: "#eee" + + page_select: + text: "#ccc" + background: "#666" + + theme_select: + text: "#ccc" + background: "#333" + border: "#888" + + section: + background: '#fff' + shadow: 0px 3px 15px 0px rgba(0, 0, 0, 0.15) + borders: + - ['#fff', '#22a511'] + + item: + label: '#333' + background: '#eaeaea' + description: '#555' + url: '#666' + icon: '#000' + hover: 'darker' + # Colorful # ======== colorful: