feat(ui): LESS Integration

Tried to add less integration but came to the problem that node.js is needed for it to work
This commit is contained in:
LQ63
2025-10-27 22:01:55 +01:00
parent 03f1811ab4
commit 365f9757a2
4 changed files with 13 additions and 7 deletions

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 KiB

View File

@@ -1,5 +1,7 @@
@color: white;
body {
background-image: url("/assets/images/background.png");
background-image: @background-image;
}
html, body {
@@ -15,7 +17,7 @@ html, body {
}
#sessions a, h1, p {
color: white;
color: @color;
font-size: 40px;
font-family: Arial;
}
@@ -81,10 +83,10 @@ html, body {
flex-direction: column;
align-items: center;
height: 0%;
}
#nextPlayers p {
margin-top: 0px;
margin-bottom: 0px;
p {
margin-top: 0px;
margin-bottom: 0px;
}
}
#invisible {
visibility: hidden;

View File

@@ -0,0 +1,2 @@
@color: red;
@background-image: url("/assets/images/img.png");