/* References: - https://github.com/defold/doc/blob/5ac3e96/docs/en/manuals/editor-styling.md#changing-fonts - https://github.com/defold/defold/blob/5f96ff9/editor/styling/stylesheets/base/_typography.scss - https://github.com/defold/extension-iac/blob/a353527/docs/css/fonts.css - https://openjfx.io/javadoc/20/javafx.graphics/javafx/scene/doc-files/cssref.html#introatrules - https://openjfx.io/javadoc/20/javafx.graphics/javafx/scene/doc-files/cssref.html#typefont - https://www.w3.org/TR/css-fonts-4/#font-weight-absolute-values */ /* @font-face { font-family: 'Source Sans 3'; font-weight: 300; font-style: normal; src: url('https://cdn.jsdelivr.net/gh/adobe-fonts/source-sans@3.052R/OTF/SourceSans3-Light.otf'); } @font-face { font-family: 'Source Sans 3'; font-weight: normal; font-style: normal; src: url('https://cdn.jsdelivr.net/gh/adobe-fonts/source-sans@3.052R/OTF/SourceSans3-Regular.otf'); } @font-face { font-family: 'Source Sans 3'; font-weight: normal; font-style: italic; src: url('https://cdn.jsdelivr.net/gh/adobe-fonts/source-sans@3.052R/OTF/SourceSans3-It.otf'); } @font-face { font-family: 'Source Sans 3'; font-weight: bold; font-style: normal; src: url('https://cdn.jsdelivr.net/gh/adobe-fonts/source-sans@3.052R/OTF/SourceSans3-Bold.otf'); } @font-face { font-family: 'Source Code Pro'; font-weight: normal; font-style: normal; src: url('https://cdn.jsdelivr.net/gh/adobe-fonts/source-code-pro@2.042R-u/1.062R-i/1.026R-vf/OTF/SourceCodePro-Regular.otf'); } */ @import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro:ital,wght@0,200..900;1,200..900&family=Source+Sans+3:ital,wght@0,200..900;1,200..900'); .root { -fx-font-family: 'Source Sans 3', sans-serif; -fx-font-weight: normal; -fx-font-style: normal; -fx-font-size: 13px; } Text.strong { -fx-font-family: 'Source Sans 3', sans-serif; -fx-font-weight: bold; -fx-font-style: normal; } Text.emphasis { -fx-font-family: 'Source Sans 3', sans-serif; -fx-font-weight: normal; -fx-font-style: italic; } Label.strong { -fx-font-family: 'Source Sans 3', sans-serif; -fx-font-weight: bold; -fx-font-style: normal; } Label.emphasis { -fx-font-family: 'Source Sans 3', sans-serif; -fx-font-weight: normal; -fx-font-style: italic; } #build-errors-container { .tree-cell { -fx-font-family: 'Source Code Pro', monospace; -fx-font-weight: normal; -fx-font-style: normal; -fx-font-size: 90%; } } /* Section titles in game.project */ .cljfx-form-title { -fx-font-family: 'Source Sans 3', sans-serif; -fx-font-weight: 300; -fx-font-style: normal; -fx-font-size: 190%; -fx-font-smoothing-type: lcd; } /* Header on home pane of welcome screen */ #welcome-dialog { .df-header { -fx-font-family: 'Source Sans 3', sans-serif; -fx-font-weight: 300; -fx-font-style: normal; -fx-font-size: 110%; -fx-font-smoothing-type: lcd; } } #welcome-dialog #left-pane .pane-button { -fx-font-family: 'Source Sans 3', sans-serif; -fx-font-weight: bold; -fx-font-style: normal; -fx-font-size: 110%; } #welcome-dialog #progress-overlay #progress-header { -fx-font-family: 'Source Sans 3', sans-serif; -fx-font-weight: 300; -fx-font-style: normal; -fx-font-size: 110%; -fx-font-smoothing-type: lcd; }