SCSS Validation Quick Reference

Quick Commands

Install Dependencies

npm install

Run All Validations

npm run validate

Run Individual Validators

npm run lint:scss          # Dependency validation
npm run lint:scss:style    # Style linting (stylelint)
npm run lint:scss:raw-css  # Raw CSS detection
npm run sass:compile       # Compilation testing

What Each Validator Checks

1. Stylelint (lint:scss:style)

2. Raw CSS Detector (lint:scss:raw-css)

3. SCSS Compiler (sass:compile)

4. Dependency Validator (lint:scss)

Genesis Ontological Mixins

All styling MUST use these six categories:

  1. genesis-environment($logic) - Layout
    • 'distributed', 'focused', 'associative', 'chronological', 'manifest'
  2. genesis-entity($nature) - Visual Presence
    • 'primary', 'secondary', 'imperative', 'latent', 'aggregate', 'ancestral'
  3. genesis-cognition($intent) - Typography
    • 'axiom', 'discourse', 'protocol', 'gloss', 'motive', 'quantum'
  4. genesis-synapse($vector) - Interaction
    • 'navigate', 'execute', 'inquiry', 'destructive', 'social'
  5. genesis-state($condition) - State
    • 'stable', 'evolving', 'deprecated', 'locked', 'simulated'
  6. genesis-atmosphere($vibe) - Texture
    • 'neutral', 'ethereal', 'void', 'vibrant'

Example Usage

WRONG (Raw CSS):

.my-card {
  padding: 2rem;
  background: #1a1a2e;
  border-radius: 12px;
}

CORRECT (Genesis Ontological):

.my-card {
  @include genesis-entity('primary');
}

CI/CD Integration

GitHub Actions workflow automatically runs on:

File: .github/workflows/validate-scss.yml

Bootstrap Status

COMPLETELY REMOVED

Files & Documentation

Troubleshooting

“Undefined mixin” Error

“Raw CSS detected” Error

Compilation Errors

Need Help?

  1. Check .github/instructions/scss.instructions.md
  2. Review SCSS_DEPENDENCY_MANAGEMENT.md
  3. See SCSS_VALIDATION_AND_BOOTSTRAP_REMOVAL.md
  4. Consult theme repository: ASISaga/theme.asisaga.com