0
0
mirror of https://github.com/wagtail/wagtail.git synced 2024-11-21 18:09:02 +01:00

Remove icon font

This commit is contained in:
Matt Westcott 2023-11-07 15:33:37 +00:00 committed by Thibaud Colas
parent eaf237ffcb
commit d7ed0b2999
6 changed files with 0 additions and 2042 deletions

View File

@ -7,4 +7,3 @@ global-exclude *.stories.js
global-exclude *.stories.tsx global-exclude *.stories.tsx
recursive-exclude wagtail/ *.md recursive-exclude wagtail/ *.md
global-exclude .gitignore global-exclude .gitignore
global-exclude wagtail-icomoon.json

View File

@ -1,12 +1,5 @@
@use 'sass:string'; @use 'sass:string';
@font-face {
font-family: $font-wagtail-icons;
src: url('../fonts/wagtail.woff') format('woff');
font-weight: normal;
font-style: normal;
}
// Set SVG icons to use the current text color in the location they appear as // Set SVG icons to use the current text color in the location they appear as
// their default fill color. Can be overridden for a specific icon by either // their default fill color. Can be overridden for a specific icon by either
// the color or fill properties. // the color or fill properties.

View File

@ -47,9 +47,6 @@ $breakpoints: (
$font-sans: theme('fontFamily.sans'); $font-sans: theme('fontFamily.sans');
$font-mono: theme('fontFamily.mono'); $font-mono: theme('fontFamily.mono');
// Legacy icon font, to be removed in the near future.
$font-wagtail-icons: wagtail;
// misc sizing // misc sizing
$menu-width: 200px; $menu-width: 200px;
$menu-width-slim: 60px; $menu-width-slim: 60px;

View File

@ -85,7 +85,6 @@
@mixin icon() { @mixin icon() {
@include font-smoothing; @include font-smoothing;
font-family: $font-wagtail-icons;
font-style: normal; font-style: normal;
font-weight: normal; font-weight: normal;
font-variant: normal; font-variant: normal;

File diff suppressed because one or more lines are too long