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

    gorgeous-airport-54386

    06/20/2022, 11:51 AM
    "default margins are so annoying!
    * { margin: 0; padding: 0; }
    !" "oh, i have to put space between my paragraphs, manually" "but not the paragraphs in forms, only text paragraphs"
  • g

    gorgeous-airport-54386

    06/20/2022, 11:52 AM
    rate my new css proposal
    Copy code
    css
    *:should-have(margin: 0) {
      margin: 0;
    }
  • t

    tall-dinner-62086

    06/20/2022, 12:07 PM
    Copy code
    css
    * {
    margin:0 !important;
    }
    let God sort'em out
  • r

    refined-waiter-90422

    06/20/2022, 1:00 PM
    this is the ideal css layout, not everyone may like it
  • m

    mysterious-toddler-20573

    06/20/2022, 1:24 PM
    centering by default is an interesting idea!
  • b

    brainy-ice-92385

    06/20/2022, 8:36 PM
    <rant>
    CSS was based on basic-ass ubiquitous graphic design language of 1993 and that language has always used the ubiquitous language of manual typesetting, where centering something meant putting blank metal blocks into a machine to manually balance both sides of each line. CSS's first objective has never been to get you what you want, or something that looks cool, it's always been to give you something that doesn't look like ass with zero work. (like Deniz's ideal) And from there they've just tacked on attempts at better layout systems like flex and grid while doing insane mental gymnastics to maintain that 600 year old typesetting functionality underneath. It's analogous to the history of C++ in that way, which is not a compliment. The original responsive design argument was a philosopher pointing out that CSS's fundamental building blocks make no sense in the actual medium on which it paints, and providing hacks to get closer to that medium. It's due for the same argument 1cg uses for htmx: what if we went back and made a more reasonable choice from the get-go
    </rant>
  • c

    calm-ice-23682

    06/21/2022, 9:29 AM
    CSX.org when?
  • b

    brainy-ice-92385

    06/21/2022, 3:41 PM
    XTalk for layout:
    just center it dammit
  • m

    mysterious-toddler-20573

    06/21/2022, 4:01 PM
    thats actually a really interesting idea
  • m

    mysterious-toddler-20573

    06/21/2022, 9:52 PM
    hey now, looking less crowded!
  • t

    tall-dinner-62086

    06/22/2022, 2:57 PM
    is missing.css production-ready yet?
  • m

    mysterious-toddler-20573

    06/22/2022, 3:05 PM
    i would say not yet
  • m

    mysterious-toddler-20573

    06/22/2022, 3:06 PM
    end of summer is probably a reasonable target, deniz agree?
  • m

    mysterious-toddler-20573

    06/22/2022, 3:06 PM
    we have a few projects that are going to start using it in earnest and that will iron out a lot of bugs
  • m

    mysterious-toddler-20573

    06/22/2022, 3:06 PM
    also the docs are in very rough shape currently
  • t

    tall-dinner-62086

    06/22/2022, 3:14 PM
    make with the thing computer man. I'm starting a new project and I'm gonna try going full htmx/hyperscript/missing
  • g

    gorgeous-airport-54386

    06/22/2022, 3:15 PM
    i'll release 0.0.1 when the hyperscript website is fully upgraded to missing, see: the missing.css branch on the hyperscript repo
  • g

    gorgeous-airport-54386

    06/22/2022, 3:15 PM
    yes
  • g

    gorgeous-ghost-95789

    06/25/2022, 8:36 PM
    Everyone should bookmark and regularly refer to this: https://css-tricks.com/centering-css-complete-guide/
  • g

    gorgeous-airport-54386

    06/27/2022, 6:56 PM
    https://www.denizaksimsek.com/2022/2022-06-27T18:54:05.038Z/
  • g

    gorgeous-airport-54386

    06/27/2022, 6:57 PM
    > I want to add a dark theme to missing.css out of the box using the prefers-color-scheme media query. This is a pretty straightforward thing to do, but it causes a problem when you add your own styles on top of missing.css (the expected main usage). Consider: > > - You install missing.css > - You override the
    --accent
    variable > > If the user has dark theme enabled system-wide, two things might happen depending on how we implement things: > > - The dark theme accent color in missing.css overrides the custom accent > - The custom accent is used with missing.css’s dark theme colors, probably ugly and bad contrast > > Neither of these are desirable. The only way to prevent this would be to force everyone to specify their custom colors in both light and dark theme – even if they don’t want to support dark theme. > > As for solutions: > > - One option is to require a class to enable automatic theme switching. This will work and not be much trouble, but makes missing.css less valuable as a classless CSS library. > > Thoughts?
  • r

    refined-waiter-90422

    06/27/2022, 7:09 PM
    > The dark theme accent color in missing.css overrides the custom accent I know it seems odd but if people are changing
    --accent
    its reasonable to have them also change
    --accent-dark
    or
    calc()
    something reasonable
  • r

    refined-waiter-90422

    06/27/2022, 7:10 PM
    If they dont customize the dark theme it's fine if its stock
  • j

    jolly-kite-167

    06/27/2022, 7:16 PM
    I'd assume, if I were planning on modifying something from its default behavior and part of that behavior included accepting a user preference not explicitly under my control, that I'd be responsible for addressing that behavior in my modifications myself.
  • g

    gorgeous-airport-54386

    06/27/2022, 10:43 PM
    revamped the default theme https://missing.style/
  • s

    swift-translator-13366

    06/28/2022, 7:17 PM
    The use of green for links is a pretty bold departure from the usual expectation of blue, IMHO. What motivated that change?
  • g

    gorgeous-airport-54386

    06/28/2022, 10:04 PM
    just to show people they can have any accent color they want. my eyes are so tired of the corporate black-white-blue website
  • g

    gorgeous-airport-54386

    06/29/2022, 10:13 PM
    @mysterious-toddler-20573 can you point the.missing.style to the prod branch
  • m

    mysterious-toddler-20573

    06/29/2022, 10:13 PM
    I believe so
  • m

    mysterious-toddler-20573

    06/29/2022, 10:16 PM
    I think you just need to merge prod in to the
    the
    branch?
1...242526...44Latest