Modify Angular Material (v18) themes with CSS Variables using Theme Builder

Поделиться
HTML-код
  • Опубликовано: 21 янв 2025

Комментарии • 29

  • @lorenzogomezmolina2086
    @lorenzogomezmolina2086 Месяц назад +1

    This is extremely useful, thank you very much sir! 😎

  • @jetonpeche
    @jetonpeche 2 месяца назад +1

    oh god, thank you !
    I don't understand why Google and Angular di'nt create that builder !
    it's amazing !

  • @franciscofdez8334
    @franciscofdez8334 3 месяца назад +1

    Simply...amazing! I don't understand why Google did not create that builder for its own library😱

    • @shhdharmen
      @shhdharmen  3 месяца назад

      They have it. But it's not particularly for angular, a generic material design theme builder material-foundation.github.io/material-theme-builder/

  • @nithinjadhav
    @nithinjadhav 6 месяцев назад +1

    Good job🎉 wishing you all the best for your future endeavours. 😊

  • @khalloukhafqa
    @khalloukhafqa 6 месяцев назад +1

    Really thank you, I didn't try yet but thank you for this useful resources

    • @shhdharmen
      @shhdharmen  6 месяцев назад +1

      Do try it out and let me know if you have any feedback.

  • @zakariaebarik4295
    @zakariaebarik4295 6 месяцев назад +1

    This was really helpful, Thank youu

    • @shhdharmen
      @shhdharmen  6 месяцев назад

      Glad it was helpful!

  • @uzayrsyed6293
    @uzayrsyed6293 5 месяцев назад

    Hi Dharmen, Nice video! I was looking into material custom theming before I stumbled across your video. I was comparing bootstrap and material and I would appreciate your input on this. Thnaks!

    • @shhdharmen
      @shhdharmen  5 месяцев назад

      They both serve different purposes. I don't think it's right to compare them.
      I mostly use bootstrap and angular material together. Bootstrap for layouts, etc and angular material for components.

  • @informer9261
    @informer9261 4 месяца назад +1

    sir i have project already created with css how to change to scss for cutomizing theme

    • @shhdharmen
      @shhdharmen  4 месяца назад

      For scss customisations, you can simply do it with Angular Material scss mixins and functions. I have created a new course for it, checkout angular-material.dev/courses/overview/m3-ng-components

  • @Garimpador-yd6rd
    @Garimpador-yd6rd 4 месяца назад +1

    Nice, thank you

  • @ghorpadesomnath19
    @ghorpadesomnath19 4 месяца назад

    Nice article. I have added system variables but I can see two :root{} in dev tools. one is my defined system variable and another one is a default one & that default one is not using system variables I have defined. what would be the reason?

    • @shhdharmen
      @shhdharmen  4 месяца назад

      Yes, it could be possible. Default ones are browser defaults. Are system variables not working? If you change any variable value, isn't it reflecting on UI?

  • @voidchannelcontent
    @voidchannelcontent 5 месяцев назад +1

    - The qr-code is blocked by your face/camera
    - the git repo is not the same as the one you show in the video (not event the branches)
    - there are files and configs in the repo you use that you dont explain how you did it
    - there is no layout.component.theme in the repo (imported in @use ./app/core/layout/layout.component.theme as layout-theme)
    - since there is no layout.component.theme, the import gives error and the use of "layout-theme" later causes error as well
    - you dont show what you have in the file layout.component.theme

    • @shhdharmen
      @shhdharmen  5 месяцев назад

      - QR code covered, but upon scanning opens the correct repo. I think you already landed on the correct repo, otherwise you would not have mentioned about code mismatch
      - initial code is the same, branch is changed due to other updates after uploading the video. But as you could not figure out, I will tell you, it's main-for-tilconf
      - layout component theme file is at github.com/shhdharmen/tilconf-m3-angular/blob/main-for-tilconf/src%2Fapp%2Fcore%2Flayout%2F_layout.component.theme.scss, simply clone the repo, it should run fine
      - the changes mentioned in the video are not pushed anywhere, they are easy changes and can be done easily by watching this video
      Let me know if you need any more help

  • @davebudah
    @davebudah 6 месяцев назад +1

    impressive

  • @claudioandrade9292
    @claudioandrade9292 2 месяца назад

    (if you are running Nx with esbuild, this wont work out of the box)
    The course and your project does not work for esbuild. I'm using esbuild with Nx and obvisly angular (very common practice) and one issue is hashing, but even if I consult for dark-theme- (regardless of the hash) still not working, I'm still trying to figure it out but it would be great if u add Nx with esbuild to the course, or a free video explaining it (which helps for maketing the course), so far I paid and can't make it work with the information you provided.
    Still, it's a great idea.

    • @shhdharmen
      @shhdharmen  2 месяца назад

      If you have already purchased theme-builder, I can try to help. Please drop email to support@angular-material.dev.

  • @DirtySouth33T
    @DirtySouth33T 3 месяца назад

    awesome video and good information, i think material and angular is a bit lacking on things like documentation. i just got the course an almost done i have some questions and clarifications and siggestions that might have confused me a bit.where can i ask or send you a message? thanks again

    • @shhdharmen
      @shhdharmen  3 месяца назад

      @@DirtySouth33T you can send email at support@angular-material.dev, or drop a message on twitter @ngMaterialDev