TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Dark Side of the Mac: Appearance and Materials

187 pointsby psionidesalmost 7 years ago

5 comments

makecheckalmost 7 years ago
Frankly, I’m not sure I trust Apple to support this appearance API over time. They’ve been down this road before.<p>It’s kind of funny&#x2F;sad to see how Apple operates with APIs. None of these concepts are really “new”: they were <i>there</i>, in Carbon, prior to Mac OS 8, in the days when that OS was meant to support really elaborate themes.<p>The original theme APIs were huge, and 3rd parties were expected to adopt them as needed (e.g. using appropriate theme selectors for fonts and background patterns). For about a year, things looked really cool: you could create a great Platinum-esque UI for any custom control, and it would fit right in.<p>Then, they threw it ALL away for Mac OS X, ironically right about the time when an appearance-agnostic API would make a lot of sense. They didn’t even bother to update their API implementation to ease migration: really trivial changes that would have been helpful, like “update the damned font&#x2F;color&#x2F;pattern value returned for X to resemble Aqua”, were not done. This meant that an app full of seemingly-appearance-agnostic code would look like <i>crap</i> under Aqua, and you had to <i>rip it all out</i>.<p>And it’s not like Mac OS X didn’t change its look. Heck, for a <i>long</i> time you could find 3rd party app bundles chock full of images that were there <i>just</i> to implement the Apple-Look-and-Feel-of-the-Week, because the SDK didn’t offer <i>any</i> reasonable way to do half of what they came up with.<p>So yeah, <i>14 versions later</i>, the Mac wants to be appearance-agnostic again. Sounds great. My advice: always have the option of doing your own UI as a backup.
评论 #17483978 未加载
评论 #17481841 未加载
评论 #17481806 未加载
评论 #17481864 未加载
评论 #17481796 未加载
评论 #17483454 未加载
TheAceOfHeartsalmost 7 years ago
I haven&#x27;t tried the latest macOS beta yet, but I remember a few years back finding a minor bug related this: neither Chrome nor Safari handled appearance &#x2F; highlight color changes correctly. If I remember correctly, I think changing the value wouldn&#x27;t be completely reflected on any open page until you either refreshed the page or restarted the app; it was one of those two, but I don&#x27;t remember which. Funny enough, I think some colors did change correctly, but not all. Admittedly, I tested this out using CSS System Colors, which is sadly deprecated.<p>I vaguely recall finding a few bugs with Finder as well, where if you switched back and forth it wouldn&#x27;t update all colors correctly. Of course, it worked fine after restarting the app... But if Apple&#x27;s own apps have bugs relating to this, it wouldn&#x27;t surprise me if it&#x27;s a common problem for other third-party apps.<p>Another thing people might wanna try out relating to macOS appearance is going to System Preferences -&gt; Accessibility -&gt; Display, and enabling &quot;Increase contrast&quot;. It makes some colors look a bit uglier, but I really love how it makes all UI elements stand out. For anyone that doesn&#x27;t have macOS, or is too lazy to try it out, here&#x27;s two comparison pictures:<p>* Default appearance: <a href="https:&#x2F;&#x2F;imgur.com&#x2F;W93o3Md" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;W93o3Md</a><p>* Increased contrast: <a href="https:&#x2F;&#x2F;imgur.com&#x2F;oocjMPs" rel="nofollow">https:&#x2F;&#x2F;imgur.com&#x2F;oocjMPs</a><p>A bit tangential... I&#x27;m hoping that at some point you can use a media query on the browser to test for this value. For example, there&#x27;s already prefers-reduced-motion [0] on WebKit. I&#x27;ve definitely seen a GitHub issue at some point suggesting that a similar media query be added for users that prefer higher contrast interfaces, but I can&#x27;t find it at the moment. Unfortunately when I last checked it didn&#x27;t seem like there was much interest; as usual, accessibility features seem to take a backseat with many browser vendors.<p>[0] <a href="https:&#x2F;&#x2F;webkit.org&#x2F;blog&#x2F;7551&#x2F;responsive-design-for-motion&#x2F;" rel="nofollow">https:&#x2F;&#x2F;webkit.org&#x2F;blog&#x2F;7551&#x2F;responsive-design-for-motion&#x2F;</a>
评论 #17481865 未加载
评论 #17482537 未加载
jameshartalmost 7 years ago
&quot;Dark Side of the Mac&quot; is a blast from the shareware past... <a href="http:&#x2F;&#x2F;www.poubelle.com&#x2F;DarkSide.html" rel="nofollow">http:&#x2F;&#x2F;www.poubelle.com&#x2F;DarkSide.html</a>
评论 #17483285 未加载
tzaholaalmost 7 years ago
There should be a dumbed down version of this page to explain designers (and sometimes managers...) why the app is not using the exact #353535 grey they’ve specified in Sketch.
shanthalmost 7 years ago
i just read it as &quot;NSA ppearance&quot;