userstyles icon indicating copy to clipboard operation
userstyles copied to clipboard

feat(facebook): init

Open kuchingneko28 opened this issue 4 months ago • 9 comments

🎉 Theme for Facebook🎉

Facebook is an social media and social networking service owned by Meta

💬 Additional Comments 💬

🗒 Checklist 🗒

  • [ ] I have read and followed Catppuccin's submission guidelines.
  • [ ] I have made a new directory underneath /styles/<name-of-website> containing the contents of the /template directory.
    • [ ] I have ensured that the new directory is in lower-kebab-case.
    • [ ] I have followed the template and kept the preprocessor as LESS.
  • [ ] I have made sure to update the userstyles.yml file with information about the new userstyle.
  • [ ] I have included the following files:
    • [ ] catppuccin.user.less - all the CSS for the userstyle, based on the template.

kuchingneko28 avatar Aug 23 '25 13:08 kuchingneko28

Login screen at https://www.facebook.com/ when logged out is unthemed.

uncenter avatar Sep 06 '25 02:09 uncenter

Just been looking through testing using this, a few things I found that were unthemed: image Tooltip on Post Audience

image Button press highlight image Add to your post Icons image

Skeleton loaders on the emoji picker

image Main feed page icons

Messenger messages

WalkQuackBack avatar Sep 13 '25 16:09 WalkQuackBack

Thanks for testing it, I'll fix that soon

kuchingneko28 avatar Sep 15 '25 10:09 kuchingneko28

Any plans to also do messenger.com?

teohhanhui avatar Sep 19 '25 21:09 teohhanhui

Why is !important necessary everywhere? We can usually avoid it by improving the selectors that the variables are applied to. E.g. if the variables are applied by Facebook to the body but we apply them to the root than that would cause specificity issues that while !important does solve, could be better fixed by just targetting the variable declaration selector better.

Ahh i didnt know that, i try remove that later

kuchingneko28 avatar Sep 20 '25 14:09 kuchingneko28

Any plans to also do messenger.com?

I don't know, but maybe i'll try

kuchingneko28 avatar Sep 20 '25 14:09 kuchingneko28

Why is !important necessary everywhere? We can usually avoid it by improving the selectors that the variables are applied to. E.g. if the variables are applied by Facebook to the body but we apply them to the root than that would cause specificity issues that while !important does solve, could be better fixed by just targetting the variable declaration selector better.

Reviewing the usage, in many places even though they are applied to __fb_light_mode, they are in an inline style attribute which needs !important to override.

WalkQuackBack avatar Sep 20 '25 15:09 WalkQuackBack

Why is !important necessary everywhere? We can usually avoid it by improving the selectors that the variables are applied to. E.g. if the variables are applied by Facebook to the body but we apply them to the root than that would cause specificity issues that while !important does solve, could be better fixed by just targetting the variable declaration selector better.

I just updated the selector, and it works without using !important now. 😺

kuchingneko28 avatar Sep 25 '25 01:09 kuchingneko28

Hi sorry for the late reply. I’m pretty busy right now, but I’ll get the updates done as soon as I can. Thanks

kuchingneko28 avatar Nov 14 '25 15:11 kuchingneko28