mirror of
https://github.com/Myriad-Dreamin/tinymist.git
synced 2025-12-23 08:47:50 +00:00
Some checks are pending
tinymist::auto_tag / auto-tag (push) Waiting to run
tinymist::ci / Duplicate Actions Detection (push) Waiting to run
tinymist::ci / Check Clippy, Formatting, Completion, Documentation, and Tests (Linux) (push) Waiting to run
tinymist::ci / Check Minimum Rust version and Tests (Windows) (push) Waiting to run
tinymist::ci / prepare-build (push) Waiting to run
tinymist::ci / announce (push) Blocked by required conditions
tinymist::ci / build (push) Blocked by required conditions
tinymist::gh_pages / build-gh-pages (push) Waiting to run
- Restructured files. - Render non-printable symbols, following typst documentation's convention. - Add a toggle to show details: symbol name and unicode, both of which can be copied to clipboard on click. - Make detypify import async, so that it will not block symbol rendering. - Show detypify canvas only when available. <img width="1289" height="421" alt="image" src="https://github.com/user-attachments/assets/ed6469c4-57a0-4d17-a4be-206875a03e43" /> <img width="1238" height="632" alt="image" src="https://github.com/user-attachments/assets/e6bba758-7836-4230-9ab9-f9550454b4de" /> --------- Co-authored-by: Myriad-Dreamin <camiyoru@gmail.com>
81 lines
1.4 KiB
CSS
81 lines
1.4 KiB
CSS
|
|
.template-card {
|
|
padding: 18px 24px;
|
|
margin: 1em 0;
|
|
}
|
|
|
|
.tinymist-search {
|
|
width: calc(100% - 1em);
|
|
margin: 0.2em;
|
|
}
|
|
|
|
.tinymist-author-container {
|
|
font-size: 0.8em;
|
|
}
|
|
|
|
.tinymist-template-action-container {
|
|
margin-top: 0.2em;
|
|
margin-bottom: 0.3em;
|
|
}
|
|
|
|
.tinymist-category-container {
|
|
margin-bottom: 0.1em;
|
|
}
|
|
|
|
.tinymist-category {
|
|
background: rgba(255, 255, 255, 0.15);
|
|
border-radius: 0.4rem;
|
|
padding: 0.1rem 0.5rem;
|
|
}
|
|
|
|
.tinymist-category-filter {
|
|
display: flex;
|
|
margin-top: 6px;
|
|
gap: 0.5rem;
|
|
}
|
|
|
|
.tinymist-highlight {
|
|
background: rgba(255, 255, 0, 0.15);
|
|
}
|
|
|
|
.tinymist-code {
|
|
font-family: Cascadia Code, Consolas, SF Mono, DejaVu Sans Mono, monospace;
|
|
}
|
|
|
|
#tinymist-app, .tinymist-main-window {
|
|
margin: 1rem;
|
|
}
|
|
|
|
#tinymist-app code, .tinymist-main-window code, .tinymist-window code {
|
|
background-color: transparent;
|
|
padding: 0;
|
|
border-radius: 0;
|
|
}
|
|
|
|
#tinymist-app.no-wrap {
|
|
margin: 0;
|
|
}
|
|
|
|
body.typst-preview-dark {
|
|
--modal-background: rgba(0, 0, 0, 0.6);
|
|
}
|
|
body.typst-preview-light {
|
|
--modal-background: rgba(255, 255, 255, 0.8);
|
|
}
|
|
|
|
body.typst-preview-dark .tinymist-category {
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|
|
|
|
body.typst-preview-light .tinymist-category {
|
|
background: rgba(0, 0, 0, 0.05);
|
|
}
|
|
|
|
.tinymist-icon :is(path, rect) {
|
|
fill: currentColor;
|
|
}
|
|
|
|
.tinymist-icon :is(path, rect).stroke-based {
|
|
fill: none;
|
|
stroke: currentColor;
|
|
}
|