How to build an Ionic 4 Theme Switcher & Dynamic CSS Variables

  Рет қаралды 12,154

Simon Grimm

Simon Grimm

Күн бұрын

Пікірлер: 32
@RubenMiquelino
@RubenMiquelino 5 жыл бұрын
I am just starting development of theme switcher. You are always very opportune. Not the first time it happens with me. Thanks a lot for your videos and tutorials.
@galaxies_dev
@galaxies_dev 5 жыл бұрын
Haha glad I have a good timing :)
@nickk6245
@nickk6245 5 жыл бұрын
after hours of searching i finally found you...big thanks
@galaxies_dev
@galaxies_dev 5 жыл бұрын
You are welcome Nick :)
@checkaaddy
@checkaaddy 3 жыл бұрын
Thanks bro I Love you , I was trying this using the official ion theme and it ate me up trying to customize the theme according to my requirement. You made it easy af. P.S. I guess this is the first time I am ever commenting on a video is 15 years
@galaxies_dev
@galaxies_dev 3 жыл бұрын
Glad it was helpful for you and thanks for the comment :)
@townheadbluesboy
@townheadbluesboy 5 жыл бұрын
Very good video as usual Simon. Now I need to give it a go.
@LuisCruz-su6ue
@LuisCruz-su6ue 5 жыл бұрын
Nice video! Cheers from Mexico 👍🏻
@lifasibiya4810
@lifasibiya4810 5 жыл бұрын
Awesome tuto👌🏽I'm horrible when it comes to styling ☺️ however this will give me a big boost
@LexMadafaka
@LexMadafaka 4 жыл бұрын
Great one! Thank you.
@galaxies_dev
@galaxies_dev 4 жыл бұрын
Glad you liked it!
@damienosullivan6353
@damienosullivan6353 5 жыл бұрын
I have put the "dark-theme" CSS into app.component.scss, is that correct? Because the colors aren't changing for me. The theme is changing to "dark-theme" as expected, but the colors aren't updating.
@galaxies_dev
@galaxies_dev 5 жыл бұрын
Check out the link below the video to the written version! It's directly inside app.scss
@rezhwanraouf1726
@rezhwanraouf1726 5 жыл бұрын
Hi Damien you have to import the app.component.scss in the global.scss file then it will work ! i hope my answer will be helpful !
@voidMainScript
@voidMainScript 5 жыл бұрын
@@rezhwanraouf1726 What do you mean by this? I've followed the entire tutorial but I got the same problem as Damien. However, I placed the scss to app.scss
@florencedelprat1283
@florencedelprat1283 4 жыл бұрын
1. Add this to your global.scss : @import "./theme/red.theme.scss"; :root { .red-theme { @include red-theme; } } 2. Copy the CSS rules to your theme (src/theme/red.theme.scss) with "mixin" : @mixin red-theme { ion-content { --background: #2c4b84; } // ... }
@rezhwanraouf1726
@rezhwanraouf1726 5 жыл бұрын
Thank you for an amazing video and videos Simon !
@wimaxisp
@wimaxisp 5 жыл бұрын
I love it. I have bee waiting for this. Thanks so much
@rajureddy7512
@rajureddy7512 5 жыл бұрын
Great concept... bro
@tommii858
@tommii858 4 жыл бұрын
Nice Video, but why exactly do we need a Factory? I don’t get the theory
@izzatullokanoatov370
@izzatullokanoatov370 5 жыл бұрын
Appreciate your hard work and Hugeeee thank you.
@the.maciota
@the.maciota 5 жыл бұрын
hey my lord, thanks for video, share yours extensions for ionic 4 ?
@BCD_Gaming-01
@BCD_Gaming-01 5 жыл бұрын
This is who really i need now..😆
@devendragaud831
@devendragaud831 5 жыл бұрын
I want to change the height of the ion-select-option element, how can I do that?
@galaxies_dev
@galaxies_dev 5 жыл бұрын
You would have to work with the CSS variables of the select, you can find them out by using the debugging tools of your browser!
@devendragaud831
@devendragaud831 5 жыл бұрын
@@galaxies_dev I tried that and this is how it looks ibb.co/XFBVt7w when I changed the height of .action-sheet-button.sc-ion-action-sheet-md (in the middle right), it solved the problem ibb.co/2Y5Prgg but I don't know how to do it from my .scss file.
@edwardgomez5992
@edwardgomez5992 5 жыл бұрын
Excelente Simón, espero sea posible videos con subtítulos en español. Saludos desde Colombia.
@mubashirali427
@mubashirali427 5 жыл бұрын
Great video 😘
@Kamleshkumar2010
@Kamleshkumar2010 5 жыл бұрын
Superb 👌 🙌
@SvenBudak
@SvenBudak 4 жыл бұрын
you miss the part with statusBar
@mediprixtutos7064
@mediprixtutos7064 2 жыл бұрын
thanks
@albanr8028
@albanr8028 5 жыл бұрын
Great !
Building an Ionic 4 Pokédex with Search & Infinite Scroll
30:36
Simon Grimm
Рет қаралды 12 М.
Create a color theme mixin with Sass
11:35
Kevin Powell
Рет қаралды 42 М.
How Strong Is Tape?
00:24
Stokes Twins
Рет қаралды 96 МЛН
Getting Started with Ionic 4 and Socket.io
23:22
Simon Grimm
Рет қаралды 18 М.
Ionic 4 Theme Builder with CSS Variables
12:12
Fireship
Рет қаралды 53 М.
Ionic - Toggle between Dark mode & Light mode | Android & iOS
12:40
Coding Technyks
Рет қаралды 3,8 М.
How To Scroll Ionic 4 List Manually From Code
13:39
Simon Grimm
Рет қаралды 11 М.
Theme Switcher with CSS Variables - Tutorial
12:25
Redhwan Nacef
Рет қаралды 10 М.
The Ionic 4 Media Files Guide (Images, Movies & Audio)
23:46
Simon Grimm
Рет қаралды 18 М.
I WISH I Knew These Tailwind Tips Earlier
9:15
Theo - t3․gg
Рет қаралды 205 М.
Understanding Angular Routing in Ionic 4 Apps
19:50
Simon Grimm
Рет қаралды 18 М.
Ionic 5 Animations Controller & Custom Page Transitions
20:00
Simon Grimm
Рет қаралды 29 М.
Debugging An Undebuggable App
18:25
Bryce Bostwick
Рет қаралды 165 М.