DarkModeã®ãã¶ã¤ã³ãä¸å¿ã¨ããè²å½©è¨è¨ã®èãæ¹
ããã«ã¡ã¯ããã ãããã§ããæè¿ã¯ã¯ããã¦ã®UIãã¶ã¤ã³ã¨ããæ¬ãå ±èã§æ¸ãã¾ããã ããããã¾ã§ããããã®äººã«èªãã§ããã ãã¦ãã³ã¡ã³ããããããããã¦å¬ããã§ãããããã¨ããããã¾ãï¼
PEAKSããããåºçãã¦ããè³¼å ¥ã§ãã¾ãã®ã§ããããããã°æã«ã¨ã£ã¦ã¿ã¦ããã ããã¨å¬ããã§ãã peaks.cc
æ¦è¦
WWDC 2019ã§æ°ããçºè¡¨ãããiOS13ã§OSã¬ãã«ã§ã®DarkModeè¨å®ãæè¼ããããã¨ã«ãªãã¾ãããMacOSã®æ¹ã¯ä»¥åãã追å ããã¦ãã¾ããããiOSã§ã¯ãªãã£ãã®ã§åå¥ã®ã¢ããªãåã 対å¿ãã¦ãã¾ããã ä»åãiOSã«ãDarkModeè¨å®ãæ¨æºæè¼ããããã¨ã«ãã£ã¦ãiOSã¢ããªã®ãã¼ã¯ã¢ã¼ã対å¿ãå¿ ç¶çã«è¿«ããããã¨ã«ãªã£ã¦æ¥ãã®ã§ã¯ãªããã¨æã£ã¦ãã¾ãã
ãã¼ã¯ã¢ã¼ãã好ãã§ä½¿ã人ã¯ä¸å®æ°åå¨ãã¦ãã¦ãããè¨ãç§ããã¼ã¯ã¢ã¼ãã好ãã§ä½¿ã£ã¦ãã¾ããç®ã«åªããã ã£ãããããããªã¼ã®æ¶è²»ãå°ãªããªããªã©ã®ã¡ãªãããè¨ãæ¹ãããã®ã§ãå²ã¨ä¸è¬ã®æ¹ã§ãè¨å®ããããã«ãªãã®ã§ã¯ãªããã¨æã£ã¦ãã¾ãã
å社ã®ã¢ããªããã¼ã¯ã¢ã¼ãã«å¯¾å¿ãå§ããã¨ãéã«å¯¾å¿ãã¦ããªãã¢ããªãç®ç«ã¤ããã«ãªã£ã¦ãã¾ãããªããªããã¼ã¯ã¢ã¼ãã«å¯¾å¿ãã¦ããªãï¼ç¹ã«ç½èæ¯ã®ï¼ã¢ããªã¯ç©ããæããããã§ããããã¯ãã¼ã¯ã¢ã¼ããæç¨ãã¦ãã人ããããã¨ããªãã®ãã¤ãã¹ã¤ã¡ã¼ã¸ã§ãã
ä»åã¯ãiOSã¢ããªã§ãã¼ã¯ã¢ã¼ãã«ã¤ãã¦è¨è¨ããã«ããã£ã¦èãããã¨ãç¥ã£ã¦ããã¹ããã¨ãå®éã«å®è·µãã¦ã¿ããã¨ãä¸å¿ã«ç´¹ä»ãããã¨æãã¾ããiOS13ã®ãªãªã¼ã¹ã«åãã¦ãããã対å¿ãããã¨æã£ã¦ããæ¹ã«ãåèã«ãªãã°å¹¸ãã§ãã
- æ¦è¦
- iOSã®DarkMode Colorã®è¨è¨ã«ã¤ãã¦
- Androidï¼Material Designï¼ã®DarkTheme Colorã®è¨è¨ã«ã¤ãã¦
- è²ã®ã³ã³ãã©ã¹ãã®åºæ¬
- Accessibilityã«ãããå½éçãªåºæº
- ãµã¼ãã¹ã«åã£ãè²å³ã®ããã°ã¬ã¼
- æ度ãå©ç¨ãã¦è¦è¦å¹æãèããDesign
- DarkModeã§ã¯ã¨ã«ããç©ãããªããã³ã³ãã³ãã«éä¸ã§ããããã«è¨è¨ãã
- ãã¼ã¯ã¢ã¼ããã¶ã¤ã³ã®å®è·µ
- ä»ç¤¾ã¢ããªã®ãã¼ã¯ã¢ã¼ãèå¯
- ã¾ã¨ã
- åèãªã³ã¯
iOSã®DarkMode Colorã®è¨è¨ã«ã¤ãã¦
DarkModeã«ã¤ãã¦ã¯Appleã®Human Interface Guidelinesï¼ä»¥ä¸ãHIGãï¼ã«ããã§ã«è¿½å ããã¦ãã¾ããã¾ãããã«åããã¦ãAppleã¯ãã¼ã¯ã¢ã¼ãã«ã対å¿ããã«ã©ã¼ã»ãããæä¾ãã¦ãã¾ãã
iOSã§ã®ãã¼ã¯ã¢ã¼ãã®å®è£
ã¯ä¸ã¤ã®è²ã«å¯¾ãã¦ãLightModeã¨DarkModeã®ããããã®å ´åã®è²ãå®ç¾©ãããããªã¤ã¡ã¼ã¸ã§ä½ããã¦ãã¾ããã¤ã¾ããTextColorã¨ããè²ããã£ãã¨ãã¦LightModeã§ã¯RGB: 51, 51, 51
ãDarkModeã§ã¯RGB: 204, 204, 204
ã¨ããããã«ããããã®è²ãå®ç¾©ãã¦ããã¦ãã¨ã¬ã¡ã³ãã«å¯¾ãã¦ã¯TextColorã使ãã¨ãã¦ããæãã§ãã
ãã¶ã¤ãã¼ããã¼ã¯ã¢ã¼ããèæ ®ããã¢ããªãèããå ´åã¯ãã¨ã³ã¸ãã¢ã¨ã³ãã¥ãã±ã¼ã·ã§ã³ããéã«ãã®ãããã®ãã¨ãèæ ®ãã¦ãããã¨ã大äºããã ã¨èãã¦ãã¾ãã
Appleã®æä¾ãã¦ããã«ã©ã¼ã»ããã«ã¯åºæ¬çãªè²ã®ã»ããã®System Colorsã¨ãUIã¨ã¬ã¡ã³ããã¨ã«ç¨æããã¦ããDynamic System Colorsãããã¾ãã
System Colorsã®ã»ãã¯æ±ç¨çã«ä½¿ç¨ã§ããè²ã§ãããDynamic System Colorsã¯ç¹å®ã®UIã¨ã¬ã¡ã³ãã«ä½¿ç¨ãããã¨ãåæã¨ãã¦ãã¾ããç¾ç¶ç¨æããã¦ããè²ã¯Documentã®UI Element Colorsã§ç¢ºèªãããã¨ãã§ãã¾ãã大ã¾ãã«åãã¦LabelãPlaceholder TextãFIll ColorsãBackgroundãGrouped BackgroundãSeparatorãLinkãããã®è²ãç¨æããã¦ãã¾ãã
Grouped Backgroundã¨ããã®ã¯ã»ã¯ã·ã§ã³ã§åºåã£ããTable Cellã§ãªã¹ã表示ããããããããªç»é¢ã§ä½¿ãè²ã§ããè¨å®ç»é¢ãã¤ã¡ã¼ã¸ããããã§ããã
WWDC2019ã§ã¯SF Symbolsã¨ããã¢ããªã§å©ç¨ã§ããæ±ç¨çãªã¢ã¤ã³ã³ã®ã°ãªãã»ãããçºè¡¨ããã¾ãããSF Symbolsã¯ã·ã³ãã«ãã©ã³ãã¨åããããªãã®ã¨ç解ãã¦ããã ããã°ããã¨æãã¾ãã SF Symbolsãå©ç¨ãããã¨ã§ããã¼ã¯ã¢ã¼ã対å¿ã¯ä¸å±¤ããããããªãã®ã§ãHIGã«ãå¯è½ãªéãSF Symbolsã使ã£ãã»ããè¯ãã§ããã¨æ¸ããã¦ãã¾ãã
ã¢ã¤ã³ã³ã«é¢é£ãã話ã§ããã°ãLightModeã¨DarkModeã§ã¯ã¢ã¤ã³ã³ã®è¦ãæ¹ãå¤ãã£ã¦ããå¯è½æ§ãããã®ã§æ³¨æããã¨ãHIGã«ã¯æ¸ããã¦ãã¾ãã
Design individual glyphs for light and dark appearances when necessary. A glyph that uses a hollow outline in light mode might look better as a solid, filled shape in Dark Mode.
LightModeã§ä¸ç©ºã®ã¢ã¦ãã©ã¤ã³ã ãã®ã¢ã¤ã³ã³ã¯ãDarkModeã§ã¯å¡ãã¤ã¶ãã®ããã«è¦ãããã¨ãããã®ã§ãå¿ è¦ã«å¿ãã¦ã¢ã¼ãå¥ã«èããã»ããè¯ãã¨ã®ãã¨ã§ãã
Androidï¼Material Designï¼ã®DarkTheme Colorã®è¨è¨ã«ã¤ãã¦
ä»åã¯iOSã¢ããªéçºã«ããã¦ã®å®è·µã«ã¤ãã¦ç´¹ä»ãã¾ãããAndroidã®ã»ããåèã¾ã§ã«ç´¹ä»ãã¦ããã¾ãã
Androidã®Material Designã§ã以åãããã¼ã¯ã¢ã¼ãï¼DarkThemeã¨å¼ã°ãã¦ããï¼ãæä¾ããã¦ãã¾ãã ããããç´°ããªãã¨ã¯Material Designã®ããã¥ã¡ã³ããèªãã§ããã ããã°ã¨æãã¾ãããiOSã¨ã¯å°ãéãé¨åã«ã¤ãã¦ç´¹ä»ãããã¨æãã¾ãã
Material Designã®ããã¥ã¡ã³ãã®åèç»åã§ã¯ãããæ½è±¡çãªã¬ãã«ã§ãã¼ããã¨ã®è²ãå®ç¾©ãã¦ããããã§ããã iOSã§ã¯èæ¯ã®è²ã ãã§ãPrimary, Secondary, Tertiaryã¨ç¨æãã¦ãã¾ãããããã£ããBackgroundã¨ã²ã¨ã¾ã¨ãã«ãã¦ãã¾ãã
ããã§ã¯ã©ã®èæ¯ãåãè²ã«ãªã£ã¦ãã¾ãã¨ããã§ãããAndroidã§ã¯Elevationï¼é«ãï¼ã®æ¦å¿µã«ãã£ã¦ã¨ã¬ã¡ã³ãã®è²ã«å¤åããããã¦ãã¾ãã
Materialãã¶ã¤ã³ã§ã¯ç´ã®ãããªãããªã¢ã«ãã¬ã¤ã¤ã¼ã®ããã«éãã¦é ç½®ãããããªUIã«ãªã£ã¦ãã¾ããèæ¯ãä¸çªä½ãä½ç½®ã«ãã£ã¦ããã®ä¸ã«ã«ã¼ãããã¿ã³ãé ç½®ãã¦ãããããªã¤ã¡ã¼ã¸ã§ãããã®ã¨ãã«ã¼ãããã¿ã³ã¯å¿ ãèæ¯ã¨ã¯éãé«ãï¼ãã¨ãã°èæ¯ã0dpã®é«ãã§ã«ã¼ãçã¯1dpã®é«ãï¼ã§ããå¿ è¦ãããã¾ãããããããã¥ã¡ã³ãã§ã¯Elevationã¨ããã»ã¯ã·ã§ã³ã§èª¬æãã¦ãã¾ãã
LightThemeã®å ´åã¯ElevationãShadowã«ãã£ã¦è¡¨ç¾ãã¦ãã¾ããããããDarkThemeã§ã¯è²ã§è¡¨ç¾ãã¦ãã¾ãã DarkThemeã§ã¯é«ããä¸ã«ãªãã»ã©ãå æºã«è¿ã¥ãããæãããªãã¨ããèãæ¹ã§ãã
Material Designã®ããã¥ã¡ã³ãã§ã¯é«ããã¨ã«ã©ããããæããããããæ確ã«å®ãããã¦ãã¾ãã
å®ã¯Appleã®å ´åãä¼¼ããããªæ¦å¿µã§èãããã¦ãã¦ããã¼ã¯ã¢ã¼ãã®å ´åã¯Shadowã使ããªããä¸ã®ã¬ã¤ã¤ã¼ã«ããã¨ã¬ã¡ã³ããæããããã¨ãã£ãèãã§ä½ããã¦ãã¾ãããããããã¯iOSã®HIGã«ã¯æ確ã«æ¸ããã¦ããããWWDCã®ã»ãã·ã§ã³åç»å ãªã©ã§ç¢ºèªã§ããæ å ±ã§ãã
https://developer.apple.com/videos/play/wwdc2019/214developer.apple.com
è²ã®ã³ã³ãã©ã¹ãã®åºæ¬
è²ã®ã³ã³ãã©ã¹ãã«é¢ãã¦ã¯ãã¼ã¯ã¢ã¼ãã«éã£ã話ã§ã¯ããã¾ãããããã¡ãã¨ç解ããä¸ã§è²ã®è¨è¨ãè¡ãå¿ è¦ãããã¾ããã³ã³ãã©ã¹ãã¯å¼±ãããããå¼·ãããããã¨ããã®ã大åã§ãã
åå¿è ã«ãããã¡ãªé è²ã§ã¯ãã¾ã£é»ï¼RGB: 0, 0, 0ï¼ãã¾ã£ç½ï¼RGB: 255, 255, 255ï¼ããããã¨ä½¿ãããã§ããã¾ã£é»ãã¾ã£ç½ã¯ã©ããã¦ãã³ã³ãã©ã¹ããå¼·ããªãããã¦ç®ãç²ãããããªã£ã¦ãã¾ãã®ã§ããããªããªãããã«è¦æ¥µããªãã使ãã¾ãããã åºæ¬çã«ã¯ã°ã¬ã¼ã®æ¿æ·¡ããã¾ã使ã£ã¦è²ã®è¨è¨ãè¡ãã®ã大åã§ãã
æ彩è²ã®å ´åã¯è²ç¸ã«ãã£ã¦æããã®è¦ãæ¹ãå¤ãã£ã¦ãããã¨ãç解ããä¸ã§è¨è¨ããå¿ è¦ãããã¾ããåºæ¬çã«è²ç¸ç°ã®ä¸ã§éã¯æãæ度ãä½ããé»è²ã¯æãæ度ãé«ãè¦ããè²ã§ãã ä¾ãã°HSBã«ã©ã¼ã§æ°å¤ä¸ã¯åãæ度åã彩度ã§ãã£ã¦ããè²ç¸ã«ãã£ã¦æããã®è¦ãæ¹ã¯å¤ãã£ã¦ãã¾ãã
PCCS表è²ç³»ã§ã¯è²ç¸ãã¨ã®æ度ããããã³ã°ãããã£ã¼ããæä¾ãã¦ãã¾ãããããã¯ããã¾ã§ã主ã«å°å·ã«ãããã«ã©ã¼ãåæã¨ãã¦ããã¨ãããããã¾ãã ã¢ããªãWebãµã¼ãã¹ã®ããã«ãã£ã¹ãã¬ã¤ã§è¡¨ç¤ºãããè²ç¸ã®å ´åã¯PCCSã¨ã¯å°ãç°ãªã£ããã£ã¼ãã«ãªãã¾ãã
ããã¯ç§ãæè¦çã«è¡ã£ã¦ä½ã£ããã£ã¹ãã¬ã¤ã«ãããè²ç¸ãã¨ã®æ度ã®ãã£ã¼ãã§ããããããããã¯ãã£ã¹ãã¬ã¤ã®çºè²ãè¨å®ã«ãã£ã¦å¤ãã£ã¦ãã¦ãã¾ãã¾ãã®ã§ã常ã«æ£ãããã®ã§ã¯ããã¾ããã
ããã§è¨ãããã®ã¯ãè²ç¸ã«ãã£ã¦è²ã®æ度ã®è¦ãæ¹ã¯ãããªã«ã大ããéãã¨ãããã¨ã§ãã é常ã®è²ã®è¨è¨ã®ã¨ãã¯ãã¡ããããã¼ã¯ã¢ã¼ããèããéã«ããã®è²ã®æ度ã®è¦ãæ¹ã®éããç解ããä¸ã§è²ã®è¨è¨ãè¡ãã¾ãããã
Accessibilityã«ãããå½éçãªåºæº
Appleã®HIGã«ãAccessibilityçãªè¦³ç¹ããContrast Ratioï¼ã³ã³ãã©ã¹ãæ¯ï¼ããã以ä¸ã«ãªãããã«â¦ãªã©ã¨ãã£ãè¨è¿°ãããã¦ãã¾ããããã®ã³ã³ãã©ã¹ãæ¯ã«é¢ãã¦ã¯å½éçãªåºæºã§å®ãããã¦ãã¾ãã
å ·ä½çã«ã¯Web Content Accessibility Guidelines (WCAG) 2.0ã«ã¦å¤§ããï¼æ®µéã®ã³ã³ãã©ã¹ãæ¯ã«ã¤ãã¦è¨ãã¦ããã¾ãã
ã³ã³ãã©ã¹ãæ¯ã¯æ°åã大ãããªãã»ã©ã³ã³ãã©ã¹ããå¼·ããªãã¾ãï¼æ大21:1ï¼ãæåãµã¤ãºã«ãã£ã¦æä½éã®ã³ã³ãã©ã¹ãæ¯ãå®ãããã¦ãã¾ããå°ããªæåã«ããã¦ã¯Level AAã¨Level AAAã¨ããï¼ã¤ã®åºæºã«ã¤ãã¦æè¨ããã¦ãã¾ãã Level AAã¨Level AAAã®ã©ã¡ãã®åºæºã§å¯¾å¿ãã¹ããã¨ããã®ã¯ãã¢ããªããµã¼ãã¹ã®å±æ§ãéçºè ã®å¤æã«ãã£ã¦ãç°ãªã£ã¦ãããã§ãããæä½é4.5:1ã¯æ ä¿ãã¤ã¤ã7:1ãåªåç®æ¨ã¨ããã®ãè¯ãã§ãããã
ç·åçãçºè¡¨ãã¦ããWebã¢ã¯ã»ã·ããªãã£ã«ããããã¿ããªã®å ¬å ±ãµã¤ãéç¨ã¬ã¤ãã©ã¤ã³ï¼2016å¹´çï¼ãã§ããå ¬çæ©é¢ã«å¯¾ãã¦ã¬ãã«AA対å¿ãæ¨å¥¨ãã¦ãããä¼æ¥ãµã¤ãã§ã¯Aããããã¯AAã®ä¸é¨ã«æºæ ãããã¨ãä¸è¬çã¨ããã¦ãã¾ãã®ã§ãã¾ãã¯ã¬ãã«AAã®å¯¾å¿ãããã¨ãå¿ è¦ã§ãããã
Contrast Ratioã®èª¿ã¹æ¹ã»æ±ãæ¹
ã³ã³ãã©ã¹ãæ¯ã®è¨ç®æ¹æ³ã¯WCAG 2.0ã«è¨è¼ããã¦ãã¾ãããç¡æã§å©ç¨ã§ããWebãµã¼ãã¹ãæä¾ããã¦ããã®ã§ããã使ãã¨è¯ãã§ãããã
ãContrast Ratioãã§æ¤ç´¢ããã¨ããããåºã¦ãã¾ãããä¾ãã°https://contrastchecker.com/ã使ããããã¨æãã¾ããåºæ¬çã«ã¯èæ¯è²ã¨æåè²ãè¨å®ããã¨èªåçã«ã³ã³ãã©ã¹ãæ¯ã表示ãããã¨ãããã®ã§ãã Level AAåºæºãæºããã¦ããããLevel AAAåºæºãæºããã¦ãããããããããã表示ãã¦ããããã®ã使ãã¨è¯ãã§ãã
åèã¾ã§ã«WCAG 2.0ã«è¨è¼ããã¦ããè¨ç®æ¹æ³ãè¨è¼ãã¦ããã¾ãã
Luminanceã®è¨ç®
æãæãé»ã0ã«ãæãæããç½ã1ã«æ£è¦åããè²ç©ºéå ã®ä»»æã®ç¹ã®ç¸å¯¾çãªæããã®ãã¨ãRelative Luminanceï¼ç¸å¯¾è¼åº¦ï¼ã¨ãã¦å®ç¾©ãã¦ãã¾ãã ç¸å¯¾è¼åº¦ã¯ããããHSBã«ã©ã¼ã§è¡¨ããããããªæ度ã¨ã¯éããè¦è¦çãªè¦ãæ¹ã«è¿ãæ°å¤ã表ããã®ã§ããã¨èãããã¾ãã
For the sRGB colorspace, the relative luminance of a color is defined as L = 0.2126 * R + 0.7152 * G + 0.0722 * B where R, G and B are defined as: if RsRGB <= 0.03928 then R = RsRGB/12.92 else R = ((RsRGB+0.055)/1.055) ^ 2.4 if GsRGB <= 0.03928 then G = GsRGB/12.92 else G = ((GsRGB+0.055)/1.055) ^ 2.4 if BsRGB <= 0.03928 then B = BsRGB/12.92 else B = ((BsRGB+0.055)/1.055) ^ 2.4 and RsRGB, GsRGB, and BsRGB are defined as: RsRGB = R8bit/255 GsRGB = G8bit/255 BsRGB = B8bit/255
Source: https://www.w3.org/TR/WCAG20/#relativeluminancedef
æ¥æ¬èªï¼https://waic.jp/docs/WCAG20/Overview.html#relativeluminancedef
Contrast Ratioã®è¨ç®
ã³ã³ãã©ã¹ãæ¯ã¯ã1ï½21ã®ç¯å²ï¼1:1ï½21:1ï¼ã®å¤ã«ãªãã¾ãã è¨ç®å¼ã§ã¯L1ãæããè²ãL2ãæãè²ã¨ãªãããã«å½ã¦ã¯ããå¿ è¦ãããã¾ãã
Contrast Ratio = (L1 + 0.05) / (L2 + 0.05), where L1 is the relative luminance of the lighter of the colors, and L2 is the relative luminance of the darker of the colors.
Source: https://www.w3.org/TR/WCAG20/#contrast-ratiodef
æ¥æ¬èªï¼https://waic.jp/docs/WCAG20/Overview.html#contrast-ratiodef
ãµã¼ãã¹ã«åã£ãè²å³ã®ããã°ã¬ã¼
ã°ã¬ã¼ã«ãè²ã ããã¾ããTwitterãFacebookãªã©æ®æ®µä½¿ã£ã¦ãããµã¼ãã¹ãããè¦ã¦ã¿ãã¨æ§ã ãªã°ã¬ã¼ã使ããã¦ãããã¨ããããã¾ãã
éã¿ããã£ãã°ã¬ã¼ã¯ã¾ããã§ã·ã¹ããããã¯ãªå°è±¡ãä¸ãããã赤ã¿ã帯ã³ãã°ã¬ã¼ã¯æ¸©ãã¿ãããåªããå°è±¡ã«ãªãã¾ãã
ã¢ããªã®ã¤ã¡ã¼ã¸ãç¨éã«ãã£ã¦ã°ã¬ã¼ã®è²ã使ãåãã¦ãã¶ã¤ã³ããã¨è¯ãã§ãã
æ度ãå©ç¨ãã¦è¦è¦å¹æãèããDesign
Material Designã®ç¯ã§ãæ¸ãã¾ãããããã¼ã¯ã¢ã¼ãã§è²ãè¨è¨ããéã«ã¯ã¬ã¤ã¤ã¼æ§é ãæèããã¨è¦è¦çã«ããããããããªãã¾ãã
å ·ä½çã«ã¯ã¬ã¤ã¤ã¼æ§é ã§èããå ´åã«æåã«ããUIã¨ã¬ã¡ã³ãã»ã©æããããã¨ãã£ãã¤ã¡ã¼ã¸ã§ãã
åãUIã§è²ã®ã¿ãå¤ããï¼ç¨®é¡ãæ¯ã¹ã¦ã¿ãã¨ãã©ã¡ãããã£ããã¨ã¨ã¬ã¡ã³ãã®é åãè¦åããã¤ãä¸æ¹ãå·¦å´ã®ã»ããUIã¨ã¬ã¡ã³ãã®éãªããè¦è¦çã«ãããããããå°è±¡ã«ãªãã¾ãã
DarkModeã§ã¯ã¨ã«ããç©ãããªããã³ã³ãã³ãã«éä¸ã§ããããã«è¨è¨ãã
åé ã§æ¸ããããã«ãã¼ã¯ã¢ã¼ãã§ã¯ç©ãããªããªãããã«æ°ãã¤ããå¿ è¦ãããã¾ããä¾ãã°ãé常æï¼LightModeï¼ã§ã¯ã³ã³ãã³ãã®ã°ã«ã¼ãã«ã«ã©ãã«ãªèæ¯ã使ç¨ãã¦ã楽ãããæ¼åºãã¦ãããããªã¢ããªã®å ´åããã¼ã¯ã¢ã¼ãã§ãåãããã«ãã¦ãã¾ãã¨ç©ãããªãããã¦ãã¾ãå¯è½æ§ãããã¾ãã
ãã®ãããªå ´åã¯èæ¯ï¼å¡ãï¼ã®è²ãã°ã¬ã¼ã¹ã±ã¼ã«ã§æããã«ãã¦ãããã¹ããªã©ã®ã³ã³ãã³ããã«ã©ãã«ãªå±éã«ããã¨è¯ãã¨æãã¾ãã
ãã¼ã¯ã¢ã¼ããã¶ã¤ã³ã®å®è·µ
ç§ã¯æ®æ®µSketchãFigmaã¨ãã£ããã¶ã¤ã³ãã¼ã«ã使ç¨ãã¦ã¢ããªã®UIã¤ã¡ã¼ã¸ãä½æãã¦ãã¾ããããããã£ããã¼ã«ããã¼ã¯ã¢ã¼ãã®ãã¶ã¤ã³ãã¼ã¿ãä½ãã®ã«é©ãã¦ããã¨ã¯å°åºæãããããªãã«ãªã£ã¦ãã¾ããã
ãããããã¼ã¿ã®ä½ãæ¹ã¨ãã¦ã¯ãé常ã®UIãä½ã£ãä¸ã§ã¢ã¼ããã¼ããã³ãã¼ãããSymbolåããä¸ã§ãè²ã ããå¤ãããã¼ã¯ã¢ã¼ãã®ã¤ã¡ã¼ã¸ãä½æããã¨ãããããªæãã ã¨æãã¾ãã
ããã§ã¯ã¨ã³ã¸ãã¢ã¯è²ã確èªããããã«ï¼ç®æãè¦æ¯ã¹ãªããä½æ¥ããå¿ è¦ãããã¾ããããã¶ã¤ã³ã®å¤æ´ã«ãå¼±ããªã£ã¦ãã¾ããã¡ã§ãã
çæ³çã«ã¯Xcodeã§ã®ä½æ¥ã¨åãããã«ãä¸ã¤ã®ãªãã¸ã§ã¯ãã«å¯¾ãã¦LightModeã¨DarkModeã®ä¸¡æ¹ã®Styleãå®ç¾©ã§ããã®ãä¸çªè¯ãã¨æãã¾ãã
ãã ãç¾ç¶ã¯ããã¯ãªã£ã¦ããªãã®ã§ããã¼ã¯ã¢ã¼ããèããéã«ä»åç§ããã£ã¦ã¿ããã¨ãç´¹ä»ãã¾ãã
ãµã¼ãã¹ã§ä½¿ç¨ããåºæ¬ã«ã©ã¼ãå®ç¾©ãã
ã¾ãã¯é常éãUIãã¶ã¤ã³ãä½æãã¦ããã¾ãããã®éããµã¼ãã¹å ã§ä½¿ç¨ããåºæ¬ã¨ãªãã«ã©ã¼ãå®ç¾©ãã¤ã¤LightModeã®ãã¶ã¤ã³ãä½ããç¶ãã¦DarkModeã®ãã¶ã¤ã³ãåãããã«ä½ãã¾ããã
ãã¤ã³ãã¨ãã¦ã¯ç»é¢åä½ã§ã¯ãªãã³ã³ãã¼ãã³ããæèãã¤ã¤ãåãã»ä¼¼ããããªã³ã³ãã¼ãã³ããã¢ããªå ã§ã§ããã ãåè²ã«ãªãããã«ãããã¨ã§ããããã¯å½ããåã®ãã¨ã§ãããç»é¢åä½ã§è¦ãªãã調æ´ãã¦ããã¨ä»ã®ç»é¢ã§ä¸é½åãåºã¦ããããããã¨ãããã®ã§ãå ¨ä½ã®æ§æãã¤ã¡ã¼ã¸ããªãããã¶ã¤ã³ãããå¿ è¦ãããã¾ãã
ä»åç§ã®å ´åã¯åºæ¬ã«ã©ã¼ãèããå¢ããããªãããã«ãLightModeã¨DarkModeã§å ±éã®ã«ã©ã¼ãã¬ããä½æãã¦ä½¿ç¨ãã¾ãããæçµçã«ã¯iOSã®HIGã§è¦ããããããªãä¸ã¤ã®è²åã«ï¼ç¨®é¡ã®è²ãå®ç¾©ãããããªå½¢ã«ãã¾ãã
UIã¨ã¬ã¡ã³ãå¥ã®è²ãå®ç¾©ãã
åºæ¬ã«ã©ã¼ã§ä½ã£ã¦ãããã¶ã¤ã³ãã¼ã¿ãUIã¨ã¬ã¡ã³ãå¥ã®è²ã«ç½®ãæãã¦ããã¾ããã©ã®ãããªè²åã«ãããããã©ãã¾ã¨ãã¦ãããã¯iOSã§æä¾ããã¦ããUI Element Colorsãåèã«ãã¾ããã
ããã§å°ããã¨ã¨ãã¦ã¯SketchãFigmaã¨ãã£ããã¶ã¤ã³ãã¼ã«ã¯è²ã使ãåããã¹ã¿ã¤ã«ï¼å¤æ°ï¼ã¨ãã¦å®ç¾©ã§ãããã®ã®ãããããã¹ããã¦ä½¿ããã¨ãã§ããªãã¨ããç¹ã§ãã
ä¾ãã°ãLightGrayï¼RGB: 153, 153, 153ï¼ã¨ããåºæ¬ã«ã©ã¼ãå®ç¾©ãã¦ããããButtonFillã¨ããUIã¨ã¬ã¡ã³ãã®ã«ã©ã¼ã«ä½¿ç¨ããã¨ãã¾ãããã®ã¨ãButtonFillã«ã¯LightGrayã¨ããè²ãå²ãå½ã¦ããã¨ã¯ã§ãããRGB: 153, 153, 153
ã®è²ã¨ãã¦å®ç¾©ããªããã°ãªãã¾ããã
åºæ¬ã«ã©ã¼ãå¤æ´ããå¿
è¦ããã£ãå ´åã«ã¯ãããã使ç¨ãã¦ããUIã¨ã¬ã¡ã³ãã®ã«ã©ã¼ããã¹ã¦å¤æ´ããå¿
è¦ãããã®ã§é¢åã§ãã
æ£ç´ããã«é¢ãã¦ã¯ç¾ç¶ãã¼ã«ãã¢ãããã¼ããã¦æ¹åãããã®ãå¾ ã¤ãããªããã¨æãã¾ãâ¦ã
ããä¸ã¤ã®åé¡ã¯è²ã®ç®¡çã大å¤ã«ãªãã¨ãããã¨ã§ããã©ã®è²ã«LightGrayãå²ãå½ã¦ãã®ãã¨ããã®ããã¹ã¦ææ¡ãã¦ç½®ããªããã°ãå¤æ´ãå¿ è¦ã«ãªã£ãã¨ãã«ä¸ã¤ä¸ã¤è¦ç´ãå¿ è¦ãåºã¦ãã¦ãã¾ãã¾ãã
ããã«é¢ãã¦ã¯ãä»åGoogle Spreadsheetã§è¡¨ãä½ã£ã¦ç®¡çãããã¨ã«ãã¾ããã
ã©ã®UIã¨ã¬ã¡ã³ãã«ã©ã¼ãã©ã®åºæ¬ã«ã©ã¼ã«å¯¾å¿ãã¦ããã®ããä¸è¦§ã§è¦ããã¨ãã§ãã¾ããã¨ã³ã¸ãã¢ã¯ãã®ãªã¹ãããã¨ã«è²ãå®ç¾©ãã¦ããã°ããã¨ã¯ãã¶ã¤ã³ã§ä½¿ç¨ããã¦ããè²ã確èªãã¦ãå®ç¾©ããè²ãé¸æããã ãã§ãã¿ã¾ãã
ã¾ããåºæ¬ã«ã©ã¼ã®å¤æ´ãå¿ è¦ã«ãªã£ãå ´åã«ããã©ã®è²ãå¤æ´ããå¿ è¦ãããã®ããã²ã¨ç®ã§ç¢ºèªã§ãã¾ãã
æ£ç´ããããã¹ããªæ¹æ³ã ã¨ã¯æãã¾ããããç¾ç¶ã¯ãã®ãããªä½æ¥ããããããªãã®ããªã¨â¦ã
ãã£ã¨ããæ¹æ³ãç¥ã£ã¦ããã»ãã£ã¦ã¿ãã¨ããæ¹ããã¾ãããããã²ã³ã¡ã³ãçã§æãã¦ã»ããã§ãï¼
ä»ç¤¾ã¢ããªã®ãã¼ã¯ã¢ã¼ãèå¯
åèã¨ãã¦ã2019å¹´ï¼æç¾å¨ã§ãã¼ã¯ã¢ã¼ããç¨æãã¦ããã¢ããªãç´¹ä»ãããã¨æãã¾ãã
ãã¼ã¯ã¢ã¼ããç¨æãã¦ããã¢ããªã®ç¹å¾´ã¨ãã¦ã¯ãã³ã³ãã³ãã®è¦è´ãã¡ã¤ã³ã¨ããã¢ããªãå¤ãããã«æãã¾ããä»ã®ã¢ããªã§ãã³ã³ãã³ããã¡ã¤ã³ã«èããã®ã¯éè¦ã§ãããåç»ã®è¦è´ã§ãã£ããæç« ãèªããã¨ãã¡ã¤ã³ã¨ãã¦ããã¢ããªã¯ãããä¸å±¤ã³ã³ãã³ãã«éä¸ããããã¨ã大åã ã¨èããããã§ãã
SNSã»ã³ãã¥ãã±ã¼ã·ã§ã³
Twitterã¯ãã©ã³ãã«ã©ã¼ã®æ°´è²ããã¾ãåæ ãããã¼ã¯ã¢ã¼ãã®èæ¯è²ã使ç¨ãã¦ãã¦ããã¾ããã©ã³ãã®å°è±¡ãä¿ã£ã¦ããããã«æãã¾ãã
Facebook Messengerã«é¢ãã¦ã¯ãæ£ç´èæ¯ãé»ã«ãã¦ããã¹ããç½ã«ããã ãã¨ãã£ãå°è±¡ã§ããã¾ãåãå ¥ãããã¦ããªãå°è±¡ã§ãã Slackã«é¢ãã¦ããèæ¯è²ããçã£é»ã§ã¯ããã¾ãããããã以å¤ã®Separatorã¨ãã£ãè¦ç´ ã¯ãã£ã¨èª¿æ´ã§ããä½å°ãããã®ã§ã¯ã¨ããæãã§ãã
Video/Photo Contents
YoutubeãUnsplashã¯ãã¾ãã³ã³ãã³ããå¼ãç«ã¤ãããªè²å½©è¨è¨ãã§ãã¦ããããã«æãã¾ãã
Twitchã¯Twitterã¨åãããã«ããã©ã³ãã«ã©ã¼ããã¾ãçããããã¼ã¯ã¢ã¼ãã«ãªã£ã¦ãã¦å¥½å°è±¡ã§ããã
Text Contents
MediumãFeedlyã¯ããã¹ããã¡ã¤ã³ã®ã¢ããªã§ãããããã«é æ ®ããããã¼ã¯ã¢ã¼ãã®ãã¶ã¤ã³ã«ãªã£ã¦ãã¾ãã Wikipediaã¯ãªãã¨ï¼æ®µéã®ã«ã©ã¼åæ¿ããããããã©ã«ãã»ã»ãã¢ã»ãã¼ã¯ã»é»ãç¨æããã¦ãã¾ãï¼ãããï¼ï¼
ã¾ã¨ã
ä»åã¯ãã¼ã¯ã¢ã¼ãã«é¢ãããã¨ãä¸å¿ã«ç´¹ä»ãã¾ããããã¢ããªã®è²å½©è¨è¨ã«ãããåºæ¬çãªãã¨ãæ£ãã°ããªããæ¸ãã¾ãããè²å½©ã¯å¦åã¨ãã¦ã¯åºã横æãããããªåéã§ãèªç¶ç¾è±¡ã¨ãã¦ã®ãç©çå¦ãã人工çã«åç¾ããããã®ãå·¥å¦ããè¦è¦çã«åãåãã¨ãã®ãççå¦ããææ çã«ã©ãæããã®ãã¨ãããå¿çå¦ãã¨ããããã«è¤æ°ã®åéã«é¢é£ãã¾ãã
é常ã«ãããããå¦åã®åéã§ããããã¶ã¤ãã¼ã¨ãã¦ã¯å¿ é ã®ç¥èã ã¨æãã¾ãã®ã§ããã²ãã®æ©ä¼ã«å¦ãã§ã¿ãã¨è¯ãã¨æãã¾ãã
ç§ãå¦çæ代ã«å¦ãã§ããè²å½©å¦æ¦èª¬ã¨ããæ¬ã¯ä»ã§ãååã«åèã«ãªãæ¬ãªã®ã§ãèå³ãããæ¹ã¯èªãã§ã¿ã¦ãã ããã
åèãªã³ã¯
- https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/dark-mode/
- https://developer.apple.com/design/human-interface-guidelines/ios/visual-design/color/
- https://developer.apple.com/design/human-interface-guidelines/accessibility/overview/color-and-contrast/
- https://developer.apple.com/documentation/uikit/uicolor/ui_element_colors
- https://developer.apple.com/videos/play/wwdc2019/214/
- https://material.io/design/color/dark-theme.html
- https://material.io/design/environment/elevation.html
- https://www.w3.org/TR/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html
- https://waic.jp/docs/UNDERSTANDING-WCAG20/visual-audio-contrast-contrast.html
- https://www.concentinc.jp/design_research/2018/03/btobcommunications-web-accessibility/
- http://www.soumu.go.jp/main_sosiki/joho_tsusin/b_free/guideline.html