This commit is contained in:
Oscar Plaisant
2024-05-14 10:51:40 +02:00
parent f71d6b0503
commit 66c143b7b3
164 changed files with 25026 additions and 13829 deletions

File diff suppressed because one or more lines are too long

View File

@@ -1,7 +1,7 @@
{
"id": "obsidian-latex-suite",
"name": "Latex Suite",
"version": "1.9.1",
"version": "1.9.3",
"minAppVersion": "1.0.0",
"description": "Make typesetting LaTeX math as fast as handwriting through snippets, text expansion, and editor enhancements",
"author": "artisticat",

View File

@@ -93,16 +93,12 @@
}
.snippets-editor-validity-indicator.valid {
background-color: #7dc535;
background-color: var(--color-green);
visibility: visible;
}
.theme-dark .snippets-editor-validity-indicator.valid {
background-color: #588b24;
}
.snippets-editor-validity-indicator.invalid {
background-color: #ea5555;
background-color: var(--color-red);
visibility: visible;
}
@@ -115,6 +111,9 @@
border: none;
}
.search-input-container input.latex-suite-location-input-el {
width: initial;
}
/*
Snippet color classes.
@@ -124,36 +123,36 @@ Snippet color classes.
nesting multiple decorations. */
.latex-suite-snippet-placeholder {
border-width: 1px 0 1px 0;
border-style: solid;
border-radius: 2px;
background-color: var(--placeholder-bg);
outline: var(--placeholder-outline) solid 1px;
}
.latex-suite-snippet-placeholder-0, span.latex-suite-snippet-placeholder-0 span {
border-color: lightskyblue;
--placeholder-bg: #87cefa2e;
--placeholder-outline: #87cefa6e;
}
.theme-dark .latex-suite-snippet-placeholder-0, span.latex-suite-snippet-placeholder-0 span {
--placeholder-outline: #87cefa43;
}
.latex-suite-snippet-placeholder-1, span.latex-suite-snippet-placeholder-1 span {
border-color: orange;
--placeholder-bg: #ffa50033;
--placeholder-outline: #ffa5006b;
}
.theme-dark .latex-suite-snippet-placeholder-1, span.latex-suite-snippet-placeholder-1 span {
--placeholder-outline: #ffa5004d;
}
.latex-suite-snippet-placeholder-2, span.latex-suite-snippet-placeholder-2 span {
border-color: lime;
--placeholder-bg: #00ff0022;
--placeholder-outline: #00ff0060;
}
.latex-suite-snippet-placeholder-3, span.latex-suite-snippet-placeholder-3 span {
border-color: pink;
}
.latex-suite-snippet-placeholder-4, span.latex-suite-snippet-placeholder-4 span {
border-color: cornsilk;
}
.latex-suite-snippet-placeholder-5, span.latex-suite-snippet-placeholder-5 span {
border-color: magenta;
}
.latex-suite-snippet-placeholder-6, span.latex-suite-snippet-placeholder-6 span {
border-color: navajowhite;
.theme-dark .latex-suite-snippet-placeholder-2, span.latex-suite-snippet-placeholder-2 span {
--placeholder-outline: #00ff003d;
}
@@ -197,11 +196,11 @@ sup.cm-math, sub.cm-math {
/* Highlight brackets */
.theme-light .latex-suite-highlighted-bracket, .theme-light .latex-suite-highlighted-bracket [class^="latex-suite-color-bracket-"] {
background-color: hsl(var(--accent-h), var(--accent-s), var(--accent-l), 0.25);
background-color: hsl(var(--accent-h), var(--accent-s), 40%, 0.3);
}
.theme-dark .latex-suite-highlighted-bracket, .theme-dark .latex-suite-highlighted-bracket [class^="latex-suite-color-bracket-"] {
background-color: hsl(var(--accent-h), var(--accent-s), calc(var(--accent-l) - 7%), 0.3);
background-color: hsl(var(--accent-h), var(--accent-s), 70%, 0.6);
}