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

    mysterious-toddler-20573

    11/17/2022, 9:48 PM
    \> not writing it all in hyperscript
  • m

    mysterious-toddler-20573

    11/17/2022, 9:48 PM
    how dare you
  • m

    mysterious-toddler-20573

    11/17/2022, 9:48 PM
    how dare you
  • g

    gorgeous-airport-54386

    11/17/2022, 9:49 PM
    > to make the tabs work, include this 30kb library and copy-paste this 40 line snippet into your html.
  • g

    gorgeous-airport-54386

    11/18/2022, 1:25 AM
    fixed now
  • b

    brainy-ice-92385

    11/19/2022, 1:11 AM
    @gorgeous-airport-54386 Link is missing
    v
    https://missing.style/docs/
    <link rel="stylesheet" href="https://the.missing.style/1.0.3/missing.min.css">
    should be
    <link rel="stylesheet" href="https://the.missing.style/v1.0.3/missing.min.css">
    unless I'm mistaken
  • b

    boundless-vase-80440

    11/19/2022, 12:17 PM
    @gorgeous-airport-54386 did you get some inspiration from Glamorous Toolkit looks when making missing.css?
  • g

    gorgeous-airport-54386

    11/19/2022, 12:18 PM
    no, why?
  • b

    boundless-vase-80440

    11/19/2022, 12:18 PM
    They look somewhat similar, like second degree cousins.
  • b

    boundless-vase-80440

    11/19/2022, 12:19 PM
    Make no mistake, I just love it.
  • g

    gorgeous-airport-54386

    11/23/2022, 6:21 PM
    huh, missing.css was featured in a newsletter or something https://tldr.tech/tech/newsletter/2022-11-01
  • b

    boundless-vase-80440

    11/25/2022, 1:30 AM
    any chance of publishing missing css to npm?
  • g

    gorgeous-airport-54386

    11/25/2022, 3:04 AM
    no
  • b

    boundless-vase-80440

    11/25/2022, 12:14 PM
    Why?
  • m

    miniature-lizard-24702

    11/25/2022, 1:15 PM
    We reject modern tech here
  • m

    miniature-lizard-24702

    11/25/2022, 1:15 PM
  • m

    miniature-lizard-24702

    11/25/2022, 1:16 PM
    Because modern is synonymous with complexity and complexity is a common allergen
  • m

    miniature-lizard-24702

    11/25/2022, 1:17 PM
  • b

    boundless-vase-80440

    11/25/2022, 1:29 PM
    that's fine, I guess 😄
  • m

    mysterious-toddler-20573

    11/25/2022, 3:21 PM
    I'm curious too!
  • g

    gorgeous-airport-54386

    11/28/2022, 12:24 AM
    Publishing on npm is a hassle, pushing to the website is not
  • g

    gorgeous-airport-54386

    11/28/2022, 12:25 AM
    If someone is willing to set up a GitHub Action or something to do it for us, I'll give all privileges necessary
  • g

    gorgeous-airport-54386

    11/28/2022, 12:26 AM
    Also I don't like that npm is usurping DNS
  • g

    gorgeous-airport-54386

    11/28/2022, 12:27 AM
    (not that DNS is without problems)
  • b

    boundless-vase-80440

    11/29/2022, 12:58 PM
    @mysterious-toddler-20573 I spoke with @gorgeous-airport-54386 about NPM publishing and I am willing to 7b (whatever that is) for it. If you are OK with that, can you give me access to the github repo so I can make the changes?
  • m

    mysterious-toddler-20573

    11/29/2022, 1:41 PM
    yep, no prob
  • e

    early-camera-41285

    11/29/2022, 4:00 PM
    I'm having trouble initializing a dynamically loaded menu button. Here are the button, menu div, and initiation script I am swapping in:
    Copy code
    html
    <button class="edit-app-button" type="button" aria-haspopup="menu" aria-controls="edit-collation"
        aria-expanded="false" 
        aria-label="edit collation unit"
        title="edit collation unit">
        (Pencil SVG)
    </button>
    <div role="menu" id="edit-collation" hidden>
        <a role="menuitem" tabindex="-1">Edit</a>
        <a role="menuitem" tabindex="-1">Delete</a>
    </div>
    <script type="module" src="https://the.missing.style/v1.0.3/missing-js/menu.js">
        import menu from "https://the.missing.style/v1.0.3/missing-js/menu.js";
        menu(".edit-app-button");
    </script>
    I did my best to adapt this example from the docs for initializing tabs
    Copy code
    javascript
    import tabs from "https://the.missing.style/v1.0.3/missing-js/tabs.js";
    // ... insert some content ...
    tabs(theContentIJustInserted);
    but I don't actually know where to put this import, or if "menu" is the correct method to call.
  • b

    boundless-vase-80440

    11/29/2022, 4:23 PM
    🫡 (but actually 🙀 )
  • m

    miniature-lizard-24702

    11/29/2022, 4:40 PM
    https://tenor.com/view/monkey-developer-software-coding-debug-gif-15160023
  • m

    miniature-lizard-24702

    11/29/2022, 4:40 PM
    oh no
1...4041424344Latest