mirror of
https://github.com/tiennm99/github-readme-stats.git
synced 2026-07-16 16:17:04 +00:00
feat: added repo card hide border option (#488)
* 🚀 Prettier config * 🚀 hide_border for Repo Card * fix: wrong total commits (#490) * chore: run prettier on all files * chore: lol lets add the trailing commas Co-authored-by: Anurag Hazra <hazru.anurag@gmail.com>
This commit is contained in:
@@ -66,7 +66,7 @@ const createTableItem = ({ link, label, isRepoCard }) => {
|
||||
const generateTable = ({ isRepoCard }) => {
|
||||
const rows = [];
|
||||
const themes = Object.keys(theme).filter(
|
||||
(name) => name !== (!isRepoCard ? "default_repocard" : "default")
|
||||
(name) => name !== (!isRepoCard ? "default_repocard" : "default"),
|
||||
);
|
||||
|
||||
for (let i = 0; i < themes.length; i += 3) {
|
||||
|
||||
@@ -55,7 +55,7 @@ async function run() {
|
||||
return;
|
||||
}
|
||||
colors = colors.map((color) =>
|
||||
color.replace(/.*\:\s/, "").replace(/\"/g, "")
|
||||
color.replace(/.*\:\s/, "").replace(/\"/g, ""),
|
||||
);
|
||||
|
||||
let titleColor = colors[0];
|
||||
|
||||
Reference in New Issue
Block a user