Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update theme preview bot content #1326

Merged
merged 1 commit into from
Sep 26, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 5 additions & 7 deletions scripts/preview-theme.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,10 @@ function getPrNumber() {
}

const themeContribGuidelines = `
\r> Hi thanks for the theme contribution, please read our theme contribution guidelines

\r> We are currently only accepting color combinations from any vscode theme or which has good color combination to minimize bloating the themes collection.
\rHi thanks for the theme contribution, please read our theme [contribution guidelines](https://github.com/anuraghazra/github-readme-stats/blob/master/CONTRIBUTING.md#themes-contribution).
\rWe are currently only accepting color combinations from any vscode theme or which has good color combination to minimize bloating the themes collection.

\r> Also note that if this theme is exclusively for your personal use then instead of adding it to our theme collection you can use card [customization options](https://github.com/anuraghazra/github-readme-stats#customization)
\r> Read our [contribution guidelines](https://github.com/anuraghazra/github-readme-stats/blob/master/CONTRIBUTING.md) for more info
`;

async function run() {
Expand Down Expand Up @@ -56,7 +54,7 @@ async function run() {
owner: "anuraghazra",
repo: "github-readme-stats",
body: `
\rTheme preview (bot)
\r**Automated Theme preview**

\rCannot create theme preview

Expand All @@ -80,11 +78,11 @@ async function run() {
owner: "anuraghazra",
repo: "github-readme-stats",
body: `
\rTheme preview (bot)
\r**Automated Theme preview**

\ntitle_color: <code>#${titleColor}</code> | icon_color: <code>#${iconColor}</code> | text_color: <code>#${textColor}</code> | bg_color: <code>#${bgColor}</code>

\rLink: ${url}
\r[Preview Link](${url})

\r[![](${url})](${url})

Expand Down