Commit graph

12 commits

Author SHA1 Message Date
bread
a6114818b9
UI fix (#4694)
* blur to social media tooltip

* fix theme selector

* better transitions when switching to and from amoled

* fix mobile search scrolling down

* scroll instead of instant when navigating to section

* fix unocss in dev mode

* fix unocss in dev mode, again

* prevent scroll transition when changing pages
2026-02-02 22:49:48 -08:00
nbats
daf15a1a8d
Revert "Custom Color Theme Selector (#4641)" (#4661)
This reverts commit a71bb4c0d0.
2026-01-29 18:37:56 -08:00
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
fmhyhalloweenshit
721d9a04e9
revert halloween theme (#4244) 2025-11-01 05:25:35 -07:00
Samidy
f77eaf90b4
Halloween FMHY Theme (#4121)
* halloween thingers

* halloween thingers 2

* make halloween theme the preffered theme and change FMHY name gradient

* background change for halloween

* again

* make background change on home page too

* please let this work unc

* change colors on home page button

* let this work unc

* fix some more issues

* semi-final update (hopefully)

* uhhuh

* fixes for other themes besides halloween

* light mode fixes (PLEASE let this work)

* how did i not catch this omg

* light mode fixes

* add Halloween logo

* Update image source from test.png to hall.png

* add uwu logo

* Change image for uwu
2025-10-03 01:48:35 -07:00
taskylizard
8d6c3ace0b
feat: startpage 2025-06-24 17:36:01 +00:00
taskylizard
1622da5db9
feat: improve feedback component, brand color picker 2025-03-27 12:54:11 +00:00
taskylizard
929bd44275
feat: build env options, formatting, selfhosting guide 2025-03-13 13:57:06 +00:00
taskylizard
934ebcf65a
chore: formatting and housekeeping 2024-08-28 11:37:06 +00:00
taskylizard
09e3a2051c
chore: license code under apache 2.0 2024-08-27 18:02:43 +00:00
taskylizard
7d8ea01dc0
fix(opengraph): find by headers from file url 2024-08-08 14:56:45 +00:00
taskylizard
f479740dd1
hello world, again 2024-08-07 12:23:35 +00:00