Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suse Font Demo #9058

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 28 additions & 0 deletions web/html/src/branding/css/fonts.scss
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,31 @@
font-weight: 300;
src: local("Roboto Bold"), local("RobotoBold"), url("../fonts/Roboto/Roboto-Bold.ttf") format("truetype");
}

@font-face {
font-family: "SuseFont";
font-style: normal;
font-weight: 300;
src: local("SuseFont"), url("../fonts/suse-fonts/SUSE20240606-Regular.ttf") format("truetype");
}

@font-face {
font-family: "SuseFont Bold";
font-style: normal;
font-weight: 300;
src: local("SuseFont"), local("SuseFontBold"), url("../fonts/suse-fonts/SUSE20240606-Bold.ttf") format("truetype");
}

@font-face {
font-family: "SuseFont Light";
font-style: normal;
font-weight: 300;
src: local("SuseFont"), local("SuseFontLight"), url("../fonts/suse-fonts/SUSE20240606-Light.ttf") format("truetype");
}

@font-face {
font-family: "SuseFont Medium";
font-style: normal;
font-weight: 300;
src: local("SuseFont"), local("SuseFontMedium"), url("../fonts/suse-fonts/SUSE20240606-Medium.ttf") format("truetype");
}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@body-color: @eos-bc-gray-1000;
@body-font: @lato;
@body-font: @suse;
@link-color: @eos-bc-blue-500;

@border-radius-base: 0;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$body-color: $eos-bc-gray-1000;
$body-font: $lato;
$body-font: $suse;
$link-color: $eos-bc-blue-500;

$content-area-padding: 0 4em 4em;
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ h4,
h5,
h6,
.subheadline {
font-family: "Poppins", sans-serif;
font-family: "SuseFont", sans-serif;

a {
color: inherit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ h4,
h5,
h6,
.subheadline {
font-family: "Poppins", sans-serif;
font-family: "SuseFont Medium", sans-serif;

a {
color: inherit;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ h4,
h5,
h6,
.subheadline {
font-family: "Roboto Light", sans-serif;
font-family: "SuseFont Light", sans-serif;
}

h1,
Expand All @@ -17,7 +17,7 @@ h3,
h4,
h5,
h6 {
font-family: "Roboto Bold", sans-serif;
font-family: "SuseFont Bold", sans-serif;
}

.spacewalk-help-link {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ h4,
h5,
h6,
.subheadline {
font-family: "Roboto Light", sans-serif;
font-family: "SuseFont Light", sans-serif;
}

h1,
Expand All @@ -17,7 +17,7 @@ h3,
h4,
h5,
h6 {
font-family: "Roboto Bold", sans-serif;
font-family: "SuseFont Bold", sans-serif;
}

.spacewalk-help-link {
Expand Down
28 changes: 28 additions & 0 deletions web/html/src/branding/css/susemanager/fonts.less
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,31 @@
font-weight: 300;
src: local('Roboto Bold'), local('RobotoBold'), url('../../fonts/Roboto/Roboto-Bold.ttf') format('truetype');
}

@font-face {
font-family: "SuseFont";
font-style: normal;
font-weight: 300;
src: local("SuseFont"), url("../../fonts/suse-fonts/SUSE20240606-Regular.ttf") format("truetype");
}

@font-face {
font-family: "SuseFont Bold";
font-style: normal;
font-weight: 300;
src: local("SuseFont"), local("SuseFontBold"), url("../../fonts/suse-fonts/SUSE20240606-Bold.ttf") format("truetype");
}

@font-face {
font-family: "SuseFont Light";
font-style: normal;
font-weight: 300;
src: local("SuseFont"), local("SuseFontLight"), url("../../fonts/suse-fonts/SUSE20240606-Light.ttf") format("truetype");
}

@font-face {
font-family: "SuseFont Medium";
font-style: normal;
font-weight: 300;
src: local("SuseFont"), local("SuseFontMedium"), url("../../fonts/suse-fonts/SUSE20240606-Medium.ttf") format("truetype");
}
4 changes: 4 additions & 0 deletions web/html/src/branding/css/susemanager/variables.less
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,10 @@
@lato: "Lato", arial, helvetica, sans-serif;
@lato-bold: "Lato Bold", arial, helvetica, sans-serif;

/* SUSE Font variable: font variable to be applied in different text elements */
@suse: "SuseFont", arial, helvetica, sans-serif;
@suse-bold: "SuseFont Bold", arial, helvetica, sans-serif;

/* WorkSans variable: font variable to be applied in different text elements */
@worksans: "WorkSans", arial, helvetica, sans-serif;
@worksans-bold: "WorkSans Bold", arial, helvetica, sans-serif;
Expand Down
5 changes: 5 additions & 0 deletions web/html/src/branding/css/susemanager/variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,11 @@ $border-radius-lg: 0;
$lato: "Lato", arial, helvetica, sans-serif;
$lato-bold: "Lato Bold", arial, helvetica, sans-serif;


/* SUSE Font variable: font variable to be applied in different text elements */
$suse: "SuseFont", arial, helvetica, sans-serif;
$suse-bold: "SuseFont Bold", arial, helvetica, sans-serif;

/* WorkSans variable: font variable to be applied in different text elements */
$worksans: "WorkSans", arial, helvetica, sans-serif;
$worksans-bold: "WorkSans Bold", arial, helvetica, sans-serif;
Expand Down
2 changes: 1 addition & 1 deletion web/html/src/branding/css/uyuni-variables.less
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@body-color: #5f5f5f;
@body-font: @helvetica;
@body-font: @suse;
@link-color: #337ab7;

@header: @uyuni-blue-900;
Expand Down
2 changes: 1 addition & 1 deletion web/html/src/branding/css/uyuni-variables.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$body-color: #5f5f5f;
$body-font: $helvetica;
$body-font: $suse;
$link-color: #337ab7;

$header: $uyuni-blue-900;
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading