HISE Logo Forum
    • Categories
    • Register
    • Login

    CSS custom variables not taken by the ModulationMatrix

    Scheduled Pinned Locked Moved Bug Reports
    2 Posts 2 Posters 55 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ustkU
      ustk
      last edited by

      @Christoph-Hart This has no effect when using the variable inside the CSS (var(--myVariable))
      But it does work with other components...

      const var laf = Content.createLocalLookAndFeel();
      
      laf.setStyleSheetProperty("radius", 5, "px");
      laf.setStyleSheetProperty("fontSize", 10, "px");
      laf.setStyleSheetProperty("colourPink", Colours.pink, "color");
      
      laf.setStyleSheet("ModulationMatrix.css");
      
      ModulationMatrixFT.setLocalLookAndFeel(laf);
      ModulationMatrixControllerFT.setLocalLookAndFeel(laf);
      

      Hise made me an F5 dude, browser just suffers...

      HISEnbergH 1 Reply Last reply Reply Quote 1
      • HISEnbergH
        HISEnberg @ustk
        last edited by

        @ustk said in CSS custom variables not taken by the ModulationMatrix:

        @Christoph-Hart This has no effect when using the variable inside the CSS (var(--myVariable))

        I've noticed this as well for the preset browser!

        Link Preview Image
        Preset Browser in CSS

        @d-healey Nice thanks for clarifying, that does open up a bit more possibilities. I'm trying some things to hack around it so I can get the best of both worl...

        favicon

        Forum (forum.hise.audio)

        1 Reply Last reply Reply Quote 1
        • First post
          Last post

        14

        Online

        1.9k

        Users

        12.4k

        Topics

        108.1k

        Posts