mirror of
https://github.com/Comfy-Org/ComfyUI_frontend.git
synced 2026-02-05 23:50:08 +00:00
Add ABC ROM fonts from Comfy.org
This commit is contained in:
BIN
public/fonts/abc-rom/abc-rom-black-italic.woff2
Normal file
BIN
public/fonts/abc-rom/abc-rom-black-italic.woff2
Normal file
Binary file not shown.
BIN
public/fonts/abc-rom/abc-rom-medium.woff2
Normal file
BIN
public/fonts/abc-rom/abc-rom-medium.woff2
Normal file
Binary file not shown.
BIN
public/fonts/abc-rom/abc-rom-regular.woff2
Normal file
BIN
public/fonts/abc-rom/abc-rom-regular.woff2
Normal file
Binary file not shown.
50
src/assets/css/fonts.css
Normal file
50
src/assets/css/fonts.css
Normal file
@@ -0,0 +1,50 @@
|
||||
/* ABC ROM Font Family */
|
||||
|
||||
@font-face {
|
||||
font-family: 'ABC ROM Medium';
|
||||
src: url('/fonts/abc-rom/abc-rom-medium.woff2') format('woff2');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'ABC ROM Regular';
|
||||
src: url('/fonts/abc-rom/abc-rom-regular.woff2') format('woff2');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'ABC ROM Black Italic';
|
||||
src: url('/fonts/abc-rom/abc-rom-black-italic.woff2') format('woff2');
|
||||
font-weight: 900;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
/* Simplified font family names for easier use */
|
||||
@font-face {
|
||||
font-family: 'ABC ROM';
|
||||
src: url('/fonts/abc-rom/abc-rom-regular.woff2') format('woff2');
|
||||
font-weight: 400;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'ABC ROM';
|
||||
src: url('/fonts/abc-rom/abc-rom-medium.woff2') format('woff2');
|
||||
font-weight: 500;
|
||||
font-style: normal;
|
||||
font-display: swap;
|
||||
}
|
||||
|
||||
@font-face {
|
||||
font-family: 'ABC ROM';
|
||||
src: url('/fonts/abc-rom/abc-rom-black-italic.woff2') format('woff2');
|
||||
font-weight: 900;
|
||||
font-style: italic;
|
||||
font-display: swap;
|
||||
}
|
||||
Reference in New Issue
Block a user