Other Themes and fonts in 5.0

Discussion in 'Android Questions' started by HotShoe, May 31, 2015.

  1. HotShoe

    HotShoe Well-Known Member Licensed User

    Hi Erel, I'm looking at my b4acolors utility to see what I need to do to support the 5.0 style editor themes. My question is: Can fonts be added to the themes as well as the various syntax and element colors beyond just the Bold property, or are fonts done strictly in the IDE itself?

    Thanks,

    --- Jem
     
    Peter Simpson likes this.
  2. Erel

    Erel Administrator Staff Member Licensed User

    The code editors font can only be set in the IDE.

    The themes files are located in the Themes folder. You can add as many themes as you like. Go over the Dark.vssettings to see how it is structured. The colors are formatted in 0x??BBGGRR (you will need to ask Microsoft why they chose this format).

    The "alpha" component is not used. The special value 0x020000000 means transparent.
    This is the same format used by Visual Studio. This makes it quite simple to port themes from Visual Studio.

    Note that you don't need to reload the IDE when you make updates to the files. Just rechoose the theme with the themes dialog.
     
  3. HotShoe

    HotShoe Well-Known Member Licensed User

    Only Microsoft knows why Microsoft does things. :)

    The file format looks easier to parse than the b4a.xml file. I'll get new routines written so b4xcolors will be ready for the release of b4a 5.

    Thanks,

    --- Jem
     
    NJDude and Peter Simpson like this.
  4. boten

    boten Active Member Licensed User

    Where are the themes marked as "IDE themes" stored?
    I'd like to change colors of title line fg & bg, menu fg & bg, etc..... cudn't find anything hinting to them on any of the 4 vsettings supplied under folder themes
     
  5. Erel

    Erel Administrator Staff Member Licensed User

    You cannot modify the ide themes. Only the code editor themes.
     
  6. Rusty

    Rusty Well-Known Member Licensed User

    My Log highlight is Dark blue with Black text, meaning unreadable.
    Is there a way to reset this to a readable color set?
    Thanks,
    Rusty
     
  7. Erel

    Erel Administrator Staff Member Licensed User

    Can you post a screenshot? Which theme are you using? Did it happen right after you change the theme?
     
  8. Rusty

    Rusty Well-Known Member Licensed User

    [​IMG] [​IMG] [​IMG]
    Here you go.
    It started on it's own. I tried to change the themes and no changes. light, dark etc all the same for all permutations.

    for some reason the image won't attach...
    upload_2016-8-2_11-34-52.png
     
  9. Erel

    Erel Administrator Staff Member Licensed User

  10. Rusty

    Rusty Well-Known Member Licensed User

    No, it's Windows 7 SP1
    However, I tried to install Windows 10... a complete failure. It would go to blue screen on EVERY boot.
    I retroed back to Windows 7.
    Maybe that made some configuration change...I don't recall if the highlight changed at that point or not.
    Regards,
    Rusty
     
  11. Erel

    Erel Administrator Staff Member Licensed User

    Try to change your Windows selected theme.
     
  12. Rusty

    Rusty Well-Known Member Licensed User

    I've tried to change the theme to ALL IDE themes and ALL mutations of code editor themes in the B4a environment...
    Oh, I see ... change the WINDOWS theme, yes by changing it to an AERO theme, the logs are now readable:) Thanks Erel!
    Rusty
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice