Skip to content

Commit

Permalink
Better colors with custom CSS
Browse files Browse the repository at this point in the history
  • Loading branch information
davesmith00000 committed Aug 18, 2023
1 parent b7d7dc1 commit 9fad37a
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 20 deletions.
12 changes: 12 additions & 0 deletions indigo/docs/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
header {
height: 50px;
background-color: #29016a;
}

header .row a {
color: #ffffff;
}

#sidebar {
padding-top: 1em;
}
40 changes: 20 additions & 20 deletions website2/build.sbt
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ laikaExtensions := Seq(GitHubFlavor, SyntaxHighlighting, PrettyURLs)

/*
Dark purple - #29016a
hot pink - #ae2be2
hot pink - #ae2be2 / less hot: 9003c8
light pink - #efc6ff
Purpleish
Purpleish - 6237a7
Light grey - e4e4e4
Light purple - a888db
*/

laikaTheme :=
Expand All @@ -38,21 +40,21 @@ laikaTheme :=
)
.all
.themeColors(
primary = Color.hex("ffffff"),
secondary = Color.hex("ae2be2"),
primaryMedium = Color.hex("6237a7"),
primaryLight = Color.hex("29016a"),
primary = Color.hex("29016a"),
secondary = Color.hex("9003c8"),
primaryMedium = Color.hex("a888db"),
primaryLight = Color.hex("e4e4e4"),
text = Color.hex("5f5f5f"),
background = Color.hex("ffffff"),
bgGradient = (Color.hex("095269"), Color.hex("007c99"))
)
.site
.darkMode
.themeColors(
primary = Color.hex("ffffff"),
secondary = Color.hex("ae2be2"),
primaryMedium = Color.hex("6237a7"),
primaryLight = Color.hex("29016a"),
primary = Color.hex("29016a"),
secondary = Color.hex("9003c8"),
primaryMedium = Color.hex("a888db"),
primaryLight = Color.hex("e4e4e4"),
text = Color.hex("5f5f5f"),
background = Color.hex("ffffff"),
bgGradient = (Color.hex("29016a"), Color.hex("ffffff"))
Expand Down Expand Up @@ -83,23 +85,21 @@ laikaTheme :=
alt = Some("Homepage"),
title = Some("Indigo"),
width = Some(Length(150.0, LengthUnit.px)),
height = Some(Length(50.0, LengthUnit.px)),
height = Some(Length(50.0, LengthUnit.px))
)
),
navLinks = Seq(
TextLink.external("http://somewhere.com/", "Text Link"),
ButtonLink.external("http://somewhere.com/", "Button Link")
ButtonLink.external("https://discord.gg/b5CD47g", "Discord"),
ButtonLink.external(
"https://github.com/PurpleKingdomGames/indigo",
"Github"
)
)
)
.site
.tableOfContent(title = "Contents", depth = 2)
// .site.downloadPage(
// title = "Documentation Download",
// description = Some("Optional Text Below Title"),
// downloadPath = Root / "downloads",
// includeEPUB = true,
// includePDF = true
// )
.site
.autoLinkCSS(Root / "css" / "custom.css")
.build

// Helium.defaults
Expand Down

0 comments on commit 9fad37a

Please sign in to comment.