PrimeVue Theming Demystified

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

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

  • @SimonBrunner-n7u
    @SimonBrunner-n7u 3 месяца назад

    Ok, i tried it out with PrimeNG 18.2 and man - this is so superior! Especially when working with a design team! Thank you very much for your efforts!

  • @algoritimbilisim
    @algoritimbilisim 4 месяца назад +2

    PrimeVue is one of the best of it's kind. Keep it up 👍

  • @Kerni094
    @Kerni094 4 месяца назад +2

    This is amazing, a tutorial on cssLayers & Tailwind would be great. Especially when you use Tailwind with Styled Mode and when to use Tailwind with Unstyled Mode.

    • @cagataycivici
      @cagataycivici  4 месяца назад +5

      @@Kerni094 As a coincidence, TW integration tutorials are coming up with styled and unstyled as you mentioned, lot of important concepts to cover

  • @moisesmagalhaes880
    @moisesmagalhaes880 3 месяца назад +8

    Why are the presets examples removed from the documentation?

    • @cube_cup
      @cube_cup 10 дней назад

      Try the palette button in the top right to see the style site-wide. I was mad at it first too before I found this.

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

    Thank you for the video!

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

    I hope you guys also make the tutorial for primeng. Thanks for such good work.

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

      Definitely, right after v18 final, focus will switch to NG

  • @MrSabifa
    @MrSabifa 4 месяца назад +8

    When will the new Figma plugin be released?

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

      @@MrSabifa By the end of this year hopefully.

  • @ZandoZandelo
    @ZandoZandelo Месяц назад

    Can you explain how to override the component token for the Autocomplete Chips in the theme presets? Namely, the background color of each chip. The browser inspector shows the background styles coming from ackground: var(--p-chip-background); and I'd rather not use CSS. Would like to know how to set up a theme preset for Autocomplete Chips as you've shown in the video for the buttons.

  • @banoonoo5
    @banoonoo5 3 месяца назад +2

    how did you get the variable name at 10:45 without looking at the text from 9:10?
    we see button.padding.x --p-button-padding-x
    how did you know its supposed to be paddingX instead?
    from the text above i'd expect it to be:
    button:{
    padding:{
    x: '1rem'
    }
    }

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

      EDIT: read the docs, it seems both options are supposed to work, amazing!

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

    I like the 'Noir' as primary and 'Slate' as surface. How to set them?

  • @aturan-fo1qt
    @aturan-fo1qt 4 месяца назад

    👍👍

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

    PrimeVue v4 is great, thanks for your work on this. My only issue is the SSR support with the new styled mode theming. I am unable to get the theme CSS to load server-side with the standard theme configuration. Is there a way to export a theme preset to a css file, or directly manage the dynamic imports? For context, I am having this issue with an Inertia.js SSR Laravel application, and a Nuxt application using universal (server-side) rendering.

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

      @@connorabbas6449 Nuxt module handles this for Nuxt SSR but we haven’t worked on Inertia yet. I will discuss it with the team, thank you for the feedback.

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

    Why don't severities have semantic tokens?

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

      Semantic is good for reuse, the default themes did not share severities much but you can do it in your own custom theme for sure. You can add semantic.extend.severity.* tokens.
      primevue.org/theming/styled/#extend

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

    How can i get my preset in a different file in nuxt?
    import MyTheme from '@/themes'
    export default defineNuxtConfig
    primevue: {
    options: {
    ripple: false,
    theme: {
    preset: Theme
    ,

  • @bogdanpetre-pvb
    @bogdanpetre-pvb 4 месяца назад

    hello, I find this primvue very helpful and thank you for your work. How can I do it if I want to override secondary color, success, info, and so on? Globally. thanx!

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

    The customization concepts seen in this video will also be applicable to primeng?

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

      @@leonardobuscemiwork Yes, same. Already available in v18-beta.2. I will create new tutorials for PrimeNG after v18 final is out.

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

      @@cagataycivici thanks! Great news, I can already start my tests, but I can't wait for you to create the dedicated video

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

    I regret using primevue so much. One of the most annoying to style ds.

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

      @@doingkettlebells There is Visual Theme Editor now at Showcase if you are struggling with the API.

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

      @@cagataycivici i don't struggle w writing code, the api is just poorly documented and untyped.

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

      @ Interesting