https://htmx.org logo
Join Discord
Powered by
# missing_dot_css
  • m

    mysterious-toddler-20573

    11/01/2022, 1:03 PM
    sorry, fixed the tweet
  • r

    ripe-action-67367

    11/01/2022, 1:37 PM
    How do I close search popup in the docs on mobile? Back action navigates back in history
  • m

    mysterious-toddler-20573

    11/01/2022, 2:06 PM
    @gorgeous-airport-54386 a nice to have is the ability to toggle between light and dark mode on the missing.style site
  • g

    gorgeous-airport-54386

    11/01/2022, 2:33 PM
    unfortunately this will require a rework of how dark theme works
  • m

    mysterious-toddler-20573

    11/01/2022, 2:56 PM
    Ah, no worries, but maybe a longer term goal
  • e

    early-camera-41285

    11/04/2022, 3:19 AM
    I'm in the process of upgrading to 1.0. One of the changes I see is that there is now a dark theme via media query included. I had a toggleable light/dark theme, but on v0.2 I could just use my own media query to set the css variables. In 1.0, I need to use
    !important
    to override the default variables if I want to override it in my own media query. What is the new recommended way to customize the theme with css variables?
  • e

    early-camera-41285

    11/04/2022, 3:22 AM
    I was able to avoid using
    !important
    on every variable by overriding on
    body
    instead of
    :root
    . Does that seem like the right way to set my custom themes?
  • g

    gorgeous-airport-54386

    11/04/2022, 3:11 PM
    You can add the
    -no-dark-theme
    class to the
    <html>
    element to opt out of the built-in dark theme.
  • e

    early-camera-41285

    11/04/2022, 5:17 PM
    Ohhhh! Thanks!
  • m

    mysterious-toddler-20573

    11/04/2022, 6:17 PM
    is this the dark mode toggle I am looking for.meme
  • g

    gorgeous-airport-54386

    11/04/2022, 6:27 PM
    only if you want to reimplement the dark theme yourself
  • m

    mysterious-toddler-20573

    11/04/2022, 6:28 PM
    lol
  • m

    mysterious-toddler-20573

    11/04/2022, 6:28 PM
    lmao
  • m

    mysterious-toddler-20573

    11/04/2022, 6:28 PM
    also cries into folded arms
  • e

    early-camera-41285

    11/04/2022, 7:10 PM
    Okay, I'm all upgraded to 1.0. Dark/light toggle is working on my end (but It's probably implemented in bad way 😅)
  • e

    early-camera-41285

    11/04/2022, 7:13 PM
    Tabs and expandable nav are working great, using missing.js instead of my poor man's solution
  • m

    mysterious-toddler-20573

    11/04/2022, 9:08 PM
    man, that's pretty darned good looking
  • e

    early-camera-41285

    11/04/2022, 9:11 PM
    Just added a colophon so visitors know why
  • m

    mysterious-toddler-20573

    11/05/2022, 7:09 PM
    @gorgeous-airport-54386 do you see a flash of unstyled content wrt the drop down icon here? https://www.davidaflood.com/research/
  • g

    gorgeous-airport-54386

    11/05/2022, 8:29 PM
    on mobile?
  • e

    early-camera-41285

    11/05/2022, 8:39 PM
    It has something to do with the overflow nav JS
  • g

    gorgeous-airport-54386

    11/05/2022, 8:49 PM
    it's a known issue
  • g

    gorgeous-airport-54386

    11/05/2022, 8:49 PM
    i'll be looking for solutions
  • g

    gorgeous-airport-54386

    11/10/2022, 10:30 PM
    @User new release: https://missing.style/releases/1.0.1/
  • m

    mysterious-toddler-20573

    11/10/2022, 11:36 PM
    https://github.com/mona-sans
  • m

    mysterious-toddler-20573

    11/10/2022, 11:36 PM
    interesting site design
  • g

    gorgeous-airport-54386

    11/11/2022, 12:29 AM
    which aspects
  • g

    gorgeous-airport-54386

    11/11/2022, 12:29 AM
    other than the extremely good illustrations
  • m

    mysterious-toddler-20573

    11/11/2022, 12:30 AM
    interesting use of overlapping slab fonts
  • g

    gorgeous-airport-54386

    11/11/2022, 12:31 AM
    hmm
1...373839...44Latest