-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
d165743
commit 570648e
Showing
38 changed files
with
4,877 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# tslogic | ||
|
||
Type defitions for Logic Pro' Scripter. Check out the [API Docs](./docs) | ||
|
||
### usage | ||
|
||
Create a `tsconfig.json` withe following compiler options: | ||
|
||
```json | ||
{ | ||
"compilerOptions": { | ||
"outDir": "<where you want your scripts written out>", | ||
"target": "ES6", | ||
"skipLibCheck": true | ||
}, | ||
"include": ["<your source files>"] | ||
} | ||
``` | ||
|
||
If you don't have one, create a `package.json`: | ||
|
||
``` | ||
$ npm init -y | ||
``` | ||
|
||
Install `tslogic` as a devDependency of your project: | ||
|
||
``` | ||
$ npm install --save-dev tslogic | ||
``` | ||
|
||
Finally, in your typescript source files, reference the `tslogic` types like: | ||
|
||
```ts | ||
/// <reference types="tslogic" /> | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
TypeDoc added this file to prevent GitHub Pages from using Jekyll. You can turn off this behavior by setting the `githubPages` option to false. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
:root { | ||
--light-code-background: #FFFFFF; | ||
--dark-code-background: #1E1E1E; | ||
} | ||
|
||
@media (prefers-color-scheme: light) { :root { | ||
--code-background: var(--light-code-background); | ||
} } | ||
|
||
@media (prefers-color-scheme: dark) { :root { | ||
--code-background: var(--dark-code-background); | ||
} } | ||
|
||
:root[data-theme='light'] { | ||
--code-background: var(--light-code-background); | ||
} | ||
|
||
:root[data-theme='dark'] { | ||
--code-background: var(--dark-code-background); | ||
} | ||
|
||
pre, code { background: var(--code-background); } |
Large diffs are not rendered by default.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.