Posted in apps
2992
12:58 pm, June 9, 2021
 

how to switch chrome to dark and light mode in windows 10

So i was playing around in the settings of chrome, and I could not locate the dark and light mode switch.

Well apparently chrome looks at your windows theme and gets its settings from there.

I added a prefers dark and light mode to this site, so it will also change depending on your setting. 

Here is where you change it in windows:

Argh my eyes its so bright...

And here is this page in the light mode: So Light...

Quick change it back, just hurts my eyes too much, but hey if you prefer light mode then thats fine for you im not judging...

As soon as you change that setting in windows this page also changes! Amazing... and much better for my eye balls. 

How did i do this crazy thing? Well i found a bootstrap dark theme that supported it. Yay!

HTML

<meta name="color-scheme" content="light dark">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-dark-5@1.0.1/dist/css/bootstrap-dark.min.css" />

Bootstrap Darkmode
https://github.com/vinorodrigues/bootstrap-dark/blob/master/README.md#method-1 
https://github.com/vinorodrigues/bootstrap-dark  

In Summary, i love dark mode. But if you dont this site also supports light mode.

I will be keeping my switch on dark!

View Statistics
This Week
51
This Month
232
This Year
401

No Items Found.

Add Comment
Type in a Nick Name here
 
Search Articles
Search Articles by entering your search text above.
Welcome

This is my test area for webdev. I keep a collection of code here, mostly for my reference. Also if i find a good link, i usually add it here and then forget about it. more...

Subscribe to weekly updates about things i have added to the site or thought interesting during the last week.

You could also follow me on twitter or not... does anyone even use twitter anymore?

If you found something useful or like my work, you can buy me a coffee here. Mmm Coffee. ☕

❤️👩‍💻🎮

🪦 2000 - 16 Oct 2022 - Boots
Random Quote
In this case my anchor this week becomes driving almost 2hrs outside of Atlanta to one of my favorite hard core gyms in the world.. MetroFlex aka The Dungeon. The gym owners turn the heat way up so it becomes a fun sweat box and the gym members just watch from afar and leave me alone. I happily drive myself long distances to find MY ANCHOR. Our anchor allows us to have balance, focus and be as productive as possible. And if you're in the middle of a heavy set and your headphones start to fall off your head, like mine did here.. well.. f*ck the headphones. Let em break and fall. You can always get a new pair, but the iron ain't ever gonna lift itself.
Unknown
Random CSS Property

border-block-style

The border-block-style CSS property defines the style of the logical block borders of an element, which maps to a physical border style depending on the element's writing mode, directionality, and text orientation. It corresponds to the border-top-style and border-bottom-style, or border-left-style and border-right-style properties depending on the values defined for writing-mode, direction, and text-orientation.
border-block-style css reference