catppuccin / vimium

🌼 Soothing pastel theme for Vimium
MIT License
130 stars 10 forks source link

feat: style new tab and options page #13

Closed Sebagabones closed 3 months ago

Sebagabones commented 3 months ago

Heya! I noticed that when using the pages/blank.html option when opening a new tab with 't', the blank page uses a default page background, that doesn't match the Catppuccin background colour. I didn't like this as it didn't match the Cattppuccin FireFox theme I am using. I have found that this is possible to change by adding a few lines of CSS to Catppuccin's Vimium theme.

I then decided to go overboard, and themed Vimium's options menu page as well.

I then decided to make this work for all four Catppuccin themes :)

I spent a bit of time trying to get this to work on Chromium based browsers, however it seems like Chromium prevents the CSS from loading - I use FireFox so didn't go crazy trying to find why it didn't work, and this doesn't seem to negatively do anything for Chromium browsers, however it is a nice update for FireFox (and Floorp) IMO :) - that said - if anyone finds a way to fix this, please let me know in the PR, or fork it :)

I have added some images to show the difference before and after (using the Mocha theme):

FloorpBeforeNewTab

FloorpAfterNewTab

FloorpBeforeOptionsPage

FloorpAfterOptionsPage

Sebagabones commented 3 months ago

Oki, will do! Thanks! Will message in the discord if I have any issues :)

Sebagabones commented 3 months ago

Oooo oki! My bad about latte, I had a quick look but didn't look hard enough 😃

Odd about new tab - are you using the "pages/blank.html" option in vimium, and then opening a new tab with "t"? Definitely want to try to get that to work - that is what prompted me to start this after all :P

sgoudham commented 3 months ago

Odd about new tab - are you using the "pages/blank.html" option in vimium, and then opening a new tab with "t"? Definitely want to try to get that to work - that is what prompted me to start this after all :P

Ah yeah sorry I misread your initial comment, I enabled the blank page setting in firefox instead of Vimium, works as intended!

Would be happy to merge if the the footer text contrast is fixed on Latte!