enh: i said darker

This commit is contained in:
Timothy J. Baek 2024-07-08 23:30:59 -07:00
parent 78a5748727
commit a11887cee1
3 changed files with 5 additions and 5 deletions

View File

@ -23,8 +23,8 @@
// On page load or when changing themes, best to add inline in `head` to avoid FOUC // On page load or when changing themes, best to add inline in `head` to avoid FOUC
(() => { (() => {
if (localStorage?.theme && localStorage?.theme.includes('oled')) { if (localStorage?.theme && localStorage?.theme.includes('oled')) {
document.documentElement.style.setProperty('--color-gray-800', '#171717'); document.documentElement.style.setProperty('--color-gray-800', '#101010');
document.documentElement.style.setProperty('--color-gray-850', '#0d0d0d'); document.documentElement.style.setProperty('--color-gray-850', '#050505');
document.documentElement.style.setProperty('--color-gray-900', '#000000'); document.documentElement.style.setProperty('--color-gray-900', '#000000');
document.documentElement.style.setProperty('--color-gray-950', '#000000'); document.documentElement.style.setProperty('--color-gray-950', '#000000');
document.documentElement.classList.add('dark'); document.documentElement.classList.add('dark');

View File

@ -120,8 +120,8 @@
theme.set(_theme); theme.set(_theme);
localStorage.setItem('theme', _theme); localStorage.setItem('theme', _theme);
if (_theme.includes('oled')) { if (_theme.includes('oled')) {
document.documentElement.style.setProperty('--color-gray-800', '#171717'); document.documentElement.style.setProperty('--color-gray-800', '#101010');
document.documentElement.style.setProperty('--color-gray-850', '#0d0d0d'); document.documentElement.style.setProperty('--color-gray-850', '#050505');
document.documentElement.style.setProperty('--color-gray-900', '#000000'); document.documentElement.style.setProperty('--color-gray-900', '#000000');
document.documentElement.style.setProperty('--color-gray-950', '#000000'); document.documentElement.style.setProperty('--color-gray-950', '#000000');
document.documentElement.classList.add('dark'); document.documentElement.classList.add('dark');

View File

@ -14,7 +14,7 @@ export default {
500: '#9b9b9b', 500: '#9b9b9b',
600: '#676767', 600: '#676767',
700: '#4e4e4e', 700: '#4e4e4e',
800: 'var(--color-gray-850, #333)', 800: 'var(--color-gray-800, #333)',
850: 'var(--color-gray-850, #262626)', 850: 'var(--color-gray-850, #262626)',
900: 'var(--color-gray-900, #171717)', 900: 'var(--color-gray-900, #171717)',
950: 'var(--color-gray-950, #0d0d0d)' 950: 'var(--color-gray-950, #0d0d0d)'