GithubHelp home page GithubHelp logo

eduardhojbota / moonlight-userchrome Goto Github PK

View Code? Open in Web Editor NEW
130.0 130.0 14.0 711 KB

A dark userstyle for Firefox inspired by moonlight-vscode-theme and github-moonlight

License: MIT License

CSS 100.00%

moonlight-userchrome's Introduction

Moonlight ๐ŸŒŒ userChrome

A dark userstyle for Firefox inspired by moonlight-vscode-theme and github-moonlight

Firefox screenshot with the moonlight theme activated

Installation

  1. Open your currently active profile folder
    1. In the URL bar type: about:profiles
    2. Look for the profile which has the "Default Profile" property set to true
    3. Click on "Open Folder" button belonging to the "Root Directory" property
  2. Create a new folder named chrome
    • Clone the theme directly into the chrome folder. If you choose this method you will be able to update the theme by pulling the latest files.
      OR
    • Download and extract the files in the chrome folder
  3. If you're running Firefox 69+
    1. In the URL bar type: about:config
    2. You will receive a warning to proceed with caution. Accept the Risk and Continue.
    3. In the "Search preference name" input field type toolkit.legacyUserProfileCustomizations.stylesheets
    4. Set it to true by double clicking the false value
  4. Restart the browser

Custom styling

The theme comes as is but it can be extended using CSS files provided in the custom folder. Further extensions should be included in the same folder to keep the main theme consistent. To enable custom styles, copy and paste the following @import statements at the end of the userChrome.css file.

Re-enable title bar controls (MIN-MAX-CLOSE buttons)

For Windows:

@import "custom/_titlebar-controls-enable-windows.css";

For macOS:

@import "custom/_titlebar-controls-enable-macos.css";

Disable megabar behavior

@import "custom/_megabar-disable.css";

Add Developer Tools styling

Set theme to dark in Firefox Developer Tools settings. Then, add the following line to userContent.css:

@import "custom/_dev-tools.css";

Support

If you love my work and would like to support my future endeavors I would gladly drink a coffee with you :)

Buy me a coffee button

moonlight-userchrome's People

Contributors

eduardhojbota avatar kntjspr avatar skbolton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

moonlight-userchrome's Issues

Title-bar overlay

When re-enabling the title-bar overlay, the close-min-max is ontop of the tab-view and tabs.

Screenshot 2024-01-29 at 11 48 27โ€ฏAM

Firefox 122.0 on Sonoma 14.3.

Container tab icons always rendered in blue

image

As you can see in the screenshot, the container name and the underline in the tab are shown with proper colors, but the icon is rendered in blue. It would make more sense if the icon was also yellow like the name and the underline.

Context menu

Hi,

since Firefox 91 context menu of web pages are really hard to read.
IMHO it's necessary a color correction of the text label

Thanks

Tab close icon disappears on hover

I'm submitting a ... (check one with "x")

[X] bug report => Search github for a similar issue or PR before submitting
[ ] feature request => Search github for a similar feature or PR before submitting
[ ] support request => Please do not submit support request here, instead contact the https://www.reddit.com/r/FirefoxCSS/ community

Current behavior
When hovering on the close button of a tab, the X icon disappears.

Expected behavior
When hovering on the close button of a tab, the X icon should be visible.

Minimal reproduction of the problem with instructions
Open a tab, hover over the X icon of the tab.
Screenshot

Please tell us about your environment:

  • Moonlight version: 1.0.0
  • Operating system: Windows
  • Firefox version: Firefox 88.0

Devtools styling?

Would you be interested in adding theming of the devtools? I have started work on a pr for it but I wanted to check in before I put in the work to finalize things. Here is a sample of what it will look like

Before:
before

After:
after

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.