-
Notifications
You must be signed in to change notification settings - Fork 15
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
Conversation
nibilin33
commented
Nov 21, 2022
- top toolbar
- editor hightlight
- implement delete btn
1. top toolbar 2. editor hightlight 3. implement delete btn
There was a problem hiding this 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/MyMonaco.tsx
Outdated
@@ -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, |
There was a problem hiding this comment.
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.
ui/src/components/MyMonaco.tsx
Outdated
{ | ||
token:'keyword', | ||
foreground: "#4b83cd" | ||
},{ | ||
token: 'comment', | ||
foreground: '#aaaaaa' | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And remove these.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!