Skip to content
Snippets Groups Projects
Commit cbd493d8 authored by Alexander Rose's avatar Alexander Rose
Browse files

use sequential list as default for model-index color theme

parent 53dbd1ae
No related branches found
No related tags found
No related merge requests found
/** /**
* Copyright (c) 2019 mol* contributors, licensed under MIT, See LICENSE file for more info. * Copyright (c) 2019-2020 mol* contributors, licensed under MIT, See LICENSE file for more info.
* *
* @author Alexander Rose <alexander.rose@weirdbyte.de> * @author Alexander Rose <alexander.rose@weirdbyte.de>
*/ */
...@@ -17,7 +17,7 @@ const DefaultColor = Color(0xCCCCCC) ...@@ -17,7 +17,7 @@ const DefaultColor = Color(0xCCCCCC)
const Description = 'Gives every model a unique color based on the position (index) of the model in the list of models in the structure.' const Description = 'Gives every model a unique color based on the position (index) of the model in the list of models in the structure.'
export const ModelIndexColorThemeParams = { export const ModelIndexColorThemeParams = {
...getPaletteParams({ type: 'scale', scaleList: 'red-yellow-blue' }), ...getPaletteParams({ type: 'scale', scaleList: 'purples' }),
} }
export type ModelIndexColorThemeParams = typeof ModelIndexColorThemeParams export type ModelIndexColorThemeParams = typeof ModelIndexColorThemeParams
export function getModelIndexColorThemeParams(ctx: ThemeDataContext) { export function getModelIndexColorThemeParams(ctx: ThemeDataContext) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment