Coder Social home page Coder Social logo

charlieetienne / material-github Goto Github PK

View Code? Open in Web Editor NEW
128.0 128.0 17.0 2.82 MB

A Material Dark Theme for GitHub

Home Page: https://userstyles.org/styles/174317/material-dark-github

License: MIT License

CSS 100.00%
material-dark-theme material-github material-theme stylus usercss userstyles

material-github's People

Contributors

charlieetienne avatar kiaragrouwstra avatar lf- avatar lunalycan287 avatar mabrizio avatar minhduc0711 avatar poly2d avatar zykedev 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  avatar  avatar  avatar

material-github's Issues

SAML SSO text is white

When authenticating my organization's login with github, the SSO auth text is white.

If you don't have an organization I imagine you might be able to replicate this if you attempt to authenticate an application with your github account.

I tried to request the stylesheet sso.scss located at https://github.githubassets.com/app/app/assets/stylesheets/custom/github/sso.scss but it gave me a 404. I also tried to access it in the sources and had the same issue. I presume it is a source map leaking from compiled css. Regardless, these should be pretty easy to override.

image

<div class="org-sso-panel">
    <div class="position-relative mt-2 mb-3">
      <img class="avatar mb-3" src="redacted" width="60" height="60" alt="">

      <h1 class="sso-title m-0">
        Single sign-on to
        <strong>My Org</strong>
      </h1>
    </div>


      <p class="text-gray-light mt-2 mb-4">
        Authenticate your account by logging into
        My Org’s
        single sign-on provider.
      </p>


    <!-- '"` --><!-- </textarea></xmp> --><form action="" accept-charset="UTF-8" method="post"><input type="hidden" name="authenticity_token" value="">
      

      <button type="submit" class="btn btn-primary btn-block">Continue</button>
</form>  </div>

image
image
image

Timeline comment label unreadable

Timeline comment labels (such as "Author") are unreadable:
image

This is taken from an authors reply to a pull request comment.

My suggestion is to add .review-comment to the same place where you set .comment-body color, then it would look like this:
image

Editing PR diff-review comments

Hello Charlie,

First I want to thank you -- this stylesheet is an eyeball-saver with large monitors! I really appreciate the effort you've put into it. (I personally hate CSS, so that makes me appreciate it even more! 😁 )

It seems there's an issue with editing PR diff-review comments. Notice the white border when editing, and the preview tab is completely whited out. This just started happening so I guess they changed something. As far as I can tell, this seems isolated to editing a previously posted comment, and only in the PR diff-review discussion area.

The edit tab:

image

The preview tab:

image

Add background to inline code

The background for inline code is pretty much invisible in lists.

  • This is test here is inline code

Example without list here is inline code

In case it's only looking like that in my browser, this is example from project wiki:
image

Selected notification items are overly bright

Confirmed that this is still an issue with version 3.2.12.

.notifications-list-item.navigation-focus {
  background-color: #f1f8ff!important;
}

Reproduction:

image

Looks like this fails to override since the background-color setting on line 1043 isn't marked with !important

Issue with "Available filters" heading in notifications

Currently the headline looks like this with the text having no padding to the side:
grafik

In normal github this is okay because it's all white:
grafik

Issue in line 165 "div.border.rounded-1" overwrites the bg color to bg-2 instead of white which is bg-3

My possible solutions:

  1. Change everything to "white" replacement by setting js-notification-search-autocomplete-dropdown to bg-3
    grafik
    Will have to adjust text color of texts & it is not easy to set apart from page background

  2. Change background to bg-2 too
    grafik
    Might have to adjust "Available filters" text color?

  3. Adjust padding
    grafik
    Maybe would have to add rounded borders? Overall doesn't seem nice still

I would personally prefer the 2nd Option. Do you think the text color should also be adjusted? if yes to what?

bg colours missing?

Hi!

I installed this style from style.css in this repo and the background of most of the site was still white, making it effectively unusable since you can't read any of the light text on white.

It appears that the CSS declarations setting --bg1, --bg2, etc to whatever colour they are supposed to be are missing?

userstyles.org is falling over as seems to often be the case so I have not been able to tell if this issue reproduces on the version on there.

The title bar on each changed file is misaligned.

It looks like GitHub changed something since this is a very recent issue.
I've updated to the latest Material Dark GitHub theme but unfortunately the problem persists.

With the Stylus theme disabled, the title-bars or headers (I don't know what to call them) for each file is properly aligned at the top:
image

But with the theme enabled, the title-bar has dropped and is obscuring the first 2 lines of code changes.
You can see the blank space above where it was supposed to be placed:
image

I only just noticed this today, so it broke in the past day or 2.

Progress Bar foreground and background contrast

Selector
.task-progress .progress-bar .progress

Theme
Darker

Description
The contrast between the foreground and background colors of the issue progress bars is very low. It's slightly visible at higher-than-default brightnesses by disappears at lower-than-default.

The progress bars for milestones and projects seems to use a bright green that might be more appropriate.

Examples

Issues:
image

Milestones:
image

Some page backgrounds are white again.

Once again thank you for this awesome theme! :)

This problem only started happening for me today, so GitHub has changed something I guess.
A number of pages in GitHub are starting to have white backgrounds shine through.

Example
image

Even this issues page has a big block of white at the bottom, and you can see white around where I enter the title for this issue.
image

Active search box has unreadable black text on the new UI

Thanks for maintaining this theme, it's really nice. I believe I found a bug:

When the cursor is placed in the search box, the foreground text is black and thus unreadable. It appears that GitHub has a separate style for when it is selected, shown below, that is causing the problem.

Problem:
image

Culprit:
image

Best GitHub theme

Just wanted to say that this is the best GitHub theme. You can close this post when you read it, thanks

Issue titles invisible and repo name background white

Hi there, thanks for the stylesheet.

Looks like github has pushed an update.
Screen Shot 2021-03-02 at 02 24 15-fullpage

As you can see Issue titles are the same colour as their backgrounds, and the background behind the repository name is white.

Also the page below the github footer is white.

Upper bar appears white, desappear upon refreshing

Hello! I really like this style, thanks for maintaining it!

I experience an annoying problem on my machine, I don't even know if there is anything you can do for it.

Bug report

Sometimes, when opening a github window in an other tab for example, the upper bar on top appears white as in the screenshot below:

image

This problem disappears upon refreshing or clicking anywhere.

Do you have any idea where it can come from? Do not hesitate to ask me for more info about this issue, I can provide other screenshots or try some scenarios.

My config

  • Material Dark GitHub
  • Firefox 75.0
  • Ubuntu 18.04

Detail improvements

Hi! First of all, thanks for bringing Material Design to Github!

Folder icons
image
I noticed that the folder icons doesn't seem to follow the selected accent color. Is it a bug, or is it simply not included in the theme? It would be really nice if you could theme these icons!

Tags' font size
image
In my case, the text in the tag is not aligned to center, and has a 12 px font size. The same problem also occurs on repository tags. I am using Chrome 83 with Stylus 1.5.11.

Option to increase text lightness/contrast?

Right now, Markdown/etc. body text is white with alpha 0.7. I find this color to be a bit darker than I prefer for comfortable reading. Is it possible to add an option to increase the brightness?

I suspect this won't be the easiest to override, since 0.7 appears in several rules which are !important. Writing my own userstyle to make text white will require tha I toggle Material Github and my own style simultaneously. And editing the style will break updates.

Organization sidebar isn't correctly styled

Currently when viewing an organization's settings the sidenav menu is incorrectly styled:

image

I have fixed this by duplicating .menu and .menu-item classes with .SideNav and .SideNav-item classes:

image

Pull request incoming...

Make the Notifications page darker

Hi.

I think that some colors of the Notifications page are a bit too bright.

Annotation 2020-04-27 152201

  • Inbox / Saved / Done <li>:
    Maybe you could replace this color by #324149 ?

  • Also, could you make the color of Unread issues darker too ?
    Maybe with color #1f292e or #141a1e ?

Thank you in advance.

Updates to the CSS

Hi,

Awesome theme!

I found a few small problems however, I fixed them. They are probably due to GitHub changing their html.

Would you mind implementing this changes back and updating the theme for everyone? :D

Keep up the good work.

/* changes */

/* comments */
 .comment-body, .markdown-body, .js-comment-body {
    color: rgba(255, 255, 255, 0.7) !important;
}
/* timeline background lines, badges, etc */
 .TimelineItem-break {
    background-color: var(--bg3) !important;
    border-top: 4px solid var(--bg5) !important;
}
.TimelineItem:before {
    background-color: var(--bg5) !important;
}
.TimelineItem-badge {
    border: 2px solid var(--bg5) !important;
}
/* tabs on the comment box and such, Write, Preview, etc  */
 .tabnav-tab.selected, .tabnav-tab[aria-selected=true] {
    background-color: var(--bg5) !important;
    border-color: var(--bg4) !important;
}
/* badges, like bug, feature, etc, */
 .protip code {
    background-color: var(--bg5) !important;
    padding: 3px;
}
/* end changes */

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.