@Hanzo wrote:
Hi,
Is it possible to add custom global mixins on Ionic 4?
On Ionic v3 I define mixins on app.scss and use it on each page scss file.
app.scss
@import '../../../fluid-type'; @mixin bigger-text { @include fluid-type(28px, 42px); }
page.scss
p{ @include bigger-text }
On Ionic v4 I have tried to define it into variables.scss inside root and then use it into scss page files but the compilations fails because it not found the mixins
If I define the mixins in each scss page file it works correctly
Where should be defined this ‘global’ mixins to can use on each page scss?
Posts: 1
Participants: 1