Welcome To the Hoffman Amplifiers Forum

September 10, 2025, 06:34:14 pm
guest image
Welcome, Guest. Please login or register.
-User Name
-Password



Hoffman Amps Forum image Author Topic: How to Change the DIYLC grid color  (Read 14376 times)

0 Members and 1 Guest are viewing this topic.

Offline Lectroid

  • Level 3
  • ***
  • Posts: 634
  • Progress is made by lazy people
Hoffman Amps Forum image
How to Change the DIYLC grid color
« on: May 07, 2023, 01:04:19 pm »
The out-of-the-box DIYLC grid color gives me eyestrain so I hunted around a little and found out how to darken it.  You have to modify the main app's config.xml file, so make a copy of the file first, and Do This At Your Own Risk!.  If you totally mess up, and don't have a good backup copy of the config.xml file, you'll have to reinstall DIYLC.

If you know how to specify colors using hex RGB codes, you can get creative.  If you don't, just edit according to the instructions.

1.  Go to the diylc application support files folder, and make a copy of "config.xml"    On my Mac, this folder is in "[DiskName]/[MyName]/diylc."   On Windows, I do not know.  You'll know when you find the right DIYLC folder, it has two subfolders: "logs" and "backup."

2. See #1.  Do not proceed until you have a copy.    If anything goes wrong, you can delete the file and reinstate your saved copy as "config.xml"

2a.  Do not change anything else in this file or DIYLC may not work and you'll have to reinstall.

3.  Open the config.xml file with your favorite XML/text editor.  Search for the word "theme."  You should find a section like this:

<entry>
    <string>theme</string>
    <org.diylc.core.Theme>
      <name>Light</name>
      <bgColor hex="ffffff"/>
      <gridColor hex="c0c0f0" alpha="f0"/>
      <outlineColor hex="000000"/>
      <dotColor hex="c8c8c8" alpha="f0"/>
    </org.diylc.core.Theme>
  </entry>



4. The line to be edited comes this way in the default setup:  <gridColor hex="f0f0f0" alpha="f0"/>.  The line is  highlighted in blue above.

5. Change it to read:   <gridColor hex="c0c0f0" alpha="f0"/>   Right after the 'hex=', change the initial "f0f0" to "c0c0", leave the trailing "f0" alone. After editing the line should now read:  hex="c0c0f0"

You do not need to change the [alpha="f0"] segment.  The only characters to be changed are highlighted in green above. This will darken the pale blue lines to a darker blue.   If you want it darker still, repeat but change the "c0c0" to "a0a0."

6.  Double check your work.  [You do have a copy, don't you?]

7. Save the file.  Close and reopen DIYLC.

Subvert the Dominant Paradigm!
Free Beer Tomorrow!

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10414
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: How to Change the DIYLC grid color
« Reply #1 on: May 07, 2023, 01:10:43 pm »
Thanks for the info

You also make a copy of config.xml before upgrading to a newer version of DIYLC

Offline Lectroid

  • Level 3
  • ***
  • Posts: 634
  • Progress is made by lazy people
Hoffman Amps Forum image
Re: How to Change the DIYLC grid color
« Reply #2 on: May 07, 2023, 01:22:47 pm »
I do now, after learning the hard way.   :l2:

Subvert the Dominant Paradigm!
Free Beer Tomorrow!

 


Choose a link from the
Hoffman Amplifiers parts catalog
Mobile Device
Catalog Link
Yard Sale
Discontinued
Misc. Hardware
What's New Board Building
 Parts
Amp trim
Handles
Lamps
Diodes
Hoffman Turret
 Boards
Channel
Switching
Resistors Fender Eyelet
 Boards
Screws/Nuts
Washers
Jacks/Plugs
Connectors
Misc Eyelet
Boards
Tools
Capacitors Custom Boards
Tubes
Valves
Pots
Knobs
Fuses/Cords Chassis
Tube
Sockets
Switches Wire
Cable


Handy Links
Tube Amp Library
Tube Amp
Schematics library
Design a custom Eyelet or
Turret Board
DIY Layout Creator
File analyzer program
DIY Layout Creator
File library
Transformer Wiring
Diagrams
Hoffmanamps
Facebook page
Hoffman Amplifiers
Discount Program


password