Change Github's Default Gist Styles

Is it possible to change Github’s gists default styles programmatically or through some interface?

  • Python script causes git publickey error when not run in IDLE
  • Restricting rights on GitHub
  • How to push Eclipse project to Github
  • Jenkins - (private subnet) WebHook with Github does not trigger automatic build
  • How to get rid of constant “merge branch” from github by git
  • Why I can't close pull request by cherry-pick on github
  • Can I merge/sync a sub-folder from one branch to the root of another in git?
  • My git branch on github should be only 2 ahead but it is also 2 behind
  • Safe way to work in Git
  • Can I delete a forked Github repository when upstream hasn't accepted my pull request?
  • How to create digital object identifier (DOI) for bitbucket repository?
  • How to fix/ignore syntax error in github
  • 4 Solutions collect form web for “Change Github's Default Gist Styles”

    I don’t know of any API or interface influencing the way gist are presented on GitHub.

    If you include those gist in your blog, then of course some CSS local changes can make your gist different, as illustrated by this blog post, this CSS or this CSS.

    However, this doesn’t concern syntax highlighting.
    You can only share those Gist with a custom stylesheet through, for instance Octopress, using a Sass port of Solarized syntax highlighting.
    But again, that won’t change those gist presentation on GitHub itself.

    For embedded Gists there is Pretty Gist

    Pretty Gist is a jQuery plugin to make prettier and more functional embedded Github Gists.

    Github repo

    May i am late at party, but you can create your own CSS by editing the default one it with the color you want. I have done something same but instead of pasting all the css in the blog i prefer to link it

    See if this works for you

    <link href="https://cdn.rawgit.com/Killercodes/281792c423a4fe5544d9a8d36a4430f2/raw/36c2eb3e0c44133880485a143717bda9d180f2c1/GistDarkCode.css" rel="stylesheet" type="text/css">
    

    You can also find it here: GistDarkCode.css I made it look all black

    GIst Dark theme

    Yes there are different properties to control the default css of GitHub gist. I did various customizations in this project and made sure I define the properties after the embedded js – https://github.com/tebelorg/TA.Gist (PHP template that displays your GitHub gists as blog posts)

    Git Baby is a git and github fan, let's start git clone.