Skip to content

Commit

Permalink
Use API for accessing themes
Browse files Browse the repository at this point in the history
  • Loading branch information
essenciary committed Nov 7, 2024
1 parent ba5f3b9 commit 3780f12
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/route_helpers.jl
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ function pages(defaultroute)
end

function theme_urls()
[Stipple.Theme.to_path(t) for t in keys(Stipple.Theme.THEMES) |> collect]
[Stipple.Theme.to_path(t) for t in keys(Stipple.Theme.get_themes()) |> collect]
end

function themes()
Expand All @@ -241,7 +241,7 @@ function themes()
Dict(
:name => t,
:asset => Stipple.Theme.to_path(t)
) for t in keys(Stipple.Theme.THEMES) |> collect |> sort!
) for t in keys(Stipple.Theme.get_themes()) |> collect |> sort!
]
)
end
Expand Down

0 comments on commit 3780f12

Please sign in to comment.