add local bin to dotfiles repo
This commit is contained in:
parent
26e72e6ada
commit
282bd25bbc
13 changed files with 5678 additions and 0 deletions
43
local/bin/dn
Executable file
43
local/bin/dn
Executable file
|
|
@ -0,0 +1,43 @@
|
|||
#!/bin/bash
|
||||
|
||||
# Set variables
|
||||
today=$(date +%d-%m-%Y)
|
||||
daily_note_dir="$NOTES_DIR/daily_notes"
|
||||
today_file="${daily_note_dir}/${today}_daily.md"
|
||||
|
||||
# Function to find unticked checkboxes in the most recent daily note
|
||||
find_unticked_checkboxes() {
|
||||
most_recent_file=$(ls -t ${daily_note_dir}/*_daily_note.md 2>/dev/null | head -n 1)
|
||||
if [[ -f "$most_recent_file" ]]; then
|
||||
grep -E '^\s*[-*]\s+\[ \]' "$most_recent_file"
|
||||
else
|
||||
echo ""
|
||||
fi
|
||||
}
|
||||
|
||||
# Check if today's daily note exists
|
||||
if [[ -f "$today_file" ]]; then
|
||||
echo "Today's daily note already exists. Opening with neovim..."
|
||||
nvim "$today_file"
|
||||
else
|
||||
echo "Creating today's daily note from template..."
|
||||
{
|
||||
echo "---"
|
||||
echo "tags:"
|
||||
echo "created_at: ${today}"
|
||||
echo "---"
|
||||
echo "# To-Do"
|
||||
find_unticked_checkboxes
|
||||
echo "- [ ]"
|
||||
echo ""
|
||||
echo "# Logbook"
|
||||
echo ""
|
||||
echo "# Linked notes"
|
||||
echo ""
|
||||
echo "# Resources"
|
||||
echo ""
|
||||
} > "$today_file"
|
||||
|
||||
echo "Opening today's daily note with neovim..."
|
||||
nvim "$today_file"
|
||||
fi
|
||||
1
local/bin/poetry
Symbolic link
1
local/bin/poetry
Symbolic link
|
|
@ -0,0 +1 @@
|
|||
/Users/antoinelhermitte/Library/Application Support/pypoetry/venv/bin/poetry
|
||||
9
obsidian/plugins/obsidian-kindle-plugin/data.json
Normal file
9
obsidian/plugins/obsidian-kindle-plugin/data.json
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
{
|
||||
"amazonRegion": "global",
|
||||
"highlightsFolder": "/",
|
||||
"lastSyncMode": "my-clippings",
|
||||
"isLoggedIn": false,
|
||||
"syncOnBoot": false,
|
||||
"downloadBookMetadata": true,
|
||||
"lastSyncDate": "2024-07-24T12:57:02.647Z"
|
||||
}
|
||||
304
obsidian/plugins/obsidian-kindle-plugin/main.js
Normal file
304
obsidian/plugins/obsidian-kindle-plugin/main.js
Normal file
File diff suppressed because one or more lines are too long
10
obsidian/plugins/obsidian-kindle-plugin/manifest.json
Normal file
10
obsidian/plugins/obsidian-kindle-plugin/manifest.json
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
{
|
||||
"id": "obsidian-kindle-plugin",
|
||||
"name": "Kindle Highlights",
|
||||
"version": "1.9.2",
|
||||
"description": "Sync your Kindle book highlights using your Amazon login or uploading your My Clippings file",
|
||||
"minAppVersion": "0.10.2",
|
||||
"author": "Hady Osman",
|
||||
"authorUrl": "https://hady.geek.nz",
|
||||
"isDesktopOnly": true
|
||||
}
|
||||
5
obsidian/templates.json
Normal file
5
obsidian/templates.json
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"folder": "templates",
|
||||
"dateFormat": "YYYY-MM-DD",
|
||||
"timeFormat": "HH:mm"
|
||||
}
|
||||
7
obsidian/themes/Catppuccin/manifest.json
Normal file
7
obsidian/themes/Catppuccin/manifest.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"name": "Catppuccin",
|
||||
"version": "0.4.24",
|
||||
"minAppVersion": "1.0.0",
|
||||
"author": "Marshall Beckrich",
|
||||
"authorUrl": "https://github.com/catppuccin/obsidian"
|
||||
}
|
||||
3865
obsidian/themes/Catppuccin/theme.css
Normal file
3865
obsidian/themes/Catppuccin/theme.css
Normal file
File diff suppressed because one or more lines are too long
7
obsidian/themes/Material Gruvbox/manifest.json
Normal file
7
obsidian/themes/Material Gruvbox/manifest.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"name": "Material Gruvbox",
|
||||
"version": "1.1.0",
|
||||
"minAppVersion": "0.15.0",
|
||||
"author": "AllJavi",
|
||||
"authorUrl": "https://github.com/AllJavi"
|
||||
}
|
||||
814
obsidian/themes/Material Gruvbox/theme.css
Normal file
814
obsidian/themes/Material Gruvbox/theme.css
Normal file
|
|
@ -0,0 +1,814 @@
|
|||
:root {
|
||||
/* DEFAULTS */
|
||||
--dark0-hard-x: 29,32,33;
|
||||
--dark0-hard: rgb(var(--dark0-hard-x));
|
||||
--dark0-x: 40,40,40;
|
||||
--dark0: rgb(var(--dark0-x));
|
||||
--dark0-soft-x: 50,48,47;
|
||||
--dark0-soft: rgb(var(--dark0-soft-x));
|
||||
--dark1-x: 60,56,54;
|
||||
--dark1: rgb(var(--dark1-x));
|
||||
--dark2-x: 80,73,69;
|
||||
--dark2: rgb(var(--dark2-x));
|
||||
--dark3-x: 102,92,84;
|
||||
--dark3: rgb(var(--dark3-x));
|
||||
--dark4-x: 124,111,100;
|
||||
--dark4: rgb(var(--dark4-x));
|
||||
--gray-x: 146,131,116;
|
||||
--gray: rgb(var(--gray-x));
|
||||
--dark-text-x: 101,71,53;
|
||||
--dark-text: rgb(var(--dark-text-x));
|
||||
--dark-text-faint-x: 179,126,93;
|
||||
--dark-text-faint: rgb(var(--dark-text-faint-x));
|
||||
--dark-text-muted-x: 115,81,69;
|
||||
--dark-text-muted: rgb(var(--dark-text-muted-x));
|
||||
|
||||
--light0-hard-x: 249,245,215;
|
||||
--light0-hard: rgb(var(--light0-hard-x));
|
||||
--light0-x: 251,241,199;
|
||||
--light0: rgb(var(--light0-x));
|
||||
--light0-soft-x: 242,229,188;
|
||||
--light0-soft: rgb(var(--light0-soft-x));
|
||||
--light1-x: 235,219,178;
|
||||
--light1: rgb(var(--light1-x));
|
||||
--light2-x: 213,196,161;
|
||||
--light2: rgb(var(--light2-x));
|
||||
--light3-x: 189,174,147;
|
||||
--light3: rgb(var(--light3-x));
|
||||
--light4-x: 168,153,132;
|
||||
--light4: rgb(var(--light4-x));
|
||||
--light-text-x: 212,190,152;
|
||||
--light-text: rgb(var(--light-text-x));
|
||||
|
||||
--neutral-red-x: 234,105,98;
|
||||
--neutral-red: rgb(var(--neutral-red-x));
|
||||
--neutral-green-x: 169,182,101;
|
||||
--neutral-green: rgb(var(--neutral-green-x));
|
||||
--neutral-yellow-x: 231,138,78;
|
||||
--neutral-yellow: rgb(var(--neutral-yellow-x));
|
||||
--neutral-blue-x: 125,174,163;
|
||||
--neutral-blue: rgb(var(--neutral-blue-x));
|
||||
--neutral-purple-x: 211,134,155;
|
||||
--neutral-purple: rgb(var(--neutral-purple-x));
|
||||
--neutral-aqua-x: 137,180,130;
|
||||
--neutral-aqua: rgb(var(--neutral-aqua-x));
|
||||
|
||||
--faded-red-x: 193,74,74;
|
||||
--faded-red: rgb(var(--faded-red-x));
|
||||
--faded-green-x: 108,120,46;
|
||||
--faded-green: rgb(var(--faded-green-x));
|
||||
--faded-yellow-x: 195,94,10;
|
||||
--faded-yellow: rgb(var(--faded-yellow-x));
|
||||
--faded-blue-x: 69,112,122;
|
||||
--faded-blue: rgb(var(--faded-blue-x));
|
||||
--faded-purple-x: 148,94,128;
|
||||
--faded-purple: rgb(var(--faded-purple-x));
|
||||
--faded-aqua-x: 76,122,93;
|
||||
--faded-aqua: rgb(var(--faded-aqua-x));
|
||||
|
||||
/* @settings
|
||||
name: Gruvbox Material Color Overrides
|
||||
id: gruvbox-material-theme-override
|
||||
settings:
|
||||
- id: section-dark
|
||||
title: Dark Theme
|
||||
type: heading
|
||||
level: 2
|
||||
collapsed: true
|
||||
|
||||
- id: dark0-hard
|
||||
title: Dark 0 Hard
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#1d2021'
|
||||
alt-format:
|
||||
- id: dark0-hard-x
|
||||
format: hex
|
||||
|
||||
- id: dark0
|
||||
title: Dark 0
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#282828'
|
||||
alt-format:
|
||||
- id: dark0-x
|
||||
format: hex
|
||||
|
||||
- id: dark0-soft
|
||||
title: Dark 0 Soft
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#282828'
|
||||
alt-format:
|
||||
- id: dark0-soft-x
|
||||
format: hex
|
||||
|
||||
- id: dark1
|
||||
title: Dark 1
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#3c3836'
|
||||
alt-format:
|
||||
- id: dark1-x
|
||||
format: hex
|
||||
|
||||
- id: dark2
|
||||
title: Dark 2
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#504945'
|
||||
alt-format:
|
||||
- id: dark2-x
|
||||
format: hex
|
||||
|
||||
- id: dark3
|
||||
title: Dark 3
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#665c54'
|
||||
alt-format:
|
||||
- id: dark3-x
|
||||
format: hex
|
||||
|
||||
- id: dark4
|
||||
title: Dark 4
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#7c6f64'
|
||||
alt-format:
|
||||
- id: dark4-x
|
||||
format: hex
|
||||
|
||||
- id: section-light
|
||||
title: Light Theme
|
||||
type: heading
|
||||
level: 2
|
||||
collapsed: true
|
||||
|
||||
- id: light0-hard
|
||||
title: Light 0 Hard
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#f9f5d7'
|
||||
alt-format:
|
||||
- id: light0-hard-x
|
||||
format: hex
|
||||
|
||||
- id: light0
|
||||
title: Light 0
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#fbf1c7'
|
||||
alt-format:
|
||||
- id: light0-x
|
||||
format: hex
|
||||
|
||||
- id: light0-soft
|
||||
title: Light 0 Soft
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#f2e5bc'
|
||||
alt-format:
|
||||
- id: light0-soft-x
|
||||
format: hex
|
||||
|
||||
- id: light1
|
||||
title: Light 1
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#ebdbb2'
|
||||
alt-format:
|
||||
- id: light1-x
|
||||
format: hex
|
||||
|
||||
- id: light2
|
||||
title: Light 2
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#d5c4a1'
|
||||
alt-format:
|
||||
- id: light2-x
|
||||
format: hex
|
||||
|
||||
- id: light3
|
||||
title: Light 3
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#bdae93'
|
||||
alt-format:
|
||||
- id: light3-x
|
||||
format: hex
|
||||
|
||||
- id: light4
|
||||
title: Light 4
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#a89984'
|
||||
alt-format:
|
||||
- id: light4-x
|
||||
format: hex
|
||||
|
||||
- id: section-general
|
||||
title: General Colors
|
||||
type: heading
|
||||
level: 2
|
||||
collapsed: false
|
||||
|
||||
- id: gray
|
||||
title: Gray
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#928374'
|
||||
alt-format:
|
||||
- id: gray-x
|
||||
format: hex
|
||||
|
||||
- id: section-general-text
|
||||
title: Text Colors
|
||||
type: heading
|
||||
level: 3
|
||||
collapsed: true
|
||||
|
||||
- id: dark-text
|
||||
title: Dark Text
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#654735'
|
||||
alt-format:
|
||||
- id: dark-text-x
|
||||
format: hex
|
||||
|
||||
- id: dark-text-faint
|
||||
title: Dark Text Faint
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#b37e5d'
|
||||
|
||||
- id: dark-text-muted
|
||||
title: Dark Text Muted
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#73513c'
|
||||
alt-format:
|
||||
- id: dark-text-muted-x
|
||||
format: hex
|
||||
|
||||
- id: light-text
|
||||
title: Light Text
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#d4be98'
|
||||
alt-format:
|
||||
- id: light-text-x
|
||||
format: hex
|
||||
|
||||
- id: light-text-faint
|
||||
title: Light Text Faint
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#b37e5d'
|
||||
alt-format:
|
||||
- id: light-text-faint-x
|
||||
format: hex
|
||||
|
||||
- id: light-text-muted
|
||||
title: Light Text Muted
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#73513c'
|
||||
alt-format:
|
||||
- id: light-text-muted-x
|
||||
format: hex
|
||||
|
||||
- id: section-general-neutral
|
||||
title: Neutral Colors
|
||||
type: heading
|
||||
level: 3
|
||||
collapsed: true
|
||||
|
||||
- id: neutral-red
|
||||
title: Red
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#ea6962'
|
||||
alt-format:
|
||||
- id: neutral-red-x
|
||||
format: hex
|
||||
|
||||
- id: neutral-green
|
||||
title: Green
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#a9b665'
|
||||
alt-format:
|
||||
- id: neutral-green-x
|
||||
format: hex
|
||||
|
||||
- id: neutral-yellow
|
||||
title: Yellow
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#e78a4e'
|
||||
alt-format:
|
||||
- id: neutral-yellow-x
|
||||
format: hex
|
||||
|
||||
- id: neutral-blue
|
||||
title: Blue
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#7daea3'
|
||||
alt-format:
|
||||
- id: neutral-blue-x
|
||||
format: hex
|
||||
|
||||
- id: neutral-purple
|
||||
title: Purple
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#d3869b'
|
||||
alt-format:
|
||||
- id: neutral-purple-x
|
||||
format: hex
|
||||
|
||||
- id: neutral-aqua
|
||||
title: Aqua
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#89b482'
|
||||
alt-format:
|
||||
- id: neutral-aqua-x
|
||||
format: hex
|
||||
|
||||
- id: section-general-faded
|
||||
title: Faded Colors
|
||||
type: heading
|
||||
level: 3
|
||||
collapsed: true
|
||||
|
||||
- id: faded-red
|
||||
title: Red
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#c14a4a'
|
||||
alt-format:
|
||||
- id: faded-red-x
|
||||
format: hex
|
||||
|
||||
- id: faded-green
|
||||
title: Green
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#6c782e'
|
||||
alt-format:
|
||||
- id: faded-green-x
|
||||
format: hex
|
||||
|
||||
- id: faded-yellow
|
||||
title: Yellow
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#c35e0a'
|
||||
alt-format:
|
||||
- id: faded-yellow-x
|
||||
format: hex
|
||||
|
||||
- id: faded-blue
|
||||
title: Blue
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#45707a'
|
||||
alt-format:
|
||||
- id: faded-blue-x
|
||||
format: hex
|
||||
|
||||
- id: faded-purple
|
||||
title: Purple
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#945e80'
|
||||
alt-format:
|
||||
- id: faded-purple-x
|
||||
format: hex
|
||||
|
||||
- id: faded-aqua
|
||||
title: Aqua
|
||||
type: variable-color
|
||||
format: rgb
|
||||
default: '#4c7a5d'
|
||||
alt-format:
|
||||
- id: faded-aqua-x
|
||||
format: hex
|
||||
*/
|
||||
}
|
||||
|
||||
body {
|
||||
--accent-h: 166; /* --neutral-blue #7daea3 */
|
||||
--accent-s: 23%;
|
||||
--accent-l: 58%;
|
||||
|
||||
--link-decoration: none;
|
||||
--link-decoration-hover: none;
|
||||
--link-external-decoration: none;
|
||||
--link-external-decoration-hover: none;
|
||||
|
||||
--tag-decoration: none;
|
||||
--tag-decoration-hover: underline;
|
||||
--tag-padding-x: .5em;
|
||||
--tag-padding-y: .2em;
|
||||
--tag-radius: .5em;
|
||||
|
||||
--tab-font-weight: 600;
|
||||
--bold-weight: 600;
|
||||
|
||||
--checkbox-radius: 0;
|
||||
|
||||
/* --list-indent: 2em; */
|
||||
|
||||
--embed-border-left: 6px double var(--interactive-accent);
|
||||
}
|
||||
|
||||
.theme-dark {
|
||||
--color-red-rgb: var(--neutral-red-x);
|
||||
--color-red: var(--neutral-red);
|
||||
--color-purple-rgb: var(--neutral-purple-x);
|
||||
--color-purple: var(--neutral-purple);
|
||||
--color-green-rgb: var(--neutral-green-x);
|
||||
--color-green: var(--neutral-green);
|
||||
--color-cyan-rgb: var(--neutral-blue-x);
|
||||
--color-cyan: var(--neutral-blue);
|
||||
--color-blue-rgb: var(--faded-blue-x);
|
||||
--color-blue: var(--faded-blue);
|
||||
--color-yellow-rgb: var(--neutral-yellow-x);
|
||||
--color-yellow: var(--neutral-yellow);
|
||||
--color-orange-rgb: var(--faded-yellow-x);
|
||||
--color-orange: var(--faded-yellow);
|
||||
--color-pink-rgb: var(--neutral-purple-x);
|
||||
--color-pink: var(--neutral-purple);
|
||||
|
||||
--background-primary: var(--dark0);
|
||||
--background-primary-alt: var(--dark0-soft);
|
||||
--background-secondary: var(--dark0-hard);
|
||||
--background-secondary-alt: var(--dark1);
|
||||
--background-modifier-border: var(--dark1);
|
||||
--background-accent: var(--dark0-soft);
|
||||
|
||||
--cursor-line-background: rgba(var(--dark1-x), 0.5);
|
||||
|
||||
--text-normal: var(--light-text);
|
||||
--text-faint: var(--light1);
|
||||
--text-muted: var(--light2);
|
||||
|
||||
--h1-color: var(--neutral-red);
|
||||
--h2-color: var(--neutral-yellow);
|
||||
--h3-color: var(--neutral-green);
|
||||
--h4-color: var(--neutral-aqua);
|
||||
--h5-color: var(--neutral-blue);
|
||||
--h6-color: var(--neutral-purple);
|
||||
|
||||
--text-highlight-bg: var(--neutral-yellow);
|
||||
--text-highlight-fg: var(--dark0-hard);
|
||||
|
||||
--text-accent: var(--neutral-yellow);
|
||||
--text-accent-hover: var(--faded-yellow);
|
||||
|
||||
--tag-color: var(--neutral-aqua);
|
||||
--tag-background: var(--dark2);
|
||||
--tag-background-hover: var(--dark1);
|
||||
|
||||
--titlebar-text-color-focused: var(--neutral-red);
|
||||
|
||||
--inline-title-color: var(--neutral-yellow);
|
||||
|
||||
--bold-color: var(--neutral-yellow);
|
||||
--italic-color: var(--neutral-yellow);
|
||||
|
||||
--checkbox-color: var(--light4);
|
||||
--checkbox-color-hover: var(--light4);
|
||||
--checkbox-border-color: var(--light4);
|
||||
--checkbox-border-color-hover: var(--light4);
|
||||
--checklist-done-color: rgba(var(--light2-x), 0.5);
|
||||
|
||||
--table-header-background: rgba(var(--dark0-x), 0.2);
|
||||
--table-header-background-hover: var(--dark2);
|
||||
--table-row-even-background: rgba(var(--dark2-x), 0.2);
|
||||
--table-row-odd-background: rgba(var(--dark2-x), 0.4);
|
||||
--table-row-background-hover: var(--dark2);
|
||||
|
||||
--text-selection: rgba(var(--neutral-red-x), 0.6);
|
||||
--flashing-background: rgba(var(--neutral-red-x), 0.3);
|
||||
|
||||
--code-normal: var(--neutral-blue);
|
||||
--code-background: var(--dark1);
|
||||
|
||||
--mermaid-note: var(--neutral-blue);
|
||||
--mermaid-actor: var(--dark2);
|
||||
--mermaid-loopline: var(--neutral-blue);
|
||||
|
||||
--icon-color-hover: var(--neutral-red);
|
||||
--icon-color-focused: var(--neutral-blue);
|
||||
|
||||
--nav-item-color-hover: var(--neutral-red);
|
||||
--nav-item-color-active: var(--neutral-aqua);
|
||||
--nav-file-tag: rgba(var(--neutral-yellow-x), 0.9);
|
||||
|
||||
--graph-line: var(--dark2);
|
||||
--graph-node: var(--light3);
|
||||
--graph-node-tag: var(--neutral-red);
|
||||
--graph-node-attachment: var(--neutral-green);
|
||||
|
||||
--calendar-hover: var(--neutral-red);
|
||||
--calendar-background-hover: var(--dark1);
|
||||
--calendar-week: var(--neutral-orange);
|
||||
--calendar-today: var(--neutral-orange);
|
||||
|
||||
--dataview-key: var(--text-faint);
|
||||
--dataview-key-background: rgba(var(--faded-red-x), 0.5);
|
||||
--dataview-value: var(--text-faint);
|
||||
--dataview-value-background: rgba(var(--neutral-green-x), 0.3);
|
||||
|
||||
--tab-text-color-focused-active: var(--neutral-yellow);
|
||||
--tab-text-color-focused-active-current: var(--neutral-red);
|
||||
}
|
||||
|
||||
.theme-light {
|
||||
--color-red-rgb: var(--faded-red-x);
|
||||
--color-red: var(--faded-red);
|
||||
--color-purple-rgb: var(--faded-purple-x);
|
||||
--color-purple: var(--faded-purple);
|
||||
--color-green-rgb: var(--faded-green-x);
|
||||
--color-green: var(--faded-green);
|
||||
--color-cyan-rgb: var(--neutral-blue-x);
|
||||
--color-cyan: var(--neutral-blue);
|
||||
--color-blue-rgb: var(--faded-blue-x);
|
||||
--color-blue: var(--faded-blue);
|
||||
--color-yellow-rgb: var(--neutral-yellow-x);
|
||||
--color-yellow: var(--neutral-yellow);
|
||||
--color-orange-rgb: var(--faded-yellow-x);
|
||||
--color-orange: var(--faded-yellow);
|
||||
--color-pink-rgb: var(--faded-purple-x);
|
||||
--color-pink: var(--faded-purple);
|
||||
|
||||
--background-primary: var(--light0-hard);
|
||||
--background-primary-alt: var(--light0-hard);
|
||||
--background-secondary: var(--light1);
|
||||
--background-secondary-alt: var(--light1);
|
||||
--background-modifier-border: var(--light2);
|
||||
--background-accent: var(--light0-soft);
|
||||
|
||||
--cursor-line-background: rgba(var(--light1-x), 0.5);
|
||||
|
||||
--text-normal: var(--dark-text);
|
||||
--text-faint: var(--dark-text-faint);
|
||||
--text-muted: var(--dark-text-muted);
|
||||
|
||||
--h1-color: var(--faded-red);
|
||||
--h2-color: var(--faded-yellow);
|
||||
--h3-color: var(--faded-green);
|
||||
--h4-color: var(--faded-aqua);
|
||||
--h5-color: var(--faded-blue);
|
||||
--h6-color: var(--faded-purple);
|
||||
|
||||
--text-highlight-bg: var(--faded-yellow);
|
||||
--text-highlight-fg: var(--light0-hard);
|
||||
|
||||
--text-accent: var(--neutral-yellow);
|
||||
--text-accent-hover: var(--faded-yellow);
|
||||
|
||||
--tag-color: var(--faded-aqua);
|
||||
--tag-background: var(--light1);
|
||||
--tag-background-hover: rgba(var(--light1-x), 0.6);
|
||||
|
||||
--titlebar-text-color-focused: var(--bright-red);
|
||||
|
||||
--inline-title-color: var(--neutral-yellow);
|
||||
|
||||
--bold-color: var(--faded-yellow);
|
||||
--italic-color: var(--faded-yellow);
|
||||
|
||||
--checkbox-color: var(--light4);
|
||||
--checkbox-color-hover: var(--light4);
|
||||
--checkbox-border-color: var(--light4);
|
||||
--checkbox-border-color-hover: var(--light4);
|
||||
--checklist-done-color: rgba(var(--dark2-x), 0.4);
|
||||
|
||||
--table-header-background: rgba(var(--light3-x), 0.4);
|
||||
--table-header-background-hover: var(--light2);
|
||||
--table-row-even-background: rgba(var(--light1-x), 0.2);
|
||||
--table-row-odd-background: rgba(var(--light1-x), 0.7);
|
||||
--table-row-background-hover: var(--light2);
|
||||
|
||||
--text-selection: rgba(var(--neutral-red-x), 0.6);
|
||||
--flashing-background: rgba(var(--neutral-red-x), 0.3);
|
||||
|
||||
--code-normal: var(--neutral-blue);
|
||||
--code-background: var(--light1);
|
||||
|
||||
--mermaid-note: var(--neutral-blue);
|
||||
--mermaid-actor: var(--light3);
|
||||
--mermaid-loopline: var(--faded-blue);
|
||||
|
||||
--icon-color-hover: var(--neutral-red);
|
||||
--icon-color-focused: var(--neutral-blue);
|
||||
|
||||
--nav-item-color-hover: var(--neutral-red);
|
||||
--nav-item-color-active: var(--faded-blue);
|
||||
--nav-file-tag: rgba(var(--faded-blue-x), 0.9);
|
||||
|
||||
--graph-line: var(--light3);
|
||||
--graph-node: var(--gray);
|
||||
--graph-node-tag: var(--faded-red);
|
||||
--graph-node-attachment: var(--neutral-green);
|
||||
|
||||
--calendar-hover: var(--neutral-red);
|
||||
--calendar-background-hover: var(--light1);
|
||||
--calendar-week: var(--neutral-red);
|
||||
--calendar-today: var(--neutral-red);
|
||||
|
||||
--dataview-key: var(--text-faint);
|
||||
--dataview-key-background: rgba(var(--faded-red-x), 0.3);
|
||||
--dataview-value: var(--text-faint);
|
||||
--dataview-value-background: rgba(var(--neutral-green-x), 0.2);
|
||||
|
||||
--tab-text-color-focused-active: var(--neutral-yellow);
|
||||
--tab-text-color-focused-active-current: var(--neutral-red);
|
||||
}
|
||||
|
||||
table {
|
||||
border: 1px solid var(--background-secondary) !important;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
thead {
|
||||
border-bottom: 2px solid var(--background-modifier-border) !important;
|
||||
}
|
||||
|
||||
th {
|
||||
font-weight: 600 !important;
|
||||
border: 1px solid var(--background-secondary) !important;
|
||||
}
|
||||
|
||||
td {
|
||||
border-left: 1px solid var(--background-secondary) !important;
|
||||
border-right: 1px solid var(--background-secondary) !important;
|
||||
border-bottom: 1px solid var(--background-secondary) !important;
|
||||
}
|
||||
|
||||
.markdown-rendered tbody tr:nth-child(even) {
|
||||
background-color: var(--table-row-even-background) !important;
|
||||
}
|
||||
|
||||
.markdown-rendered tbody tr:nth-child(odd) {
|
||||
background-color: var(--table-row-odd-background) !important;
|
||||
}
|
||||
|
||||
.markdown-rendered tbody tr:nth-child(even):hover,
|
||||
.markdown-rendered tbody tr:nth-child(odd):hover
|
||||
{
|
||||
background-color: var(--table-row-background-hover) !important;
|
||||
}
|
||||
|
||||
.markdown-rendered mark {
|
||||
background-color: var(--text-highlight-bg) !important;
|
||||
color: var(--text-highlight-fg) !important;
|
||||
}
|
||||
|
||||
.markdown-rendered mark a {
|
||||
color: var(--red) !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.search-result-file-matched-text {
|
||||
color: var(--text-highlight-fg) !important;
|
||||
}
|
||||
|
||||
.cm-hashtag-begin:hover,
|
||||
.cm-hashtag-end:hover
|
||||
{
|
||||
color: var(--text-accent);
|
||||
/* background-color: var(--tag-background-hover); */
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
input[type=checkbox] {
|
||||
border: 1px solid var(--checkbox-color);
|
||||
}
|
||||
|
||||
input[type=checkbox]:checked {
|
||||
background-color: var(--checkbox-color);
|
||||
box-shadow: inset 0 0 0 2px var(--background-primary);
|
||||
}
|
||||
|
||||
input[type=checkbox]:checked:after {
|
||||
display: none;
|
||||
}
|
||||
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"]
|
||||
{
|
||||
line-height: var(--line-height-tight) !important;
|
||||
}
|
||||
|
||||
/* Keep highlight/marks the same between viewer and editor. */
|
||||
.cm-highlight {
|
||||
color: var(--text-highlight-fg) !important;
|
||||
}
|
||||
|
||||
/* Keep inline code the same between viewer and editor. */
|
||||
.cm-inline-code {
|
||||
border-radius: var(--radius-s);
|
||||
font-size: var(--code-size);
|
||||
padding: 0.1em 0.25em;
|
||||
}
|
||||
|
||||
/* Keep list bullet padding the same between viewer and editor. */
|
||||
.cm-formatting-list {
|
||||
padding-right: 4px !important;
|
||||
}
|
||||
|
||||
/*
|
||||
Keep sub-list indenting the same between viewer and editor.
|
||||
This assumes --list-indent is default at 2em.
|
||||
*/
|
||||
/*
|
||||
.cm-indent
|
||||
{
|
||||
text-indent: 1em !important;
|
||||
}
|
||||
*/
|
||||
|
||||
.mermaid .note {
|
||||
fill: var(--mermaid-note) !important;
|
||||
}
|
||||
|
||||
.mermaid .actor {
|
||||
fill: var(--mermaid-actor) !important;
|
||||
}
|
||||
|
||||
.mermaid .loopLine {
|
||||
stroke: var(--mermaid-loopline) !important;
|
||||
}
|
||||
|
||||
.calendar .week-num {
|
||||
color: var(--calendar-week) !important;
|
||||
}
|
||||
|
||||
.calendar .today {
|
||||
color: var(--calendar-today) !important;
|
||||
}
|
||||
|
||||
.calendar .week-num:hover,
|
||||
.calendar .day:hover
|
||||
{
|
||||
color: var(--calendar-hover) !important;
|
||||
background-color: var(--calendar-background-hover) !important;
|
||||
}
|
||||
|
||||
.markdown-embed-title {
|
||||
color: var(--yellow);
|
||||
font-weight: 600 !important;
|
||||
}
|
||||
|
||||
.cm-active {
|
||||
background-color: var(--cursor-line-background) !important;
|
||||
}
|
||||
|
||||
.nav-file-tag {
|
||||
color: var(--nav-file-tag) !important;
|
||||
}
|
||||
|
||||
.is-flashing {
|
||||
background-color: var(--flashing-background) !important;
|
||||
}
|
||||
|
||||
.dataview.inline-field-key {
|
||||
border-top-left-radius: var(--radius-s);
|
||||
border-bottom-left-radius: var(--radius-s);
|
||||
padding-left: 4px;
|
||||
font-family: var(--font-monospace);
|
||||
font-size: var(--font-smaller);
|
||||
color: var(--dataview-key) !important;
|
||||
background-color: var(--dataview-key-background) !important;
|
||||
}
|
||||
|
||||
.dataview.inline-field-value {
|
||||
border-top-right-radius: var(--radius-s);
|
||||
border-bottom-right-radius: var(--radius-s);
|
||||
padding-right: 4px;
|
||||
font-family: var(--font-monospace);
|
||||
font-size: var(--font-smaller);
|
||||
color: var(--dataview-value) !important;
|
||||
background-color: var(--dataview-value-background) !important;
|
||||
}
|
||||
|
||||
.suggestion-highlight {
|
||||
color: var(--bright-red);
|
||||
}
|
||||
|
||||
.cm-line .cm-strong {
|
||||
color: var(--bold-color) !important;
|
||||
}
|
||||
|
||||
.cm-line .cm-em {
|
||||
color: var(--italic-color) !important;
|
||||
}
|
||||
7
obsidian/themes/Obsidian gruvbox/manifest.json
Normal file
7
obsidian/themes/Obsidian gruvbox/manifest.json
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
{
|
||||
"name": "Obsidian gruvbox",
|
||||
"version": "0.2.1",
|
||||
"minAppVersion": "0.16.0",
|
||||
"author": "insanum",
|
||||
"authorUrl": "https://insanum.com"
|
||||
}
|
||||
579
obsidian/themes/Obsidian gruvbox/theme.css
Normal file
579
obsidian/themes/Obsidian gruvbox/theme.css
Normal file
|
|
@ -0,0 +1,579 @@
|
|||
|
||||
:root
|
||||
{
|
||||
--dark0-hard_x: 29,32,33; /* #1d2021 */
|
||||
--dark0-hard: rgb(var(--dark0-hard_x));
|
||||
--dark0_x: 40,40,40; /* #282828 */
|
||||
--dark0: rgb(var(--dark0_x));
|
||||
--dark0-soft_x: 50,48,47; /* #32302f */
|
||||
--dark0-soft: rgb(var(--dark0-soft_x));
|
||||
--dark1_x: 60,56,54; /* #3c3836 */
|
||||
--dark1: rgb(var(--dark1_x));
|
||||
--dark2_x: 80,73,69; /* #504945 */
|
||||
--dark2: rgb(var(--dark2_x));
|
||||
--dark3_x: 102,92,84; /* #665c54 */
|
||||
--dark3: rgb(var(--dark3_x));
|
||||
--dark4_x: 124,111,100; /* #7c6f64 */
|
||||
--dark4: rgb(var(--dark4_x));
|
||||
--gray_x: 146,131,116; /* #928374 */
|
||||
--gray: rgb(var(--gray_x));
|
||||
|
||||
--light0-hard_x: 249,245,215; /* #f9f5d7 */
|
||||
--light0-hard: rgb(var(--light0-hard_x));
|
||||
--light0_x: 251,241,199; /* #fbf1c7 */
|
||||
--light0: rgb(var(--light0_x));
|
||||
--light0-soft_x: 242,229,188; /* #f2e5bc */
|
||||
--light0-soft: rgb(var(--light0-soft_x));
|
||||
--light1_x: 235,219,178; /* #ebdbb2 */
|
||||
--light1: rgb(var(--light1_x));
|
||||
--light2_x: 213,196,161; /* #d5c4a1 */
|
||||
--light2: rgb(var(--light2_x));
|
||||
--light3_x: 189,174,147; /* #bdae93 */
|
||||
--light3: rgb(var(--light3_x));
|
||||
--light4_x: 168,153,132; /* #a89984 */
|
||||
--light4: rgb(var(--light4_x));
|
||||
|
||||
--bright-red_x: 251,73,52; /* #fb4934 */
|
||||
--bright-red: rgb(var(--bright-red_x));
|
||||
--bright-green_x: 184,187,38; /* #b8bb26 */
|
||||
--bright-green: rgb(var(--bright-green_x));
|
||||
--bright-yellow_x: 250,189,47; /* #fabd2f */
|
||||
--bright-yellow: rgb(var(--bright-yellow_x));
|
||||
--bright-blue_x: 131,165,152; /* #83a598 */
|
||||
--bright-blue: rgb(var(--bright-blue_x));
|
||||
--bright-purple_x: 211,134,155; /* #d3869b */
|
||||
--bright-purple: rgb(var(--bright-purple_x));
|
||||
--bright-aqua_x: 142,192,124; /* #8ec07c */
|
||||
--bright-aqua: rgb(var(--bright-aqua_x));
|
||||
--bright-orange_x: 254,128,25; /* #fe8019 */
|
||||
--bright-orange: rgb(var(--bright-orange_x));
|
||||
|
||||
--neutral-red_x: 204,36,29; /* #cc241d */
|
||||
--neutral-red: rgb(var(--neutral-red_x));
|
||||
--neutral-green_x: 152,151,26; /* #98971a */
|
||||
--neutral-green: rgb(var(--neutral-green_x));
|
||||
--neutral-yellow_x: 215,153,33; /* #d79921 */
|
||||
--neutral-yellow: rgb(var(--neutral-yellow_x));
|
||||
--neutral-blue_x: 69,133,136; /* #458588 */
|
||||
--neutral-blue: rgb(var(--neutral-blue_x));
|
||||
--neutral-purple_x: 177,98,134; /* #b16286 */
|
||||
--neutral-purple: rgb(var(--neutral-purple_x));
|
||||
--neutral-aqua_x: 104,157,106; /* #689d6a */
|
||||
--neutral-aqua: rgb(var(--neutral-aqua_x));
|
||||
--neutral-orange_x: 214,93,14; /* #d65d0e */
|
||||
--neutral-orange: rgb(var(--neutral-orange_x));
|
||||
|
||||
--faded-red_x: 157,0,6; /* #9d0006 */
|
||||
--faded-red: rgb(var(--faded-red_x));
|
||||
--faded-green_x: 121,116,14; /* #79740e */
|
||||
--faded-green: rgb(var(--faded-green_x));
|
||||
--faded-yellow_x: 181,118,20; /* #b57614 */
|
||||
--faded-yellow: rgb(var(--faded-yellow_x));
|
||||
--faded-blue_x: 7,102,120; /* #076678 */
|
||||
--faded-blue: rgb(var(--faded-blue_x));
|
||||
--faded-purple_x: 143,63,113; /* #8f3f71 */
|
||||
--faded-purple: rgb(var(--faded-purple_x));
|
||||
--faded-aqua_x: 66,123,88; /* #427b58 */
|
||||
--faded-aqua: rgb(var(--faded-aqua_x));
|
||||
--faded-orange_x: 175,58,3; /* #af3a03 */
|
||||
--faded-orange: rgb(var(--faded-orange_x));
|
||||
}
|
||||
|
||||
body
|
||||
{
|
||||
--accent-h: 12; /* --faded-red #9d0006 */
|
||||
--accent-s: 107%;
|
||||
--accent-l: 32%;
|
||||
|
||||
--link-decoration: none;
|
||||
--link-decoration-hover: none;
|
||||
--link-external-decoration: none;
|
||||
--link-external-decoration-hover: none;
|
||||
|
||||
--tag-decoration: none;
|
||||
--tag-decoration-hover: underline;
|
||||
--tag-padding-x: .5em;
|
||||
--tag-padding-y: .2em;
|
||||
--tag-radius: .5em;
|
||||
|
||||
--tab-font-weight: 600;
|
||||
--bold-weight: 600;
|
||||
|
||||
--checkbox-radius: 0;
|
||||
|
||||
/* --list-indent: 2em; */
|
||||
|
||||
--embed-border-left: 6px double var(--interactive-accent);
|
||||
}
|
||||
|
||||
.theme-dark
|
||||
{
|
||||
--color-red-rgb: var(--neutral-red_x);
|
||||
--color-red: var(--neutral-red);
|
||||
--color-purple-rgb: var(--neutral-purple_x);
|
||||
--color-purple: var(--neutral-purple);
|
||||
--color-green-rgb: var(--neutral-green_x);
|
||||
--color-green: var(--neutral-green);
|
||||
--color-cyan-rgb: var(--neutral-blue_x);
|
||||
--color-cyan: var(--neutral-blue);
|
||||
--color-blue-rgb: var(--faded-blue_x);
|
||||
--color-blue: var(--faded-blue);
|
||||
--color-yellow-rgb: var(--neutral-yellow_x);
|
||||
--color-yellow: var(--neutral-yellow);
|
||||
--color-orange-rgb: var(--neutral-orange_x);
|
||||
--color-orange: var(--neutral-orange);
|
||||
--color-pink-rgb: var(--bright-purple_x);
|
||||
--color-pink: var(--bright-purple);
|
||||
|
||||
--background-primary: var(--dark0);
|
||||
--background-primary-alt: var(--dark0);
|
||||
--background-secondary: var(--dark0-hard);
|
||||
--background-secondary-alt: var(--dark1);
|
||||
--background-modifier-border: var(--dark1);
|
||||
|
||||
--cursor-line-background: rgba(var(--dark1_x), 0.5);
|
||||
|
||||
--text-normal: var(--light0);
|
||||
--text-faint: var(--light1);
|
||||
--text-muted: var(--light2);
|
||||
|
||||
--link-url: var(--neutral-green);
|
||||
|
||||
--h1-color: var(--neutral-red);
|
||||
--h2-color: var(--neutral-yellow);
|
||||
--h3-color: var(--neutral-green);
|
||||
--h4-color: var(--neutral-aqua);
|
||||
--h5-color: var(--neutral-blue);
|
||||
--h6-color: var(--neutral-purple);
|
||||
|
||||
--text-highlight-bg: var(--neutral-yellow);
|
||||
--text-highlight-fg: var(--dark0-hard);
|
||||
|
||||
--text-accent: var(--neutral-orange);
|
||||
--text-accent-hover: var(--bright-aqua);
|
||||
|
||||
--tag-color: var(--bright-aqua);
|
||||
--tag-background: var(--dark2);
|
||||
--tag-background-hover: var(--dark1);
|
||||
|
||||
--titlebar-text-color-focused: var(--bright-red);
|
||||
|
||||
--inline-title-color: var(--bright-yellow);
|
||||
|
||||
--bold-color: var(--neutral-yellow);
|
||||
--italic-color: var(--neutral-yellow);
|
||||
|
||||
--checkbox-color: var(--light4);
|
||||
--checkbox-color-hover: var(--light4);
|
||||
--checkbox-border-color: var(--light4);
|
||||
--checkbox-border-color-hover: var(--light4);
|
||||
--checklist-done-color: rgba(var(--light2_x), 0.5);
|
||||
|
||||
--table-header-background: rgba(var(--dark0_x), 0.2);
|
||||
--table-header-background-hover: var(--dark2);
|
||||
--table-row-even-background: rgba(var(--dark2_x), 0.2);
|
||||
--table-row-odd-background: rgba(var(--dark2_x), 0.4);
|
||||
--table-row-background-hover: var(--dark2);
|
||||
|
||||
--text-selection: rgba(var(--neutral-red_x), 0.6);
|
||||
--flashing-background: rgba(var(--neutral-red_x), 0.3);
|
||||
|
||||
--code-normal: var(--bright-blue);
|
||||
--code-background: var(--dark1);
|
||||
|
||||
--mermaid-note: var(--neutral-blue);
|
||||
--mermaid-actor: var(--dark2);
|
||||
--mermaid-loopline: var(--neutral-blue);
|
||||
--mermaid-exclude: var(--dark4);
|
||||
--mermaid-seqnum: var(--dark0);
|
||||
|
||||
--icon-color-hover: var(--bright-red);
|
||||
--icon-color-focused: var(--bright-blue);
|
||||
|
||||
--nav-item-color-hover: var(--bright-red);
|
||||
--nav-item-color-active: var(--bright-aqua);
|
||||
--nav-file-tag: rgba(var(--neutral-yellow_x), 0.9);
|
||||
|
||||
--graph-line: var(--dark2);
|
||||
--graph-node: var(--light3);
|
||||
--graph-node-tag: var(--neutral-red);
|
||||
--graph-node-attachment: var(--neutral-green);
|
||||
|
||||
--calendar-hover: var(--bright-red);
|
||||
--calendar-background-hover: var(--dark1);
|
||||
--calendar-week: var(--neutral-orange);
|
||||
--calendar-today: var(--neutral-orange);
|
||||
|
||||
--dataview-key: var(--text-faint);
|
||||
--dataview-key-background: rgba(var(--faded-red_x), 0.5);
|
||||
--dataview-value: var(--text-faint);
|
||||
--dataview-value-background: rgba(var(--neutral-green_x), 0.3);
|
||||
|
||||
--tab-text-color-focused-active: var(--neutral-yellow);
|
||||
--tab-text-color-focused-active-current: var(--bright-red);
|
||||
}
|
||||
|
||||
.theme-light
|
||||
{
|
||||
--color-red-rgb: var(--neutral-red_x);
|
||||
--color-red: var(--neutral-red);
|
||||
--color-purple-rgb: var(--neutral-purple_x);
|
||||
--color-purple: var(--neutral-purple);
|
||||
--color-green-rgb: var(--neutral-green_x);
|
||||
--color-green: var(--neutral-green);
|
||||
--color-cyan-rgb: var(--neutral-blue_x);
|
||||
--color-cyan: var(--neutral-blue);
|
||||
--color-blue-rgb: var(--faded-blue_x);
|
||||
--color-blue: var(--faded-blue);
|
||||
--color-yellow-rgb: var(--neutral-yellow_x);
|
||||
--color-yellow: var(--neutral-yellow);
|
||||
--color-orange-rgb: var(--neutral-orange_x);
|
||||
--color-orange: var(--neutral-orange);
|
||||
--color-pink-rgb: var(--bright-purple_x);
|
||||
--color-pink: var(--bright-purple);
|
||||
|
||||
--background-primary: var(--light0-hard);
|
||||
--background-primary-alt: var(--light0-hard);
|
||||
--background-secondary: var(--light1);
|
||||
--background-secondary-alt: var(--light1);
|
||||
--background-modifier-border: var(--light2);
|
||||
|
||||
--cursor-line-background: rgba(var(--light1_x), 0.5);
|
||||
|
||||
--text-normal: var(--dark0);
|
||||
--text-faint: var(--dark3);
|
||||
--text-muted: var(--dark2);
|
||||
|
||||
--link-url: var(--neutral-green);
|
||||
|
||||
--h1-color: var(--neutral-red);
|
||||
--h2-color: var(--neutral-yellow);
|
||||
--h3-color: var(--neutral-green);
|
||||
--h4-color: var(--neutral-aqua);
|
||||
--h5-color: var(--neutral-blue);
|
||||
--h6-color: var(--neutral-purple);
|
||||
|
||||
--text-highlight-bg: var(--bright-yellow);
|
||||
--text-highlight-fg: var(--dark0);
|
||||
|
||||
--text-accent: var(--neutral-orange);
|
||||
--text-accent-hover: var(--bright-aqua);
|
||||
|
||||
--tag-color: var(--neutral-aqua);
|
||||
--tag-background: var(--light1);
|
||||
--tag-background-hover: rgba(var(--light1_x), 0.6);
|
||||
|
||||
--titlebar-text-color-focused: var(--bright-red);
|
||||
|
||||
--inline-title-color: var(--bright-yellow);
|
||||
|
||||
--bold-color: var(--neutral-yellow);
|
||||
--italic-color: var(--neutral-yellow);
|
||||
|
||||
--checkbox-color: var(--light4);
|
||||
--checkbox-color-hover: var(--light4);
|
||||
--checkbox-border-color: var(--light4);
|
||||
--checkbox-border-color-hover: var(--light4);
|
||||
--checklist-done-color: rgba(var(--dark2_x), 0.4);
|
||||
|
||||
--table-header-background: rgba(var(--light3_x), 0.4);
|
||||
--table-header-background-hover: var(--light2);
|
||||
--table-row-even-background: rgba(var(--light1_x), 0.2);
|
||||
--table-row-odd-background: rgba(var(--light1_x), 0.7);
|
||||
--table-row-background-hover: var(--light2);
|
||||
|
||||
--text-selection: rgba(var(--neutral-red_x), 0.6);
|
||||
--flashing-background: rgba(var(--neutral-red_x), 0.3);
|
||||
|
||||
--code-normal: var(--bright-blue);
|
||||
--code-background: var(--light1);
|
||||
|
||||
--mermaid-note: var(--bright-blue);
|
||||
--mermaid-actor: var(--light3);
|
||||
--mermaid-loopline: var(--neutral-blue);
|
||||
--mermaid-exclude: var(--light2);
|
||||
--mermaid-seqnum: var(--light0);
|
||||
|
||||
--icon-color-hover: var(--bright-red);
|
||||
--icon-color-focused: var(--bright-blue);
|
||||
|
||||
--nav-item-color-hover: var(--bright-red);
|
||||
--nav-item-color-active: var(--neutral-blue);
|
||||
--nav-file-tag: rgba(var(--neutral-blue_x), 0.9);
|
||||
|
||||
--graph-line: var(--light1);
|
||||
--graph-node: var(--gray);
|
||||
--graph-node-tag: var(--neutral-red);
|
||||
--graph-node-attachment: var(--bright-green);
|
||||
|
||||
--calendar-hover: var(--bright-red);
|
||||
--calendar-background-hover: var(--light1);
|
||||
--calendar-week: var(--bright-red);
|
||||
--calendar-today: var(--bright-red);
|
||||
|
||||
--dataview-key: var(--text-faint);
|
||||
--dataview-key-background: rgba(var(--faded-red_x), 0.3);
|
||||
--dataview-value: var(--text-faint);
|
||||
--dataview-value-background: rgba(var(--neutral-green_x), 0.2);
|
||||
|
||||
--tab-text-color-focused-active: var(--neutral-yellow);
|
||||
--tab-text-color-focused-active-current: var(--bright-red);
|
||||
}
|
||||
|
||||
table
|
||||
{
|
||||
border: 1px solid var(--background-secondary) !important;
|
||||
border-collapse: collapse;
|
||||
}
|
||||
|
||||
thead
|
||||
{
|
||||
border-bottom: 2px solid var(--background-modifier-border) !important;
|
||||
}
|
||||
|
||||
th
|
||||
{
|
||||
font-weight: 600 !important;
|
||||
border: 1px solid var(--background-secondary) !important;
|
||||
}
|
||||
|
||||
td
|
||||
{
|
||||
border-left: 1px solid var(--background-secondary) !important;
|
||||
border-right: 1px solid var(--background-secondary) !important;
|
||||
border-bottom: 1px solid var(--background-secondary) !important;
|
||||
}
|
||||
|
||||
.markdown-rendered tbody tr:nth-child(even)
|
||||
{
|
||||
background-color: var(--table-row-even-background) !important;
|
||||
}
|
||||
|
||||
.markdown-rendered tbody tr:nth-child(odd)
|
||||
{
|
||||
background-color: var(--table-row-odd-background) !important;
|
||||
}
|
||||
|
||||
.markdown-rendered tbody tr:nth-child(even):hover,
|
||||
.markdown-rendered tbody tr:nth-child(odd):hover
|
||||
{
|
||||
background-color: var(--table-row-background-hover) !important;
|
||||
}
|
||||
|
||||
.markdown-rendered mark
|
||||
{
|
||||
background-color: var(--text-highlight-bg);
|
||||
color: var(--text-highlight-fg);
|
||||
}
|
||||
|
||||
.markdown-rendered mark a
|
||||
{
|
||||
color: var(--red) !important;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.search-result-file-matched-text
|
||||
{
|
||||
color: var(--text-highlight-fg) !important;
|
||||
}
|
||||
|
||||
.cm-hashtag-begin:hover, .cm-hashtag-end:hover
|
||||
{
|
||||
color: var(--text-accent);
|
||||
/* background-color: var(--tag-background-hover); */
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
input[type=checkbox]
|
||||
{
|
||||
border: 1px solid var(--checkbox-color);
|
||||
}
|
||||
|
||||
input[type=checkbox]:checked
|
||||
{
|
||||
background-color: var(--checkbox-color);
|
||||
box-shadow: inset 0 0 0 2px var(--background-primary);
|
||||
}
|
||||
|
||||
input[type=checkbox]:checked:after
|
||||
{
|
||||
display: none;
|
||||
}
|
||||
|
||||
code[class*="language-"],
|
||||
pre[class*="language-"]
|
||||
{
|
||||
line-height: var(--line-height-tight) !important;
|
||||
}
|
||||
|
||||
.cm-url
|
||||
{
|
||||
color: var(--link-url) !important;
|
||||
}
|
||||
|
||||
.cm-url:hover
|
||||
{
|
||||
color: var(--text-accent-color) !important;
|
||||
}
|
||||
|
||||
/* Keep highlight/marks the same between viewer and editor. */
|
||||
.cm-highlight
|
||||
{
|
||||
color: var(--text-highlight-fg) !important;
|
||||
}
|
||||
|
||||
/* Keep inline code the same between viewer and editor. */
|
||||
.cm-inline-code
|
||||
{
|
||||
border-radius: var(--radius-s);
|
||||
font-size: var(--code-size);
|
||||
padding: 0.1em 0.25em;
|
||||
}
|
||||
|
||||
.cm-line .cm-strong
|
||||
{
|
||||
color: var(--bold-color) !important;
|
||||
}
|
||||
|
||||
/*
|
||||
* Keep list bullet padding the same between viewer and editor.
|
||||
* This is annoying with the cursor in the editor as there is a gap.
|
||||
*/
|
||||
/*
|
||||
.cm-formatting-list
|
||||
{
|
||||
padding-right: 4px !important;
|
||||
}
|
||||
*/
|
||||
|
||||
/*
|
||||
* Keep sub-list indenting the same between viewer and editor.
|
||||
* This assumes --list-indent is default at 2em.
|
||||
*/
|
||||
/*
|
||||
.cm-indent
|
||||
{
|
||||
text-indent: 1em !important;
|
||||
}
|
||||
*/
|
||||
|
||||
.mermaid .note
|
||||
{
|
||||
fill: var(--mermaid-note) !important;
|
||||
}
|
||||
|
||||
.mermaid .actor
|
||||
{
|
||||
fill: var(--mermaid-actor) !important;
|
||||
}
|
||||
|
||||
.mermaid .loopLine
|
||||
{
|
||||
stroke: var(--mermaid-loopline) !important;
|
||||
}
|
||||
|
||||
.mermaid .loopText>tspan,
|
||||
.mermaid .entityLabel
|
||||
{
|
||||
fill: var(--neutral-red) !important;
|
||||
}
|
||||
|
||||
.mermaid .exclude-range
|
||||
{
|
||||
fill: var(--mermaid-exclude) !important;
|
||||
}
|
||||
|
||||
.mermaid .sequenceNumber
|
||||
{
|
||||
fill: var(--mermaid-seqnum) !important;
|
||||
}
|
||||
|
||||
.calendar .week-num
|
||||
{
|
||||
color: var(--calendar-week) !important;
|
||||
}
|
||||
|
||||
.calendar .today
|
||||
{
|
||||
color: var(--calendar-today) !important;
|
||||
}
|
||||
|
||||
.calendar .week-num:hover,
|
||||
.calendar .day:hover
|
||||
{
|
||||
color: var(--calendar-hover) !important;
|
||||
background-color: var(--calendar-background-hover) !important;
|
||||
}
|
||||
|
||||
.markdown-embed-title
|
||||
{
|
||||
color: var(--yellow);
|
||||
font-weight: 600 !important;
|
||||
}
|
||||
|
||||
.cm-active
|
||||
{
|
||||
background-color: var(--cursor-line-background) !important;
|
||||
}
|
||||
|
||||
.nav-file-tag
|
||||
{
|
||||
color: var(--nav-file-tag) !important;
|
||||
}
|
||||
|
||||
.is-flashing
|
||||
{
|
||||
background-color: var(--flashing-background) !important;
|
||||
}
|
||||
|
||||
.dataview.inline-field-key
|
||||
{
|
||||
border-top-left-radius: var(--radius-s);
|
||||
border-bottom-left-radius: var(--radius-s);
|
||||
padding-left: 4px;
|
||||
font-family: var(--font-monospace);
|
||||
font-size: var(--font-smaller);
|
||||
color: var(--dataview-key) !important;
|
||||
background-color: var(--dataview-key-background) !important;
|
||||
}
|
||||
|
||||
.dataview.inline-field-value
|
||||
{
|
||||
border-top-right-radius: var(--radius-s);
|
||||
border-bottom-right-radius: var(--radius-s);
|
||||
padding-right: 4px;
|
||||
font-family: var(--font-monospace);
|
||||
font-size: var(--font-smaller);
|
||||
color: var(--dataview-value) !important;
|
||||
background-color: var(--dataview-value-background) !important;
|
||||
}
|
||||
|
||||
.suggestion-highlight
|
||||
{
|
||||
color: var(--bright-red);
|
||||
}
|
||||
|
||||
body {
|
||||
--callout-border-width: 1px;
|
||||
--callout-border-opacity: 0.4;
|
||||
/* Order as defined in app.css */
|
||||
--callout-default: var(--neutral-blue_x);
|
||||
--callout-note: var(--neutral-blue_x);
|
||||
--callout-summary: var(--neutral-aqua_x);
|
||||
--callout-info: var(--neutral-blue_x);
|
||||
--callout-todo: var(--neutral-blue_x);
|
||||
--callout-important: var(--neutral-aqua_x);
|
||||
--callout-tip: var(--neutral-aqua_x);
|
||||
--callout-success: var(--neutral-green_x);
|
||||
--callout-question: var(--neutral-yellow_x);
|
||||
--callout-warning: var(--neutral-orange_x);
|
||||
--callout-fail: var(--neutral-red_x);
|
||||
--callout-error: var(--neutral-red_x);
|
||||
--callout-bug: var(--neutral-red_x);
|
||||
--callout-example: var(--neutral-purple_x);
|
||||
--callout-quote: var(--gray_x);
|
||||
}
|
||||
|
||||
.callout {
|
||||
background-color: rgba(var(--callout-color), 0.2);
|
||||
}
|
||||
27
obsidian/types.json
Normal file
27
obsidian/types.json
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{
|
||||
"types": {
|
||||
"aliases": "aliases",
|
||||
"cssclasses": "multitext",
|
||||
"tags": "tags",
|
||||
"excalidraw-plugin": "text",
|
||||
"excalidraw-export-transparent": "checkbox",
|
||||
"excalidraw-mask": "checkbox",
|
||||
"excalidraw-export-dark": "checkbox",
|
||||
"excalidraw-export-padding": "number",
|
||||
"excalidraw-export-pngscale": "number",
|
||||
"excalidraw-export-embed-scene": "checkbox",
|
||||
"excalidraw-link-prefix": "text",
|
||||
"excalidraw-url-prefix": "text",
|
||||
"excalidraw-link-brackets": "checkbox",
|
||||
"excalidraw-onload-script": "text",
|
||||
"excalidraw-linkbutton-opacity": "number",
|
||||
"excalidraw-default-mode": "text",
|
||||
"excalidraw-font": "text",
|
||||
"excalidraw-font-color": "text",
|
||||
"excalidraw-border-color": "text",
|
||||
"excalidraw-css": "text",
|
||||
"excalidraw-autoexport": "text",
|
||||
"excalidraw-embeddable-theme": "text",
|
||||
"excalidraw-open-md": "checkbox"
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue