Viewing File: /usr/local/cpanel/base/frontend/meridian/styles/README.md
# theme/styles/
Stylesheets served directly by cpsrvd out of the deployed theme dir.
## Sources (committed)
- `fonts.scss` — `@font-face` declarations for Plus Jakarta Sans
and Remix Icons.
- `preload_styles.scss` — styles the page needs before the shell bundle
loads (subset of `fonts.scss` today).
- `_cp_variables.scss` — SCSS partial (note the `_` prefix) with any
variables shared by the sources above.
- `meridian-overlay.css` — hand-written overrides; NOT generated.
- `fonts/` — self-hosted woff2 files referenced by `fonts.scss`.
## Generated (gitignored)
`make styles` (run by `make build`) compiles each `.scss` source into
four outputs:
- `foo.css` — expanded
- `foo.min.css` — compressed
- `foo.rtl.css`, `foo.rtl.min.css` — byte-identical copies of the above
(neither source uses directional properties today, so no rtlcss
transform is needed; update this if that changes)
All eight files must exist on disk at deploy time — `_assets/master.html.tt`
resolves them via `calculate_mode_css_url(..., optimized)` for optimized
and RTL rendering modes.
Back to Directory