#makes the image for the vencord toolbox

1 messages ยท Page 1 of 1 (latest)

near zenith
#

honestly i just didnt know what to make the icon lmao

#

so i just used our icon

strange cipher
#

makes sense

near zenith
#

this one is kinda blurry tho

strange cipher
#

yeah true

#

i should probably svg it and lower the res

#

the lack of consistency between the toolbox icon and every other icon was annoying to me so

#

why is it so difficult to downscale pixel art ๐Ÿ˜”

#

what the fuck is that

strange cipher
#

thats 29x29 i used that exact thing

#

for discord svgs you need 24x24

near zenith
#

spritesheet catHug

near zenith
strange cipher
#

i got 29x29 when i cropped the oneko down

near zenith
#

they're 32px

#

so u did smth wrong ccLaugh

strange cipher
#

lmfao

#

the oneko doesnt look blurry at all on my part so maybe thats just imgur being a dick

bright hemlock
near zenith
#

simply do not the imgur

strange cipher
#

so true!

dark quest
#

ven make it oneko by default

strange cipher
#

hmm i wonder what this converted oneko svg looks li

#

the only reasonable place that takes svg is github

near zenith
#

discord cdn:
just embedding the xml:

strange cipher
#

....true

#

too tired for this shit man

bright hemlock
#

Snooze

#

Eepy

strange cipher
#

this is literally just a better version of mine

#

amazing

dark quest
#

if it was animated tho

#

๐Ÿ’ฏ

bright hemlock
#

Animate on hover ๐Ÿคฉ

native merlin
#

Oooh that glowing bloom effect is really cool! How did you get that to work?

native merlin
#

Wait it's just a coloured drop shadow? Huh, I see. I'll have to mess around with that then
Well, thanks for the help!

strange cipher
# bright hemlock Animate on hover ๐Ÿคฉ
  content: url(https://i.ibb.co/NjdTQxq/ambient.gif);
  width: 24px;
  height: 24px;
}

[src="https://raw.githubusercontent.com/Vencord/Website/main/public/assets/favicon.png"]:hover {
  content: url(https://i.ibb.co/RzMdYJp/hover2.gif);
  width: 24px;
  height: 24px;
}```
bright hemlock
#

i love it so much ty

#

so eepy

near zenith
#

that doesnt really look native still and the colour doesnt match

near zenith
strange cipher
#

hmm today i will make it look native by hiding it

#

also i literally colour picked the exact colour from the rest of them so i have no idea why it doesnt work

strange cipher
#

thinking about it now i definitely misunderstood what a mask did
however this brings me to another question: can svgs be animated

bright hemlock
#

apparently yes

#

had no idea

strange cipher
#

woag

eternal aspen
#

vencord update broke oneko :( give em back

strange cipher
#

they fucking shot oneko

#

on it boss

eternal aspen
#

๐Ÿ™

strange cipher
#

what the fuck is an 'xmlns'

#

point is with no easy defined link my previous method wont work. so its spaghetti code time

#

this is not what im looking for

strange cipher
# eternal aspen ๐Ÿ™
.vc-toolbox-btn{
  content: url(https://i.ibb.co/NjdTQxq/ambient.gif);
  width: 24px;
  height: 24px;
}

.vc-toolbox-btn:hover{
  content: url(https://i.ibb.co/RzMdYJp/hover2.gif);
  width: 24px;
  height: 24px;
}
eternal aspen
#

๐ŸŽ‰

strange cipher
#

good news: tried a svg conversion

#

bad news: this genuinely looks worse

#

hmmm

#

we're getting somewhere but there is a problem

near zenith
# strange cipher what the fuck is an 'xmlns'

As an XML dialect, SVG is namespaced. It is important to understand the concept of namespaces and how they are used if you plan to author SVG content. Versions of SVG viewers prior to the release of Firefox 1.5 unfortunately paid scant attention to namespaces, but they are essential to multi-XML dialect supporting user agents such as Gecko-based...

bright hemlock
#

Yeah svgs are hit or miss

#

Converting them

strange cipher
#

thank you but im pretty close to spaghetti coding this one
i just need to find out how to hide the previous svg

#

all perfect except for that

near zenith
#

content

#

you already got it

#

what's the problem?

strange cipher
#
  content: none;
  display: inline-block;
  width: 24px;
  height: 24px;
  background-color: var(--interactive-normal);
  -webkit-mask: url(https://raw.githubusercontent.com/sI1vre/vencord-assets/main/ambi1.svg);
  mask: url(https://raw.githubusercontent.com/sI1vre/vencord-assets/main/ambi1.svg);
  image-rendering: auto;
}

.toolbar-3_r2xA .iconWrapper-2awDjA:hover>svg:not(.icon-2xnN2Y) {
  content: url(https://i.ibb.co/RzMdYJp/hover2.gif);
  background-color: var(--interactive-normal);
  -webkit-mask: url(https://raw.githubusercontent.com/sI1vre/vencord-assets/main/hover2.svg);
  mask: url(https://raw.githubusercontent.com/sI1vre/vencord-assets/main/hover2.svg);
  width: 24px;
  height: 24px;
  image-rendering: auto;
}```
(testing it through the non hovered one)
#

wait fuck content is supposed to be ""

#

still the same result but we ball

near zenith
#

wtf are those selectors

#

.vc-toolbox-btn svg {}

strange cipher
#

i actually got that directly from the discord code

#

this was genuinely the best way i knew how to make it work

strange cipher
near zenith
#

content:

#

u already had it

strange cipher
#

something tells me we're on two different wavelengths here- ohhhh

#

so i had it good the first time?

near zenith
#

that's what I said

strange cipher
#

yeah

near zenith
#

So I was asking what the issue with that is

#

or rather why you're still changing it

strange cipher
#

sorry for the confusion

#

everything is set up perfectly but the original svg still somehow peeks out

#

the problem is that by hiding the svg i would probably have to hide the entire element

strange cipher
#

wait was that actually it

#

i feel bad about failing so hard now

#

im perfectly fine if you post this as a better version of the snippet in #๐ŸŽจ-css-snippets as long as im given credit for the idea or sum shit idk

eternal aspen
#

also autumn's version isn't animated :(