[{"data":1,"prerenderedAt":210},["ShallowReactive",2],{"posts":3},[4,91,150,190],{"_path":5,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":9,"description":10,"head":11,"date":13,"type":6,"heroimage":14,"body":15,"_type":85,"_id":86,"_source":87,"_file":88,"_stem":89,"_extension":90},"/work/dgdarkmode","work",false,"","Turning off the lights: the Galaxus Dark Mode","How Digitec Galaxus got to be the first E-Commerce company in Europe to have a dark mode.",{"title":12},"Turning off the lights: the Galaxus Dark Mode | Leo Hauschild","2023-05-01T00:00:00.000Z","/img/darkmode.png",{"type":16,"children":17,"toc":82},"root",[18,46,54,59,64,69],{"type":19,"tag":20,"props":21,"children":22},"element","p",{},[23,26,35,37,44],{"type":24,"value":25},"text","The single most requested feature from Digitec Galaxus customers over the years has been a dark mode. There are those who just prefer a darker screen, but there are also those who have visual impairments, to which studies have shown ",{"type":19,"tag":27,"props":28,"children":32},"a",{"href":29,"rel":30},"https://www.nngroup.com/articles/dark-mode/",[31],"nofollow",[33],{"type":24,"value":34},"[1]",{"type":24,"value":36}," ",{"type":19,"tag":27,"props":38,"children":41},{"href":39,"rel":40},"https://www.nngroup.com/articles/dark-mode-users-issues/",[31],[42],{"type":24,"value":43},"[2]",{"type":24,"value":45},", that a darker screen helps make content easier to read.",{"type":19,"tag":20,"props":47,"children":48},{},[49],{"type":19,"tag":27,"props":50,"children":51},{"href":8},[52],{"type":24,"value":53},"// insert screenshots of users requesting dark mode",{"type":19,"tag":20,"props":55,"children":56},{},[57],{"type":24,"value":58},"On E-Commerce platforms, it is unusual to see a dark mode, as such, there are no benchmarks to lean on, the only references are from mobile apps, and even then, support for it is not universal in the market.",{"type":19,"tag":20,"props":60,"children":61},{},[62],{"type":24,"value":63},"Most think that creating a dark mode is just swapping light colors for dark colors, but this approach quickly falls apart when considering not only accessibility, but also the quality expectations we have for visual design.",{"type":19,"tag":20,"props":65,"children":66},{},[67],{"type":24,"value":68},"When implementing an overarching change in a complex platform, it is not only about making the change, but also making sure you can support it in the long run.",{"type":19,"tag":20,"props":70,"children":71},{},[72,77],{"type":19,"tag":27,"props":73,"children":74},{"href":8},[75],{"type":24,"value":76},"// color tokens",{"type":19,"tag":27,"props":78,"children":79},{"href":8},[80],{"type":24,"value":81},"// color pallete",{"title":8,"searchDepth":83,"depth":83,"links":84},2,[],"markdown","content:work:dgdarkmode.md","content","work/dgdarkmode.md","work/dgdarkmode","md",{"_path":92,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":93,"description":94,"head":95,"date":97,"type":6,"heroimage":98,"body":99,"_type":85,"_id":147,"_source":87,"_file":148,"_stem":149,"_extension":90},"/work/dgdesignsystem","The birth of the Digitec Galaxus Design System","How we went from zero to one.",{"title":96},"The birth of the Digitec Galaxus Design System | Leo Hauschild","2023-02-01T00:00:00.000Z","/img/ds.png",{"type":16,"children":100,"toc":145},[101,106,111,116,125,130,135,140],{"type":19,"tag":20,"props":102,"children":103},{},[104],{"type":24,"value":105},"Word gets around that I built the Digitec Galaxus Design System, so it is normal that designers want to share experiences. From these conversations I get the impression that many designers seem to think that the only true design systems are either from FAANG or unicorn startups, anything less than hundreds of components, documentation pages, animations, tone of voice and everything including the kitchen sink and you don't really have a design system in your hands.",{"type":19,"tag":20,"props":107,"children":108},{},[109],{"type":24,"value":110},"Well then, this will be about how probably one of the biggest design systems in Switzerland came to be, and its humble beginnings.",{"type":19,"tag":20,"props":112,"children":113},{},[114],{"type":24,"value":115},"When I got to Digitec Galaxus, it was already the biggest online retailer in Switzerland. On my first week I had a conversation with other designers that went somewhat like this:",{"type":19,"tag":117,"props":118,"children":119},"blockquote",{},[120],{"type":19,"tag":20,"props":121,"children":122},{},[123],{"type":24,"value":124},"Me: \"so, is there a design system in place?\"\nThey: \"no\"\nMe: \"a component library?\"\nThey: \"no\"\nMe: \"a sticker sheet? Somewhere you have components you can share?\"\nThey: \"no, we copy components from older files when we need them, but otherwise we just screenshot the website\"",{"type":19,"tag":20,"props":126,"children":127},{},[128],{"type":24,"value":129},"This was the state of things in 2017 at Digitec Galaxus. Far away from anything that resembles professional design inside the Product Development of a tech company.",{"type":19,"tag":20,"props":131,"children":132},{},[133],{"type":24,"value":134},"And so I started the Design System, by building the buttons and all their states, so that I could use them while working on features.",{"type":19,"tag":20,"props":136,"children":137},{},[138],{"type":24,"value":139},"I can hear you now. \"Leo, I don't have the support of upper management to build a design system!\". To which I answer, do the engineers need to have permission to build code libraries at your company? If they need to write code that is already being used for something, do they need to build it from scrach every time?",{"type":19,"tag":20,"props":141,"children":142},{},[143],{"type":24,"value":144},"A Design System is the same thing, it just manifests itself visually as well, it isn't hidden in Git repositories, where management cannot see them, but such is the price of aliging everybody on how to build a product.",{"title":8,"searchDepth":83,"depth":83,"links":146},[],"content:work:dgdesignsystem.md","work/dgdesignsystem.md","work/dgdesignsystem",{"_path":151,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":152,"description":153,"head":154,"date":156,"type":6,"heroimage":157,"body":158,"_type":85,"_id":187,"_source":87,"_file":188,"_stem":189,"_extension":90},"/work/dgcheckout","A new checkout at Digitec Galaxus","Reimagining the biggest e-commerce chekout in Switzerland.",{"title":155},"A new checkout at Digitec Galaxus | Leo Hauschild","2022-02-01T00:00:00.000Z","/img/checkout.png",{"type":16,"children":159,"toc":185},[160,165,170,175,180],{"type":19,"tag":20,"props":161,"children":162},{},[163],{"type":24,"value":164},"Pellentesque molestie massa vulputate, elementum nunc quis, fermentum ipsum. Sed metus purus, facilisis ut justo vel, fermentum condimentum mauris. Duis in eros ac elit pharetra sodales. Cras vel lorem at elit scelerisque eleifend eget a erat. Proin commodo a lacus tincidunt venenatis. Maecenas in eros lacus. Vestibulum nulla mauris, vulputate in sollicitudin vitae, sodales vel ipsum. Sed ut iaculis lacus.",{"type":19,"tag":20,"props":166,"children":167},{},[168],{"type":24,"value":169},"Cras placerat sem id nunc lacinia, et placerat neque volutpat. Donec volutpat dictum lacus. Praesent at ante ac ante pulvinar ultricies. Nullam auctor scelerisque scelerisque. Curabitur a pulvinar ante. Proin ac hendrerit augue, nec pharetra velit. Suspendisse ac dolor quis tellus tempor dictum. Integer aliquet augue vel elementum egestas. Vivamus finibus maximus tortor sed vehicula. Suspendisse potenti. Aliquam sodales lectus lacinia nisl gravida mattis. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Suspendisse ornare, turpis quis viverra porta, ipsum arcu euismod sapien, et imperdiet tortor ante eget lacus.",{"type":19,"tag":20,"props":171,"children":172},{},[173],{"type":24,"value":174},"Curabitur fringilla diam maximus risus iaculis, ut tempor diam bibendum. In quis dignissim nisi. Pellentesque id sagittis arcu, non suscipit arcu. Aenean egestas magna neque, id convallis turpis congue nec. Sed id nisi et tortor sodales fermentum nec sit amet risus. Nunc ultricies, quam at convallis iaculis, ante enim malesuada urna, ut feugiat elit massa a magna. Praesent a interdum nulla, et iaculis neque. Sed semper neque neque, a tincidunt odio fermentum in. Sed quis venenatis erat, iaculis cursus orci.",{"type":19,"tag":20,"props":176,"children":177},{},[178],{"type":24,"value":179},"Vivamus nec tellus nisl. Ut a accumsan nulla. Praesent congue magna sit amet purus ultricies vestibulum. Curabitur et tincidunt dolor, at consequat risus. Suspendisse potenti. Aenean malesuada id tellus accumsan tempor. Mauris sit amet vestibulum nunc. Aliquam erat volutpat. Nam vestibulum condimentum augue et vestibulum.",{"type":19,"tag":20,"props":181,"children":182},{},[183],{"type":24,"value":184},"Nullam quis luctus sapien. Nullam finibus diam nisi, ut pretium felis luctus id. Vestibulum in lorem quis nisi sodales aliquet. In quis quam magna. Sed cursus tempus tempor. Quisque eu mollis leo, sed lacinia lorem. Maecenas augue metus, vestibulum id hendrerit vel, rhoncus non nulla. Proin blandit a nisl id fermentum. Duis at tortor nec nisi venenatis auctor eget nec sapien. Vestibulum accumsan, augue eu dictum iaculis, ligula est mattis sem, et ornare lectus nisi consequat nibh. Nulla et neque dapibus, malesuada ligula eget, efficitur justo. Mauris tristique volutpat turpis, id congue lorem consectetur semper.",{"title":8,"searchDepth":83,"depth":83,"links":186},[],"content:work:dgcheckout.md","work/dgcheckout.md","work/dgcheckout",{"_path":191,"_dir":6,"_draft":7,"_partial":7,"_locale":8,"title":192,"description":193,"head":194,"date":196,"type":6,"heroimage":197,"body":198,"_type":85,"_id":207,"_source":87,"_file":208,"_stem":209,"_extension":90},"/work/dgmlnewsletter","You got mail: making a newsletter that people actually like","Before AI was hot, we were already doing it.",{"title":195},"You got mail: making a newsletter that people actually like | Leo Hauschild","2020-02-01T00:00:00.000Z","/img/mlnl.png",{"type":16,"children":199,"toc":205},[200],{"type":19,"tag":20,"props":201,"children":202},{},[203],{"type":24,"value":204},"For somebody who turns off every e-mail they can, the irony wasn't lost on me when I got to be in charge of designing a newsletter system for a big e-commerce retailer.",{"title":8,"searchDepth":83,"depth":83,"links":206},[],"content:work:dgmlnewsletter.md","work/dgmlnewsletter.md","work/dgmlnewsletter",1746012042941]