Commit graph

41 commits

Author SHA1 Message Date
mr. m
f61da83440 Deprecate color themes and notify users in the theme submission script 2025-02-19 11:28:37 +00:00
mr. m
8575ce6a73 Add Pillow dependency and implement image validation for theme submission 2025-02-19 11:26:07 +00:00
mr. m
7b4c3e1628 Fixed invalid preferences on submission 2025-01-30 12:50:22 +00: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
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
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
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
Bryan Galdámez
640f563c73
refactor(submit-theme): refactored to use the new preferences syntax (#423) 2024-09-20 21:22:26 +02:00
mauro-balades
ef08ecb65f Update theme: Format theme data JSON file 2024-09-07 18:16:35 +02:00
Mauro Balades
bb113e7c8a feat: Add version to theme.json files 2024-08-25 20:57:39 +02:00
Mauro Balades
a23e634a6e Update themes.json with past version if available, otherwise set it to 1.0.0 2024-08-25 13:04:52 +02:00
Mauro Balades
4d6424f9ea chore: Remove unused function _ensure_packages_have_version 2024-08-25 12:51:30 +02:00
mauro 🤙
079d43b32a
Update _ensure_packages_have_version.py 2024-08-25 12:29:46 +02:00
Mauro Balades
fea6e8e7b8 chore: Ensure packages have version in theme.json 2024-08-25 09:01:07 +02:00
Mauro Balades
764dd738cf Refactor theme CSS files to remove unnecessary color-scheme property 2024-08-22 21:23:03 +02:00
Mauro Balades
4b2ab07898 Merge branch 'main' of https://github.com/zen-browser/theme-store 2024-08-22 09:43:15 +02:00
Mauro Balades
653dbf406f feat: Add support for dialog background and accent color in theme creation 2024-08-22 09:43:13 +02:00
mauro 🤙
29a8ee3a38
Update rebuild-themes.py 2024-08-21 23:05:24 +02:00
mauro 🤙
0f3738af10
Update rebuild-themes.py 2024-08-21 22:59:17 +02:00
Mauro Balades
be929208df chore: Update comment in rebuild-themes.py to clarify that it is an auto generated color theme 2024-08-21 16:54:00 +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
19b1ad2567 feat: Update theme creation workflow to handle color themes 2024-08-21 16:50:17 +02:00
Mauro Balades
9f440aacec feat: Update theme creation workflow to handle color themes 2024-08-21 16:45:34 +02:00
Mauro Balades
06d5b7f04f feat: Update theme creation workflow to handle color themes 2024-08-21 16:44:00 +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 Balades
23f0f0c9e8 chore: Update json.dump to include indentation in submit-theme.py 2024-08-20 09:27:00 +02:00
mauro 🤙
8262640385
Update rebuild-themes.py 2024-08-18 20:10:18 +02:00
Mauro Balades
786f7aaca5 chore: Update name character limit in theme creation form
The "Name" field in the theme creation form now has a maximum character limit of 25, ensuring concise and relevant theme names.
2024-08-17 19:10:40 +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
9adc322c37 chore: Update create-theme workflow to handle preferences file 2024-08-16 01:12:32 +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
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
881b84875c chore: Update create-theme workflow to capture error logs 2024-08-15 20:52:01 +02:00
Mauro Balades
002a1f1a2a chore: Update create-theme workflow to capture error logs 2024-08-15 20:47:33 +02:00
Mauro Balades
02469dc126 chore: Update issue template for creating themes 2024-08-15 20:38:16 +02:00