You've already forked objdiff-web
mirror of
https://github.com/encounter/objdiff-web.git
synced 2026-07-10 12:18:37 -07:00
Add standalone web build & decomp.me integration
This commit is contained in:
+15
-1
@@ -29,8 +29,22 @@ export type StateMessage = {
|
||||
projectConfig?: ProjectConfig | null;
|
||||
};
|
||||
|
||||
// decomp.me colors
|
||||
export type Colors = {
|
||||
background: string;
|
||||
};
|
||||
|
||||
// decomp.me theme
|
||||
export type ThemeMessage = {
|
||||
type: 'theme';
|
||||
isDark: boolean;
|
||||
colors: Colors;
|
||||
codeFont?: string;
|
||||
codeFontSize?: number;
|
||||
};
|
||||
|
||||
// extension -> webview
|
||||
export type InboundMessage = StateMessage;
|
||||
export type InboundMessage = StateMessage | ThemeMessage;
|
||||
|
||||
export type ReadyMessage = {
|
||||
type: 'ready';
|
||||
|
||||
Reference in New Issue
Block a user