Skip to content

Commit

Permalink
Alt theme improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Dunn committed Nov 9, 2023
1 parent f6c299c commit 0c4be7f
Show file tree
Hide file tree
Showing 11 changed files with 10 additions and 2,442 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,12 @@ This is used as the internal KaithemAutomation CSS framework. See it[(Here on G

Note that the preview is of this master branch, not any particular release.

## Alt themes
Because of weirdness with css variables, all of the alt themes folders must be in the foler with barrel.css itself. Include barrel.css before
your theme folder.

If you want to put the theme folder elsewhere. just use relative URLs for --bg and the fonts.

## Meta tag

You need this customary tag in your HTML or it doesn't scale right on mobile.
Expand Down
4 changes: 0 additions & 4 deletions css/banderole.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
@import "../barrel.css";

/* Using a string */

:root{
--bg: radial-gradient(circle, rgb(255 255 255 / 70%) 0%, rgb(188 193 162 / 64%)), url(pergament-papier-hintergrund-braun.webp);
--box-bg: none;
Expand Down
1 change: 1 addition & 0 deletions css/banderole/Rose-Floral-Flourish-16.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
22 changes: 0 additions & 22 deletions css/banderole/banderole.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
@import "../barrel.css";

/* Using a string */

:root{
--bg: radial-gradient(circle, rgb(255 255 255 / 70%) 0%, rgb(188 193 162 / 64%)), url(banderole/pergament-papier-hintergrund-braun.webp);
--box-bg: none;
Expand Down Expand Up @@ -177,24 +173,6 @@ img{
border-radius: calc(var(--border-radius) * 2);
}

.decorative-image-main
{
background-image: url(/static/img/banderole/drinking-from-the-cask.svg);
display: block;
box-shadow: none;
}

.decorative-image-login
{
background-image: url(/static/img/banderole/Halberd.svg);
display: block;
}

.decorative-image-settings
{
background-image: url(/static/img/banderole/johnny_automatic_horse-shoeing.svg);
display: block;
}

.decorative-image-h-bar
{
Expand Down
1 change: 1 addition & 0 deletions css/banderole/decorativebarthing.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit 0c4be7f

Please sign in to comment.