Files
FreshRSS/.github/instructions/css.instructions.md

650 B

applyTo, description
applyTo description
**/*.css Editing CSS files

CSS files

  • Obey formatting rules defined in .stylelintrc.json
  • Automatic fixes can be done with:
    npm run stylelint_fix
    # or (targeting more than just CSS)
    make fix-all
    
  • Validation can be done with:
    npm run stylelint
    # or (targeting more than just CSS)
    make test-all
    

Right-to-left CSS files

  • Do not edit RTL CSS *.rtl.css files manually.
  • RTL CSS files are auto-generated from LTR CSS files using the rtlcss tool.
  • Run the following command to regenerate the RTL files:
    npm run rtlcss
    # or
    make rtl