The color blurple

From a site I've inherited which is full of things like this (and lots of other very !important things). Send help.

175 points · 24 comments · view on lemmy.world

24 Comments

key@lemmy.keychat.org · 63 pts · 2y (7 replies)

That's why css names should be semantic. I'm sure it started actually purple until UX said "can we make this primary text more blue so it doesn't look like a clicked link?" Replacing all references to "purple" wasn't an option because of unrelated usage of that word elsewhere and they weren't using an IDE capable of contextual rename of a css class. So they just changed the color code and called it a day.

eager_eagle@lemmy.world · 39 pts · 2y (4 replies)

sed -i 's/.purple/.not-purple/g' *.css

done, boss

gregorum@lemm.ee · 10 pts · 2y (2 replies)

This just gave me a panic attack

activ8r@sh.itjust.works · 4 pts · 2y (1 reply)

It's fine as long as you have proper source control. Run it and check the diff before committing.

lars@lemmy.sdf.org · 1 pts · 2y

But I set my .git directories to have .css filename extensions!!?! It shouldn’t be my job to educate you.

FoxBJK@midwest.social · 3 pts · 2y

Gotta do it on the HTML files and JS files too. Then you gotta re-test every page that uses those files.

Then the boss looks over your code and asks why you didn’t just change the actual color because that’s easier to QC.

HollandJim@lemmy.world · -2 pts · 2y (1 reply)

Yeah, but if you just used css variables, this would’ve been a doddle. One and done.

I’m sorry but the solution to every argument is not just to throw of the word “semantic” in the sentence. Context is everything.

victorz@lemmy.world · 6 pts · 2y

I’m sorry but the solution to every argument is not just to throw of the word “semantic” in the sentence.

I'm sorry but who is saying that? Nobody is. If you are paying attention to the context, you will notice they are talking about CSS class names. That's the context, and it's a valid point within that context.

TomAwsm@lemmy.world · 12 pts · 2y (6 replies)
PlutoniumAcid@lemmy.world · 6 pts · 2y (2 replies)

Neither does magenta

filcuk@lemmy.zip · 7 pts · 2y (1 reply)

Nor brown

Carighan@lemmy.world · 4 pts · 2y

Excuse me, don't you mean dark orange?

MonkderZweite@feddit.ch · 4 pts · 2y

Sure does, as a mixture of multiple wavelengths.

TonyTonyChopper@mander.xyz · 1 pts · 2y (1 reply)

the popups on the mobile version of this site are nauseating

TomAwsm@lemmy.world · 3 pts · 2y

My apologies. With Firefox and uBlock Origin I don't see any ads or popups anymore.

FishFace@lemmy.world · 11 pts · 2y

Hey if you're colourblind, all blues can be blurple. And so can all purples!

moog@lemm.ee · 10 pts · 2y (2 replies)

Why is a color class also changing the display to inline is what I wanna know

ndru@lemmy.world · 5 pts · 2y

Tip of the iceberg. I’m perplexed about every 30 minutes working on this codebase.

SebKra@feddit.de · 3 pts · 2y

My guess is that this tactical tornado here didn't know the difference between a span and a div

Illuminostro@lemmy.world · 7 pts · 2y
[ removed ]
nokturne213@sopuli.xyz · 4 pts · 2y (1 reply)

Still better than brorange.

ICastFist@programming.dev · 1 pts · 2y

Broforce's favorite fruit

deegeese@sopuli.xyz · 4 pts · 2y

That’s bleal not blurple.

ICastFist@programming.dev · 4 pts · 2y

Send help.

Set up something to change all fonts to Comic Sans before you leave. That's all the help I can offer you, OP

NegativeLookBehind@kbin.social · 1 pts · 2y

I prefer pluep