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

    mysterious-toddler-20573

    02/12/2022, 5:49 PM
    I am fine with that
  • m

    mysterious-toddler-20573

    02/12/2022, 5:49 PM
    Maybe just card?
  • g

    gorgeous-airport-54386

    02/12/2022, 5:50 PM
    custom elements should have a dash in their name to avoid conflicts with future additions to html
  • g

    gorgeous-airport-54386

    02/12/2022, 5:51 PM
    for js-enhanced custom elements this is actually a hard rule
  • m

    mysterious-toddler-20573

    02/12/2022, 5:55 PM
    Ok
  • m

    mysterious-toddler-20573

    02/12/2022, 5:55 PM
    Does this require js?
  • m

    mysterious-toddler-20573

    02/12/2022, 6:03 PM
    if we require js, we can add a parent selector syntax too
  • m

    mysterious-toddler-20573

    02/12/2022, 6:03 PM
    was hoping to keep it a simple style project, but willing to listen to reason here
  • m

    mysterious-toddler-20573

    02/12/2022, 6:04 PM
    I dislike needing to require a css and a js file though
  • r

    refined-waiter-90422

    02/12/2022, 6:05 PM
    @User before going too deep into less, have you considered ? Been using it myself in production for awhile, its been wonderfully short and succinct to work in. Its basically if 🐍 and CSS had a baby. By TJ Holowaychuk, the original author of express.js.
  • m

    mysterious-toddler-20573

    02/12/2022, 6:07 PM
    I will read about it, looks interesting!
  • m

    mysterious-toddler-20573

    02/12/2022, 6:07 PM
    Still feeling this idea out
  • m

    mysterious-toddler-20573

    02/12/2022, 6:07 PM
    looks like stylus is a language, but doesn't provide a classless base?
  • r

    refined-waiter-90422

    02/12/2022, 6:07 PM
    Yeah. Just wanted to ensure you knew stylus exists before committing. aha.
  • g

    gorgeous-airport-54386

    02/12/2022, 6:07 PM
    i used stylus before and liked it
  • r

    refined-waiter-90422

    02/12/2022, 6:08 PM
    correct
  • r

    refined-waiter-90422

    02/12/2022, 6:10 PM
    Also there's quite a few stylus compilers on github, don't have to use the node.js one, but it's nice if you have node installed anyway.
  • g

    gorgeous-airport-54386

    02/12/2022, 6:10 PM
    although, it clashes with the implied goal of eventually switching to plain css
  • g

    gorgeous-airport-54386

    02/12/2022, 6:11 PM
    .
  • r

    refined-waiter-90422

    02/12/2022, 6:11 PM
    Oh yeah, the only reason I bring it up is because I see
    less
    in there. Vanilla is always good if it's reasonable to use it.
  • g

    gorgeous-airport-54386

    02/12/2022, 6:12 PM
    we could also use postcss with plugins that bring future features + other stuff we like
  • m

    mysterious-toddler-20573

    02/12/2022, 6:16 PM
    does postcss require javascript of the clients?
  • g

    gorgeous-airport-54386

    02/12/2022, 6:16 PM
    nope
  • g

    gorgeous-airport-54386

    02/12/2022, 6:16 PM
    it is a css postprocessor
  • g

    gorgeous-airport-54386

    02/12/2022, 6:17 PM
    but unlike others, it does not define a programming language
  • g

    gorgeous-airport-54386

    02/12/2022, 6:17 PM
    and is extended with plugins
  • g

    gorgeous-airport-54386

    02/12/2022, 6:17 PM
    there's a plugin that adds spec-style nesting, and another that uses sass-style
  • m

    mysterious-toddler-20573

    02/12/2022, 6:18 PM
    no strong opinions on this
  • m

    mysterious-toddler-20573

    02/12/2022, 6:18 PM
    do you feel it is a better option than less?
  • m

    mysterious-toddler-20573

    02/12/2022, 6:19 PM
    I like the idea of using a future standard
1...567...44Latest