AGS
Этот контент пока не доступен на русском.
General
User options
- Defaults are in
.config/ags/modules/.configuration/default_options.jsonc - Config options are available globally in the config as
userOptions
Code formatting
- Indentation: 4 spaces
- Closing brackets of an
ifshould not be in the same line as itselse - That’s it. Use some common sense…
Styling
Sizes
remis used since this makes it easy to scale elements by setting the font size- TL;DR: Set system font size to 11pt, use the Conversions tool on left sidebar to convert px to rem
- But why are those values so weird?
- Originally, I style everything using px, but then I decided to use rem
- I often used values 5, 10, 15, etc. px
- I use font size 11pt = 14.6667px so that’s the size of 1rem…
Files
_material.scssholds the generated material colors_wal.scssholds the generated pywal colors_colors.scsstweaks and create variants of material colors_musicwal.scssand_musicmaterialhold generated colors for cover art.- Others are for real components