Browse Source

added open sans font

Tobias Hagemann 5 years ago
parent
commit
7eaf598089

+ 23 - 1
main/ui/src/main/resources/css/dark_theme.css

@@ -1,6 +1,24 @@
 /*******************************************************************************
 /*******************************************************************************
  *                                                                             *
  *                                                                             *
- * Colors                                                                      *
+ * Fonts                                                                       *
+ *                                                                             *
+ ******************************************************************************/
+
+@font-face {
+	src: url('opensans-regular.ttf');
+}
+
+@font-face {
+	src: url('opensans-semibold.ttf');
+}
+
+@font-face {
+	src: url('opensans-bold.ttf');
+}
+
+/*******************************************************************************
+ *                                                                             *
+ * Root Styling & Colors                                                       *
  *                                                                             *
  *                                                                             *
  ******************************************************************************/
  ******************************************************************************/
 
 
@@ -36,6 +54,7 @@
 
 
 	-fx-background-color: MAIN_BG;
 	-fx-background-color: MAIN_BG;
     -fx-text-fill: TEXT_FILL;
     -fx-text-fill: TEXT_FILL;
+    -fx-font-family: 'Open Sans';
 }
 }
 
 
 /*******************************************************************************
 /*******************************************************************************
@@ -215,6 +234,7 @@
 }
 }
 
 
 .list-cell .header-label {
 .list-cell .header-label {
+	-fx-font-family: 'Open Sans SemiBold';
 	-fx-font-size: 1.0em;
 	-fx-font-size: 1.0em;
 }
 }
 
 
@@ -314,6 +334,7 @@
 }
 }
 
 
 .vault-detail .vault-name {
 .vault-detail .vault-name {
+	-fx-font-family: 'Open Sans SemiBold';
 	-fx-font-size: 1.5em;
 	-fx-font-size: 1.5em;
 }
 }
 
 
@@ -328,6 +349,7 @@
  ******************************************************************************/
  ******************************************************************************/
 
 
 .badge {
 .badge {
+	-fx-font-family: 'Open Sans SemiBold';
 	-fx-font-size: 0.8em;
 	-fx-font-size: 0.8em;
 	-fx-background-radius: 4px;
 	-fx-background-radius: 4px;
 	-fx-padding: 0.2em 0.4em 0.2em 0.4em;
 	-fx-padding: 0.2em 0.4em 0.2em 0.4em;

+ 23 - 1
main/ui/src/main/resources/css/light_theme.css

@@ -1,6 +1,24 @@
 /*******************************************************************************
 /*******************************************************************************
  *                                                                             *
  *                                                                             *
- * Colors                                                                      *
+ * Fonts                                                                       *
+ *                                                                             *
+ ******************************************************************************/
+
+@font-face {
+	src: url('opensans-regular.ttf');
+}
+
+@font-face {
+	src: url('opensans-semibold.ttf');
+}
+
+@font-face {
+	src: url('opensans-bold.ttf');
+}
+
+/*******************************************************************************
+ *                                                                             *
+ * Root Styling & Colors                                                       *
  *                                                                             *
  *                                                                             *
  ******************************************************************************/
  ******************************************************************************/
 
 
@@ -36,6 +54,7 @@
 
 
 	-fx-background-color: MAIN_BG;
 	-fx-background-color: MAIN_BG;
 	-fx-text-fill: TEXT_FILL;
 	-fx-text-fill: TEXT_FILL;
+	-fx-font-family: 'Open Sans';
 }
 }
 
 
 /*******************************************************************************
 /*******************************************************************************
@@ -215,6 +234,7 @@
 }
 }
 
 
 .list-cell .header-label {
 .list-cell .header-label {
+	-fx-font-family: 'Open Sans SemiBold';
 	-fx-font-size: 1.0em;
 	-fx-font-size: 1.0em;
 }
 }
 
 
@@ -314,6 +334,7 @@
 }
 }
 
 
 .vault-detail .vault-name {
 .vault-detail .vault-name {
+	-fx-font-family: 'Open Sans SemiBold';
 	-fx-font-size: 1.5em;
 	-fx-font-size: 1.5em;
 }
 }
 
 
@@ -328,6 +349,7 @@
  ******************************************************************************/
  ******************************************************************************/
 
 
 .badge {
 .badge {
+	-fx-font-family: 'Open Sans Bold';
 	-fx-font-size: 0.8em;
 	-fx-font-size: 0.8em;
 	-fx-background-radius: 4px;
 	-fx-background-radius: 4px;
 	-fx-padding: 0.2em 0.4em 0.2em 0.4em;
 	-fx-padding: 0.2em 0.4em 0.2em 0.4em;

BIN
main/ui/src/main/resources/css/opensans-bold.ttf


BIN
main/ui/src/main/resources/css/opensans-regular.ttf


BIN
main/ui/src/main/resources/css/opensans-semibold.ttf