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

Colors Not Parsing #20

Open
cgrisham opened this issue Apr 7, 2021 · 2 comments
Open

Colors Not Parsing #20

cgrisham opened this issue Apr 7, 2021 · 2 comments

Comments

@cgrisham
Copy link

cgrisham commented Apr 7, 2021

I have this portion of code inside my er file. This worked up until today when I reinstalled erd-go after reimaging my computer. I am getting the following error

ERD file parse error
title {label: "Operations Model", size: 20}

colors {
~~~~~~~
error

If I comment out the colors block it works without issue.

title {label: "Operations Model", size: 20}

colors {
	proj: "#f2f7fe",
	div: "#fee0cd",
	ops: "#e1f0ab",
	bd: "#f8ddee",
}

[DimDates_Project] {bgcolor:"proj", label: " Dimensions"}
	DateID
	Date
	DMRPeriod
	WeekEnd
	MonthEnd
	YearEnd
@ray-g
Copy link
Contributor

ray-g commented Apr 25, 2021

What version of erd-go you are using? The 'colors' only work with versions >= 2.0.0.
You can download the latest builds from https://github.com/kaishuu0123/erd-go/releases/tag/v2.0.0

@cgrisham
Copy link
Author

That was it, wasn't using the latest version.

Apparently using go get github.com/kaishuu0123/erd-go returns version 1.4.6

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants