mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-30 05:42:00 -08:00
bring back overrides
This commit is contained in:
parent
8d703a4b6c
commit
d19b31670a
|
@ -200,7 +200,7 @@ if (!window.localStorage.getItem('OUTLINE_STROKE_COLOR')) {
|
|||
window.localStorage.setItem('OUTLINE_STROKE_COLOR', 'transparent');
|
||||
}
|
||||
// @ts-ignore
|
||||
const _OUTLINE_STROKE_COLOR = window.localStorage.getItem('OUTLINE_STROKE_COLOR');
|
||||
const _OUTLINE_STROKE_COLOR = window.localStorage.getItem('OUTLINE_STROKE_COLOR') as string;
|
||||
|
||||
if (!window.localStorage.getItem('OUTLINE_STROKE_WIDTH')) {
|
||||
window.localStorage.setItem('OUTLINE_STROKE_WIDTH', '12');
|
||||
|
@ -223,8 +223,8 @@ const _PUSH_NODES_LENGTH = parseInt(window.localStorage.getItem('PUSH_NODES_LENG
|
|||
const CONNECTOR_PAINT_STYLE_DEFAULT: PaintStyle = {
|
||||
stroke: getStyleTokenValue('--color-foreground-dark'),
|
||||
strokeWidth: 2,
|
||||
outlineWidth: 12,
|
||||
outlineStroke: 'transparent',
|
||||
outlineWidth: _OUTLINE_STROKE_WIDTH,
|
||||
outlineStroke: _OUTLINE_STROKE_COLOR,
|
||||
};
|
||||
|
||||
const CONNECTOR_PAINT_STYLE_PRIMARY = {
|
||||
|
|
Loading…
Reference in a new issue