430 | {key.action} 431 |
├── .gitignore ├── docs ├── favicon.png ├── global.css ├── index.html ├── build │ ├── bundle.css │ ├── bundle.js │ └── bundle.css.map └── logo.svg ├── public ├── favicon.png ├── global.css ├── index.html └── logo.svg ├── src ├── main.js └── App.svelte ├── package.json ├── README.md └── rollup.config.js /.gitignore: -------------------------------------------------------------------------------- 1 | /node_modules/ 2 | /public/build/ 3 | 4 | .DS_Store 5 | -------------------------------------------------------------------------------- /docs/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lettier/blender-keymap-trainer/HEAD/docs/favicon.png -------------------------------------------------------------------------------- /public/favicon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lettier/blender-keymap-trainer/HEAD/public/favicon.png -------------------------------------------------------------------------------- /src/main.js: -------------------------------------------------------------------------------- 1 | import App from './App.svelte'; 2 | 3 | const app = new App({ 4 | target: document.body, 5 | props: {} 6 | }); 7 | 8 | export default app; 9 | -------------------------------------------------------------------------------- /docs/global.css: -------------------------------------------------------------------------------- 1 | /* 2 | (C) 2020 David Lettier 3 | lettier.com 4 | */ 5 | 6 | html, body { 7 | position: relative; 8 | width: 100%; 9 | height: 100%; 10 | } 11 | 12 | body { 13 | background-color: #2e222f; 14 | color: #333; 15 | margin: 0; 16 | padding: 8px; 17 | box-sizing: border-box; 18 | font-family: Roboto, sans-serif; 19 | font-weight: bold; 20 | } 21 | 22 | .logo-background { 23 | background-size: cover; 24 | background-repeat: no-repeat; 25 | background-image: url('logo-background.svg'); 26 | } 27 | -------------------------------------------------------------------------------- /public/global.css: -------------------------------------------------------------------------------- 1 | /* 2 | (C) 2020 David Lettier 3 | lettier.com 4 | */ 5 | 6 | html, body { 7 | position: relative; 8 | width: 100%; 9 | height: 100%; 10 | } 11 | 12 | body { 13 | background-color: #2e222f; 14 | color: #333; 15 | margin: 0; 16 | padding: 8px; 17 | box-sizing: border-box; 18 | font-family: Roboto, sans-serif; 19 | font-weight: bold; 20 | } 21 | 22 | .logo-background { 23 | background-size: cover; 24 | background-repeat: no-repeat; 25 | background-image: url('logo-background.svg'); 26 | } 27 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "blender-keymap-trainer", 3 | "author": "David Lettier", 4 | "private": true, 5 | "version": "0.0.0", 6 | "scripts": { 7 | "build": "rollup -c", 8 | "dev": "rollup -c -w", 9 | "start": "sirv public" 10 | }, 11 | "devDependencies": { 12 | "@rollup/plugin-commonjs": "^14.0.0", 13 | "@rollup/plugin-node-resolve": "^8.0.0", 14 | "rollup": "^2.3.4", 15 | "rollup-plugin-livereload": "^1.0.0", 16 | "rollup-plugin-svelte": "^6.0.0", 17 | "rollup-plugin-terser": "^7.0.0", 18 | "svelte": "^3.0.0" 19 | }, 20 | "dependencies": { 21 | "sirv-cli": "^1.0.0" 22 | } 23 | } 24 | -------------------------------------------------------------------------------- /docs/index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 |
2 |
3 |
13 |
14 |
26 |
27 |
52 |
53 |
60 |
61 |