-
Couldn't load subscription status.
- Fork 0
feat/global-css-management #13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Added webp format background images: - bg-all-1.webp - bg-blue-1.webp - bg-blue-2.webp - bg-purple-1.webp note* WebP image with a quality range of 80
Export svg from Figma Component Asset and use as reusable popup Ref:[FD] setup global component -> เทรุ ``` โหลดภาพ popup ทำเป็น component ที่ใส่ <slot /> ไปตรงกลาง variance size : large, small color : ตั้งชื่อได้เลยๆ แต่อยากได้ doc แปะชื่อคู่สีที่แสดง ``` Docs and example will be added later
add docs for Commit 2ef3e01
- Add 8 frame SVG assets - Add reusable Frame.astro component with size and color props - Add frame-demo and frame-test pages for testing Ref:[FD] setup global component -> เทรุ ``` frame : RPKM ทำเหมือน popup ```
- Add @fontsource packages for Orbitron, IBM Plex Sans Thai, and Zen Dots fonts - Import fonts in MainLayout for global availability Remarks* I rely on design token in figma first but the h1 is typically larger than the h2 and so on. but in figma design, the h5 is larger than h4 and so on krub.
- Add @lucide/astro package for icon components Ref: [FD] setup global component -> เทรุ ``` icon -> (maybe lucide icon?) ```
After discussion about H1-H5 hierarchy conflict between Design System and CSS Settings, the typography will be removed and will be using Tailwind System.
- Add ButtonFd component - SVG-based styling with glow effects and transitions - Slot-based icon system for flexible icon placement - Add ButtonRpkm component with RPKM design system styling *Remarks Button behavior still needs to be fixed.
- add docstring for each components - rm redundant css styling and use tailwind
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please try merging the 'dev' branch first, as it has some conflicts.
|
Resolved conflicts, please review. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just one change, kub. Everything else is okay.
src/layouts/MainLayout.astro
Outdated
| import "@fontsource-variable/orbitron"; | ||
| import "@fontsource/ibm-plex-sans-thai"; | ||
| import "@fontsource/zen-dots" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please move these to global.css
- Remove font imports from MainLayout.astro
Change @fontsource-variable/ibm-plex-sans-thai to @fontsource/ibm-plex-sans-thai
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm 👍🏻
Summary
Implement global CSS management and design system components with Tailwind integration
• Design System Components: Add ButtonFd, ButtonRpkm, Frame, and Popup components with SVG-based styling
• Typography System: Implement Figma-based design tokens with IBM Plex Sans Thai font support use fontsource
• Icon Integration: Add Lucide icons support across components
Key Features