Become a MacRumors Supporter for $25/year with no ads, private forums, and more!

MacRumors

macrumors bot
Original poster
Apr 12, 2001
56,993
19,855



safaripreviewicon.jpg
Apple today released a new update for Safari Technology Preview, the experimental browser Apple first introduced over two years ago in March of 2016. Apple designed the Safari Technology Preview to test features that may be introduced into future release versions of Safari.

Safari Technology Preview release 69 includes bug fixes and feature improvements for Safari Technology Preview release 69 includes bug fixes and feature improvements for CSS, Intersection Observer, JavaScript, Media, Web Inspector, WebRTC, Payment Request, and Storage.

Apple says that today's update also introduces a new dark appearance scrollbar when the background of a webpage is dark or the document supports dark mode.

The new Safari Technology Preview update is available for both macOS High Sierra and macOS Mojave, the newest version of the Mac operating system that was released to the public in September.

The Safari Technology Preview update is available through the Software Update mechanism in the Mac App Store to anyone who has downloaded the browser. Full release notes for the update are available on the Safari Technology Preview website.

Apple's aim with Safari Technology Preview is to gather feedback from developers and users on its browser development process. Safari Technology Preview can run side-by-side with the existing Safari browser and while designed for developers, it does not require a developer account to download.

Article Link: Apple Releases Safari Technology Preview 69 With New Dark Mode Scrollbar for Darker Webpages
 

macduke

macrumors G5
Jun 27, 2007
12,066
17,095
Central U.S.
Are they adding some kind of a hook that I as a developer can test for to see if a user's system is set to dark mode so that I can load an alternative stylesheet automatically?
 
  • Like
Reactions: Yvan256

tkermit

macrumors 68040
Feb 20, 2004
3,568
2,808
  • Like
Reactions: Yvan256

macduke

macrumors G5
Jun 27, 2007
12,066
17,095
Central U.S.
Sweet. Doing it in a media query is smart. I could just set up an extra color variables sheet for dark mode in Sass to import based on media query. Should be pretty straightforward to implement, but it will probably be a while before it's supported or standardized across all browsers. I've recently started a large web redesign at work so I'm definitely going to add this to my project list if only for myself to use, lol.
 
  • Like
Reactions: Yvan256

Graphikos

macrumors regular
Oct 26, 2007
111
369
I'm hoping there will be some standardizing of "Dark Mode" in browsers that will allow sites to style based on a user's overall system/browser preference. This would be different and preferred to automatic color inverting because it puts the control with the developers.
 
  • Like
Reactions: Yvan256

groovyd

Suspended
Jun 24, 2013
1,227
621
Atlanta
what it really needs is a full dark mode similar to what the 'Dark Mode' plugin does but better. one thing I really miss is having all software updates in the same place. having some under system prefs and the others under app store rubs me wrong.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.