Skip to content

EXPERIMENTAL MODULE ONLY ISSUE - styles not applied #7

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Tommertom opened this issue Nov 27, 2022 · 3 comments
Closed

EXPERIMENTAL MODULE ONLY ISSUE - styles not applied #7

Tommertom opened this issue Nov 27, 2022 · 3 comments
Assignees
Labels
bug Something isn't working

Comments

@Tommertom
Copy link
Owner

Styles are not applied:

	/* Core CSS required for Ionic components to work properly */
	import '@ionic/core/css/core.css';

	/* Basic CSS for apps built with Ionic */
	import '@ionic/core/css/normalize.css';
	import '@ionic/core/css/structure.css';
	import '@ionic/core/css/typography.css';

	/* Optional CSS utils that can be commented out */
	import '@ionic/core/css/padding.css';
	import '@ionic/core/css/float-elements.css';
	import '@ionic/core/css/text-alignment.css';
	import '@ionic/core/css/text-transformation.css';
	import '@ionic/core/css/flex-utils.css';
	import '@ionic/core/css/display.css';

@Tommertom Tommertom added the bug Something isn't working label Nov 27, 2022
@Tommertom Tommertom self-assigned this Nov 27, 2022
@Tommertom
Copy link
Owner Author

sveltejs/svelte#4843

@Tommertom Tommertom changed the title Blocking - styles not applied EXPERIMENTAL MODULE ONLY ISSUE - styles not applied Nov 27, 2022
@Tommertom
Copy link
Owner Author

At least I think so....

Maybe use global styles


<style lang="css" global>
	@import '@ionic/core/css/normalize.css';

	/* Core CSS required for Ionic components to work properly */
	@import '@ionic/core/css/core.css';

	/* Basic CSS for apps built with Ionic */
	@import '@ionic/core/css/normalize.css';
	@import '@ionic/core/css/structure.css';
	@import '@ionic/core/css/typography.css';

	/* Optional CSS utils that can be commented out */
	@import '@ionic/core/css/padding.css';
	@import '@ionic/core/css/float-elements.css';
	@import '@ionic/core/css/text-alignment.css';
	@import '@ionic/core/css/text-transformation.css';
	@import '@ionic/core/css/flex-utils.css';
	@import '@ionic/core/css/display.css';
</style>

@Tommertom
Copy link
Owner Author

Close - no ES imports components

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant