mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-04-19 22:09:37 +00:00
Compare commits
8 Commits
v1.26.11
...
yo-add-tem
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1c75ade4ad | ||
|
|
92c4177bb6 | ||
|
|
3ac5ab0414 | ||
|
|
94819cbdc9 | ||
|
|
5cb69f3027 | ||
|
|
5167ad135c | ||
|
|
574e421cc0 | ||
|
|
baf9839c9e |
@@ -6,6 +6,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
|
||||
<link rel="stylesheet" type="text/css" href="user.css" />
|
||||
<link rel="stylesheet" type="text/css" href="materialdesignicons.min.css" />
|
||||
|
||||
</head>
|
||||
<body class="litegraph grid">
|
||||
<div id="vue-app"></div>
|
||||
|
||||
8
package-lock.json
generated
8
package-lock.json
generated
@@ -12,7 +12,7 @@
|
||||
"@alloc/quick-lru": "^5.2.0",
|
||||
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
|
||||
"@comfyorg/comfyui-electron-types": "^0.4.42",
|
||||
"@comfyorg/litegraph": "^0.14.3",
|
||||
"@comfyorg/litegraph": "^0.14.4",
|
||||
"@primevue/forms": "^4.2.5",
|
||||
"@primevue/themes": "^4.2.5",
|
||||
"@sentry/vue": "^8.48.0",
|
||||
@@ -482,9 +482,9 @@
|
||||
"license": "GPL-3.0-only"
|
||||
},
|
||||
"node_modules/@comfyorg/litegraph": {
|
||||
"version": "0.14.3",
|
||||
"resolved": "https://registry.npmjs.org/@comfyorg/litegraph/-/litegraph-0.14.3.tgz",
|
||||
"integrity": "sha512-jf+jFaNTkv4AkkNnseO5FZj7JkNKrLQZ+w9xCBQkARv3i0hhuh4YOSHdVrM7afUc///jMs3fsdEtOArVhd6UEA==",
|
||||
"version": "0.14.4",
|
||||
"resolved": "https://registry.npmjs.org/@comfyorg/litegraph/-/litegraph-0.14.4.tgz",
|
||||
"integrity": "sha512-tclWj0u8uvLgSO39lTiDKoip5wfy4SwnDp6A6Lz3kKziZ8DopPDyGrJ0q/hvro2yOGucSV4jIq+V7V85DJ3+vg==",
|
||||
"license": "MIT"
|
||||
},
|
||||
"node_modules/@cspotcode/source-map-support": {
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
"@alloc/quick-lru": "^5.2.0",
|
||||
"@atlaskit/pragmatic-drag-and-drop": "^1.3.1",
|
||||
"@comfyorg/comfyui-electron-types": "^0.4.42",
|
||||
"@comfyorg/litegraph": "^0.14.3",
|
||||
"@comfyorg/litegraph": "^0.14.4",
|
||||
"@primevue/forms": "^4.2.5",
|
||||
"@primevue/themes": "^4.2.5",
|
||||
"@sentry/vue": "^8.48.0",
|
||||
|
||||
BIN
public/fonts/ABCRom.woff2
Normal file
BIN
public/fonts/ABCRom.woff2
Normal file
Binary file not shown.
7
src/assets/css/fonts.css
Normal file
7
src/assets/css/fonts.css
Normal file
@@ -0,0 +1,7 @@
|
||||
@font-face {
|
||||
font-family: 'ABCRom';
|
||||
src: url('fonts/ABCRom.woff2') format('woff2');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap; /* prevents invisible text flash */
|
||||
}
|
||||
@@ -61,7 +61,7 @@ body {
|
||||
overflow-y: auto;
|
||||
padding: 2px;
|
||||
resize: none;
|
||||
border: none;
|
||||
border: 1px solid #f0ff4144;
|
||||
box-sizing: border-box;
|
||||
font-size: var(--comfy-textarea-font-size);
|
||||
}
|
||||
@@ -149,6 +149,10 @@ body {
|
||||
font-size: 15px;
|
||||
}
|
||||
|
||||
textarea {
|
||||
font-family: 'ABCRom', monospace;
|
||||
}
|
||||
|
||||
.comfy-modal-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -599,7 +603,7 @@ audio.comfy-audio.empty-audio-widget {
|
||||
.comfy-load-3d,
|
||||
.comfy-load-3d-animation,
|
||||
.comfy-preview-3d,
|
||||
.comfy-preview-3d-animation{
|
||||
.comfy-preview-3d-animation {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
background: transparent;
|
||||
@@ -611,7 +615,7 @@ audio.comfy-audio.empty-audio-widget {
|
||||
.comfy-load-3d canvas,
|
||||
.comfy-load-3d-animation canvas,
|
||||
.comfy-preview-3d canvas,
|
||||
.comfy-preview-3d-animation canvas{
|
||||
.comfy-preview-3d-animation canvas {
|
||||
display: flex;
|
||||
width: 100% !important;
|
||||
height: 100% !important;
|
||||
|
||||
@@ -54,6 +54,7 @@
|
||||
"bg-color": "#202020",
|
||||
"comfy-menu-bg": "#353535",
|
||||
"comfy-menu-secondary-bg": "#303030",
|
||||
"font-family": "Arial, Helvetica, sans-serif",
|
||||
"comfy-input-bg": "#222",
|
||||
"input-text": "#ddd",
|
||||
"descrip-text": "#999",
|
||||
|
||||
@@ -68,7 +68,8 @@
|
||||
"content-fg": "#222",
|
||||
"content-hover-bg": "#adadad",
|
||||
"content-hover-fg": "#222",
|
||||
"bar-shadow": "rgba(16, 16, 16, 0.25) 0 0 0.5rem"
|
||||
"bar-shadow": "rgba(16, 16, 16, 0.25) 0 0 0.5rem",
|
||||
"font-family": "ABCRom"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -17,7 +17,6 @@
|
||||
>
|
||||
<template #icon>
|
||||
<i-lucide:list-start v-if="workspaceStore.shiftDown" />
|
||||
<i-lucide:play v-else-if="queueMode === 'disabled'" />
|
||||
<i-lucide:fast-forward v-else-if="queueMode === 'instant'" />
|
||||
<i-lucide:step-forward v-else-if="queueMode === 'change'" />
|
||||
</template>
|
||||
@@ -148,4 +147,20 @@ const queuePrompt = async (e: Event) => {
|
||||
border-top-right-radius: 0;
|
||||
border-bottom-right-radius: 0;
|
||||
}
|
||||
:deep(.p-splitbutton-dropdown),
|
||||
:deep(.p-splitbutton-button) {
|
||||
font-family: 'ABCRom' !important;
|
||||
font-weight: 1000 !important;
|
||||
font-style: italic !important;
|
||||
font-size: 1.5rem !important;
|
||||
padding: 0 0.25rem !important;
|
||||
margin: 0 !important;
|
||||
color: #f0ff41 !important;
|
||||
background-color: #172dd7 !important;
|
||||
border: 0 !important;
|
||||
|
||||
> .p-button-label {
|
||||
font-weight: 1000 !important;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -105,7 +105,7 @@ onMounted(() => {
|
||||
background: var(--comfy-menu-bg);
|
||||
color: var(--fg-color);
|
||||
box-shadow: var(--bar-shadow);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-family: var(--font-family);
|
||||
font-size: 0.8em;
|
||||
box-sizing: border-box;
|
||||
z-index: 1000;
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
background: var(--bg-color);
|
||||
color: var(--fg-color);
|
||||
padding: 0;
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-family: var(--font-family);
|
||||
border-color: black;
|
||||
margin: 20vh auto;
|
||||
max-height: 60vh;
|
||||
|
||||
@@ -12,6 +12,7 @@ import Tooltip from 'primevue/tooltip'
|
||||
import { createApp } from 'vue'
|
||||
import { VueFire, VueFireAuth } from 'vuefire'
|
||||
|
||||
import '@/assets/css/fonts.css'
|
||||
import '@/assets/css/style.css'
|
||||
import { FIREBASE_CONFIG } from '@/config/firebase'
|
||||
import router from '@/router'
|
||||
|
||||
@@ -63,6 +63,7 @@ const comfyBaseSchema = z.object({
|
||||
['comfy-menu-bg']: z.string(),
|
||||
['comfy-menu-secondary-bg']: z.string(),
|
||||
['comfy-input-bg']: z.string(),
|
||||
['font-family']: z.string(),
|
||||
['input-text']: z.string(),
|
||||
['descrip-text']: z.string(),
|
||||
['drag-text']: z.string(),
|
||||
|
||||
@@ -169,7 +169,7 @@
|
||||
|
||||
.comfy-widget-selection-dialog div {
|
||||
color: var(--fg-color);
|
||||
font-family: Arial, Helvetica, sans-serif;
|
||||
font-family: 'ABCRom', sans-serif;
|
||||
}
|
||||
|
||||
.comfy-widget-selection-dialog h2 {
|
||||
|
||||
@@ -86,6 +86,9 @@ export const useLitegraphService = () => {
|
||||
* @internal Setup stroke styles for the node under various conditions.
|
||||
*/
|
||||
#setupStrokeStyles() {
|
||||
this.strokeStyles['noice'] = function (this: LGraphNode) {
|
||||
return { color: '#f0ff41', lineWidth: 1.5, padding: 0.5 }
|
||||
}
|
||||
this.strokeStyles['running'] = function (this: LGraphNode) {
|
||||
if (this.id == app.runningNodeId) {
|
||||
return { color: '#0f0' }
|
||||
|
||||
Reference in New Issue
Block a user