terribleMia’s avatarterribleMia’s Twitter Archive—№ 6,098

  1. CSS & Sass provide style-specific data-types, built-in: a wide variety of colors, lengths, etc — with the ability to manipulate, combine, & convert between them. To me, that seems like a fundamental requirement for any design tooling - especially managing “tokens” in a system.
    1. …in reply to @TerribleMia
      yaml/js/json solutions treat everything as a string, because those languages do not contain style-specific data types. With so much focus on data types generally, I’m surprised we don’t spend more time talking about the importance & power of style-specific types.
      1. …in reply to @TerribleMia
        This also leads to a discussion about the ways we’ve tried to hack ems and % to “represent” desired px values (eg Susy sometimes). The shift from Responsive to Intrinsic design will partially require unlearning those stand-in hacks. Use em for em, px for px… Types are cool 😎