Skip to content

Commit

Permalink
Deploying to gh-pages from @ 1f4725f 🚀
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyckahn committed Jul 2, 2023
0 parents commit 6240499
Show file tree
Hide file tree
Showing 51 changed files with 7,718 additions and 0 deletions.
27 changes: 27 additions & 0 deletions bezier.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
import { EasingFunction } from './types';
/**
* Generates a transition easing function that is compatible with WebKit's CSS
* transitions `-webkit-transition-timing-function` CSS property.
*
* The W3C has more information about CSS3 transition timing functions:
* http://www.w3.org/TR/css3-transitions/#transition-timing-function_tag
*/
export declare const getCubicBezierTransition: (x1?: number, y1?: number, x2?: number, y2?: number) => EasingFunction;
/**
* Create a Bezier easing function and attach it to {@link
* Tweenable.easing}. This function gives you total control over the
* easing curve. Matthew Lein's [Ceaser](http://matthewlein.com/ceaser/) is a
* useful tool for visualizing the curves you can make with this function.
*
* To remove any easing functions that are created by this method, `delete`
* them from {@link Tweenable.easing}:
*
* ```
* setBezierFunction('customCurve', 0, 0, 1, 1)
*
* delete Tweenable.easing.customCurve
* ```
* @return {EasingFunction} The {@link EasingFunction} that was
* attached to {@link Tweenable.easing}.
*/
export declare const setBezierFunction: (name: string, x1: number, y1: number, x2: number, y2: number) => EasingFunction;
1 change: 1 addition & 0 deletions bezier.test.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export {};
92 changes: 92 additions & 0 deletions doc/assets/highlight.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
:root {
--light-hl-0: #0000FF;
--dark-hl-0: #569CD6;
--light-hl-1: #000000;
--dark-hl-1: #D4D4D4;
--light-hl-2: #0070C1;
--dark-hl-2: #4FC1FF;
--light-hl-3: #795E26;
--dark-hl-3: #DCDCAA;
--light-hl-4: #001080;
--dark-hl-4: #9CDCFE;
--light-hl-5: #267F99;
--dark-hl-5: #4EC9B0;
--light-hl-6: #008000;
--dark-hl-6: #6A9955;
--light-hl-7: #A31515;
--dark-hl-7: #CE9178;
--light-hl-8: #098658;
--dark-hl-8: #B5CEA8;
--light-hl-9: #AF00DB;
--dark-hl-9: #C586C0;
--light-code-background: #FFFFFF;
--dark-code-background: #1E1E1E;
}

@media (prefers-color-scheme: light) { :root {
--hl-0: var(--light-hl-0);
--hl-1: var(--light-hl-1);
--hl-2: var(--light-hl-2);
--hl-3: var(--light-hl-3);
--hl-4: var(--light-hl-4);
--hl-5: var(--light-hl-5);
--hl-6: var(--light-hl-6);
--hl-7: var(--light-hl-7);
--hl-8: var(--light-hl-8);
--hl-9: var(--light-hl-9);
--code-background: var(--light-code-background);
} }

@media (prefers-color-scheme: dark) { :root {
--hl-0: var(--dark-hl-0);
--hl-1: var(--dark-hl-1);
--hl-2: var(--dark-hl-2);
--hl-3: var(--dark-hl-3);
--hl-4: var(--dark-hl-4);
--hl-5: var(--dark-hl-5);
--hl-6: var(--dark-hl-6);
--hl-7: var(--dark-hl-7);
--hl-8: var(--dark-hl-8);
--hl-9: var(--dark-hl-9);
--code-background: var(--dark-code-background);
} }

:root[data-theme='light'] {
--hl-0: var(--light-hl-0);
--hl-1: var(--light-hl-1);
--hl-2: var(--light-hl-2);
--hl-3: var(--light-hl-3);
--hl-4: var(--light-hl-4);
--hl-5: var(--light-hl-5);
--hl-6: var(--light-hl-6);
--hl-7: var(--light-hl-7);
--hl-8: var(--light-hl-8);
--hl-9: var(--light-hl-9);
--code-background: var(--light-code-background);
}

:root[data-theme='dark'] {
--hl-0: var(--dark-hl-0);
--hl-1: var(--dark-hl-1);
--hl-2: var(--dark-hl-2);
--hl-3: var(--dark-hl-3);
--hl-4: var(--dark-hl-4);
--hl-5: var(--dark-hl-5);
--hl-6: var(--dark-hl-6);
--hl-7: var(--dark-hl-7);
--hl-8: var(--dark-hl-8);
--hl-9: var(--dark-hl-9);
--code-background: var(--dark-code-background);
}

.hl-0 { color: var(--hl-0); }
.hl-1 { color: var(--hl-1); }
.hl-2 { color: var(--hl-2); }
.hl-3 { color: var(--hl-3); }
.hl-4 { color: var(--hl-4); }
.hl-5 { color: var(--hl-5); }
.hl-6 { color: var(--hl-6); }
.hl-7 { color: var(--hl-7); }
.hl-8 { color: var(--hl-8); }
.hl-9 { color: var(--hl-9); }
pre, code { background: var(--code-background); }
58 changes: 58 additions & 0 deletions doc/assets/main.js

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions doc/assets/pages.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
.tsd-navigation li.pages-entry.pages-entry-page > a {
color: var(--color-link);
}
.tsd-navigation li.pages-entry > a {
padding-top: 0.25rem;
padding-bottom: 0.25rem;
}
.tsd-page-toolbar .table-cell .pages-entry {
white-space: normal;
}

#tsd-search .results .pages-entry-page > a::before {
content: '📚 ';
}
1 change: 1 addition & 0 deletions doc/assets/search.js

Large diffs are not rendered by default.

Loading

0 comments on commit 6240499

Please sign in to comment.