Sarai-WMDE created this task. Sarai-WMDE added projects: Wikidata Dev Team, Wikidata. Restricted Application added a subscriber: Aklapper.
TASK DESCRIPTION Problem ------- We have the need to keep reusing a set of styling variables for spacing that use `em` and `rem` units. Codex doesn’t provide equivalent tokens for these. Thhe values were originally created as WiKit tokens, and used in the layout of both our quality tools and the Special:NewLexeme page. We could create custom variables to replace these WiKit tokens in the individual styling file(s) relevant to each product, but that option would cause redundancy and overhead. Solution -------- Since these spacing values are shared, we could create them as CSS variables and collect them in a shared stylesheet file. To enable the distribution of these variables, they should either need to be in a gist file or exist in a dedicated repo. Considerations -------------- - If we decided to create a dedicated repo for the shared variables, this could be also used to potentially host our potential shared LOD components in the future - The variables should be created in a language agnostic way. Our quality tools use sass, while Special:NewLexeme uses less. TASK DETAIL https://phabricator.wikimedia.org/T350189 WORKBOARD https://phabricator.wikimedia.org/project/board/6016/ EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: Sarai-WMDE Cc: Aklapper, Sarai-WMDE, Danny_Benjafield_WMDE, Astuthiodit_1, karapayneWMDE, Invadibot, maantietaja, ItamarWMDE, Akuckartz, Nandana, Lahi, Gq86, GoranSMilovanovic, QZanden, LawExplorer, _jensen, rosalieper, Scott_WUaS, Wikidata-bugs, aude, Mbch331
_______________________________________________ Wikidata-bugs mailing list -- wikidata-bugs@lists.wikimedia.org To unsubscribe send an email to wikidata-bugs-le...@lists.wikimedia.org