Giter VIP home page Giter VIP logo

Comments (3)

davidyshen avatar davidyshen commented on August 27, 2024 1

I love this theme too, and have also had issues with the title bar still be blue, so I made a custom css for it that corrects for most of the non blue things.

If you go into Program Files\RStudio\resources\stylesheets\rstudio-windows-dark.qss and paste in the following, it'll fix it:

QMenuBar {
    background-color: rgb(59, 59, 59);
    border-bottom: 1px solid rgb(36, 36, 36);
}

QMenuBar::item {
    color: rgb(240, 240, 240);
    background-color: rgb(59, 59, 59);
    padding: 3px 8px 2px 8px;
}

QMenuBar::item:selected {
    color: white;
    background-color: rgb(69, 69, 69);
}

QMenu {
    background-color: rgb(59, 59, 59);
}

QMenu::item {
    color: rgb(255, 255, 255);
}

QMenu::item:disabled {
    color: rgb(148, 148, 148);
    background-color: rgb(59, 59, 59);
}

QMenu::item:selected {
    color: white;
    background-color: rgb(69, 69, 69);
}

QMenu::item:selected:disabled {
    color: rgb(148, 148, 148);
    background-color: rgb(59, 59, 59);
}

Proof:
Before
image
After
image

from darkstudio.

rileytwo avatar rileytwo commented on August 27, 2024

From #8:

So, from what I can tell, RStudio's menu bar is outside the scope of what's customizable through injecting css into index.htm. The menu bar and editors (the four panes) are built using different frameworks; Qt is used for the menu bar, while Ace is used for the editors.

However, someone else has made a package that solves this problem! Check out rscodeio and let me know if this is what you expected the menu bar to look like.

I personally use rscodeio to change the menu bar. Unfortunately, however, I don't think changing the titlebar color through darkstudio is possible.

edit: and thanks!

from darkstudio.

grcatlin avatar grcatlin commented on August 27, 2024

@davidyshen Works beautifully! Thank you :)

from darkstudio.

Related Issues (20)

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.