feat: add corner rounding parameter so we can make square cards (#845)

* add corner rounding parameter so i can make square cards

* rename rx to border_radius
This commit is contained in:
Teddy Heinen authored and GitHub committed 2021-03-07 22:23:32 +05:30
1 parent ad486d1aa2
commit c8a5e835a5
14 files changed
+49 -1

No files matched your search

+2
View File
@@ -23,6 +23,7 @@ module.exports = async (req, res) => {
show_owner,
cache_seconds,
locale,
border_radius,
} = req.query;
let repoData;
@@ -69,6 +70,7 @@ module.exports = async (req, res) => {
text_color,
bg_color,
theme,
border_radius,
show_owner: parseBoolean(show_owner),
locale: locale ? locale.toLowerCase() : null,
}),