Skip to content
This repository has been archived by the owner on Sep 30, 2024. It is now read-only.

Restyle pr: various improvements #25

Merged
merged 2 commits into from
Jul 24, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions src/methods/helpers/scaleHelper.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
import { updateMultiple } from "./storageHelper.js";
import * as settings from "../config/colorGroups.js";
import chroma from "chroma-js";

import * as settings from "../config/colorGroups.js";

import { updateMultiple } from "./storageHelper.js";

export function updateAll(color) {
updateMultiple(settings.cg3_010409, chroma(color).darken(0.3).hex());
updateMultiple(settings.cg106_ffffff, chroma(color).brighten(4).hex());
Expand Down