mirror of
https://github.com/bisq-network/bisq.git
synced 2025-02-24 23:18:17 +01:00
Use css to include fonts
This commit is contained in:
parent
2276240c1c
commit
d093453134
2 changed files with 20 additions and 4 deletions
|
@ -232,10 +232,6 @@ public class BisqApp extends Application {
|
|||
|
||||
scene = new Scene(mainView.getRoot(), 1200, 710); //740
|
||||
|
||||
Font.loadFont(getClass().getResource("/fonts/Verdana.ttf").toExternalForm(), 13);
|
||||
Font.loadFont(getClass().getResource("/fonts/VerdanaBold.ttf").toExternalForm(), 13);
|
||||
Font.loadFont(getClass().getResource("/fonts/VerdanaItalic.ttf").toExternalForm(), 13);
|
||||
Font.loadFont(getClass().getResource("/fonts/VerdanaBoldItalic.ttf").toExternalForm(), 13);
|
||||
scene.getStylesheets().setAll(
|
||||
"/io/bisq/gui/bisq.css",
|
||||
"/io/bisq/gui/images.css",
|
||||
|
|
|
@ -20,6 +20,26 @@ lower gradient color on tab: dddddd
|
|||
bg color of non edit textFields: fafafa
|
||||
*/
|
||||
|
||||
@font-face {
|
||||
src: url("/fonts/FiraMono-Regular.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
src: url("/fonts/FiraSans-Regular.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
src: url("/fonts/FiraSans-Bold.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
src: url("/fonts/FiraSans-BoldItalic.ttf");
|
||||
}
|
||||
|
||||
@font-face {
|
||||
src: url("/fonts/FiraSans-Italic.ttf");
|
||||
}
|
||||
|
||||
.root {
|
||||
-bs-very-dark-grey3: #444; /* 3 usages */
|
||||
-bs-grey: #666666; /* 8 usages */
|
||||
|
|
Loading…
Add table
Reference in a new issue