Cursor rule
.cursor/rules/styling-system.mdcCursor rules
Quality
66/100
Scores the file, not the repository.Length
391 words
14 headings · 4 code blocksRepository
4
— · pushed 203 days agoLast changed
3 days ago
First indexed 3 days ago.12345# JAMCAM Styling and Design System67## CSS Architecture8- **Global styles**: [src/styles/global.css](mdc:src/styles/global.css) - Base styles, fonts, and CSS variables9- **Tailwind CSS**: Version 4.1+ with Vite plugin integration10- **Component styles**: Use Tailwind utility classes primarily11- **Custom CSS**: Component-scoped styles when Tailwind isn't sufficient1213## Typography14Custom fonts loaded from [public/fonts/](mdc:public/fonts/):15- **Noto Sans** - Primary font family16- Weights: 300 (light), 400 (regular), 600 (semibold), 700 (bold)17- Format: WOFF2 for optimal performance1819```css20/* Font usage pattern */21.heading {22 font-family: 'Noto Sans', sans-serif;23 font-weight: 600;24}25```2627## Color Palette28JAMCAM uses a vibrant color scheme reflecting Colombian nature:29- **Purple waves**: For section dividers and backgrounds30- **Pink accents**: For highlights and call-to-action elements31- **Natural greens and blues**: Reflecting Colombian biodiversity32- **Warm earth tones**: For grounding and accessibility3334## Layout Patterns3536### Container System37```astro38<!-- Standard container -->39<div class="container mx-auto px-4">40 <!-- Content -->41</div>4243<!-- Full-width sections with contained content -->44<section class="w-full bg-purple-50">45 <div class="container mx-auto px-4 py-16">46 <!-- Section content -->47 </div>48</section>49```5051### Responsive Design52- **Mobile-first**: Design for mobile, enhance for larger screens53- **Breakpoints**: Follow Tailwind's default system (sm, md, lg, xl, 2xl)54- **Image handling**: Use responsive images with multiple sizes5556### Wave Decorations57Decorative wave SVGs are used throughout:58- [about-purple-wave.svg](mdc:public/images/about-purple-wave.svg) and mobile variant59- [cards-purple-wave.svg](mdc:public/images/cards-purple-wave.svg)60- [program-pink-wave.svg](mdc:public/images/program-pink-wave.svg)61- [service-team-pink-wave.svg](mdc:public/images/service-team-pink-wave.svg)6263## Component Styling Patterns6465### Cards66```astro67<div class="bg-white rounded-lg shadow-md p-6 hover:shadow-lg transition-shadow">68 <!-- Card content -->69</div>70```7172### Buttons73```astro74<!-- Primary button -->75<button class="bg-purple-600 hover:bg-purple-700 text-white font-semibold py-3 px-6 rounded-lg transition-colors">76 {t.cta.register}77</button>7879<!-- Secondary button -->80<button class="border-2 border-purple-600 text-purple-600 hover:bg-purple-600 hover:text-white font-semibold py-3 px-6 rounded-lg transition-colors">81 {t.cta.learnMore}82</button>83```8485### Image Optimization86- Use Astro's `<Image>` component for optimization87- Provide WebP and fallback formats88- Include proper alt text for accessibility89- Lazy load images below the fold9091## Animation and Interactions92- **Subtle hover effects** on interactive elements93- **Smooth transitions** using CSS transitions94- **Scroll-triggered animations** where appropriate95- **Maintain 60fps** performance for all animations9697## Colombian Cultural Elements98- **Nature-inspired**: Colors and imagery reflect Colombian biodiversity99- **Wildlife motifs**: Featured animals include guacamaya, tangara, loro cabeza azul, pato moscovia100- **Regional identity**: Cali-specific imagery and cultural references101- **Scout heritage**: Integration of scouting symbols and traditions102description:103globs:104alwaysApply: false105---106
Also in MiloAgudelo/jamcam-astro
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| MiloAgudelo/jamcam-astro.cursor/rules/asset-management.mdc · 4 | Cursor rules | stylearchperformance | 62/100 | 3 days ago | |
| MiloAgudelo/jamcam-astro.cursor/rules/astro-components.mdc · 4 | Cursor rules | stylearchuiperformance | 66/100 | 3 days ago | |
| MiloAgudelo/jamcam-astro.cursor/rules/development-workflow.mdc · 4 | Cursor rules | setupbuildteststyle+6 | 81/100 | 3 days ago | |
| MiloAgudelo/jamcam-astro.cursor/rules/internationalization.mdc · 4 | Cursor rules | arch | 62/100 | 3 days ago | |
| MiloAgudelo/jamcam-astro.cursor/rules/jamcam-project-overview.mdc · 4 | Cursor rules | arch | 48/100 | 3 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| hiromaily/go-crypto-wallet.cursor/rules/typescript.mdc · 126 | Cursor rules | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/10-hermes-api.mdc · 45 | Cursor rules | testlint-formatstylearch+5 | 100/100 | 3 days ago | |
| dodgecfr/combatfilms-webapp.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| deifos/clipmira-subtitles.cursor/rules/frontend.mdc · 1 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| markstev/mark-starter.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+6 | 99/100 | 3 days ago | |
| Allymahmoud/case-intake-platform.cursor/rules/frontend.mdc · 0 | Cursor rules | setuptestlint-formatstyle+7 | 99/100 | 3 days ago | |
| langflow-ai/langflow.cursor/rules/docs_development.mdc · 153k | Cursor rules | setupbuildtestlint-format+7 | 97/100 | 3 days ago | |
| TechSquidTV/Hermes.cursor/rules/20-hermes-api-tests.mdc · 45 | Cursor rules | teststyletesting-strategysecurity+3 | 97/100 | 3 days ago |
