Unverified Commit 57cf490e authored by Ming Tsai's avatar Ming Tsai Committed by GitHub
Browse files

style(themes): add buefy theme (#193)

* styles(themes): add buefy configuration

* docs(theme):  update table

* docs: add missing parentheses on the example
parent 6d1b1e22
Loading
Loading
Loading
Loading
+5 −3
Original line number Diff line number Diff line
@@ -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
@@ -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

@@ -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 -->

@@ -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 -->

@@ -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 −0
Original line number Diff line number Diff line
@@ -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;