Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

40 use css variables for general design #86

Closed
wants to merge 83 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
83 commits
Select commit Hold shift + click to select a range
38f0ecf
current svg progress
TSKsmiley Sep 21, 2023
9e61c68
moveable actual svelte components
TSKsmiley Sep 27, 2023
c8ff5b9
accessor added
AlbertHald Sep 27, 2023
d6dbdc0
changes
TSKsmiley Sep 28, 2023
7f25dd6
cahnge
TSKsmiley Sep 28, 2023
44fc6d6
Added rad
AlbertHald Sep 28, 2023
f04baf2
Co-authored-by: Albert Hald <[email protected]>
TSKsmiley Sep 28, 2023
ab1757f
Implemented point with svg
AlbertHald Oct 5, 2023
d483b94
made nodes work
TSKsmiley Oct 5, 2023
3f34fcd
Co-authored-by: Albert Hald <[email protected]>
TSKsmiley Oct 5, 2023
9f8dcc2
bind ..........
TSKsmiley Oct 5, 2023
dff574d
remove usless
TSKsmiley Oct 5, 2023
bf1aaf5
Co-authored-by: Albert Hald <[email protected]>
TSKsmiley Oct 9, 2023
6cc1648
Merge branch 'main' into 18-feature-svg-nodes-for-center
TSKsmiley Oct 9, 2023
8443a23
SvgView height and width
NybyDK Oct 9, 2023
2f58cec
Remove colors used for seeing borders, fix height to stop scroll on s…
NybyDK Oct 9, 2023
685ed69
made lines reactive
TSKsmiley Oct 9, 2023
211868f
SVGContainer no longer gets pushed by side panels
NybyDK Oct 9, 2023
ad3122e
made nails reactive
TSKsmiley Oct 9, 2023
32658de
remove console log
TSKsmiley Oct 9, 2023
4eec104
Funny z-index stuff?
NybyDK Oct 9, 2023
1fe6dd3
SVG Container Prep for Zoom/Pan
NybyDK Oct 9, 2023
85bb46b
making label
TSKsmiley Oct 9, 2023
6b7ee7e
hello
NybyDK Oct 9, 2023
3b8cc6a
Update DraggableSVG.svelte
NybyDK Oct 9, 2023
c1fadf0
Remove Scale (moved to another branch)
NybyDK Oct 11, 2023
7e1ed88
changed to text
TSKsmiley Oct 12, 2023
4672f42
labels
TSKsmiley Oct 13, 2023
eb6eb4e
arrow
TSKsmiley Oct 13, 2023
943c587
fix nodes
TSKsmiley Oct 13, 2023
0b56fda
nail correct text
TSKsmiley Oct 16, 2023
d51b675
Created dotted line on output
AlbertHald Oct 16, 2023
cd50da9
Add an overlay and a context menu (#39)
BaBrixx Oct 12, 2023
7673d2e
still brokey
TSKsmiley Oct 16, 2023
963c569
merged
TSKsmiley Oct 19, 2023
7b0e918
Add an overlay and a context menu (#39)
BaBrixx Oct 12, 2023
59216bd
Load save (#42)
KamyaPA Oct 16, 2023
662f644
Merge branch 'main' into 18-feature-svg-nodes-for-center
TSKsmiley Oct 19, 2023
12e2eba
i, install the package
TSKsmiley Oct 19, 2023
ac808fd
format
TSKsmiley Oct 19, 2023
58fe662
removed old
TSKsmiley Oct 19, 2023
c95f3de
removed unused
TSKsmiley Oct 19, 2023
92b0dc6
svg css gone
TSKsmiley Oct 19, 2023
0b8046b
Initial zoom and pan implementation
atjn Oct 19, 2023
e4f5573
Fix lint
atjn Oct 20, 2023
104a796
Disable pinch and pan
atjn Oct 20, 2023
8dc04a6
Merge branch 'main' into 18-feature-svg-nodes-for-center
atjn Oct 20, 2023
1fe016e
Fix lint
atjn Oct 20, 2023
5cf34e6
Bind the context menu to locations
atjn Oct 20, 2023
85a3fbc
Fix lint
atjn Oct 20, 2023
4ba602e
Preemptively fix merge issues
atjn Oct 20, 2023
0c1f287
Add explanation for scaleStore
atjn Oct 20, 2023
f98145a
resolve some feedback
TSKsmiley Oct 20, 2023
c3594e2
move to css
TSKsmiley Oct 20, 2023
35245f5
minor bug
TSKsmiley Oct 20, 2023
481372d
hoist
TSKsmiley Oct 20, 2023
2909d7a
center offset
TSKsmiley Oct 20, 2023
2e65b20
Merge branch 'main' into 18-feature-svg-nodes-for-center
TSKsmiley Oct 20, 2023
70b8c44
Fix typo
atjn Oct 20, 2023
a3709a0
Clarify use of arrowhead
atjn Oct 20, 2023
b0c5e3f
Nitpick: use svelte syntax for svelte stores
atjn Oct 20, 2023
d55ec87
Implemented the dynamic loading of colorschemes
BaBrixx Oct 23, 2023
1849b1f
Squashed commit of the following:
BaBrixx Oct 23, 2023
a2e3a2c
FIxed some errors introduced by rebasing the branch
BaBrixx Oct 23, 2023
0cc8b28
Created test for dragging a node to a new location
AlbertHald Oct 23, 2023
bf66146
Created tests
AlbertHald Oct 25, 2023
5cda6e6
Implemented dark theme for the current GUI
BaBrixx Oct 25, 2023
24716a7
Format
atjn Oct 25, 2023
a1f5e69
Merge branch 'main' into 18-feature-svg-nodes-for-center
atjn Oct 25, 2023
1e5af1e
Merge branch 'main' into 40-use-css-variables-for-general-design
BaBrixx Oct 25, 2023
6839924
Delete test-results directory
TSKsmiley Oct 26, 2023
b2e0943
git ignore
TSKsmiley Oct 26, 2023
896de77
kebab
TSKsmiley Oct 26, 2023
d0ef72f
Merge branch 'main' into 18-feature-svg-nodes-for-center
TSKsmiley Oct 26, 2023
51cffc4
format
TSKsmiley Oct 26, 2023
c19a21d
remove unused
TSKsmiley Oct 26, 2023
f38dc69
i cancel you @atjn
TSKsmiley Oct 26, 2023
f9e0b53
Merge branch 'main' into 40-use-css-variables-for-general-design
BaBrixx Oct 26, 2023
18a31e1
Make netlify rebuild
atjn Oct 26, 2023
d5b4266
Make netlify rebuild
atjn Oct 26, 2023
8bd0e08
Set up colors for the sidepanels
BaBrixx Oct 26, 2023
3aa03b8
Wrote better documentation
BaBrixx Oct 26, 2023
4fec073
Merge branch '18-feature-svg-nodes-for-center' into 40-use-css-variab…
BaBrixx Oct 26, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -66,3 +66,5 @@ $RECYCLE.BIN/

# Windows shortcuts
*.lnk

test-results/
319 changes: 319 additions & 0 deletions src/lib/GlobalCssProperties.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,319 @@
{
"mediaSchemes": [
{
"mediaFeature": "standard",
"color": [
{
"attributeName": "--navigationbar-text-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 1,
"valueTwo": 1,
"valueThree": 1
}
},
{
"attributeName": "--console-scrollbar-thumb-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.22745098039,
"valueTwo": 0.27450980392,
"valueThree": 0.30588235294
}
},
{
"attributeName": "--console-scrollbar-thumbhover-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.2862745098,
"valueTwo": 0.34901960784,
"valueThree": 0.38823529411
}
},
{
"attributeName": "--query-success-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.31372549019,
"valueTwo": 0.54901960784,
"valueThree": 0.27450980392
}
},
{
"attributeName": "--query-warning-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.98431372549,
"valueTwo": 0.75294117647,
"valueThree": 0.17647058823
}
},
{
"attributeName": "--query-error-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.82745098039,
"valueTwo": 0.18431372549,
"valueThree": 0.18431372549
}
}
],
"border": [
{
"attributeName": "--main-navigationbar-border",
"style": "solid",
"width": {
"size": 0.1,
"unit": "em"
},
"color": {
"colorGamut": "display-p3",
"valueOne": 0.18823529411,
"valueTwo": 0.22745098039,
"valueThree": 0.25098039215
}
},
{
"attributeName": "--main-innernavigationbar-border",
"style": "none solid solid solid",
"width": {
"size": 0.1,
"unit": "em"
},
"color": {
"colorGamut": "display-p3",
"valueOne": 0.18823529411,
"valueTwo": 0.22745098039,
"valueThree": 0.25098039215
}
}
]
},
{
"mediaFeature": "prefers-color-scheme: light",
"color": [
{
"attributeName": "--main-navigationbar-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.22745098039,
"valueTwo": 0.27450980392,
"valueThree": 0.30588235294
}
},
{
"attributeName": "--canvas-topbar-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.2862745098,
"valueTwo": 0.34901960784,
"valueThree": 0.38823529411
}
},
{
"attributeName": "--canvas-text-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0,
"valueTwo": 0,
"valueThree": 0
}
},
{
"attributeName": "--sidebar-text-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0,
"valueTwo": 0,
"valueThree": 0
}
},
{
"attributeName": "--background-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.95686274509,
"valueTwo": 0.95686274509,
"valueThree": 0.95686274509
}
},
{
"attributeName": "--console-selectedtab-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.2862745098,
"valueTwo": 0.34901960784,
"valueThree": 0.38823529411
}
},
{
"attributeName": "--console-unselectedtab-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.22745098039,
"valueTwo": 0.27450980392,
"valueThree": 0.30588235294
}
},
{
"attributeName": "--console-topbar-background-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.22745098039,
"valueTwo": 0.27450980392,
"valueThree": 0.30588235294
}
},
{
"attributeName": "--console-text-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0,
"valueTwo": 0,
"valueThree": 0
}
},
{
"attributeName": "--sidebar-element-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.93333333333,
"valueTwo": 0.93333333333,
"valueThree": 0.93333333333
}
},
{
"attributeName": "--sidebar-element-hover-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.81176470588,
"valueTwo": 0.84705882352,
"valueThree": 0.86274509803
}
},
{
"attributeName": "--queries-input-background-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 1,
"valueTwo": 1,
"valueThree": 1
}
}
]
},
{
"mediaFeature": "prefers-color-scheme: dark",
"color": [
{
"attributeName": "--main-navigationbar-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.0156862745,
"valueTwo": 0.02352941176,
"valueThree": 0.03529411764
}
},
{
"attributeName": "--canvas-topbar-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.05490196078,
"valueTwo": 0.06666666666,
"valueThree": 0.09019607843
}
},
{
"attributeName": "--canvas-text-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 1,
"valueTwo": 1,
"valueThree": 1
}
},
{
"attributeName": "--sidebar-text-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 1,
"valueTwo": 1,
"valueThree": 1
}
},
{
"attributeName": "--background-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.09019607843,
"valueTwo": 0.10196078431,
"valueThree": 0.13333333333
}
},
{
"attributeName": "--console-selectedtab-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.05490196078,
"valueTwo": 0.06666666666,
"valueThree": 0.09019607843
}
},
{
"attributeName": "--console-unselectedtab-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.0156862745,
"valueTwo": 0.02352941176,
"valueThree": 0.03529411764
}
},
{
"attributeName": "--console-topbar-background-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.0156862745,
"valueTwo": 0.02352941176,
"valueThree": 0.03529411764
}
},
{
"attributeName": "--console-text-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 1,
"valueTwo": 1,
"valueThree": 1
}
},
{
"attributeName": "--sidebar-element-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.19215686274,
"valueTwo": 0.21176470588,
"valueThree": 0.23529411764
}
},
{
"attributeName": "--sidebar-element-hover-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.12215686274,
"valueTwo": 0.23176470588,
"valueThree": 0.25529411764
}
},
{
"attributeName": "--queries-input-background-color",
"color": {
"colorGamut": "display-p3",
"valueOne": 0.05490196078,
"valueTwo": 0.06666666666,
"valueThree": 0.09019607843
}
}
]
}
]
}
Loading
Loading