Skip to content

Commit 2b52886

Browse files
committed
Refactor theme readme files and funding configuration for consistency
1 parent ee9f849 commit 2b52886

File tree

311 files changed

+6468
-6060
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

311 files changed

+6468
-6060
lines changed

.github/FUNDING.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
21
patreon: zen_browser
3-
ko_fi: zen_browser
2+
ko_fi: zen_browser

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
blank_issues_enabled: true
1+
blank_issues_enabled: true

.github/ISSUE_TEMPLATE/create-theme.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ body:
4747
attributes:
4848
label: Theme Styles
4949
render: css
50-
50+
5151
description: The CSS styles for the theme. If the theme is a color theme, the styles should be a JSON object with the color values.
5252
placeholder: |
5353
/* Remember to strip @-moz-document url-prefix('chrome://') {... */

.github/workflows/create-theme.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- name: Install python
1717
uses: actions/setup-python@v2
1818
with:
19-
python-version: '3.x'
19+
python-version: "3.x"
2020

2121
- name: Setup python modules
2222
run: |
@@ -39,19 +39,19 @@ jobs:
3939
echo "THEME_IS_COLOR_THEME=${{ contains(fromJson(steps.issue-parser.outputs.jsonString)['is-color-theme'], 'JSON Color Theme') }}" >> $GITHUB_ENV
4040
4141
- name: Write styles to file
42-
uses: 'DamianReeves/write-file-action@master'
42+
uses: "DamianReeves/write-file-action@master"
4343
with:
4444
contents: ${{ fromJson(steps.issue-parser.outputs.jsonString)['styles'] }}
4545
path: theme-styles.css
4646

4747
- name: Write readme to file
48-
uses: 'DamianReeves/write-file-action@master'
48+
uses: "DamianReeves/write-file-action@master"
4949
with:
5050
contents: ${{ fromJson(steps.issue-parser.outputs.jsonString)['readme'] }}
5151
path: theme-readme.md
5252

5353
- name: Write preferences to file
54-
uses: 'DamianReeves/write-file-action@master'
54+
uses: "DamianReeves/write-file-action@master"
5555
if: fromJson(steps.issue-parser.outputs.jsonString)['preferences'] != ''
5656
with:
5757
contents: ${{ fromJson(steps.issue-parser.outputs.jsonString)['preferences'] }}
@@ -97,9 +97,9 @@ jobs:
9797
add-paths: themes/
9898
labels: staged
9999
token: ${{ secrets.DEPLOY_KEY }}
100-
commit-message: 'Add theme: ${{ env.THEME_NAME }}'
100+
commit-message: "Add theme: ${{ env.THEME_NAME }}"
101101
delete-branch: true
102-
title: 'Add theme: ${{ env.THEME_NAME }}'
102+
title: "Add theme: ${{ env.THEME_NAME }}"
103103
body: |
104104
# Add theme: ${{ env.THEME_NAME }}
105105

.github/workflows/pr-check.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
21
name: Check PR is valid
32

43
on:
@@ -16,7 +15,7 @@ jobs:
1615
- name: Install python
1716
uses: actions/setup-python@v2
1817
with:
19-
python-version: '3.x'
18+
python-version: "3.x"
2019

2120
- name: Setup python modules
2221
run: |

.github/workflows/submit-pr.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
- name: Install python
2121
uses: actions/setup-python@v2
2222
with:
23-
python-version: '3.x'
23+
python-version: "3.x"
2424

2525
- name: Setup python modules
2626
run: |

.github/workflows/update-theme-date.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ on:
55
branches:
66
- main
77
paths:
8-
- 'themes/**'
8+
- "themes/**"
99

1010
jobs:
1111
update-timestamp:
@@ -24,7 +24,7 @@ jobs:
2424
- name: Set up Python
2525
uses: actions/setup-python@v2
2626
with:
27-
python-version: '3.x'
27+
python-version: "3.x"
2828

2929
- name: Detect changed themes
3030
id: get_changes
@@ -35,7 +35,7 @@ jobs:
3535
- name: Setup python modules
3636
run: |
3737
pip3 install requests
38-
38+
3939
- name: Setup Git
4040
run: |
4141
git config --global user.name "github-actions[bot]"

README.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@
1111

1212
To submit a theme, please follow these steps:
1313

14-
* Open an issue in [this template](https://github.com/zen-browser/theme-store/issues/new?assignees=&labels=new-theme&projects=&template=create-theme.yml&title=%5Bcreate-theme%5D%3A+) with the title `[create-theme]: <theme-name>`
15-
* Fill out the template with the necessary information
16-
* Submit the issue
17-
* Let us take care of the rest!
14+
- Open an issue in [this template](https://github.com/zen-browser/theme-store/issues/new?assignees=&labels=new-theme&projects=&template=create-theme.yml&title=%5Bcreate-theme%5D%3A+) with the title `[create-theme]: <theme-name>`
15+
- Fill out the template with the necessary information
16+
- Submit the issue
17+
- Let us take care of the rest!
1818

1919
## Important notice
2020

@@ -24,10 +24,10 @@ To submit a theme, please follow these steps:
2424

2525
To update a theme, please follow these steps:
2626

27-
* Create a new pull request with the updated theme
28-
* Make sure to include the theme name in the title
29-
* Submit the pull request
30-
* Let us take care of the rest!
27+
- Create a new pull request with the updated theme
28+
- Make sure to include the theme name in the title
29+
- Submit the pull request
30+
- Let us take care of the rest!
3131

3232
> This applied to any other actions you want to take with the themes in this repository, such as deleting a theme.
3333

0 commit comments

Comments
 (0)