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');
|
window.localStorage.setItem('OUTLINE_STROKE_COLOR', 'transparent');
|
||||||
}
|
}
|
||||||
// @ts-ignore
|
// @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')) {
|
if (!window.localStorage.getItem('OUTLINE_STROKE_WIDTH')) {
|
||||||
window.localStorage.setItem('OUTLINE_STROKE_WIDTH', '12');
|
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 = {
|
const CONNECTOR_PAINT_STYLE_DEFAULT: PaintStyle = {
|
||||||
stroke: getStyleTokenValue('--color-foreground-dark'),
|
stroke: getStyleTokenValue('--color-foreground-dark'),
|
||||||
strokeWidth: 2,
|
strokeWidth: 2,
|
||||||
outlineWidth: 12,
|
outlineWidth: _OUTLINE_STROKE_WIDTH,
|
||||||
outlineStroke: 'transparent',
|
outlineStroke: _OUTLINE_STROKE_COLOR,
|
||||||
};
|
};
|
||||||
|
|
||||||
const CONNECTOR_PAINT_STYLE_PRIMARY = {
|
const CONNECTOR_PAINT_STYLE_PRIMARY = {
|
||||||
|
|
Loading…
Reference in a new issue