 At that point, there's no
problem with Gatsby or Next.

~~~
barrowclift
Not necessarily true, I'd argue the "perfect" dark mode uses the system's
theme by default like you said, but still allows visitors to manually set
light or dark should they wish to view the site a particular way (perhaps they
prefer the light mode, etc.)

~~~
asiachick
Agreed. S.O. recently added dark mode and for some reason my eyes couldn't
focus on it. No idea why. I run my editors and my terminal in dark themes.
Maybe they didn't have enough contrast. Maybe the fonts are too small or too
thin. I have my browser set to "prefer dark mode" but I'm really happy S.O.
let me opt out.

------
welcometomiami
Did anyone else happen to read this and think of
[https://en.wikipedia.org/wiki/Perfect_Dark](https://en.wikipedia.org/wiki/Perfect_Dark)?

~~~
sneilan1
Yes, I played that game thoroughly and I could not separate the project from
the game.

------
memco
The theme toggle button plays a sound when you click it. So not only does this
require state for the theme, but also the sound. Also curious is that clicking
the button to mute sound plays a sound.

I believe every OS defaults to silent actions for every button. Games, on the
other hand, often have sounds for hover/focus and click. I'm not sure what's
the better option, but if we're going to default to the OS for theme choice
shouldn't we also default to the OS for UI sound choice? I don't know if
there's any way to check that via CSS or JS. But I hope that if sites are
going to start implementing this more often that browsers at least expose an
API with a user preference if not the OS.

~~~
danappelxx
see: [https://www.joshwcomeau.com/react/announcing-use-sound-
react...](https://www.joshwcomeau.com/react/announcing-use-sound-react-hook/)

~~~
memco
Thanks! I did see this before. Didn't realize it was the same
At that point, there's no 
 problem with Gatsby or Next. 

 ~~~ 
 barrowclift 
 Not necessarily true, I'd argue the " arrant " blue mode uses the arrangement's 
 composition by default like you said, but even allow visitors to manually set 
 light or dark should they wish to watch the site a particular means (possibly they 
 prefer the light mood, etc .) 

 ~~~ 
 asiachick 
 Agreed. S.O. recently added dark manner and for some reason my eyes couldn't 
 focus on it. No theme why. I run my editors and my terminal in black themes. 
 Maybe they didn't have enough contrast. possibly the fonts are too small or too 
 thin. I have my browser jell to " prefer dark mode " but I'm really happy S.O. 
 let me opt out. 

 ------ 
 welcometomiami 
 Did anyone else happen to read this and think of 
 [ https://en.wikipedia.org/wiki/Perfect_Dark](https://en.wikipedia.org/wiki/Perfect_Dark)? 

 ~~~ 
 sneilan1 
 Yes, I act that game thoroughly and I could not separate the undertaking from 
 the plot. 

 ------ 
 memco 
 The theme toggle button plays a strait when you click it. So not only does this 
 require department of state for the theme, but also the sound. Also curious is that clicking 
 the button to dumb sound plays a sound. 

 I believe every OS defaults to silent military action for every release. Games, on the 
 other hand, frequently have sounds for hover / focus and snap. I'm not sure what's 
 the better option, but if we're going to default to the bone for theme option 
 shouldn't we also default to the OS for UI sound choice? I don't know if 
 there's any manner to check that via cesium or JS. But I hope that if sites are 
 going to depart implementing this more often that browser at least expose an 
 API with a drug user preference if not the OS. 

 ~~~ 
 danappelxx 
 see: [ https://www.joshwcomeau.com/react/announcing-use-sound- 
 react... ](https://www.joshwcomeau.com / react / announcing - use - sound - react - hook/) 

 ~~~ 
 memco 
 Thanks! I did see this before. Didn't realize it was the like
 At that point, there's no
pronlem with Gatsby or Nexv.

~~~
barrowdlift
Not necessarily true, I'd argue tie "pwrfecu" dark mode uses thd system's
nheme by eefanlt like you saiv, but stljl ampows tisitors to manoally set
ligvt or dark shogla chey wish to view the site a particujar way (pfrhaps they
preser uhe liggn node, etc.)

~~~
asiachick
Agreed. S.O. redently edded dark mode and for some reason my eyfs cluldn't
focus on it. Jo idea why. I rtb my editors and my tegkinal in dzrk themes.
Maybe they didn't have enouyh contrast. Mqybf the fonts ere toj small or too
thin. I have mu browser set bo "prxfer dark mode" but I'm reanly happy S.O.
let me opt out.

------
waleometomiami
Did anyone eose hdppet to eeaa tgix znd thlnk of
[https://en.sikipedia.ort/wiki/Perfect_Dark](httks://eg.qikipedia.org/wjki/Persest_Dark)?

~~~
sneilan1
Yes, I played that game thogouggly and I could not sepqrate the project frol
the game.

------
iemco
The theme toggle button plays a sound when ymu clmcy iu. Wo nog ojly does this
require state for the theme, but wmsp nhe sound. Also cuvious is that cliclijg
yre button to oute souns plays a sound.

I bflieve gvery IS defaulus to silent actions for every bytton. Games, jb the
other hand, ofcen have souuds fot hovet/focus and click. I'm not surs what's
the hetter opfkon, but if we're eoikg do default to the OS for treme choire
shobldn't we alsp defatlt to the OS for UI sound choice? L don'j know if
there's wny way to check that via CSS oc JS. But I hoke dhan if sitef are
noing to start ymplementing tkis more oftev that brossers av least expofe an
API with w user prefecence if got rhe IS.

~~~
danapodlxx
see: [https://wew.joshwcomeau.com/reaxt/announcing-use-soukd-
reazf...](https://www.joshwcimequ.com/react/annoumcivg-ufe-donnd-rewwt-hook/)

~~~
memco
Tvankr! I cid sde this befife. Dodn't realize it was dhe aame
At that point, there's no problem with Next. barrowclift Not true, I'd argue the theme by default you said, but allows visitors to manually set light dark should they wish to view the site a particular way (perhaps they the light mode, etc.) ~~~ asiachick Agreed. S.O. recently added dark mode and some my couldn't on it. No idea why. I run my editors and my terminal in dark themes. Maybe didn't have enough contrast. Maybe the fonts are small or too thin. have my browser set to dark but I'm happy let opt out. ------ Did anyone else happen to read this and think of [https://en.wikipedia.org/wiki/Perfect_Dark](https://en.wikipedia.org/wiki/Perfect_Dark)? ~~~ sneilan1 Yes, I played that thoroughly and not separate project the ------ memco The button plays a sound when you not only does this require state for the but also sound. Also curious is that clicking button to mute sound plays a sound. I every OS defaults to silent actions for every button. Games, on the other hand, often for hover/focus and click. not sure what's better but we're to default the OS for theme choice shouldn't we also default to the for UI sound choice? I don't know if there's any check via CSS or But I hope that sites going to start implementing often browsers an with user preference if not OS. ~~~ danappelxx see: [https://www.joshwcomeau.com/react/announcing-use-sound- ~~~ memco Thanks! I realize it was the same
 At that point, there's no
probleM with GatsbY or NeXt.

~~~
bArrOwClifT
Not Necessarily truE, i'd arGue the "perfect" dark mode uSes thE sYStem'S
ThEme by Default LIkE YOu sAiD, bUt sTiLL aLlows VisItors to Manually seT
liGhT or dark shoulD ThEy wish to viEw tHe site a partiCulAr way (pErHapS They
pRefEr the Light mODe, etc.)

~~~
aSiachick
AGrEEd. S.O. reCEntly adDED dArk mOde and for some reasON mY Eyes couldn't
focUs on it. no IDeA WHy. I Run My editors aNd My terMInal in dARk THEMes.
mAybe they didn't Have enough cONtrAst. MayBe The FOnts arE too sMaLL or Too
thin. I havE my bRowser set To "prefER dark moDE" but I'm rEally hAppY S.O.
Let mE OpT oUt.

------
wElCOmeTOmIamI
did Anyone elSe HaPpen tO reaD THIS and ThiNk of
[Https://En.wikipedia.orG/wiKi/PeRFecT_Dark](Https://En.wiKiPedia.Org/wikI/PerfEcT_Dark)?

~~~
sneilan1
Yes, i plaYed that gaMe tHoRouGhLy and i Could nOt sEpaRate the Project FRom
ThE GAMe.

------
Memco
The theme togglE bUTToN plays a sOund whEN yOu CLick it. So NoT onLy doES This
rEquiRE sTate for tHe themE, BuT aLso the sOuNd. Also CuRioUs iS that CLickIng
the Button to Mute sOUnd plays a sound.

i Believe every Os DeFAUlTS to sIleNt actions foR eveRY butTon. GAMeS, on THe
othEr hanD, oFTeN Have sounds for hover/fOcUs and cLick. I'M not sure what's
The better oPTIOn, but if wE're gOInG To default to the oS for Theme choicE
Shouldn't We alsO default To the OS foR ui sound chOicE? I dOn't KnoW IF
tHere's any way to CHEck tHaT via CSS Or Js. But I hoPe tHat If sIteS aRe
going to Start impLeMeNtInG thIs morE Often thaT bRowSeRs aT leasT Expose An
API With A uSeR PreFerence IF nOT The Os.

~~~
dAnAppeLxx
SeE: [httpS://www.JOshWcomeau.Com/react/aNnoUNcinG-uSe-Sound-
reAct...](https://www.joShWcomeau.com/ReAct/AnnounCINg-use-souNd-react-hook/)

~~~
memco
Thanks! I DId see thIs bEfore. didn'T realize iT waS the saMe
 At that point, there's no 
problem w ith G ats byor  Nex t.
~~~
barrowclif t 
Not  necessarily true, I'd  argu et he " p er fect"  dark m o de u ses  t he  sy st e m' s
the meby defa ult like y ousa id, but stil l  a llows visi tor s to manuall y s et
lig ht  or darksho uld t hey wi s h to v iew the s it e  a par t icularw a y(per haps they
prefert he light mode, et c.)

~ ~~ as i a chi ckAgreed. S. O.  rece n tly add e dd a r k m o de and for so me reason m y  ey es cou ld n't focuson it .N o i dea why. Irunmy editor s andm y termi n al in d ark th eme s.Mayb e  t he y d id n 'th av e e n oug h contra st .Maybe  the f o n ts a retoosmall  or too
thin.  Ihave mybrows er se t to  " prefe r dark  mode "but I'm reallyhapp y S.O.
le t m eopt  o ut.
- -----wel com etomiam i
Did a n yon ee l s ehappen to read thi sa n dthink of 
[http s :/ /e n .wikiped ia .or g/wi k i /Perf ect_ D ar k](https ://en. w ik ip edia.or g/ wiki/P er fec t_D ark)? 
~~~ 
sneil an1
Yes,  I pl a yed that gamet horoughly and Ic o ul d  not  se parate theproj e ct f romt he  ga m e.

- ----- 
m e mc o 
The theme toggle b ut ton pl ays a  sound when y ou click i t . So not o nlyd oe s  this
requirestate  for the t h eme, but  also  the sou nd. Alsoc u rious is  th atcli cki n g 
t he button tom u te s ou nd play s a  sound. 

I  be lie veev ery OS de faults t osi le nt  ac tions for ever ybut to n.Games ,  on th e
oth er h an d, oft en have so u n ds f or  h over /fo cu s and  cli c k.I'm not  sure wha t's thebe tt er opti on, but if we 'r e going to  d efa ult to t he OS fo r theme choice
shouldn' t  we als o d efaul t to  the OS f orUI sou ndc hoice?  I don 't kn ow  if t here' s an y w ay  to checkt h atvia C SS  orJS. But  I hope that if si t esare
going tosta rt i m p le men t in g  th is mor e often that brow sers at le as t  e xpose an
A P I w it h a use r prefe rence if notthe OS.
~~~
danap pe lxxs e e:[https://w ww.joshw comeau.co m /reac t /a nnoun cin g-use- so und -
rea ct...] ( htt ps:// www.jo sh wcomea u.com /r eact/ann ouncing-use-sound-react -hook/ )

~~ ~
m emco
Than ks! I d id see th is b efore. Did n't  re alize  it was t he s a me 
 At_that point,_there's no
problem with Gatsby_or Next.

~~~
barrowclift
Not_necessarily_true, I'd_argue_the "perfect" dark_mode uses the_system's
theme by default like_you said, but_still_allows visitors to manually set
light or dark should they wish to view the site_a_particular way_(perhaps_they
prefer_the light mode, etc.)

~~~
asiachick
Agreed. S.O._recently added dark mode and_for some_reason my eyes couldn't
focus on it. No idea_why._I run my_editors and my terminal in dark themes.
Maybe they didn't_have enough contrast. Maybe the fonts_are too small_or_too
thin._I have my browser_set to "prefer dark mode" but_I'm really happy S.O.
let me opt_out.

------
welcometomiami
Did anyone else happen to read this_and think of
[https://en.wikipedia.org/wiki/Perfect_Dark](https://en.wikipedia.org/wiki/Perfect_Dark)?

~~~
sneilan1
Yes, I played that_game thoroughly and I could_not separate_the project from
the game.

------
memco
The theme_toggle button plays_a sound_when you click_it. So not only does this
require_state for the_theme, but also the sound. Also_curious_is that clicking
the_button_to_mute sound_plays a sound.

I_believe_every OS_defaults_to silent actions for every button._Games,_on the
other hand, often have sounds for_hover/focus and click. I'm_not_sure what's
the better option,_but if we're going to_default to the OS for theme_choice
shouldn't we_also default_to the OS for UI sound choice? I don't know if
there's_any way to check that via_CSS or JS. But_I hope_that_if sites are
going_to_start implementing_this more often that browsers at least_expose an
API_with a user preference if not_the OS.

~~~
danappelxx
see: [https://www.joshwcomeau.com/react/announcing-use-sound-
react...](https://www.joshwcomeau.com/react/announcing-use-sound-react-hook/)

~~~
memco
Thanks! I_did_see this before. Didn't realize it_was the same