Commit graph

63 commits

Author SHA1 Message Date
mr. m
4f5c8e4464
Update pr-check.yml 2025-02-23 11:16:53 +01:00
mr. m
de800a7cfe
Update submit-pr.yml 2025-02-23 09:21:45 +01:00
mr. m
8575ce6a73 Add Pillow dependency and implement image validation for theme submission 2025-02-19 11:26:07 +00:00
mr. M
2b52886c65
Refactor theme readme files and funding configuration for consistency 2025-01-26 15:36:01 +01:00
mr. M
7c9b290b95
Add PR check workflow to rebuild themes after theme submission 2024-10-20 16:27:00 +02:00
TheRealMG
6c30ab0b6a
Added rebase flag to Update Theme Timestamps action (#582)
* Update `updated at` field for `39907934-59e9-4e42-89f0-a254d3c5e280 ad97bb70-0066-4e42-9b5f-173a5e42c6fc bc25808c-a012-4c0d-ad9a-aa86be616019 `

* added rebase strategy to `Update Theme Timestamps` action

* added indent for proper json formatting

* added indent for proper formatting to `Rebuild Themes` as well

* Added indent for proper formatting to `Submit Theme`

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-18 12:54:17 +02:00
TheRealMG
95c7109a60
truncated newline into space (#580) 2024-10-13 23:38:27 +02:00
TheRealMG
a73edd785e
Fix Theme Metadata Duplication and Add Missing Properties for Recent Pull Requests (#575)
* fix ability to add tags multiple times when rebuilding themes

* fix `createdAt` not being added for pull requests made prior

* adds tags property if it doesn't exist (old PRs)

* updated affected `theme.json` files

* updated more affected `theme.json` files

* fix action failing if new commits before finished

* make action only initiate when themes are changed
2024-10-13 09:59:29 +02:00
mauro 🤙
4358e2e612 Update updated at field for $CHANGED_THEMES 2024-10-12 22:21:20 +00:00
mauro 🤙
48a00fd9eb Update submit-pr.yml and update-theme-date.yml 2024-10-12 22:20:03 +00:00
mr. m 🤙
0efb548d18
Update update-theme-date.yml 2024-10-13 00:15:21 +02:00
mr. m 🤙
b268356b09
Update submit-pr.yml 2024-10-13 00:07:06 +02:00
mr. m 🤙
9702747545
Update update-theme-date.yml 2024-10-13 00:06:46 +02:00
TheRealMG
ab50f51b95
Added tags, createdAt, updatedAt properties (#561)
* add new properties on submit theme

* New GitHub Action for updating `updatedAt`

* change rebuild_themes.py to update tags for color themes

* Adding GitHub Action for updating all theme.json files (temporary)

* Applying corrected themes.json file

* fix: forgot to commit changes

* Update theme.json metadata

* Deleting actions not needed for merge

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-10-12 09:23:29 +02:00
Shaan
3d4cc101ba
Add hints about removing chrome:// selectors (#531) 2024-10-06 18:21:17 +02:00
Bryan Galdámez
80842c45a7
refactor(scripts): added compatibility layer with old prefs style, convert prefs to new style on theme rebuild (#424)
* refactor(scripts): replaced hyphens with underscores in script names

* test(rebuild_themes): debug logs

* Rebuild themes.json after theme submission

* refactor(rebuild_themes): added preferences loading

* fix(submit-pr): fixed dependencies

* debug(rebuild_themes): add pre print

* feature(rebuild_themes): save preferences to file

* feature(rebuild_themes): add ident

* Rebuild themes.json after theme submission

---------

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2024-09-21 06:58:24 +02:00
mauro 🤙
9d79c45b5e
Update create-theme.yml 2024-09-07 11:59:51 +02:00
k14lb3
3bf07be8c4 docs: fix typo in create-theme.yml 2024-09-02 22:38:11 +08:00
mauro 🤙
591f163cc7
Update create-theme.yml 2024-08-21 23:00:48 +02:00
Mauro Balades
b674c261ba feat: Add support for color themes in theme creation 2024-08-21 16:52:53 +02:00
Mauro Balades
5ee29229a8 feat: Update workflow names for theme creation and PR submission 2024-08-21 16:51:50 +02:00
Mauro Balades
3669071b8f feat: Update theme creation workflow to handle color themes
This commit modifies the `create-theme.yml` workflow file to handle color themes. It adds a new environment variable `THEME_IS_COLOR_THEME` that indicates whether the theme is a color theme. The value of this variable is determined based on the presence of the "JSON Color Theme" string in the `is-color-theme` field of the theme creation form. This change allows for the generation of a `chrome.css` file for color themes using the provided color values in a `colors.json` file.

Fixes #69
2024-08-21 16:41:14 +02:00
Mauro Balades
7dbc034a97 feat: Add checkbox field for color themes in theme creation form 2024-08-21 16:37:31 +02:00
Mauro Balades
18c0733e99 feat: Add support for color themes in theme creation 2024-08-21 16:36:55 +02:00
Mauro Balades
01040237ed feat: Add support for color themes in theme creation
This commit modifies the theme creation process to include support for color themes. It adds a new checkbox field in the theme creation form to indicate whether the theme is a color theme. If the checkbox is selected, the CSS styles for the theme should be provided as a JSON object with the color values. Additionally, the `create-theme.yml` workflow file is updated to include the `THEME_IS_COLOR_THEME` environment variable when building the theme. The `rebuild-themes.py` script is also updated to generate a `chrome.css` file for color themes based on the provided color values in a `colors.json` file.

Fixes #69
2024-08-21 16:31:16 +02:00
mauro 🤙
4593e3bd54
Update create-theme.yml 2024-08-19 22:13:20 +02:00
mauro 🤙
2c1ff30064
Update submit-pr.yml 2024-08-18 20:07:52 +02:00
mauro 🤙
c646b95caf
Update create-theme.yml 2024-08-18 17:30:48 +02:00
mauro 🤙
411b481d1d FIxed issue creation 2024-08-18 15:23:17 +00:00
Mauro Balades
cd600df423 chore: Add validation for required image field in theme creation form 2024-08-18 11:40:19 +02:00
Mauro Balades
acf43a8465 chore: Update theme creation form descriptions
Update the description fields in the theme creation form to include character limits. The "Name" field now has a maximum of 25 characters, and the "Description" field has a maximum of 100 characters. This ensures that users provide concise and relevant information when creating themes.
2024-08-17 18:53:09 +02:00
Mauro Balades
7771ba778d chore: Update create-theme workflow to handle HTTPS URLs in submit-theme script 2024-08-16 01:25:34 +02:00
Mauro Balades
980bdc047f chore: Update create-theme workflow to handle HTTPS URLs in submit-theme script 2024-08-16 01:23:38 +02:00
Mauro Balades
57d355020d chore: Update create-theme workflow to handle preferences file 2024-08-16 01:10:57 +02:00
Mauro Balades
34c19e2524 chore: Add preferences support to create-theme workflow 2024-08-16 00:52:10 +02:00
Mauro Balades
367a302e9f chore: Update create-theme workflow to include author information and image in theme submission 2024-08-16 00:24:14 +02:00
Mauro Balades
b560273840 chore: Rebuild themes.json after theme submission 2024-08-15 22:07:14 +02:00
Mauro Balades
039f6cb2cf chore: Update create-theme workflow to include author information in theme submission 2024-08-15 21:55:53 +02:00
Mauro Balades
fa7353331a chore: Update create-theme workflow to include author information in theme submission 2024-08-15 21:53:51 +02:00
Mauro Balades
9f5c6ebd05 chore: Update create-theme workflow to write styles and readme to separate files 2024-08-15 21:51:25 +02:00
Mauro Balades
f7711c3b57 chore: Update create-theme workflow to output styles and readme 2024-08-15 21:42:45 +02:00
Mauro Balades
22681c76e1 chore: Update create-theme workflow to use single quotes for THEME_STYLES and THEME_README environment variables 2024-08-15 21:34:51 +02:00
Mauro Balades
82d111e01d chore: Update create-theme workflow to use stefanbuck/github-issue-parser@v3 for parsing issue templates 2024-08-15 21:33:01 +02:00
Mauro Balades
23a08b1698 chore: Update create-theme workflow to use stefanbuck/github-issue-parser@v3 for parsing issue templates 2024-08-15 21:29:30 +02:00
Mauro Balades
98b441c42c chore: Update create-theme workflow to use stefanbuck/github-issue-parser@v3 for parsing issue templates 2024-08-15 21:24:15 +02:00
Mauro Balades
155b41e370 chore: Update create-theme workflow to use markdown rendering for the theme's README file 2024-08-15 21:18:50 +02:00
Mauro Balades
94bc791d1e chore: Update create-theme workflow to use CSS rendering for theme styles 2024-08-15 21:17:01 +02:00
Mauro Balades
8d52ad1c1b chore: Update create-theme workflow to use environment variables for theme creation 2024-08-15 21:14:38 +02:00
Mauro Balades
a1770acbc0 chore: Update create-theme workflow to use environment variables for theme creation 2024-08-15 21:09:14 +02:00
Mauro Balades
91fe85d16a chore: Update create-theme workflow to use DEPLOY_KEY instead of GITHUB_TOKEN for theme creation 2024-08-15 21:04:37 +02:00