AnneT added a comment.
Thank you, @Sarai-WMDE, for your thorough response! It's really helpful to learn from your experience with design tokens in WiKit so far. I have some remaining questions/thoughts about one topic, but everything else seems clear to me. > This all sounds about right, but I would encourage the DST to prevent the creation of said single "component tokens" as much as possible. Meaning: Wikimedia UI base (or whichever token solution is built from it, T288383 <https://phabricator.wikimedia.org/T288383>) should ideally anticipate and provide an exhaustive and organized list of the available, premade design decisions that communicate intent and can be used with as many components as possible, all in order to centralize and propagate the system's source of truth. This makes sense, although it's something I didn't fully understand about the design token architecture proposal until now. Single-component-specific variables are used widely in OOUI and WVUI in the name of theming (something that actually exists in OOUI, and could potentially exist in WVUI). I was thinking the design token architecture would apply to these variables, too, but perhaps it would be more accurate to say that we will try to expand WikimediaUI base with more tokens that come from design decisions and can be used by components, but that we will keep single-component variables separate. All in all, I think I will be able to best understand this whole process once we start experimenting with it! I hope we can do this within the shared library as soon as possible. TASK DETAIL https://phabricator.wikimedia.org/T266688 EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: AnneT Cc: egardner, Catrope, Tonina_Zhelyazkova_WMDE, Jakob_WMDE, Michael, AnneT, Pginer-WMF, raja_wmde, ItamarWMDE, Sarai-WMDE, Aklapper, Volker_E, Invadibot, caldera, maantietaja, Akuckartz, DannyS712, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, Iniquity, _jensen, rosalieper, JGirault, Scott_WUaS, Niedzielski, Wikidata-bugs, aude, Lydia_Pintscher, Mbch331, Jay8g
_______________________________________________ Wikidata-bugs mailing list -- [email protected] To unsubscribe send an email to [email protected]
