Compare commits

..

2 Commits

Author SHA1 Message Date
KKlochko 2ec60455cf Update the version.
continuous-integration/drone/push Build is passing Details
continuous-integration/drone/tag Build is passing Details
3 weeks ago
KKlochko c9409996fe Fix the key mismatch to solve FOUC.
3 weeks ago

@ -12,7 +12,7 @@
</script> </script>
<script> <script>
// On page load or when changing themes, best to add inline in `head` to avoid FOUC // On page load or when changing themes, best to add inline in `head` to avoid FOUC
if (localStorage.getItem('color-theme') === 'dark' || (!('color-theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) { if (localStorage.getItem('theme') === 'dark' || (!('theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
document.documentElement.classList.add('dark'); document.documentElement.classList.add('dark');
} else { } else {
document.documentElement.classList.remove('dark') document.documentElement.classList.remove('dark')

@ -4,7 +4,7 @@ defmodule DecentralisedBookIndex.MixProject do
def project do def project do
[ [
app: :decentralised_book_index, app: :decentralised_book_index,
version: "1.1.0", version: "1.1.1",
elixir: "~> 1.14", elixir: "~> 1.14",
elixirc_paths: elixirc_paths(Mix.env()), elixirc_paths: elixirc_paths(Mix.env()),
start_permanent: Mix.env() == :prod, start_permanent: Mix.env() == :prod,

Loading…
Cancel
Save