summaryrefslogtreecommitdiff
path: root/src/components/NodeEditor.css
diff options
context:
space:
mode:
authorSam Nystrom <sam@samnystrom.dev>2024-03-16 21:09:02 +0000
committerSam Nystrom <sam@samnystrom.dev>2024-03-16 17:16:58 -0400
commit3b8c7e391e1f370af74df30a14a699a49543f918 (patch)
treec2f0514911963843def2267329e14554a4d21fe9 /src/components/NodeEditor.css
parent13b10dd150f9c9cf382fae9802a704ba9c582a62 (diff)
refactor: extract NodeEditor into a component
Diffstat (limited to 'src/components/NodeEditor.css')
-rw-r--r--src/components/NodeEditor.css18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/components/NodeEditor.css b/src/components/NodeEditor.css
new file mode 100644
index 0000000..5a8a683
--- /dev/null
+++ b/src/components/NodeEditor.css
@@ -0,0 +1,18 @@
+@scope (.__NodeEditor) {
+ :scope {
+ --base: #121212;
+ --surface: #242424;
+ --overlay: #484848;
+ --primary: #1c4c87;
+
+ --data-any: #36c965;
+ --data-float: #a0a0a0;
+ --data-vector: #5e29d9;
+ }
+
+ .link {
+ fill: none;
+ stroke: var(--data-float);
+ stroke-width: 2;
+ }
+} \ No newline at end of file