T3 white mode

white

You will need to install an extension such as Tampermonkey, Greasemonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install an extension such as Tampermonkey or Violentmonkey to install this script.

You will need to install an extension such as Tampermonkey or Userscripts to install this script.

You will need to install an extension such as Tampermonkey to install this script.

You will need to install a user script manager extension to install this script.

(Tôi đã có Trình quản lý tập lệnh người dùng, hãy cài đặt nó!)

Advertisement:

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install an extension such as Stylus to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

You will need to install a user style manager extension to install this style.

(I already have a user style manager, let me install it!)

Advertisement:

// ==UserScript==
// @name         T3 white mode
// @namespace    http://tampermonkey.net/
// @version      1.0
// @description  white
// @author       cyxz
// @match        https://t3.chat/*
// @icon         https://www.google.com/s2/favicons?sz=64&domain=t3.chat
// @grant        none
// @license MIT
// ==/UserScript==

(function() {
    'use strict';

    function forcifier() {
        const styleEl = document.createElement('style');
        styleEl.innerHTML = `
.flex.h-full.flex-col.border-r.border-neutral-700.bg-black{background:#f2e6d9!important;border-right:none!important}h1.flex.shrink-0.items-center.justify-between.px-3.pt-3.text-lg{padding:1rem 1.5rem}h1 a.font-light.text-neutral-200{font-weight:500;letter-spacing:-.5px;color:#9e6b43!important}h1 a,h1 button{background-color:transparent;transition:.2s}h1 a:hover,h1 button:hover{background-color:rgba(158,107,67,.15)}.relative.mt-2.flex.w-full.flex-col{margin-top:0!important}.text-neutral-400 svg,h1 svg{stroke:#9E6B43!important;stroke-width:1.25}.lucide-chevron-right,.lucide-copy,.lucide-refresh-ccw,.lucide-rocket,.lucide-sparkles,.lucide-square-pen,.lucide-zap,.message-square,.text-primary svg,[role=menuitem] svg,button[aria-label="Delete thread"] svg,button[aria-label="Pin thread"] svg{stroke:#9E6B43!important;stroke:#9E6B43!important}.my-1.flex.items-center.rounded-sm.px-2{margin:.5rem 0;border-radius:8px!important;transition:background-color .2s}.bg-\\[\\#2D2D2D\\],.hover\\:bg-\\[\\#2D2D2D\\]{background-color:rgba(255,255,255,.5)!important;color:#552e00!important}.bg-\\[\\#2D2D2D\\]:hover,.hover\\:bg-\\[\\#2D2D2D\\]:hover{background-color:rgba(255,255,255,.7)!important}input.text-ellipsis{font-weight:400;color:#552e00!important;outline:0!important;border:none!important}.hover\\:bg-neutral-700,input.text-ellipsis:focus,input.text-ellipsis:hover{background-color:transparent!important}.border-t.border-neutral-700{border-top:1px solid rgba(158,107,67,.15)!important;background:#e9d5c0}.rounded-full.ring-1.ring-neutral-600{border-radius:6px!important;border:1px solid rgba(158,107,67,.2)}.text-sm.font-medium.text-neutral-200{font-weight:500;letter-spacing:-.2px}.text-xs.text-neutral-400{font-size:.7rem;color:#9e6b43!important;font-weight:500}.\\[scrollbar-width\\:thin\\],.scrollbar{scrollbar-width:thin;scrollbar-color:#C68E58 transparent}.\\[scrollbar-width\\:thin\\]::-webkit-scrollbar,.scrollbar::-webkit-scrollbar{width:3px}.\\[scrollbar-width\\:thin\\]::-webkit-scrollbar-thumb,.scrollbar::-webkit-scrollbar-thumb{background-color:#c68e58;border-radius:3px}.scrollbar-thumb-gray-700{--scrollbar-thumb:#C68E58!important}.hover\\:scrollbar-thumb-gray-600:hover{--scrollbar-thumb:#9E6B43!important}.absolute.-right-10.top-3.z-10.hidden.md\\:flex{background:rgba(158,107,67,.15);right:-15px!important;transition:.2s;border-radius:50%}.hover\\:text-neutral-200:hover,.hover\\:text-neutral-300:hover,.mx-auto.flex.min-h-screen.max-w-\\[1200px\\].flex-col.px-4.py-6,.prose.prose-neutral.prose-invert,.prose.prose-neutral.prose-invert p,.text-2xl.font-bold.text-primary-foreground,.text-ellipsis.rounded.bg-transparent.px-2.py-1.text-sm.text-neutral-100,.text-neutral-100,.text-neutral-200,.text-neutral-300{color:#552e00!important}.hover\\:bg-neutral-700:hover,.message-square,.text-green-500,.text-muted-foreground,.text-neutral-300,.text-neutral-400,.text-neutral-500,.text-orange-500,.text-pink-400,.text-pink-500,.text-primary,.text-purple-500,.transition-colors.hover\\:text-white,button.text-neutral-400.hover\\:text-neutral-300,button[id^="radix-:r"],button[role=tab],button[type=submit]{color:#9e6b43!important}.message-square{opacity:1!important}.h-\\[100dvh\\],body{background-color:#fffcf9!important}textarea,textarea:active,textarea:focus{outline:0!important;background-color:transparent!important}.rounded-2xl.bg-\\[\\#2D2D2D\\].p-4{background-color:#f2e6d9!important;border:none;box-shadow:none;border-radius:16px!important}code,pre,textarea{border:none!important}.prose-invert{--tw-prose-body:#552E00!important;--tw-prose-headings:#552E00!important;--tw-prose-lead:#8B5E34!important;--tw-prose-links:#9E6B43!important;--tw-prose-bold:#552E00!important;--tw-prose-counters:#8B5E34!important;--tw-prose-bullets:#8B5E34!important;--tw-prose-hr:#E9D5C0!important;--tw-prose-quotes:#552E00!important;--tw-prose-quote-borders:#9E6B43!important;--tw-prose-captions:#8B5E34!important;--tw-prose-code:#9E6B43!important;--tw-prose-pre-code:#552E00!important;--tw-prose-pre-bg:#F7F3EE!important;--tw-prose-th-borders:#E9D5C0!important;--tw-prose-td-borders:#F2E6D9!important}.hover\\:bg-neutral-700:hover{background-color:rgba(158,107,67,.15)!important}.transition-colors.hover\\:text-white:hover,button.text-neutral-400.hover\\:text-neutral-300:hover{color:#c68e58!important}.bg-secondary.text-secondary-foreground{background-color:#f2e6d9!important;color:#552e00!important;border:none}.bg-secondary.text-secondary-foreground:hover{background-color:#e9d5c0!important}.text-sm.text-neutral-500{color:#8b5e34!important}code,pre{background-color:#f7f3ee!important;color:#552e00!important;border-radius:4px}.border-t.border-neutral-800.bg-neutral-900{background-color:#fffcf9!important;border-top:1px solid rgba(158,107,67,.1)!important}.rounded-lg.border.border-neutral-800.bg-neutral-900\\/50,form.relative.flex.w-full.flex-col.items-stretch.gap-2.rounded-t-xl.bg-\\[\\#2D2D2D\\]{background-color:#f7f3ee!important;border:1px solid rgba(158,107,67,.1)!important;box-shadow:0 1px 3px rgba(0,0,0,.05)!important}textarea{color:#552e00!important;border-radius:10px!important}textarea:active,textarea:focus{border:none!important;box-shadow:none!important}button[type=submit]{background-color:#e9d5c0!important;border:none!important}.data-\\[state\\=unchecked\\]\\:bg-input,button[type=submit]:hover{background-color:#e1c6ad!important}.flex.w-full.items-center.justify-between.rounded-t.bg-neutral-800.px-4.py-2.text-sm.text-neutral-300{background-color:#e9d5c0!important;color:#552e00!important;border-top-left-radius:8px!important;border-top-right-radius:8px!important;margin-bottom:0!important}.flex.w-full.items-center.justify-between.rounded-t.bg-neutral-800.px-4.py-2.text-sm.text-neutral-300+pre{margin-top:0!important;border-top-left-radius:0!important;border-top-right-radius:0!important}.flex.w-full.items-center.justify-between.rounded-t.bg-neutral-800 .font-mono{color:#9e6b43!important;font-weight:500}.bg-purple-500\\/10,.border.bg-background.border-neutral-800:hover,.border.border-input.bg-background:hover,.h-2.w-full.overflow-hidden.rounded-full.bg-secondary,.hover\\:bg-neutral-800\\/40:hover,.hover\\:bg-pink-500\\/20:hover,button[id^="radix-:r"]:hover,button[role=tab]:hover{background-color:rgba(158,107,67,.1)!important}.prose.prose-neutral.prose-invert.max-w-none.rounded-lg.bg-neutral-800\\/50.p-3.text-neutral-400{background-color:rgba(242,230,217,.5)!important;color:#552e00!important;border-radius:8px!important;padding:12px!important;border:1px solid rgba(158,107,67,.1)!important}.prose.prose-neutral.prose-invert.max-w-none.rounded-lg.bg-neutral-800\\/50.p-3.text-neutral-400 p{color:#552e00!important;margin-bottom:8px}.inline-flex.h-9.items-center.rounded-lg.bg-muted.p-1.text-muted-foreground{background-color:#e1c6ad!important;padding:4px!important}[data-state=active].data-\\[state\\=active\\]\\:bg-background{background-color:#f7f3ee!important;color:#552e00!important;box-shadow:0 1px 3px rgba(0,0,0,.1)!important}.space-y-6.rounded-lg.bg-black\\/60.p-4{background:#f7f3ee!important;border:1px solid rgba(158,107,67,.1)!important;box-shadow:0 1px 3px rgba(0,0,0,.05)!important}.bg-primary,.data-\\[state\\=checked\\]\\:bg-primary,.h-full.rounded-full.bg-primary{background-color:#9e6b43!important}.bg-primary.text-primary-foreground,.inline-flex.items-center.rounded-full.px-3.py-1.text-xs.font-medium.bg-primary{background-color:#9e6b43!important;color:#f7f3ee!important}.bg-primary:hover,.hover\\:bg-pink-600\\/90:hover{background-color:#8b5e34!important}.text-primary-foreground{color:#f7f3ee!important}.border.bg-background.border-neutral-800,.border.border-input.bg-background{border-color:rgba(158,107,67,.2)!important;background-color:transparent!important;color:#9e6b43!important}.border-pink-500\\/20.bg-pink-500\\/10{border-color:rgba(158,107,67,.2)!important;background-color:rgba(158,107,67,.05)!important}.border-pink-500\\/30.bg-pink-500\\/10{border-color:rgba(158,107,67,.3)!important;background-color:rgba(158,107,67,.05)!important}.bg-secondary-foreground,.rounded-full.bg-neutral-900,kbd.rounded.bg-neutral-800{background-color:#f7f3ee!important}.h-full.w-full path[fill=white],.relative.h-10.w-10.flex-shrink-0 svg path,.relative.h-8.w-8.flex-shrink-0 svg path,svg path[fill=white]{fill:#9E6B43!important}.rounded-full.bg-neutral-900{border:1px solid rgba(158,107,67,.1)!important}kbd.rounded.bg-neutral-800{border:1px solid rgba(158,107,67,.2)!important;box-shadow:0 1px 1px rgba(158,107,67,.1),0 1px 0 rgba(158,107,67,.1)!important;color:#552e00!important;font-family:-apple-system,system-ui,sans-serif!important;font-size:12px!important;padding:2px 6px!important;border-radius:4px!important}[role=menu]{background:rgba(247,243,238,.8)!important;backdrop-filter:blur(20px)!important;-webkit-backdrop-filter:blur(20px)!important;border:1px solid rgba(158,107,67,.1)!important;box-shadow:0 8px 32px rgba(0,0,0,.1)!important;border-radius:12px!important;padding:6px!important}[role=menuitem]{border-radius:8px!important;margin:2px 0!important;padding:8px 12px!important;color:#552e00!important;font-size:13px!important;transition:.2s!important;background:0 0!important}[role=menuitem]:hover{background:rgba(158,107,67,.1)!important}[role=menuitem] svg{width:14px!important;height:14px!important}[role=separator]{border-color:rgba(158,107,67,.1)!important;margin:4px 0!important}[role=group]{padding:4px 0!important}.text-xs.text-muted-foreground{color:#9e6b43!important;font-size:11px!important;font-weight:500!important;padding:6px 12px 4px!important}
        `;
        document.head.appendChild(styleEl);
    }
    function init() {
        forcifier();
        console.log('[check1] pass');
    }

    if (document.readyState === 'loading') {
        console.log('[check2] pass');
        document.addEventListener('DOMContentLoaded', init);
    } else {
        console.log('[check3] pass');
        init();
    }
})();