Pricefield | Lemmy
  • Communities
  • Create Post
  • Create Community
  • heart
    Support Lemmy
  • search
    Search
  • Login
  • Sign Up
Nutomic to [email protected]English • 6 months ago

Ibis release 0.2.0 - Federated Wiki with Shiny Redesign

ibis.wiki

message-square
8
fedilink
  • cross-posted to:
  • [email protected]
  • [email protected]
  • [email protected]
22
external-link

Ibis release 0.2.0 - Federated Wiki with Shiny Redesign

ibis.wiki

Nutomic to [email protected]English • 6 months ago
message-square
8
fedilink
  • cross-posted to:
  • [email protected]
  • [email protected]
  • [email protected]
  • NutomicOP
    link
    fedilink
    1•6 months ago

    It uses the browser preference for light/dark theme by default. After you click the theme toggle on the site, it keeps using that chosen theme by storing it in a cookie.

    • @[email protected]
      link
      fedilink
      1•6 months ago

      It uses the browser preference for light/dark theme by default

      This doesn’t work for me. It seems like you are using leptos_use::use_preferred_dark with server-side rendering which unfortunately uses the experimental Sec-CH-Prefers-Color-Scheme header which isn’t supported by all browsers, e.g. Firefox.

      In my opinion, it is way better to implement theme switching on the client side. The prefers-color-scheme media query is better supported across browsers and allows reacting to a change of the user’s system preferences.

      • NutomicOP
        link
        fedilink
        3•6 months ago

        Sounds like you are familiar with this topic. I dont have time to work more on this particular aspect (there are lots of other tasks like comment support, federation with Lemmy, etc). But contributions are definitely welcome, preferably directly to leptos_use so that others can benefit and its easier to maintain.

        • @[email protected]
          link
          fedilink
          2•6 months ago

          I’ll look into it if I find the time.

[email protected]

[email protected]
Create a post
You are not logged in. However you can subscribe from another Fediverse account, for example Lemmy or Mastodon. To do this, paste the following into the search field of your instance: [email protected]

A community dedicated to fediverse news and discussion.

Fediverse is a portmanteau of “federation” and “universe”.

Getting started on Fediverse;

  • What is the fediverse?
    • Short ver.
    • Full ver.
  • Fediverse Platforms
  • How to run your own community
  • 9 users / day
  • 24 users / week
  • 81 users / month
  • 666 users / 6 months
  • 3 subscribers
  • 944 Posts
  • 13.2K Comments
  • Modlog
  • mods:
  • Sean Tilley
  • wakest
  • UI: 0.18.4
  • BE: 0.18.2
  • Modlog
  • Instances
  • Docs
  • Code
  • join-lemmy.org