Skip to content

Commit

Permalink
refactor(examples): update imports
Browse files Browse the repository at this point in the history
  • Loading branch information
postspectacular committed Oct 8, 2021
1 parent bf9edcb commit 6f847cb
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion examples/color-themes/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import type {
ColorThemePart,
ReadonlyColor,
} from "@thi.ng/color";
import { COLOR_RANGES } from "@thi.ng/color/ops/color-range";
import { COLOR_RANGES } from "@thi.ng/color/color-range";

export interface MainInputs {
parts: IObjectOf<ColorThemePart>;
Expand Down
2 changes: 1 addition & 1 deletion examples/color-themes/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { ColorRangePreset, ColorThemePart } from "@thi.ng/color";
import { css } from "@thi.ng/color/css/css";
import { lch, LCH } from "@thi.ng/color/lch/lch";
import { swatchesH } from "@thi.ng/color/ops/swatches";
import { swatchesH } from "@thi.ng/color/swatches";
import { div } from "@thi.ng/hiccup-html/blocks";
import {
button,
Expand Down
6 changes: 3 additions & 3 deletions examples/color-themes/src/state.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@ import type {
ColorThemePart,
CSSColorName,
} from "@thi.ng/color";
import { colorsFromTheme } from "@thi.ng/color/color-range";
import { distCIEDE2000 } from "@thi.ng/color/distance";
import { LCH, lch } from "@thi.ng/color/lch/lch";
import { colorsFromTheme } from "@thi.ng/color/ops/color-range";
import { distCIEDE2000 } from "@thi.ng/color/ops/distance";
import { proximity, sort } from "@thi.ng/color/ops/sort";
import { proximity, sort } from "@thi.ng/color/sort";
import { SYSTEM } from "@thi.ng/random/system";
import { XsAdd } from "@thi.ng/random/xsadd";
import { debounce } from "@thi.ng/rstream/debounce";
Expand Down
2 changes: 1 addition & 1 deletion examples/commit-heatmap/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { withoutKeysObj } from "@thi.ng/associative/without-keys";
import {
cosineGradient,
COSINE_GRADIENTS,
} from "@thi.ng/color/ops/cosine-gradients";
} from "@thi.ng/color/cosine-gradients";
import { threadLast } from "@thi.ng/compose/thread-last";
import { DAY } from "@thi.ng/date/api";
import { quarters } from "@thi.ng/date/iterators";
Expand Down
2 changes: 1 addition & 1 deletion examples/dominant-colors/src/components/swatches.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ReadonlyColor } from "@thi.ng/color";
import { dotsH } from "@thi.ng/color/ops/swatches";
import { dotsH } from "@thi.ng/color/swatches";
import { svg } from "@thi.ng/hiccup-svg/svg";

export const svgSwatches = (colors: ReadonlyColor[], size: number) =>
Expand Down
4 changes: 2 additions & 2 deletions examples/pixel-sorting/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { timed } from "@thi.ng/bench/timed";
import { abgr32 } from "@thi.ng/color/int/int";
import { luminanceAbgr32 } from "@thi.ng/color/ops/luminance-rgb";
import { sortMapped } from "@thi.ng/color/ops/sort";
import { luminanceAbgr32 } from "@thi.ng/color/luminance-rgb";
import { sortMapped } from "@thi.ng/color/sort";
import { div } from "@thi.ng/hiccup-html/blocks";
import {
checkbox,
Expand Down

0 comments on commit 6f847cb

Please sign in to comment.