mirror of
https://github.com/ankitects/anki.git
synced 2025-11-06 04:37:22 -05:00
* add SaveCustomColours rpc method * restore custom colour palette on editor init * save custom colour palette on colour picker open and input there doesn't seem to be an event fired when the picker is cancelled/closed, so it's still possible for work to be lost * save colours on `change` instead of `input` `input` is supposed to be fired on every adjustment to the picker whereas `change` is only fired when the picker is accepted, but qt seems to treat both as the latter, so this is currently a no-op * Store colors in the collection One minor tweak to the logic while I was there: an invalid color no longer invalidates all the rest. --------- Co-authored-by: Damien Elmes <gpg@ankiweb.net> |
||
|---|---|---|
| .. | ||
| editable | ||
| editor | ||
| html-filter | ||
| icons | ||
| lib | ||
| mathjax | ||
| reviewer | ||
| routes | ||
| src | ||
| tools | ||
| .gitignore | ||
| bundle_svelte.mjs | ||
| bundle_ts.mjs | ||
| licenses.json | ||
| page.html | ||
| README.md | ||
| svelte.config.js | ||
| transform_ts.mjs | ||
| tsconfig.json | ||
| tsconfig_legacy.json | ||
| vite.config.ts | ||
| yarn.sh | ||
Anki's TypeScript and Sass dependencies. Some TS/JS code is also stored separately in ../qt/aqt/data/web/.
To update all dependencies:
./update.sh
To add a new dev dependency, use something like:
./add.sh -D @rollup/plugin-alias