Pārlūkot izejas kodu

Remove icon font

Matt Westcott 1 gadu atpakaļ
vecāks
revīzija
d7ed0b2999

+ 0 - 1
MANIFEST.in

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

+ 0 - 7
client/scss/components/_icons.scss

@@ -1,12 +1,5 @@
 @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
 // their default fill color. Can be overridden for a specific icon by either
 // the color or fill properties.

+ 0 - 3
client/scss/settings/_variables.scss

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

+ 0 - 1
client/scss/tools/_mixins.general.scss

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

Failā izmaiņas netiks attēlotas, jo tās ir par lielu
+ 0 - 470
wagtail/admin/static_src/wagtailadmin/fonts/wagtail-icomoon.json


BIN
wagtail/admin/static_src/wagtailadmin/fonts/wagtail.woff


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels