This commit is contained in:
2025-11-04 12:15:43 +01:00
parent 58ae53697e
commit 971a18fcc1
45 changed files with 5489 additions and 5915 deletions

View File

@@ -0,0 +1,48 @@
:root {
/* Catppuccin Mocha — Rainbow Ordered */
--chart-color-1: #f38ba8; /* red */
--chart-color-2: #fab387; /* orange / peach */
--chart-color-3: #f9e2af; /* yellow */
--chart-color-4: #a6e3a1; /* green */
--chart-color-5: #94e2d5; /* teal / cyan */
--chart-color-6: #89b4fa; /* blue / sky */
--chart-color-7: #cba6f7; /* violet / mauve */
--chart-color-8: #f5c2e7; /* pink */
--chart-color-9: #f5e0dc; /* rosewater (soft highlight) */
/* Supporting colors */
--chart-text: #cdd6f4;
--chart-bg: #1e1e2e;
--chart-surface: #11111b;
/* RGBA transparent variants */
--chart-color-1-rgba-12: rgba(243,139,168,0.12);
--chart-color-2-rgba-12: rgba(250,179,135,0.12);
--chart-color-3-rgba-12: rgba(249,226,175,0.12);
--chart-color-4-rgba-12: rgba(166,227,161,0.12);
--chart-color-5-rgba-12: rgba(148,226,213,0.12);
--chart-color-6-rgba-12: rgba(137,180,250,0.12);
--chart-color-7-rgba-12: rgba(203,166,247,0.12);
--chart-color-8-rgba-12: rgba(245,194,231,0.12);
--chart-color-9-rgba-12: rgba(245,224,220,0.12);
--chart-color-1-rgba-30: rgba(243,139,168,0.30);
--chart-color-2-rgba-30: rgba(250,179,135,0.30);
--chart-color-3-rgba-30: rgba(249,226,175,0.30);
--chart-color-4-rgba-30: rgba(166,227,161,0.30);
--chart-color-5-rgba-30: rgba(148,226,213,0.30);
--chart-color-6-rgba-30: rgba(137,180,250,0.30);
--chart-color-7-rgba-30: rgba(203,166,247,0.30);
--chart-color-8-rgba-30: rgba(245,194,231,0.30);
--chart-color-9-rgba-30: rgba(245,224,220,0.30);
}
/* Optional styling */
.cm-chartjs-tooltip, .chartjs-tooltip, .cm-chartjs {
color: var(--chart-text) !important;
}
.cm-chartjs-canvas-wrapper, .chartjs-wrapper {
background: var(--chart-surface);
}

56
.obsidian/snippets/table.css vendored Normal file
View File

@@ -0,0 +1,56 @@
.markdown-preview-view table,
.markdown-source-view.mod-cm6 .cm-table-widget table {
border-collapse: collapse;
border-spacing: 0;
}
/* Header Styling */
.markdown-preview-view table thead tr,
.markdown-source-view.mod-cm6 .cm-table-widget thead tr {
background-color: #11111b;
}
.markdown-preview-view table thead th,
.markdown-source-view.mod-cm6 .cm-table-widget thead th {
color: #cdd6f4;
font-weight: 600;
padding: 1px;
border: 1px solid #313244;
}
/* Odd Row Background */
.markdown-preview-view table tbody tr:nth-child(odd),
.markdown-source-view.mod-cm6 .cm-table-widget tbody tr:nth-child(odd) {
background-color: #1e1e2e;
}
/* Even Row Background */
.markdown-preview-view table tbody tr:nth-child(even),
.markdown-source-view.mod-cm6 .cm-table-widget tbody tr:nth-child(even) {
background-color: #181825;
}
/* Table Cells */
.markdown-preview-view table td,
.markdown-source-view.mod-cm6 .cm-table-widget td {
color: #cdd6f4;
padding: 2px;
border: 1px solid #313244;
}
/* Hover Effect with Matching Cursor Color */
.markdown-preview-view table tbody tr:hover,
.markdown-source-view.mod-cm6 .cm-table-widget tbody tr:hover {
background-color: #b4befe;
color: #11111b;
transition: background-color 0.2s ease, color 0.2s ease;
caret-color: #11111b;
}
/* Ensure table cells also update their text and cursor color */
.markdown-preview-view table tbody tr:hover td,
.markdown-source-view.mod-cm6 .cm-table-widget tbody tr:hover td {
color: #11111b;
caret-color: #11111b;
}