{"id":83060,"date":"2020-07-29T16:17:30","date_gmt":"2020-07-29T16:17:30","guid":{"rendered":"https:\/\/make.wordpress.org\/core\/?p=83060"},"modified":"2020-07-29T16:17:30","modified_gmt":"2020-07-29T16:17:30","slug":"css-chat-summary-23-july-2020","status":"publish","type":"post","link":"https:\/\/make.wordpress.org\/core\/2020\/07\/29\/css-chat-summary-23-july-2020\/","title":{"rendered":"CSS Chat Summary: 23 July 2020"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Full meeting transcript on Slack: https:\/\/wordpress.slack.com\/archives\/CQ7V4966Q\/p1595538061342900<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I (<a href=\"https:\/\/profiles.wordpress.org\/notlaura\/\" class=\"mention\"><span class=\"mentions-prefix\">@<\/span>notlaura<\/a>) facilitated the meeting.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\"><span tabindex='0' class='glossary-item-container'>CSS<span class='glossary-item-hidden-content'><span class='glossary-item-header'>CSS<\/span> <span class='glossary-item-description'>Cascading Style Sheets.<\/span><\/span><\/span> Audit Updates<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/profiles.wordpress.org\/isabel_brison\/\" class=\"mention\"><span class=\"mentions-prefix\">@<\/span>isabel_brison<\/a> had a few updates to report!<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Audited CSS in <span tabindex='0' class='glossary-item-container'>JS<span class='glossary-item-hidden-content'><span class='glossary-item-header'>JS<\/span> <span class='glossary-item-description'>JavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors.<\/span><\/span><\/span> files<\/li><li>Values\/counts for font-family and letter-spacing (only 3 for the latter!)<\/li><li>Values\/counts for z-index<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">This data can be seen in <a href=\"https:\/\/docs.google.com\/document\/d\/1afy5gOZ6qZLs7ud2mzqHAo1ZI7stP5LRDMzm2IwJV04\/edit#\">the audit report Google Doc<\/a>. It looks like the remaining items are media query counts and the history of CSS coding standards and the stylelint configuration. <a href=\"https:\/\/profiles.wordpress.org\/isabel_brison\/\" class=\"mention\"><span class=\"mentions-prefix\">@<\/span>isabel_brison<\/a> suggested collecting related documentation and tickets for this history piece, and using <a href=\"https:\/\/profiles.wordpress.org\/ryelle\/\" class=\"mention\"><span class=\"mentions-prefix\">@<\/span>ryelle<\/a>\u2018s css-audit tool to accommodate the media query counts.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">List of data to track on a recurring basis <\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">For the CSS audit of wp-<span tabindex='0' class='glossary-item-container'>admin<span class='glossary-item-hidden-content'><span class='glossary-item-header'>admin<\/span> <span class='glossary-item-description'>(and super admin)<\/span><\/span><\/span>, <a href=\"https:\/\/core.trac.wordpress.org\/ticket\/49582\">#49582<\/a>, we have discussed running recurring reports, and this agenda item was to determine what data should be tracked in a recurring report. We decided that, for now, we can place to include the same data we are including now where the collection is automated with the css-audit tool or stylelint. These items can be seen in the <a href=\"https:\/\/docs.google.com\/document\/d\/1afy5gOZ6qZLs7ud2mzqHAo1ZI7stP5LRDMzm2IwJV04\/edit#\">audit report Google doc<\/a>.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Color Scheming Updates<\/h2>\n\n\n\n<h3 class=\"wp-block-heading\">Themes vs. Modes<\/h3>\n\n\n\n<p class=\"wp-block-paragraph\">One outcome of the meeting previous to this one was the concept of color \u201cthemes\u201d vs. \u201cmodes\u201d. I started off the conversation with this question: <\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Do you see a distinction between the nature of admin color schemes and something like dark mode, in the way we treat colors? For example:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Ectoplasm \u2013 Dark<\/li><li>Ectoplasm \u2013 High Contrast<\/li><\/ul>\n\n\n\n<p class=\"wp-block-paragraph\">(where \u201cEctoplasm\u201d = any of the admin themes)<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">@tellthemachines said that she saw \u201cdark mode\u201d or \u201chigh contrast\u201d to be a collection of themes that support that criteria. We discussed that \u201cmodes\u201d are most like a way to categorize themes, and are not a separate implementation.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">I shared a link <a href=\"https:\/\/profiles.wordpress.org\/youknowriad\/\" class=\"mention\"><span class=\"mentions-prefix\">@<\/span>youknowriad<\/a> posted during the last meeting to <a href=\"https:\/\/asblocks.com\/\">a prototype of dark mode in the editor<\/a>. In this prototype, dark mode is a separate toggle that can be applied on top of themes. I also shares a code snipped <a href=\"https:\/\/profiles.wordpress.org\/youknowriad\/\" class=\"mention\"><span class=\"mentions-prefix\">@<\/span>youknowriad<\/a> posted before as an example of themes and modes treated separately:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n.button {\n   color: var( --wp-admin-theme-color );\n   background: white;\n}\n\n.is-dark-mode .button  {\n   background: var( --wp-admin-theme-color );\n   color: white;\n}\n\n.my-admin-scheme {\n   --wp-admin-theme-color: blue;\n   \/\/ potentially other variables\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">We discussed that the rigidity of this approach will be restrictive for other themes and accommodating they variety of user needs required for <span tabindex='0' class='glossary-item-container'>accessibility<span class='glossary-item-hidden-content'><span class='glossary-item-header'>Accessibility<\/span> <span class='glossary-item-description'>Accessibility (commonly shortened to a11y) refers to the design of products, devices, services, or environments for people with disabilities. The concept of accessible design ensures both \u201cdirect access\u201d (i.e. unassisted) and \u201cindirect access\u201d meaning compatibility with a person\u2019s assistive technology (for example, computer screen readers). (https:\/\/en.wikipedia.org\/wiki\/Accessibility)<\/span><\/span><\/span>. In this case, the text for <code>.button<\/code> in dark mode will <em>always<\/em> be white, but we need to accommodate lower contrast dark mode themes as well. @tellthemachines mentioned that the \u201cdecisions not options\u201d motto of WordPress, and that regarding accessibility, it should be the opposite (and after the meeting <a href=\"https:\/\/profiles.wordpress.org\/ryelle\/\" class=\"mention\"><span class=\"mentions-prefix\">@<\/span>ryelle<\/a> followed up with the phrase \u201coptions not restrictions\u201d \u2026 nice!).<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">So, to conclude here:<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>The notions of \u201cdark mode\u201d and \u201chigh contrast\u201d seem like categories for color schemes \u2013 they are characteristics of a color scheme, not separate features.<\/li><li>In order to provide options, not restrictions, regarding accessibility, it will be important to have control over all colors in the implementation of color schemes.<\/li><\/ul>\n\n\n\n<h2 class=\"wp-block-heading\">CSS Latest and Greatest Link Share<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">I shared a link to <a href=\"https:\/\/developer.mozilla.org\/en-US\/docs\/Web\/CSS\/CSS_Scroll_Snap\/Basic_concepts\">CSS Scroll Snap<\/a> \u2013 the possibility of slider-like interfaces with only CSS is not so far in the future! <\/p>\n<p class=\"o2-appended-tags\"><a href=\"https:\/\/make.wordpress.org\/core\/tag\/core-css\/\" class=\"tag\"><span class=\"tag-prefix\">#<\/span>core-css<\/a>, <a href=\"https:\/\/make.wordpress.org\/core\/tag\/summary\/\" class=\"tag\"><span class=\"tag-prefix\">#<\/span>summary<\/a><\/p><nav class='o2-post-footer-actions'><ul class='o2-post-footer-action-row'><\/ul><div class='o2-post-footer-action-likes'><\/div><ul class='o2-post-footer-action-row'><\/ul><\/nav>","protected":false},"excerpt":{"rendered":"<p>Full meeting transcript on Slack: https:\/\/wordpress.slack.com\/archives\/CQ7V4966Q\/p1595538061342900 I (@notlaura) facilitated the meeting. CSSCSS Cascading Style Sheets. Audit Updates @isabel_brison had a few updates to report! Audited CSS in JSJS JavaScript, a web scripting language typically executed in the browser. Often used for advanced user interfaces and behaviors. files Values\/counts for font-family and letter-spacing (only 3 for [&hellip;]<\/p>\n","protected":false},"author":7627115,"featured_media":0,"comment_status":"open","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"_crdt_document":"","advanced_seo_description":"","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_post_was_ever_published":false,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[1176],"tags":[2941,1398],"class_list":["post-83060","post","type-post","status-publish","format-standard","hentry","category-summaries","tag-core-css","tag-summary","mentions-isabel_brison","mentions-notlaura","mentions-ryelle","mentions-youknowriad","author-notlaura"],"revision_note":"","jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p2AvED-lBG","_links":{"self":[{"href":"https:\/\/make.wordpress.org\/core\/wp-json\/wp\/v2\/posts\/83060","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/make.wordpress.org\/core\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/make.wordpress.org\/core\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/make.wordpress.org\/core\/wp-json\/wp\/v2\/users\/7627115"}],"replies":[{"embeddable":true,"href":"https:\/\/make.wordpress.org\/core\/wp-json\/wp\/v2\/comments?post=83060"}],"version-history":[{"count":2,"href":"https:\/\/make.wordpress.org\/core\/wp-json\/wp\/v2\/posts\/83060\/revisions"}],"predecessor-version":[{"id":83070,"href":"https:\/\/make.wordpress.org\/core\/wp-json\/wp\/v2\/posts\/83060\/revisions\/83070"}],"wp:attachment":[{"href":"https:\/\/make.wordpress.org\/core\/wp-json\/wp\/v2\/media?parent=83060"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/make.wordpress.org\/core\/wp-json\/wp\/v2\/categories?post=83060"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/make.wordpress.org\/core\/wp-json\/wp\/v2\/tags?post=83060"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}