Skip to content

Commit

Permalink
Merge pull request #173 from jonas/public-external-themes
Browse files Browse the repository at this point in the history
Fix #80: Point to examples of public external themes
  • Loading branch information
raboof authored Dec 20, 2017
2 parents 9054811 + 60bed68 commit b0bde22
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions docs/src/main/paradox/features/theming.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,11 @@ If you don't want to use a predefined theme, or at least the entire theme, you c

#### External theme

The [Lightbend theme](https://github.com/typesafehub/paradox-theme-lightbend) is a good example of what should look like a paradox theme repository.
External themes use the paradox theme plugin to package files into a JAR which
can be published to Maven Central or some other repository. The
[Akka theme](https://github.com/akka/akka-paradox) and
[Material Design theme](https://github.com/jonas/paradox-material-theme) are
good examples of what a paradox theme repository should look like.

Add to the `project/plugins.sbt` file of your theme repository:

Expand All @@ -52,7 +56,8 @@ lazy val myTheme = (project in file("."))
inThisBuild(List(
organization := "com.organization.paradox"
)),
name := "paradox-theme-organization",
name := "paradox-theme-organization"
)
```

Finally, the theme created will be available inside your paradox project by setting the `paradoxTheme` like this:
Expand Down

0 comments on commit b0bde22

Please sign in to comment.