summaryrefslogtreecommitdiff
path: root/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'src/main')
-rw-r--r--src/main/kotlin/moe/nea89/website/Colored.kt10
-rw-r--r--src/main/kotlin/moe/nea89/website/Styles.kt4
2 files changed, 8 insertions, 6 deletions
diff --git a/src/main/kotlin/moe/nea89/website/Colored.kt b/src/main/kotlin/moe/nea89/website/Colored.kt
index 1bb8668..9918c85 100644
--- a/src/main/kotlin/moe/nea89/website/Colored.kt
+++ b/src/main/kotlin/moe/nea89/website/Colored.kt
@@ -3,10 +3,12 @@ package moe.nea89.website
import kotlinx.css.*
enum class CustomColor(val color: Color) {
- RED(Color("#ff0022")),
- BLUE(Color("#3344ff")),
- PURPLE(Color("#DA2EC2")),
- GREEN(Color("#68DA2E"))
+ BLACK(Color("#282a39")),
+ RED(Color("#ff4473")),
+ BLUE(Color("#00fefc")),
+ PURPLE(Color("#6064fe")),
+ GREEN(Color("#4ce080")),
+ WHITE(Color("#efefef")),
}
data class ColoredElement(
diff --git a/src/main/kotlin/moe/nea89/website/Styles.kt b/src/main/kotlin/moe/nea89/website/Styles.kt
index 1705192..71aa733 100644
--- a/src/main/kotlin/moe/nea89/website/Styles.kt
+++ b/src/main/kotlin/moe/nea89/website/Styles.kt
@@ -7,8 +7,8 @@ import styled.StyleSheet
object Styles : StyleSheet("Styles") {
val consoleClass = "Console"
- val bgColor = Color("#123456")
- val fgColor = Color("#efefef")
+ val bgColor = CustomColor.BLACK.color
+ val fgColor = CustomColor.WHITE.color
val comicMono = "\"Comic Mono\", monospace"
val global by css {