Fix white theme of Share window (#1036)

This commit is contained in:
Cesaryuan 2024-09-05 20:49:24 +08:00 committed by GitHub
parent 1ff2ec760b
commit e0b88ce42a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 17 additions and 17 deletions

View File

@ -1095,7 +1095,7 @@ class ManagerMenuDialog extends ComfyDialog {
textContent: 'Workflow Gallery',
style: {
'text-align': 'center',
'color': 'white',
'color': 'var(--input-text)',
'font-size': '18px',
'margin': 0,
'padding': 0,
@ -1106,7 +1106,7 @@ class ManagerMenuDialog extends ComfyDialog {
textContent: `(${localStorage.getItem("wg_last_visited") ? localStorage.getItem("wg_last_visited").split('/')[2] : ''})`,
style: {
'text-align': 'center',
'color': 'white',
'color': 'var(--input-text)',
'font-size': '12px',
'margin': 0,
'padding': 0,

View File

@ -315,7 +315,7 @@ export class ShareDialogChooser extends ComfyDialog {
key: "comfyworkflows",
textContent: "ComfyWorkflows",
website: "https://comfyworkflows.com",
description: "Share & browse thousands of ComfyUI workflows and art 🎨<br/><br/><a style='color:white;' href='https://comfyworkflows.com' target='_blank'>ComfyWorkflows.com</a>",
description: "Share & browse thousands of ComfyUI workflows and art 🎨<br/><br/><a style='color:var(--input-text);' href='https://comfyworkflows.com' target='_blank'>ComfyWorkflows.com</a>",
onclick: () => {
showShareDialog('comfyworkflows').then((suc) => {
suc && this.close();
@ -326,7 +326,7 @@ export class ShareDialogChooser extends ComfyDialog {
key: "esheep",
textContent: "eSheep",
website: "https://www.esheep.com",
description: "Share & download thousands of ComfyUI workflows on <a style='color:white;' href='https://www.esheep.com' target='_blank'>esheep.com</a>",
description: "Share & download thousands of ComfyUI workflows on <a style='color:var(--input-text);' href='https://www.esheep.com' target='_blank'>esheep.com</a>",
onclick: () => {
shareToEsheep();
this.close();
@ -336,7 +336,7 @@ export class ShareDialogChooser extends ComfyDialog {
key: "Copus",
textContent: "Copus",
website: "https://www.copus.io",
description: "🔴 Permanently store and secure ownership of your workflow on the open-source platform: <a style='color:white;' href='https://copus.io' target='_blank'>Copus.io</a>",
description: "🔴 Permanently store and secure ownership of your workflow on the open-source platform: <a style='color:var(--input-text);' href='https://copus.io' target='_blank'>Copus.io</a>",
onclick: () => {
showCopusShareDialog();
this.close();
@ -382,7 +382,7 @@ export class ShareDialogChooser extends ComfyDialog {
innerHTML: b.description,
style: {
'text-align': 'left',
color: 'white',
color: 'var(--input-text)',
'font-size': '14px',
'margin-bottom': '0',
},
@ -393,7 +393,7 @@ export class ShareDialogChooser extends ComfyDialog {
href: b.website,
target: "_blank",
style: {
color: 'white',
color: 'var(--input-text)',
'margin-left': '10px',
'font-size': '12px',
'text-decoration': 'none',
@ -440,7 +440,7 @@ export class ShareDialogChooser extends ComfyDialog {
textContent: 'Choose a platform to share your workflow',
style: {
'text-align': 'center',
'color': 'white',
'color': 'var(--input-text)',
'font-size': '18px',
'margin-bottom': '10px',
},
@ -686,7 +686,7 @@ export class ShareDialog extends ComfyDialog {
$el("div", {}, [
$el("p", {
size: 3, color: "white", style: {
color: 'white'
color: 'var(--input-text)'
}
}, [`Select where to share your art:`]),
this.matrix_destination_checkbox,
@ -701,7 +701,7 @@ export class ShareDialog extends ComfyDialog {
size: 3,
color: "white",
style: {
color: 'white'
color: 'var(--input-text)'
}
}, []),
this.credits_input,
@ -712,7 +712,7 @@ export class ShareDialog extends ComfyDialog {
size: 3,
color: "white",
style: {
color: 'white'
color: 'var(--input-text)'
}
}, []),
this.title_input,
@ -723,7 +723,7 @@ export class ShareDialog extends ComfyDialog {
size: 3,
color: "white",
style: {
color: 'white'
color: 'var(--input-text)'
}
}, []),
this.description_input,
@ -989,7 +989,7 @@ export class ShareDialog extends ComfyDialog {
}
const radio_button_text = $el("label", {
// style: {
// color: 'white'
// color: 'var(--input-text)'
// }
}, [output.title])
radio_button.style.color = "var(--fg-color)";
@ -1028,7 +1028,7 @@ export class ShareDialog extends ComfyDialog {
color: "white",
style: {
'text-align': 'center',
color: 'white',
color: 'var(--input-text)',
backgroundColor: 'black',
padding: '10px',
'margin-top': '0px',
@ -1040,7 +1040,7 @@ export class ShareDialog extends ComfyDialog {
color: "white",
style: {
'text-align': 'center',
color: 'white',
color: 'var(--input-text)',
'margin-bottom': '5px',
'font-style': 'italic',
'font-size': '12px',

View File

@ -199,7 +199,7 @@ export class OpenArtShareDialog extends ComfyDialog {
color: "white",
style: {
'text-align': 'center',
color: 'white',
color: 'var(--input-text)',
margin: '0 0 10px 0',
}
});
@ -733,7 +733,7 @@ export class OpenArtShareDialog extends ComfyDialog {
size: 2,
color: "white",
style: {
color: 'white',
color: 'var(--input-text)',
margin: '0 0 5px 0',
fontSize: '12px',
},