Zeige Eingang und Ausgang als gefuellte Dreiecke vor dem Typ und tausche die Notiz gegen die gelieferte Sprechblase.
Deploy Development / deploy (push) Successful in 29s
Deploy Development / deploy (push) Successful in 29s
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
f6f8d5980c
commit
f0c8981e22
10 files changed
+64
-35
No files matched your search
@@ -1,3 +1,18 @@
|
||||
/** Short content hashes so a replaced symbol is loaded without clearing the browser cache. */
|
||||
const SYMBOL_REV = {
|
||||
"light/note": "5A420BDCA465",
|
||||
"dark/note": "A4CB08EFE0CE",
|
||||
"light/communication-in": "E0EA4BDC8906",
|
||||
"dark/communication-in": "96DD8CF1D6B0",
|
||||
"light/communication-out": "700E710A12CB",
|
||||
"dark/communication-out": "761536F9818E",
|
||||
};
|
||||
|
||||
export function symbolUrl(tone, name) {
|
||||
const rev = SYMBOL_REV[`${tone}/${name}`] || "symbols-1-3";
|
||||
return `/ui/content-symbols-v1/${tone}/${name}.svg?v=${rev}`;
|
||||
}
|
||||
|
||||
/** UI classification only. The server's element kind and access rules are unchanged. */
|
||||
export function contentSymbol(element = {}) {
|
||||
if (element.kind === "note") return "note";
|
||||
|
||||
Reference in new issue
Block a user