1/** 2 * Early theme boot â separate file for MV3 (no inline scripts in extension HTML). 3 * Generated by scripts/generate-appearance-boot.mjs â do not edit by hand. 4 */ 5;(function () { 6 try { 7 var KEY = "siket-settings" 8 var raw = localStorage.getItem(KEY) 9 if (!raw) return 10 var parsed = JSON.parse(raw) 11 var s = (parsed.state && parsed.state.settings) || {} 12 var root = document.documentElement 13 var fonts = {"dm-sans":"'DM Sans Variable', system-ui, sans-serif","inter":"'Inter Variable', system-ui, sans-serif","roboto":"'Roboto', system-ui, sans-serif","lato":"'Lato', system-ui, sans-serif","plus-jakarta-sans":"'Plus Jakarta Sans Variable', system-ui, sans-serif"} 14 if (s.theme === 'light') root.classList.remove('dark') 15 else root.classList.add('dark') 16 if (s.accentColor) { 17 root.style.setProperty('--accent', s.accentColor) 18 root.style.setProperty('--amber', s.accentColor) 19 root.style.setProperty('--amber-dim', s.accentColor + '26') 20 } 21 if (s.font && fonts[s.font]) root.style.setProperty('--font-sans', fonts[s.font]) 22 } catch { /* noop */ } finally { 23 document.documentElement.dataset.appearanceReady = 'true' 24 } 25})()
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.