35 Commits

Author SHA1 Message Date
Ryan Walters
f5090b9c10 refactor: simplify export to PNG-only, improve controls UI
- Replace html2canvas with modern-screenshot for better performance
- Remove ExportModal and CSS export functionality
- Simplify export to single PNG download
- Improve controls layout with better spacing and text shadows
- Increase glass-panel opacity for better readability
- Remove unused ExportData interface and CSS generation utilities
2025-11-06 23:40:43 -06:00
Ryan Walters
6834aa308f feat: add interactive gradient controls with glassmorphic UI
Implement comprehensive gradient customization with neural noise textures, including palettes, export functionality, and Radix UI components with framer-motion animations.
2025-11-06 22:55:06 -06:00
Ryan Walters
e632e69b91 feat: migrate from React to Preact, add Vitest testing, and optimize bundle
Major framework and tooling changes:
- Migrate from React 19 to Preact 10 with preact-iso for routing
- Replace @mantine/hooks with custom hooks (useBooleanToggle, useViewportSize)
- Switch from @heroicons/react to lucide-preact for icons
- Replace chance.js with random-js for RNG

Testing infrastructure:
- Add Vitest with @testing-library/preact and happy-dom
- Set up test configuration and initial App tests
- Add Vitest UI for interactive test running

Build optimizations:
- Add cssnano for CSS minification
- Configure aggressive bundle optimizations in Vite
- Update to Tailwind CSS 4.1.17

Project structure:
- Consolidate entry point from main.tsx to index.tsx
- Reorganize CSS location (styles/index.css → index.css)
- Add ESLint with preact config
- Update TypeScript configuration for Preact
2025-11-06 21:56:53 -06:00
d668a21750 feat: switch to mantine-hooks, random-js, add cssnano & aggressive bundle optimizations, remove chance/usehooks/lodash 2025-08-09 13:40:04 -05:00
75913606f4 chore: raise chunkSizeWarningLimit 2025-08-09 13:21:58 -05:00
4d0bdeac7e fix: translate tailwind config into css theme config,r emove postcss 2025-08-09 13:20:52 -05:00
683e504c9c chore: update tailwindcss to v4, remove sass, use vite plugin for tailwindcss 2025-08-09 13:16:34 -05:00
048701580d chore: update all dependencies, switch to pnpm 2025-08-09 13:09:17 -05:00
Xevion
30d4570997 Switch to grain.xevion.dev, remove GitHub pages workflow 2023-02-24 18:56:32 -06:00
Xevion
06a0ab65d0 vercel: switch base path to / 2023-02-24 18:48:32 -06:00
Xevion
02e1a61fa4 Prevent pointer events on opacity hidden card 2023-01-03 14:48:16 -06:00
Xevion
4986a84c9b Add simple banner to README 2022-11-29 03:34:20 -06:00
Xevion
dc573fd1b7 useMemo on composed style 2022-11-26 12:34:41 -06:00
Xevion
06bffb8907 Fix scrolling on overflowed mobile viewports 2022-11-26 12:26:26 -06:00
Xevion
f6f29319df Fix swapped OGP tags width/height 2022-11-25 03:14:57 -06:00
Xevion
2ae5ba3f66 Add in-progress WIP button 2022-11-25 03:12:22 -06:00
Xevion
509be71ebe Add basic open graph tags to index.html 2022-11-25 02:58:37 -06:00
Xevion
e4fd6badb1 Fix deployment skipping due to main vs master branch 2022-11-25 02:42:27 -06:00
Xevion
0f444498b0 Fix deployment title, test re-deploy 2022-11-25 02:39:00 -06:00
Xevion
6ceba5fc83 Add GitHub Pages deployment workflow 2022-11-25 02:33:45 -06:00
Xevion
672daceb18 Set base for GitHub Pages properly in config 2022-11-25 02:30:30 -06:00
Xevion
f56a48d8c4 More post content, index.html title 2022-11-25 02:23:51 -06:00
Xevion
ad3d5dd602 Add README 2022-11-25 02:23:31 -06:00
Xevion
02e913d590 Hide opacity animation, remove regen event listener 2022-11-25 01:33:51 -06:00
Xevion
4cc72fcabc Adjust text spacing for text on mobile viewports 2022-11-25 01:31:52 -06:00
Xevion
932795fb3a Adjust button focus outline 2022-11-25 01:31:23 -06:00
Xevion
76781cfaa6 Add LICENSE to root 2022-11-25 00:40:41 -06:00
Xevion
704b3d06e9 Rearrange components & utilities 2022-11-25 00:40:31 -06:00
Xevion
59ae8a18ff Add xs screen, reformat tailwind config 2022-11-25 00:20:54 -06:00
Xevion
66c59666c6 Reformat with prettier, simplify index.scss 2022-11-25 00:20:33 -06:00
Xevion
92ff588d6f Add hide/regenerate button, hero icons, abstract text 2022-11-25 00:20:07 -06:00
Xevion
e6d30c291b Add memoization to useBackground 2022-11-25 00:16:38 -06:00
Xevion
df4193e94c Refactor gradient & noise gen. in useBackground.tsx 2022-11-24 22:53:20 -06:00
Xevion
8aca135803 Noise & Gradient Generation 2022-11-24 19:13:52 -06:00
Xevion
7298ae0945 Init repo 2022-11-24 19:13:02 -06:00