PageSourceSearch

https://www.learnbydo.ing/theme.js

js learnbydo.ing collected 2026-09-25 21:05:28 UTC 266 bytes, 5 lines download raw bytes

1if (localStorage.getItem('color-theme') === 'dark' || (!('color-theme' in localStorage) && window.matchMedia('(prefers-color-scheme: dark)').matches)) {
2  document.documentElement.classList.add('dark');
3} else {
4  document.documentElement.classList.remove('dark')
5}

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.