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

Red colored text looks orange #1097

Open
3 tasks done
alessandromrc opened this issue Dec 11, 2024 · 10 comments
Open
3 tasks done

Red colored text looks orange #1097

alessandromrc opened this issue Dec 11, 2024 · 10 comments
Labels
bug Something isn't working

Comments

@alessandromrc
Copy link
Contributor

Have you read a contributing guide?

  • I have read CONTRIBUTING.md
  • I have searched the existing issues and didn't find any that were similar
  • I have considered creating a pull request with fixes instead of a bug report and want to proceed

Current Behavior

As you can see here:

image

The text looks orange instead of red, I think the hex color is corresponding to #F55422.

Screenshot 2024-12-11 at 12 25 04

Expected Behavior

I'd expect the color to be actually red.

Steps To Reproduce

Just write some text and then change it's color to red

Environment

- OS: macOS 15.1.1
- Version: 0.43.8

Anything else?

No response

@alessandromrc alessandromrc added the bug Something isn't working label Dec 11, 2024
@SeiRann
Copy link

SeiRann commented Dec 20, 2024

I have opened a PR about this fix. I couldn't really build anything cause I have recently moved and my internet is not really stable and can't really see the change of color, if you can build it or test it let me know.

@alessandromrc
Copy link
Contributor Author

I have opened a PR about this fix. I couldn't really build anything cause I have recently moved and my internet is not really stable and can't really see the change of color, if you can build it or test it let me know.

I have tried myself to build Anytype but always failed... Probably because I am on an Apple Silicon Mac.

@SeiRann
Copy link

SeiRann commented Dec 20, 2024

I don't think so, I get like an early EOF error when I try to clone the repo, but I really think it's because I have very slow internet speeds and also unstable. You should be good, Apple devices are really good, if you have stable internet connection then it might be some other issue.

@alessandromrc
Copy link
Contributor Author

alessandromrc commented Dec 21, 2024

I don't think so, I get like an early EOF error when I try to clone the repo, but I really think it's because I have very slow internet speeds and also unstable. You should be good, Apple devices are really good, if you have stable internet connection then it might be some other issue.

Well the problem isn't the machine itself but dependencies not being compatible with ARM (If I remember when I was running "npm run update:locale" / "npm run dist" it would fail instantly because it wouldn't be able to find a version for ARM.

You can see #83

@SeiRann
Copy link

SeiRann commented Dec 21, 2024

Interesting, did you manage to build anytype-heart?. I was also having issues with dependecies whenever I tried to run npm install -D, something about the patch thingy.

@SeiRann
Copy link

SeiRann commented Dec 21, 2024

I don't think so, I get like an early EOF error when I try to clone the repo, but I really think it's because I have very slow internet speeds and also unstable. You should be good, Apple devices are really good, if you have stable internet connection then it might be some other issue.

Well the problem isn't the machine itself but dependencies not being compatible with ARM (If I remember when I was running "npm run update:locale" / "npm run dist" it would fail instantly because it wouldn't be able to find a version for ARM.

You can see #83

I guess, I don't really know stuff about ARM, as I am building this on Windows, for me is really just an internet issue. Probably changing some dependencies around could fix it, but really idk.

@alessandromrc
Copy link
Contributor Author

alessandromrc commented Dec 21, 2024

This is the log that I get when trying to run update.sh

➜  anytype-ts git:(main) ./update.sh macos-latest arm
Arch: arm
Folder: build

Version: "v0.38.7"
Found asset: null
Downloading file...Done
Uncompressing... tar: Error opening archive: Unrecognized archive format
Done
Moving...
mv: rename grpc-server to build/anytypeHelper: No such file or directory
mv: rename protobuf/* to dist/lib/*: No such file or directory
mv: rename json/* to dist/lib/json/generated/*: No such file or directory
Done

I could probably build it from scratch but I really don't have much time to waste over this.

Edit: What is this...

elif [ "$platform" = "macos-13" ]; then

Why the README says "macos-latest" and then it's macos-13...

Screenshot 2024-12-21 at 01 18 31

@alessandromrc
Copy link
Contributor Author

@SeiRann I just built it and executed it with your change but the color seems to still be orange sadly

Screenshot 2024-12-21 at 01 38 42

@SeiRann
Copy link

SeiRann commented Dec 21, 2024

I will try to make more changes. But because of my shitty internet I can't build it, and test it properly.

@alessandromrc
Copy link
Contributor Author

I will try to make more changes. But because of my shitty internet I can't build it, and test it properly.

I just told you the changes you should do in the PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants