Revert "Revert "native: TRDS 3.0 and new theme engine preparation (2/4)""

This reverts commit 9a4d4c02a657a2e2c61d1d054b21f6508fb2412b.