@@ -32,14 +32,14 @@ const components: TLReactComponents<Shape> = {
}
const tools: TLReactToolConstructor<Shape>[] = [
- BoxTool,
- DotTool,
- EllipseTool,
+ // BoxTool,
+ // DotTool,
+ // EllipseTool,
+ // PolygonTool,
NuEraseTool,
HighlighterTool,
LineTool,
PencilTool,
- PolygonTool,
TextTool,
YouTubeTool,
LogseqPortalTool,
@@ -5,6 +5,7 @@ import { Shape, LineShape } from '~lib'
// @ts-expect-error maybe later
export class LineTool extends TLLineTool<LineShape, Shape, TLReactEventMap> {
static id = 'line'
- static shortcut = ['l']
+ // not sure why "c" is not working in Logseq?
+ static shortcut = ['c', 'x']
Shape = LineShape
@@ -59,7 +59,7 @@
pointer-events: all;
position: relative;
background-color: #fff;
- color: var(--color-text);
+ color: #a4b5b6;
padding: 8px 12px;
border-radius: 8px;
white-space: nowrap;
@@ -127,7 +127,7 @@
.logseq-tldraw .switch-input-root[data-state='checked'] {
- background: var(--ls-active-primary-color);
+ background: var(--ls-selection-background-color);
.logseq-tldraw .switch-input-thumb {