HISE Logo Forum
    • Categories
    • Register
    • Login

    Dark and Bright UI Design

    Scheduled Pinned Locked Moved General Questions
    4 Posts 4 Posters 34 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.
    • ILIAMI
      ILIAM
      last edited by

      Hey

      I was wondering whats the best idea to make a 2 mode ui? Bright / Dark?

      d.healeyD LindonL 2 Replies Last reply Reply Quote 0
      • d.healeyD
        d.healey @ILIAM
        last edited by

        @ILIAM If you're using css you might just be able to swap out style sheets or component classes.

        If you using component colours then you'd need to have a json object with all the colours for dark and light. Then when the user changes theme you loop through the object and apply the colours to the components.

        Free HISE Bootcamp Full Course for beginners.
        YouTube Channel - Public HISE tutorials
        My Patreon - HISE tutorials

        ustkU 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @ILIAM
          last edited by

          @ILIAM I basically do it by LAF-ing every component, and the LAF's all refer to a skin.json file, then all you need do is store a number of these "skins" and load as required...

          HISE Development for hire.
          www.channelrobot.com

          1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @d.healey
            last edited by

            @d-healey said in Dark and Bright UI Design:

            If you're using css you might just be able to swap out style sheets or component classes.

            or the colour variable maybe

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

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

            18

            Online

            2.0k

            Users

            12.8k

            Topics

            111.3k

            Posts