Compare commits
7 Commits
2025.815.0
...
2025.821.0
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
167ddd711c | ||
|
|
f33ed4a4e5 | ||
|
|
cc1889ce65 | ||
|
|
2467f85d3d | ||
|
|
8495abf624 | ||
|
|
08098ae3b2 | ||
|
|
8b40cb7a2b |
|
Before Width: | Height: | Size: 696 B |
|
Before Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 9.5 KiB After Width: | Height: | Size: 12 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-adaptive-speed.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-alternate.png
Normal file
|
After Width: | Height: | Size: 1011 B |
|
After Width: | Height: | Size: 1.3 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-autopilot.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-autoplay.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-barrel-roll.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-blinds.png
Normal file
|
After Width: | Height: | Size: 847 B |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-bloom.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-bubbles.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-cinema.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-classic.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-constant-speed.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-cover.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-daycore.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-deflate.png
Normal file
|
After Width: | Height: | Size: 995 B |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-depth.png
Normal file
|
After Width: | Height: | Size: 920 B |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-difficulty-adjust.png
Normal file
|
After Width: | Height: | Size: 959 B |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-double-time.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-dual-stages.png
Normal file
|
After Width: | Height: | Size: 735 B |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-easy.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-eight-keys.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-fade-in.png
Normal file
|
After Width: | Height: | Size: 1005 B |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-five-keys.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-flashlight.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-floating-fruits.png
Normal file
|
After Width: | Height: | Size: 860 B |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-four-keys.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-freeze-frame.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-grow.png
Normal file
|
After Width: | Height: | Size: 1005 B |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-half-time.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-hard-rock.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-hidden.png
Normal file
|
After Width: | Height: | Size: 982 B |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-hold-off.png
Normal file
|
After Width: | Height: | Size: 573 B |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-invert.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-magnetised.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-mirror.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-moving-fast.png
Normal file
|
After Width: | Height: | Size: 923 B |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-muted.png
Normal file
|
After Width: | Height: | Size: 1002 B |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-nightcore.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-nine-keys.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-no-fail.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-no-mod.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-no-release.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-no-scope.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-one-key.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-perfect.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-random.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-relax.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-repel.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-score-v2.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-seven-keys.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-simplified-rhythm.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-single-tap.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-six-keys.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-spin-in.png
Normal file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-spun-out.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-strict-tracking.png
Normal file
|
After Width: | Height: | Size: 965 B |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-sudden-death.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-swap.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-synesthesia.png
Normal file
|
After Width: | Height: | Size: 1.6 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-target-practice.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-ten-keys.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-three-keys.png
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-touch-device.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-traceable.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-transform.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-two-keys.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-wiggle.png
Normal file
|
After Width: | Height: | Size: 1.3 KiB |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-wind-down.png
Normal file
|
After Width: | Height: | Size: 964 B |
BIN
osu.Game.Resources/Textures/Icons/Mods/mod-wind-up.png
Normal file
|
After Width: | Height: | Size: 930 B |
@@ -1,26 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# This is a skeleton of a script used to generate these assets from figma correctly.
|
||||
# To start using it, export your desired assets from figma *in SVG format*.
|
||||
# This script fixes "black border" artifacts on transparent edges that occur on PNG exports from figma.
|
||||
# The script will run on all PNG files in $PWD.
|
||||
# This script assumes that it is being run on monochrome transparent icon assets and therefore does not attempt to salvage any RGB channel data.
|
||||
#
|
||||
# Prerequisites for this script: inkscape, imagemagick.
|
||||
#
|
||||
# Presumed folder structure:
|
||||
# - source .svgs in ./src
|
||||
# - output .pngs will be placed in ./out
|
||||
# - directories must exist
|
||||
#
|
||||
# Presumed image format:
|
||||
# - svgs must contain icons in BLACK
|
||||
# otherwise the `convert -negate` step will not do the right thing
|
||||
# the goal is to have RGB channels of the output PNG all white
|
||||
# and only masked by the alpha channel
|
||||
# Prerequisites for this script: imagemagick.
|
||||
|
||||
for src_file in ./src/*.svg; do
|
||||
src_filename=$(basename ${src_file})
|
||||
dst_file="./out/${src_filename%.svg}.png"
|
||||
echo "${src_file} -> ${dst_file}"
|
||||
|
||||
inkscape -w 100 ${src_file} -o ${dst_file} > /dev/null 2>&1
|
||||
convert ${dst_file} -channel RGB -negate +channel ${dst_file}
|
||||
for src_file in ./*.png; do
|
||||
echo $src_file
|
||||
magick $src_file -alpha set -fill white -colorize 100,100,100 -compose CopyOpacity $src_file
|
||||
done
|
||||
|
||||