diff --git a/lib/random-colors.ts b/lib/random-colors.ts index 68af93e..8635abc 100644 --- a/lib/random-colors.ts +++ b/lib/random-colors.ts @@ -10,7 +10,7 @@ type RandomPaletteGenerator = (numEntries: number, rng: Random) => string[]; export type RandomPaletteAlgorithm = "RGB" | "CIELUV" | "threevals" | "randhue"; export const DEFAULT_RANDOM_PALETTE_ALGORITHM: RandomPaletteAlgorithm = - "threevals"; + "randhue"; function createRandomRGBColor(rng: Random): string { const rgb = range(3).map(() => rng.inRange({ min: 0, max: 255, step: 1 })); diff --git a/lib/svg-symbol.tsx b/lib/svg-symbol.tsx index 73ec8c3..84a5fc8 100644 --- a/lib/svg-symbol.tsx +++ b/lib/svg-symbol.tsx @@ -104,7 +104,7 @@ const DEFAULT_CONTEXT: SvgSymbolContext = { fill: "#ffffff", showSpecs: false, uniformStrokeWidth: DEFAULT_UNIFORM_STROKE_WIDTH, - disableGradients: true, + disableGradients: false, }; /**