The largest collection of free stuff on the internet!
Find a file
Mottamim Abdul Muhit a71bb4c0d0
Custom Color Theme Selector (#4641)
* Add custom theme color selector to ColorPicker

Introduces a CustomColorSelector component and integrates it into the ColorPicker, allowing users to define and persist custom link, text, and background colors for the site theme. Updates dependencies to include tinycolor2 and its types for color manipulation.

* Add custom theme mode with improved color handling

Introduces a 'custom' display mode for themes, allowing users to define and persist their own color schemes. Updates ColorPicker and ThemeDropdown to support the custom mode, including UI logic to prevent switching from custom to default modes without explicit action. Enhances themeHandler to register and apply custom themes from localStorage, manage previous mode restoration, and apply additional CSS variables for custom backgrounds.

* Remove unused variables from theme components

Cleaned up ColorPicker.vue and ThemeDropdown.vue by removing unused variables and functions related to theme state. This improves code clarity and maintainability.

* Remove close on overlay click in color selector modal

The @click.self handler was removed from the modal overlay, so clicking the overlay no longer closes the CustomColorSelector modal.

* Increase card background lightening for custom themes

Adjusted the lightening values for card backgrounds in custom themes from 5/8 to 10/15 to improve visual distinction between cards and the main background.

* Improve custom color theme handling in color picker

Exclude the 'custom' theme from preset theme options in ColorPicker.vue and correct button text color assignments for custom themes. In CustomColorSelector.vue, update button styles to reflect selected custom colors dynamically, enhancing the user experience when previewing and applying custom color selections.

* Update Vue version and config improvements

Bump Vue dependency to 3.5.0 in package.json. Add SCSS preprocessor option to VitePress config for modern compiler API. Refactor UnoCSS config to use kebab-case CSS property names for consistency.

* Update pnpm lockfile

Regenerated pnpm-lock.yaml to reflect updated dependencies.

* Update header description text color style

Replaces the description paragraph's class-based text color with an inline style using the CSS variable '--vp-c-text-1' for improved consistency with theming.

* Add contrast warnings to color selector

Introduces computed warnings for low contrast between link/text and background colors based on WCAG AA standards. Displays warning messages in the UI when contrast ratios fall below 4.5:1 to improve accessibility awareness.
2026-01-29 18:23:34 -08:00
.devcontainer feat: feedback v2 2024-08-25 12:19:43 +00:00
.github updated 12 pages 2026-01-09 05:37:53 -08:00
api url rework (#3998) 2025-08-31 00:19:55 -07:00
docs Custom Color Theme Selector (#4641) 2026-01-29 18:23:34 -08:00
pests-repellent update node and packages (#4380) 2025-12-05 08:53:07 -08:00
scripts fix exact search (#4640) 2026-01-26 04:37:10 -08:00
.dockerignore feat: docker deployments 2025-05-19 23:13:09 +00:00
.gitattributes fix: properly index <h2> sections 2025-01-12 17:44:42 +00:00
.gitignore chore: add flake.nix 2024-09-18 11:57:22 +00:00
.gitpod.yml hello world, again 2024-08-07 12:23:35 +00:00
.licenserc.json feat: build env options, formatting, selfhosting guide 2025-03-13 13:57:06 +00:00
.mise.toml feat: new og image 2025-06-30 14:51:52 +00:00
.npmrc hello world, again 2024-08-07 12:23:35 +00:00
.prettierignore feat: redesign homepage 2024-08-31 18:17:28 +00:00
.prettierrc.yaml chore: formatting and housekeeping 2024-08-28 11:37:06 +00:00
docker-compose.yaml feat: startpage 2025-06-24 17:36:01 +00:00
Dockerfile feat: docker deployments 2025-05-19 23:13:09 +00:00
flake.lock chore: add flake.nix 2024-09-18 11:57:22 +00:00
flake.nix chore: add flake.nix 2024-09-18 11:57:22 +00:00
nitro.config.ts feat: build env options, formatting, selfhosting guide 2025-03-13 13:57:06 +00:00
package-lock.json Custom Color Theme Selector (#4641) 2026-01-29 18:23:34 -08:00
package.json Custom Color Theme Selector (#4641) 2026-01-29 18:23:34 -08:00
pnpm-lock.yaml Custom Color Theme Selector (#4641) 2026-01-29 18:23:34 -08:00
tsconfig.json chore(Feedback): remove bug type 2025-03-11 23:38:38 +00:00
unocss.config.ts Custom Color Theme Selector (#4641) 2026-01-29 18:23:34 -08:00
wrangler.toml feat(api): ratelimiting 2025-01-01 11:25:05 +00:00

FMHY

FMHY Banner

The largest collection of free stuff on the internet!

📖 Wiki

🗺️ Emoji Legend

  • 🌐 - 3rd Party Indexes
  • ↪️ - Storage Page Links
  • - Community Recommendations

📝 Contribute

We invite you to contribute and help improve the wiki! 💙

Here are a few ways you can get involved:

  • Anyone can suggest changes or corrections to the wiki. Please read our contribution guide before trying to add or remove anything.
  • If you're adding a new site, please search (Ctrl + F) first to make sure we don't already have it.
  • Approved changes will be applied to the site and all 🔒 backups.
  • You can send us stuff directly via 💬 Discord.
  • To help us find new sites, check out the lists of links in site hunting.

🔔 Follow

Discord  GitHub