Skip to content

Commit

Permalink
style(themes): add buefy theme (#193)
Browse files Browse the repository at this point in the history
* styles(themes): add buefy configuration

* docs(theme):  update table

* docs: add missing parentheses on the example
  • Loading branch information
ming-tsai authored Jul 26, 2020
1 parent 6d1b1e2 commit 57cf490
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
8 changes: 5 additions & 3 deletions themes/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ With inbuilt themes you can customize the look of the card without doing any man
Use `?theme=THEME_NAME` parameter like so :-

```md
![Anurag's github stats](https://github-readme-stats.vercel.app/api?username=anuraghazra&theme=dark&show_icons=true
![Anurag's github stats](https://github-readme-stats.vercel.app/api?username=anuraghazra&theme=dark&show_icons=true)
```

## Stats
Expand All @@ -19,7 +19,7 @@ Use `?theme=THEME_NAME` parameter like so :-
| `cobalt` ![cobalt][cobalt] | `synthwave` ![synthwave][synthwave] | `highcontrast` ![highcontrast][highcontrast] |
| `dracula` ![dracula][dracula] | `dark` ![dark][dark] | `prussian` ![prussian][prussian] |
| `monokai` ![monokai][monokai] | `vue` ![vue][vue] | `shades-of-purple` ![shades-of-purple][shades-of-purple] |
| `nightowl` ![nightowl][nightowl] | [Add your theme][add-theme] | |
| `nightowl` ![nightowl][nightowl] | `buefy` ![buefy][buefy] | [Add your theme][add-theme] |

## Repo Card

Expand All @@ -32,7 +32,7 @@ Use `?theme=THEME_NAME` parameter like so :-
| `cobalt` ![cobalt][cobalt_repocard] | `synthwave` ![synthwave][synthwave_repocard] | `highcontrast` ![highcontrast][highcontrast_repocard] |
| `dracula` ![dracula][dracula_repocard] | `dark` ![dark_repocard][dark_repocard] | `prussian` ![prussian_repocard][prussian_repocard] |
| `monokai` ![monokai_repocard][monokai_repocard] | `vue` ![vue_repocard][vue_repocard] | `shades-of-purple` ![shades-of-purple_repocard][shades-of-purple_repocard] |
| `nightowl` ![nightowl_repocard][nightowl_repocard] | [Add your theme][add-theme] | |
| `nightowl` ![nightowl_repocard][nightowl_repocard] | `buefy` ![buefy_repocard][buefy_repocard] | [Add your theme][add-theme] |

<!-- Repo Card Theme previews -->

Expand All @@ -53,6 +53,7 @@ Use `?theme=THEME_NAME` parameter like so :-
[vue_repocard]: https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=github-readme-stats&cache_seconds=86400&theme=vue
[shades-of-purple_repocard]: https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=github-readme-stats&cache_seconds=86400&theme=shades-of-purple
[nightowl_repocard]: https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=github-readme-stats&cache_seconds=86400&theme=nightowl
[buefy_repocard]: https://github-readme-stats.vercel.app/api/pin/?username=anuraghazra&repo=github-readme-stats&cache_seconds=86400&theme=buefy

<!-- Stats Theme previews -->

Expand All @@ -72,5 +73,6 @@ Use `?theme=THEME_NAME` parameter like so :-
[vue]: https://github-readme-stats.vercel.app/api?username=anuraghazra&theme=vue&show_icons=true&hide=["contribs","prs"]&cache_seconds=86400&
[shades-of-purple]: https://github-readme-stats.vercel.app/api?username=anuraghazra&theme=shades-of-purple&show_icons=true&hide=["contribs","prs"]&cache_seconds=86400&
[nightowl]: https://github-readme-stats.vercel.app/api?username=anuraghazra&theme=nightowl&show_icons=true&hide=["contribs","prs"]&cache_seconds=86400&
[buefy]: https://github-readme-stats.vercel.app/api?username=anuraghazra&theme=buefy&show_icons=true&hide=["contribs","prs"]&cache_seconds=86400&

[add-theme]: https://github.com/anuraghazra/github-readme-stats/edit/master/themes/index.js
6 changes: 6 additions & 0 deletions themes/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,12 @@ const themes = {
text_color: "7FDBCA",
bg_color: "011627",
},
buefy: {
title_color: "7957d5",
icon_color: "ff3860",
text_color: "363636",
bg_color: "ffffff",
},
};

module.exports = themes;

0 comments on commit 57cf490

Please sign in to comment.