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

core: ui refactor #68

Merged
merged 5 commits into from
Nov 21, 2022
Merged

core: ui refactor #68

merged 5 commits into from
Nov 21, 2022

Conversation

nibilin33
Copy link
Contributor

  1. top toolbar
  2. editor hightlight
  3. implement delete btn

1. top toolbar
2. editor hightlight
3. implement delete btn
Copy link
Collaborator

@lihebi lihebi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this PR looks great! Just one minor comment.

ui/src/components/Canvas.tsx Outdated Show resolved Hide resolved
ui/src/components/Canvas.tsx Outdated Show resolved Hide resolved
compose/dev/nginx.conf Outdated Show resolved Hide resolved
@lihebi
Copy link
Collaborator

lihebi commented Nov 21, 2022

One more thing: the syntax highlights of Monaco editor seems to be gone.
Screenshot 2022-11-20 at 8 50 19 PM

This is what it looked like before:
Screenshot 2022-11-20 at 8 50 45 PM

@nibilin33
Copy link
Contributor Author

One more thing: the syntax highlights of Monaco editor seems to be gone. Screenshot 2022-11-20 at 8 50 19 PM

This is what it looked like before: Screenshot 2022-11-20 at 8 50 45 PM

custom theme, i wanna remove the active input border; now, i just add some simple rule, i will find full rule to extend later.

@@ -6,6 +6,24 @@ import { useStore } from "zustand";
import { RepoContext } from "../lib/store";
import { MonacoBinding } from "y-monaco";

const theme: monaco.editor.IStandaloneThemeData = {
base: "vs",
inherit: false,
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can just set this to true.

Comment on lines 13 to 19
{
token:'keyword',
foreground: "#4b83cd"
},{
token: 'comment',
foreground: '#aaaaaa'
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

And remove these.

Copy link
Collaborator

@lihebi lihebi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@lihebi lihebi merged commit 0625e62 into codepod-io:main Nov 21, 2022
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

Successfully merging this pull request may close these issues.

2 participants