[{"data":1,"prerenderedAt":143},["ShallowReactive",2],{"project-20221518":3},{"id":4,"name":5,"line":6,"line_source":7,"title":8,"url":9,"domain":10,"maker":11,"posted_at":12,"year":13,"points":14,"comments":15,"rank_in_year":16,"shown_in_year":17,"top":18,"tier":19,"category":20,"subcategory":21,"format":22,"keywords":23,"reception":28,"sentiment":29,"stance_mix":30,"scored_comments":15,"aspects":33,"strip":36,"post_text":29,"what":38,"said":59,"maker_in_thread":92,"shape":94,"grid":97,"attempts":105,"same_week":106,"maker_shows":135,"maker_hidden":136,"reader_version":137,"card":138},"20221518","Dark Mode JS","Library to add a dark-mode to your website in a few seconds","title","Show HN: Library to add a dark-mode to your website in a few seconds","https:\u002F\u002Fdarkmodejs.learn.uno\u002F","darkmodejs.learn.uno","sandoche",1560930018,2019,22,3,1133,2195,52,"shown","languages","javascript library","library",[24,25,26,27],"dark mode","javascript","website theme","css","quiet",null,{"positive":31,"neutral":31,"mixed":32,"critical":31},1,0,{"idea":34,"design":35},{"positive":32,"critical":31},{"positive":32,"critical":32},[31,37,15],5,{"problem":39,"audience":45,"pricing":29,"motivation":29,"time_to_build":29,"stack":52,"openness":57,"stage":58,"team_size":57},{"value":40,"source":41,"evidence":42},"Adding a dark mode to a website","inferred",[43],{"id":44},"post",{"value":46,"source":41,"evidence":47},"Website owners",[48],{"id":49,"by":50,"text":51},"20221670","farbodsaraf","Cool! Just started using it for two of my websites, thanks!",[53],{"value":54,"source":41,"evidence":55},"JavaScript",[56],{"id":44},"unknown","launched",{"praise":60,"objections":66,"requests":74,"questions":82,"alternatives":87},[61],{"value":62,"source":63,"evidence":64},"Quick to add to existing websites","commenter",[65],{"id":49,"by":50,"text":51},[67],{"value":68,"source":63,"evidence":69},"Browsers are adding native CSS dark mode support, making a library unnecessary",[70],{"id":71,"by":72,"text":73},"20251439","stephenr","Just as browsers are getting native\u002Fintegrated CSS support for dark mode... I can’t imagine why you’d use this instead of actual css?",[75],{"value":76,"source":63,"evidence":77},"Default to the system dark mode setting",[78],{"id":79,"by":80,"text":81},"20246315","echeese","It'd be cool if it used the system's dark mode setting by for the default.",[83],{"value":84,"source":63,"evidence":85},"Why use this instead of native CSS",[86],{"id":71,"by":72,"text":73},[88],{"value":89,"source":63,"evidence":90},"Native CSS dark mode support in browsers",[91],{"id":71,"by":72,"text":73},{"comments":32,"answered":32,"key":93},[],{"commenters":15,"max_depth":31,"maker_replies":32,"first_comment_mins":95,"lifespan_hours":96},43,84,[98,100,102],[71,32,31,99,72,32],"project\u002Fcritical\u002Fidea",[49,31,37,101,50,32],"project\u002Fpositive\u002Fnone",[79,103,15,104,80,32],2,"project\u002Fneutral\u002Fdesign",[],[107,112,117,121,125,130],{"id":108,"name":109,"points":110,"category":111},"20185182","Enviro+ for Raspberry Pi",397,"hardware",{"id":113,"name":114,"points":115,"category":116},"20182141","Slim",389,"dev_tools",{"id":118,"name":119,"points":120,"category":116},"20191603","Openring",351,{"id":122,"name":123,"points":124,"category":116},"20196982","Rga",284,{"id":126,"name":127,"points":128,"category":129},"20173974","Refined Hacker News",259,"consumer_social",{"id":131,"name":132,"points":133,"category":134},"20220112","Futureland",232,"productivity",9,false,"v2",{"id":139,"name":5,"line":6,"ai":136,"cat":20,"year":13,"points":14,"comments":15,"rec":28,"s":29,"top":18,"kw":140,"maker":11,"domain":10,"tier":19,"attempts":32,"strip":141,"url":9,"mix":142,"praise":62,"objection":68,"sub":21},20221518,[24,25,26,27],"153",[31,31,32,31],1794036578487]