mirror of
https://github.com/advplyr/audiobookshelf.git
synced 2025-08-31 23:20:05 +02:00
Update material symbols icon font
- only include Material Symbols Rounded - Replace some ligatures with codepoint so loading isnt as ugly/shifting
This commit is contained in:
parent
bbf214fa4c
commit
f9f89e1e51
31 changed files with 66 additions and 95 deletions
|
@ -73,7 +73,7 @@ export default {
|
|||
|
||||
const addIcon = (icon, color, fontSize, x, y) => {
|
||||
ctx.fillStyle = color
|
||||
ctx.font = `${fontSize} Material Symbols Outlined`
|
||||
ctx.font = `${fontSize} Material Symbols Rounded`
|
||||
ctx.fillText(icon, x, y)
|
||||
}
|
||||
|
||||
|
@ -152,7 +152,7 @@ export default {
|
|||
|
||||
// Top text
|
||||
addText('audiobookshelf', '28px', 'normal', tanColor, '0px', 65, 28)
|
||||
addText(`${this.year} ${this.$strings.StatsYearInReview}`, '18px', 'bold', 'white', '1px', 65, 51,)
|
||||
addText(`${this.year} ${this.$strings.StatsYearInReview}`, '18px', 'bold', 'white', '1px', 65, 51)
|
||||
|
||||
// Top left box
|
||||
createRoundedRect(50, 100, 340, 160)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue