Skip to content

Commit

Permalink
Merge pull request #660 from typelevel/helium/default-colours
Browse files Browse the repository at this point in the history
Helium - minor tweaks for default colours
  • Loading branch information
jenshalm authored Dec 2, 2024
2 parents 6a1a57f + f3e7432 commit 5d9d873
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ private[helium] object HeliumDefaults {
info = Color.hex("ebf6f7"),
infoLight = Color.hex("007c99"),
warning = Color.hex("fcfacd"),
warningLight = Color.hex("b1a400"),
warningLight = Color.hex("817800"),
error = Color.hex("ffe9e3"),
errorLight = Color.hex("d83030")
)
Expand Down Expand Up @@ -128,7 +128,7 @@ private[helium] object HeliumDefaults {
primary = Color.hex("007c99"),
secondary = Color.hex("931813"),
primaryMedium = Color.hex("a7d4de"),
primaryLight = Color.hex("ebf6f7"),
primaryLight = Color.hex("eef5f6"),
text = Color.hex("5f5f5f"),
background = Color.hex("ffffff"),
bgGradient = (Color.hex("095269"), Color.hex("007c99"))
Expand Down
6 changes: 3 additions & 3 deletions io/src/test/scala/laika/helium/HeliumEPUBCSSSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ class HeliumEPUBCSSSpec extends CatsEffectSuite with InputBuilder with ResultExt

test("defaults") {
val expected = s"""--primary-color: #007c99;
|--primary-light: #ebf6f7;
|--primary-light: #eef5f6;
|--primary-medium: #a7d4de;
|--secondary-color: #931813;
|--text-color: #5f5f5f;
Expand Down Expand Up @@ -160,7 +160,7 @@ class HeliumEPUBCSSSpec extends CatsEffectSuite with InputBuilder with ResultExt
}

private val customFonts = s"""--primary-color: #007c99;
|--primary-light: #ebf6f7;
|--primary-light: #eef5f6;
|--primary-medium: #a7d4de;
|--secondary-color: #931813;
|--text-color: #5f5f5f;
Expand Down Expand Up @@ -422,7 +422,7 @@ class HeliumEPUBCSSSpec extends CatsEffectSuite with InputBuilder with ResultExt

test("layout") {
val expected = s"""--primary-color: #007c99;
|--primary-light: #ebf6f7;
|--primary-light: #eef5f6;
|--primary-medium: #a7d4de;
|--secondary-color: #931813;
|--text-color: #5f5f5f;
Expand Down
2 changes: 1 addition & 1 deletion io/src/test/scala/laika/helium/HeliumHTMLHeadSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ class HeliumHTMLHeadSpec extends CatsEffectSuite with InputBuilder with ResultEx
|theme: "base",
|themeVariables: {
|'darkMode': dark,
|'primaryColor': dark ? '#125d75' : '#ebf6f7',
|'primaryColor': dark ? '#125d75' : '#eef5f6',
|'primaryTextColor': dark ? '#a7d4de' : '#007c99',
|'primaryBorderColor': dark ? '#a7d4de' : '#a7d4de',
|'lineColor': dark ? '#a7d4de' : '#007c99',
Expand Down
2 changes: 1 addition & 1 deletion io/src/test/scala/laika/helium/HeliumSiteCSSSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ class HeliumSiteCSSSpec extends CatsEffectSuite with InputBuilder with ResultExt
}

private val defaultColors = """--primary-color: #007c99;
|--primary-light: #ebf6f7;
|--primary-light: #eef5f6;
|--primary-medium: #a7d4de;
|--secondary-color: #931813;
|--text-color: #5f5f5f;
Expand Down

0 comments on commit 5d9d873

Please sign in to comment.