mirror of https://github.com/onweru/compose.git

Strykar
4 days ago 0425a8b9c807a01dac7e4fe9b8475a55ecdbe8d5
remove references to font and icon files that do not exist

_fonts.sass declares a Cookie @font-face pointing at
fonts/cookie-v10-latin-regular.woff2 and .woff, and _variables.sass points
--next-icon-path and --never-icon-path at images/icons/double-arrow.svg and
images/sitting.svg. None of these files has ever been in the repo.

Nothing uses the Cookie font or --never-icon-path. --next-icon-path is only
read by .post_next::after, and the one .post_next element, the View Archive
link in layouts/list.html, is commented out.
3 files modified
15 ■■■■■ changed files
assets/sass/_blog.sass 6 ●●●●● patch | view | raw | blame | history
assets/sass/_fonts.sass 7 ●●●●● patch | view | raw | blame | history
assets/sass/_variables.sass 2 ●●●●● patch | view | raw | blame | history
assets/sass/_blog.sass
@@ -164,12 +164,6 @@
    margin: 0 auto
    width: 10rem
    grid-template-columns: 1fr 1.33rem
    &::after
      content: ""
      background-image: var(--next-icon-path)
      background-repeat: repeat no-repeat
      background-size: 0.8rem
      background-position: center right
// .pager
//   display: grid
assets/sass/_fonts.sass
@@ -33,10 +33,3 @@
  font-weight: 500
  src: local('Metropolis Medium Italic'), local('Metropolis-MediumItalic'), url('#{$font-path}/Metropolis-MediumItalic.woff2') format('woff2'), url('#{$font-path}/Metropolis-MediumItalic.woff') format('woff')
  font-display: swap
@font-face
  font-family: 'Cookie'
  font-style: normal
  font-weight: 400
  src: local('Cookie-Regular'), url('#{$font-path}/cookie-v10-latin-regular.woff2') format('woff2'), url('#{$font-path}/cookie-v10-latin-regular.woff') format('woff')
  font-display: swap
assets/sass/_variables.sass
@@ -18,8 +18,6 @@
  --ease: ease
  --scroll-thumb: rgba(0,0,0,.06)
  --search-border-color: transparent
  --next-icon-path: url(../images/icons/double-arrow.svg)
  --never-icon-path: url(../images/sitting.svg)
  @mixin darkmode
    --color-mode: "dark"