Compare commits

...

2 Commits

Author SHA1 Message Date
LQ63
083b7a03b1 feat(ui): LESS Integration
Added less integration + light mode
2025-10-27 22:57:55 +01:00
LQ63
365f9757a2 feat(ui): LESS Integration
Tried to add less integration but came to the problem that node.js is needed for it to work
2025-10-27 22:01:55 +01:00
3 changed files with 11 additions and 7 deletions

View File

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

Binary file not shown.

After

Width:  |  Height:  |  Size: 352 KiB

View File

@@ -4,3 +4,5 @@ addSbtPlugin("org.foundweekends.giter8" % "sbt-giter8-scaffold" % "0.18.0")
addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.2.1") addSbtPlugin("org.scoverage" % "sbt-scoverage" % "2.2.1")
addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.3.0") addSbtPlugin("com.eed3si9n" % "sbt-assembly" % "2.3.0")
addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.1") addSbtPlugin("org.scoverage" % "sbt-coveralls" % "1.3.1")
addSbtPlugin("com.typesafe.sbt" % "sbt-less" % "1.1.2")