Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade to 9.x #75

Open
wants to merge 19 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,11 @@ final case class ParadoxMaterialTheme(properties: Map[String, String]) {
.withoutProperties("logo", "logo.icon")
}

def withLogoIcon(icon: String) = {
withProperties("logo.icon" -> icon)
.withoutProperties("logo", "logo.uri")
}
// FIXME solve font-awesome icon issue
// def withLogoIcon(icon: String) = {
// withProperties("logo.icon" -> icon)
// .withoutProperties("logo", "logo.uri")
// }

def withFont(text: String, code: String) =
withProperties(
Expand Down Expand Up @@ -115,7 +116,8 @@ object ParadoxMaterialTheme {
def apply(): ParadoxMaterialTheme = {
ParadoxMaterialTheme(Map.empty)
.withFont("Roboto", "Roboto Mono")
.withLogoIcon("local_library")
// FIXME solve font-awesome icon issue
// .withLogoIcon("local_library")
.withFavicon("assets/images/favicon.png")
.withSearch()
}
Expand Down
4 changes: 0 additions & 4 deletions src/main/paradox/specimen/front-matter.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
---
material.color.primary: red
material.color.accent: orange
material.logo.icon: cloud
material.copyright: Copyleft © Jonas Fonseca
material.hero: This hero is set in the front-matter
---
# Front matter

Expand All @@ -13,9 +11,7 @@ This page has been customized using [front matter].
---
material.color.primary: red
material.color.accent: orange
material.logo.icon: cloud
material.copyright: Copyleft © Jonas Fonseca
material.hero: This hero is set in the front-matter
---
```

Expand Down

This file was deleted.

29 changes: 29 additions & 0 deletions theme/src/main/assets/assets/javascripts/bundle.8fd75fb4.min.js

Large diffs are not rendered by default.

Large diffs are not rendered by default.

18 changes: 18 additions & 0 deletions theme/src/main/assets/assets/javascripts/lunr/min/lunr.da.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions theme/src/main/assets/assets/javascripts/lunr/min/lunr.de.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions theme/src/main/assets/assets/javascripts/lunr/min/lunr.du.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading