Skip to content

Commit

Permalink
Streamlined fonts
Browse files Browse the repository at this point in the history
  • Loading branch information
plesiecki committed Feb 25, 2022
1 parent 4723b11 commit 65bc7af
Show file tree
Hide file tree
Showing 18 changed files with 368 additions and 3,652 deletions.
Binary file removed assets/fonts/Open-Sans-600/Open-Sans-600.eot
Binary file not shown.
1,637 changes: 0 additions & 1,637 deletions assets/fonts/Open-Sans-600/Open-Sans-600.svg

This file was deleted.

Binary file removed assets/fonts/Open-Sans-600/Open-Sans-600.ttf
Binary file not shown.
Binary file removed assets/fonts/Open-Sans-regular/Open-Sans-regular.eot
Binary file not shown.
1,637 changes: 0 additions & 1,637 deletions assets/fonts/Open-Sans-regular/Open-Sans-regular.svg

This file was deleted.

Binary file removed assets/fonts/Open-Sans-regular/Open-Sans-regular.ttf
Binary file not shown.
5 changes: 4 additions & 1 deletion config/webpack.common.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
* See the License for the specific language governing permissions and
* limitations under the License.
*/

const path = require("path");

const babelLoader = {
Expand Down Expand Up @@ -77,6 +76,10 @@ module.exports = {
"sass-loader"
]
},
{
test: /\.(woff|woff2)$/i,
loader: "url-loader",
},
{
test: /\.svg$/,
use: ["svg-inline-loader"]
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
30 changes: 0 additions & 30 deletions lib/style/_open-sans-regular.scss

This file was deleted.

22 changes: 14 additions & 8 deletions lib/style/_open-sans-600.scss → lib/style/_open-sans.scss
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,22 @@
* limitations under the License.
*/

@font-face {
font-family: 'Open Sans';
font-weight: 400;
font-style: normal;
font-display: swap;
src: local('Open Sans'), local('Open Sans Regular'), local('OpenSans-Regular'), local('Open-Sans-regular'),
url('../../lib/fonts/Open-Sans-regular/Open-Sans-regular.woff2') format('woff2'),
url('../../lib/fonts/Open-Sans-regular/Open-Sans-regular.woff') format('woff');
}

@font-face {
font-family: 'Open Sans';
font-weight: 600;
font-style: normal;
src: url('/fonts/Open-Sans-600/Open-Sans-600.eot');
src: url('/fonts/Open-Sans-600/Open-Sans-600.eot?#iefix') format('embedded-opentype'),
local('Open Sans Semibold'),
local('Open-Sans-600'),
url('/fonts/Open-Sans-600/Open-Sans-600.woff2') format('woff2'),
url('/fonts/Open-Sans-600/Open-Sans-600.woff') format('woff'),
url('/fonts/Open-Sans-600/Open-Sans-600.ttf') format('truetype'),
url('/fonts/Open-Sans-600/Open-Sans-600.svg#OpenSans') format('svg');
font-display: swap;
src: local('Open Sans SemiBold'), local('OpenSans-SemiBold'), local('Open Sans Semibold'), local('Open-Sans-600'),
url('../../lib/fonts/Open-Sans-600/Open-Sans-600.woff2') format('woff2'),
url('../../lib/fonts/Open-Sans-600/Open-Sans-600.woff') format('woff');
}
Loading

0 comments on commit 65bc7af

Please sign in to comment.