From 2609adbf84838ba9adcee18af0dafa153b9d616e Mon Sep 17 00:00:00 2001 From: Claudio Ortolina Date: Mon, 6 Apr 2026 10:27:13 +0100 Subject: [PATCH] Address Lumis api deprecation --- lib/music_library_web/components/core_components.ex | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/music_library_web/components/core_components.ex b/lib/music_library_web/components/core_components.ex index db2aae39..67fcac30 100644 --- a/lib/music_library_web/components/core_components.ex +++ b/lib/music_library_web/components/core_components.ex @@ -140,10 +140,11 @@ defmodule MusicLibraryWeb.CoreComponents do data |> Jason.encode!(pretty: true) |> Lumis.highlight!( - language: "json", formatter: {:html_multi_themes, - themes: [light: "github_light", dark: "github_dark"], default_theme: "light-dark()"} + language: "json", + themes: [light: "github_light", dark: "github_dark"], + default_theme: "light-dark()"} ) |> Phoenix.HTML.raw() end