Back to list
iurygdeoliveira

style-components

by iurygdeoliveira

Repositorio destinado a fornecer um kit inicial para desenvolvimento de SaaS usando laravel e filament

29🍴 12📅 Jan 20, 2026

SKILL.md


name: style-components description: Enforces Modular CSS Architecture, requiring specific CSS files for Filament components instead of global styles.

CSS Component Builder Skill

Use this skill when styling new Filament components or Refactoring existing styles.

Philosophy

We do NOT put all CSS in app.css. We treat CSS like modular components.

Rules

1. File Location

  • Create new CSS files in resources/css/filament/admin/components/[category]/[name].css.
  • Example: resources/css/filament/admin/components/sidebar/item.css.

2. Registration

  • Register the new file in vite.config.js input array.
  • Import it in the Filament Panel Provider (app/Providers/Filament/AdminPanelProvider.php -> ->viteTheme(...)) or verify auto-injection usage.

3. Tailwind v4 Architecture

  • CSS-First Config: Use @theme inside your CSS files, not tailwind.config.js.
  • Import: Use @import "tailwindcss"; at the top of your main CSS.
  • Variables: Use native CSS variables defined in @theme (e.g., --color-primary-500).
  • Colors: Prefer oklch for new colors.

4. Dark Mode

  • Use the dark: variant or CSS nesting:

    .my-component {
        background: var(--color-white);
    
        @media (prefers-color-scheme: dark) {
            background: var(--color-gray-900);
        }
    }
    

Score

Total Score

80/100

Based on repository quality metrics

SKILL.md

SKILL.mdファイルが含まれている

+20
LICENSE

ライセンスが設定されている

+10
説明文

100文字以上の説明がある

+10
人気

GitHub Stars 100以上

0/15
最近の活動

1ヶ月以内に更新

+10
フォーク

10回以上フォークされている

+5
Issue管理

オープンIssueが50未満

+5
言語

プログラミング言語が設定されている

+5
タグ

1つ以上のタグが設定されている

+5

Reviews

💬

Reviews coming soon