Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
3fd6b702
"...resnet50_tensorflow.git" did not exist on "dcc2368949143a10a7d0eabef4e4cad72f60fe91"
Commit
3fd6b702
authored
Feb 12, 2023
by
comfyanonymous
Browse files
Support dark mode in GUI.
parent
05ad64d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
1 deletion
+15
-1
webshit/index.html
webshit/index.html
+15
-1
No files found.
webshit/index.html
View file @
3fd6b702
...
@@ -3,6 +3,20 @@
...
@@ -3,6 +3,20 @@
<link
rel=
"stylesheet"
type=
"text/css"
href=
"litegraph.css"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"litegraph.css"
>
<script
type=
"text/javascript"
src=
"litegraph.core.js"
></script>
<script
type=
"text/javascript"
src=
"litegraph.core.js"
></script>
</head>
</head>
<style>
.customtext_input
{
background-color
:
#FFFFFF
;
}
@media
(
prefers-color-scheme
:
dark
)
{
body
{
background-color
:
#202020
;
}
.customtext_input
{
background-color
:
#202020
;
color
:
white
;
}
}
</style>
<body
style=
'width:100%; height:100%; overflow: hidden;'
>
<body
style=
'width:100%; height:100%; overflow: hidden;'
>
<style>
<style>
.modal
{
.modal
{
...
@@ -198,7 +212,7 @@ function onObjectInfo(json) {
...
@@ -198,7 +212,7 @@ function onObjectInfo(json) {
};
};
w
.
input_div
=
document
.
createElement
(
'
div
'
);
w
.
input_div
=
document
.
createElement
(
'
div
'
);
w
.
input_div
.
contentEditable
=
true
;
w
.
input_div
.
contentEditable
=
true
;
w
.
input_div
.
style
.
backgroundColor
=
"
#FFFFFF
"
;
w
.
input_div
.
className
=
"
customtext_input
"
;
w
.
input_div
.
style
.
overflow
=
'
hidden
'
;
w
.
input_div
.
style
.
overflow
=
'
hidden
'
;
w
.
input_div
.
style
.
overflowY
=
'
auto
'
;
w
.
input_div
.
style
.
overflowY
=
'
auto
'
;
w
.
input_div
.
style
.
padding
=
2
;
w
.
input_div
.
style
.
padding
=
2
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment