#3281 - Support a px-based theme
| Identifier | #3281 |
|---|---|
| Issue type | Feature request or suggestion |
| Title | Support a px-based theme |
| Status | Completed |
| Tags |
ocProducts client-work (likely) (custom) |
| Handling member | Chris Graham |
| Addon | core_themeing |
| Description | Default theme is em-based. Have a way to switch it over to being px-based.
May work via some kind of JavaScript algorithm of calculating effective sizes using template previews. |
| Steps to reproduce | |
| Related to | |
| Funded? | No |
The system will post a comment when this issue is modified (e.g., status changes). To be notified of this, click "Enable comment notifications".


Comments
You run it via a Commandr command...
css_cleanup <themename> EmToPx
We also have...
css_cleanup <themename> DirSimplify
to remove the rtl code
Or you can do both at once...
css_cleanup <themename> EmToPx DirSimplify
I could have potentially added more. There are conditional references to config options we could unfold, active language references, Theme Wizard colour references, theme image references, and BETA_CSS_PROPERTY. But I thought these were all best as-is, removing them would be a negative.