Switch to Obsidian Scholar color palette

This commit is contained in:
Dmitry Belan
2026-09-21 11:05:11 +03:00
parent 94678c2f10
commit 4f829dd7d4
3 changed files with 52 additions and 52 deletions
+16 -16
View File
@@ -25,58 +25,58 @@ body {
height: 6px; height: 6px;
} }
::-webkit-scrollbar-track { ::-webkit-scrollbar-track {
background: #11131b; background: #0c1322;
} }
::-webkit-scrollbar-thumb { ::-webkit-scrollbar-thumb {
background: #2a2d39; background: #2e3545;
border-radius: 2px; border-radius: 2px;
} }
::-webkit-scrollbar-thumb:hover { ::-webkit-scrollbar-thumb:hover {
background: #3b4052; background: #464554;
} }
/* Specific overrides for Unfold backgrounds in dark mode to perfectly match the design */ /* Specific overrides for Unfold backgrounds in dark mode to perfectly match the design */
html[data-theme="dark"] body { html[data-theme="dark"] body {
background-color: #0b0f17 !important; background-color: #0c1322 !important;
} }
html[data-theme="dark"] aside, html[data-theme="dark"] aside,
html[data-theme="dark"] header { html[data-theme="dark"] header {
background-color: #11131b !important; background-color: #141b2b !important;
border-color: #2a2d39 !important; border-color: #2e3545 !important;
} }
/* Cards and table backgrounds */ /* Cards and table backgrounds */
html[data-theme="dark"] .bg-white { html[data-theme="dark"] .bg-white {
background-color: #191b23 !important; background-color: #191f2f !important;
border-color: #2a2d39 !important; border-color: #2e3545 !important;
} }
html[data-theme="dark"] .bg-gray-50 { html[data-theme="dark"] .bg-gray-50 {
background-color: #11131b !important; background-color: #141b2b !important;
border-color: #2a2d39 !important; border-color: #2e3545 !important;
} }
html[data-theme="dark"] .bg-gray-100 { html[data-theme="dark"] .bg-gray-100 {
background-color: #12141c !important; background-color: #0c1322 !important;
} }
html[data-theme="dark"] input, html[data-theme="dark"] input,
html[data-theme="dark"] textarea, html[data-theme="dark"] textarea,
html[data-theme="dark"] select { html[data-theme="dark"] select {
background-color: #12141c !important; background-color: #0c1322 !important;
border-color: #2a2d39 !important; border-color: #464554 !important;
} }
html[data-theme="dark"] .border-gray-200, html[data-theme="dark"] .border-gray-200,
html[data-theme="dark"] .border-gray-300, html[data-theme="dark"] .border-gray-300,
html[data-theme="dark"] .border-gray-700, html[data-theme="dark"] .border-gray-700,
html[data-theme="dark"] .border-gray-800 { html[data-theme="dark"] .border-gray-800 {
border-color: #2a2d39 !important; border-color: #2e3545 !important;
} }
/* Submit row at bottom */ /* Submit row at bottom */
html[data-theme="dark"] #submit-row { html[data-theme="dark"] #submit-row {
background-color: #11131b !important; background-color: #141b2b !important;
border-color: #2a2d39 !important; border-color: #2e3545 !important;
} }
+13 -13
View File
@@ -17,25 +17,25 @@
extend: { extend: {
colors: { colors: {
obsidian: { obsidian: {
base: '#11131b', base: '#141b2b',
deep: '#0c0e16', deep: '#0c1322',
card: '#191b23', card: '#191f2f',
border: '#2e313c', border: '#2e3545',
borderLight: '#3b3f4d', borderLight: '#464554',
}, },
accent: { accent: {
blue: '#2563eb', blue: '#494bd6',
blueHover: '#1d4ed8', blueHover: '#3a3bc0',
blueSubtle: 'rgba(37, 99, 235, 0.12)', blueSubtle: 'rgba(73, 75, 214, 0.12)',
blueBorder: '#3b82f6', blueBorder: 'rgba(73, 75, 214, 0.35)',
}, },
status: { status: {
emerald: '#10b981', emerald: '#4edea3',
emeraldBg: 'rgba(16, 185, 129, 0.12)', emeraldBg: 'rgba(78, 222, 163, 0.12)',
amber: '#f59e0b', amber: '#f59e0b',
amberBg: 'rgba(245, 158, 11, 0.12)', amberBg: 'rgba(245, 158, 11, 0.12)',
rose: '#ef4444', rose: '#ffb4ab',
roseBg: 'rgba(239, 68, 68, 0.12)', roseBg: 'rgba(255, 180, 171, 0.12)',
}, },
txt: { txt: {
primary: '#f1f5f9', primary: '#f1f5f9',
+23 -23
View File
@@ -66,31 +66,31 @@ UNFOLD = {
], ],
"COLORS": { "COLORS": {
"primary": { "primary": {
"50": "#eff6ff", "50": "#f2f2ff",
"100": "#dbeafe", "100": "#e1e0ff",
"200": "#bfdbfe", "200": "#c0c1ff",
"300": "#93c5fd", "300": "#9a9cff",
"400": "#60a5fa", "400": "#8083ff",
"500": "#3b82f6", "500": "#6062f0",
"600": "#2563eb", "600": "#494bd6",
"700": "#1d4ed8", "700": "#3a3bc0",
"800": "#1e40af", "800": "#292a9b",
"900": "#1e3a8a", "900": "#1000a9",
"950": "#172554", "950": "#07006c",
}, },
"base": { "base": {
"50": "#f8fafc", "50": "#ffffff",
"100": "#f1f5f9", "100": "#e1e0ff",
"200": "#cbd5e1", "200": "#dce2f7",
"300": "#94a3b8", "300": "#c7c4d7",
"400": "#64748b", "400": "#908fa0",
"500": "#3b3f4d", "500": "#464554",
"600": "#2e313c", "600": "#2e3545",
"700": "#191b23", "700": "#191f2f",
"800": "#11131b", "800": "#141b2b",
"900": "#0c0e16", "900": "#0c1322",
"950": "#000000", "950": "#070e1d",
}, }
}, },
"SIDEBAR": { "SIDEBAR": {
"show_search": True, "show_search": True,