A core–shell strategy is demonstrated for designing a conjugated microporous polymer that allows the tuning of light emission over a wide wavelength range in a controlled manner. The polymers not only emit efficiently with an eight-fold enhanced luminescence but also sustain light emissions, irrespective of solvent and state.