update
This commit is contained in:
16
.obsidian/plugins/languagetool/data.json
vendored
Normal file
16
.obsidian/plugins/languagetool/data.json
vendored
Normal file
@@ -0,0 +1,16 @@
|
||||
{
|
||||
"serverUrl": "https://api.languagetool.org",
|
||||
"autoCheckDelay": 3000,
|
||||
"shouldAutoCheck": false,
|
||||
"languageVariety": {
|
||||
"en": "en-US",
|
||||
"de": "de-DE",
|
||||
"pt": "pt-PT",
|
||||
"ca": "ca-ES"
|
||||
},
|
||||
"dictionary": [],
|
||||
"syncDictionary": false,
|
||||
"remoteDictionary": [],
|
||||
"pickyMode": false,
|
||||
"motherTongue": "fr"
|
||||
}
|
35
.obsidian/plugins/languagetool/main.js
vendored
Normal file
35
.obsidian/plugins/languagetool/main.js
vendored
Normal file
File diff suppressed because one or more lines are too long
10
.obsidian/plugins/languagetool/manifest.json
vendored
Normal file
10
.obsidian/plugins/languagetool/manifest.json
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
{
|
||||
"id": "languagetool",
|
||||
"name": "LanguageTool",
|
||||
"version": "1.0.9",
|
||||
"minAppVersion": "1.5.0",
|
||||
"description": "Inofficial integration of the LanguageTool spell and grammar checker.",
|
||||
"author": "Lars Wrenger, Clemens Ertle",
|
||||
"authorUrl": "https://github.com/wrenger",
|
||||
"isDesktopOnly": false
|
||||
}
|
204
.obsidian/plugins/languagetool/styles.css
vendored
Normal file
204
.obsidian/plugins/languagetool/styles.css
vendored
Normal file
@@ -0,0 +1,204 @@
|
||||
:root {
|
||||
--lt-minor: #e9b35f;
|
||||
--lt-major: #da615c;
|
||||
--lt-style: #8981f3;
|
||||
}
|
||||
|
||||
.lt-settings-btn {
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
.lt-settings-grid {
|
||||
display: inline-grid;
|
||||
}
|
||||
|
||||
.lt-underline {
|
||||
cursor: pointer;
|
||||
transition: background-color 100ms ease-out;
|
||||
}
|
||||
|
||||
.lt-underline.lt-minor {
|
||||
text-decoration: wavy underline var(--lt-minor);
|
||||
-webkit-text-decoration: wavy underline var(--lt-minor);
|
||||
&:hover {
|
||||
background-color: color-mix(in srgb, var(--lt-minor), transparent 80%);
|
||||
}
|
||||
}
|
||||
|
||||
.lt-underline.lt-major {
|
||||
text-decoration: wavy underline var(--lt-major);
|
||||
-webkit-text-decoration: wavy underline var(--lt-major);
|
||||
&:hover {
|
||||
background-color: color-mix(in srgb, var(--lt-major), transparent 80%);
|
||||
}
|
||||
}
|
||||
|
||||
.lt-underline.lt-style {
|
||||
text-decoration: wavy underline var(--lt-style);
|
||||
-webkit-text-decoration: wavy underline var(--lt-style);
|
||||
&:hover {
|
||||
background-color: color-mix(in srgb, var(--lt-style), transparent 80%);
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes lineInserted {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
.lt-predictions-container.cm-tooltip,
|
||||
.lt-predictions-container {
|
||||
position: absolute;
|
||||
animation-duration: 150ms;
|
||||
animation-name: lineInserted;
|
||||
font-family: var(--default-font);
|
||||
font-size: 0.93rem;
|
||||
padding: 12px 0 0;
|
||||
background-color: var(--background-primary);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 6px;
|
||||
width: 300px;
|
||||
line-height: 1.5;
|
||||
z-index: var(--layer-popover);
|
||||
overflow: visible;
|
||||
}
|
||||
|
||||
.lt-predictions-container > button {
|
||||
transition-delay: 0.5s;
|
||||
}
|
||||
|
||||
.lt-buttoncontainer {
|
||||
&:not(:empty) {
|
||||
padding-top: 10px;
|
||||
}
|
||||
& > button {
|
||||
margin-right: 4px;
|
||||
margin-bottom: 4px;
|
||||
padding: 4px 10px;
|
||||
}
|
||||
}
|
||||
|
||||
.lt-title {
|
||||
display: block;
|
||||
font-weight: 600;
|
||||
margin-bottom: 6px;
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
.lt-message {
|
||||
padding: 0 12px;
|
||||
display: block;
|
||||
}
|
||||
|
||||
.lt-bottom {
|
||||
min-height: 10px;
|
||||
padding: 0 12px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.lt-info-container {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.lt-info-button {
|
||||
color: var(--text-faint);
|
||||
}
|
||||
|
||||
.lt-info-box {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
animation: lineInserted 150ms;
|
||||
font-family: var(--default-font);
|
||||
font-size: 0.93rem;
|
||||
padding: 12px 0;
|
||||
background-color: var(--background-primary);
|
||||
border: 1px solid var(--background-modifier-border);
|
||||
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 6px;
|
||||
line-height: 1.5;
|
||||
z-index: var(--layer-popover);
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.hidden {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.lt-info {
|
||||
padding: 0 12px;
|
||||
display: block;
|
||||
font-size: 0.8rem;
|
||||
color: var(--text-muted);
|
||||
user-select: text;
|
||||
}
|
||||
|
||||
.lt-ignorecontainer {
|
||||
display: flex;
|
||||
}
|
||||
|
||||
.lt-status-bar-btn {
|
||||
height: 100%;
|
||||
display: flex;
|
||||
cursor: pointer;
|
||||
line-height: 1;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.lt-status-bar-check-icon {
|
||||
display: block;
|
||||
text-decoration: underline dotted;
|
||||
-webkit-text-decoration: underline dotted;
|
||||
}
|
||||
|
||||
.lt-ignore-btn {
|
||||
margin: 0;
|
||||
padding: 12px;
|
||||
display: flex;
|
||||
width: 100%;
|
||||
text-align: left;
|
||||
border-radius: 0;
|
||||
align-items: center;
|
||||
line-height: 1;
|
||||
border-top: 1px solid var(--background-modifier-border);
|
||||
& > span {
|
||||
display: flex;
|
||||
&:last-child {
|
||||
margin-left: 5px;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.lt-minor > .lt-title > span {
|
||||
text-decoration: underline 2px var(--lt-minor);
|
||||
-webkit-text-decoration: underline 2px var(--lt-minor);
|
||||
}
|
||||
.lt-major > .lt-title > span {
|
||||
text-decoration: underline 2px var(--lt-major);
|
||||
-webkit-text-decoration: underline 2px var(--lt-major);
|
||||
}
|
||||
.lt-style > .lt-title > span {
|
||||
text-decoration: underline 2px var(--lt-style);
|
||||
-webkit-text-decoration: underline 2px var(--lt-style);
|
||||
}
|
||||
|
||||
.lt-loading > svg {
|
||||
animation-name: spin;
|
||||
animation-duration: 1s;
|
||||
animation-iteration-count: infinite;
|
||||
animation-timing-function: linear;
|
||||
}
|
||||
|
||||
@keyframes spin {
|
||||
from {
|
||||
transform: rotate(0deg);
|
||||
}
|
||||
to {
|
||||
transform: rotate(360deg);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user