Advertisement
Guest User

Untitled

a guest
Feb 21st, 2014
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.00 KB | None | 0 0
  1. These are the available themes, a table
  2.  
  3. -- -------- Themes
  4.  
  5. local availableThemes = {
  6. "Water (Default)",
  7. "Fire",
  8. "Sublime Text 2",
  9. "Midnight",
  10. "TheOriginalBIT",
  11. "Superaxander",
  12. "Forest",
  13. "Night",
  14. "Original",
  15. }
  16.  
  17. these are the variable names, also a table
  18. I need to set it up a table so i can use the availableThemes string table to reference the themes variable name table
  19.  
  20.  
  21. local normalTheme = {
  22. background = 0x000000,
  23. backgroundHighlight = 0x000000,
  24. prompt = 0x000000,
  25. promptHighlight = 0x000000,
  26.  
  27. err = 0x000000,
  28. errHighlight = 0x000000,
  29.  
  30. editorBackground = 0x000000,
  31. editorLineHightlight = 0x000000,
  32. editorLineNumbers = 0x000000,
  33. editorLineNumbersHighlight = 0xFFFFFF,
  34. editorError = 0x000000,
  35. editorErrorHighlight = 0x000000,
  36.  
  37. textColor = 0xFFFFFF,
  38. conditional = 0xFFFFFF,
  39. constant = 0xFFFFFF,
  40. ["function"] = 0xFFFFFF,
  41. string = 0xFFFFFF,
  42. comment = 0xFFFFFF
  43. }
  44.  
  45. local defaultTheme = { -- Water Theme
  46. background = 0xBEBEBE,
  47. backgroundHighlight = 0xD3D3D3,
  48. prompt = 0x00FFFF,
  49. promptHighlight = 0xADD8E6,
  50.  
  51. err = 0xFF0000,
  52. errHighlight = 0xFFC0CB,
  53.  
  54. editorBackground = 0xBEBEBE,
  55. editorLineHightlight = 0xADD8E6,
  56. editorLineNumbers = 0xBEBEBE,
  57. editorLineNumbersHighlight = 0xD3D3D3,
  58. editorError = 0xFFC0CB,
  59. editorErrorHighlight = 0xFF0000,
  60.  
  61. textColor = 0xFFFFFF,
  62. conditional = 0xFFFF00,
  63. constant = 0xFFA500,
  64. ["function"] = 0xFF00FF,
  65. string = 0xFF0000,
  66. comment = 0x32CD32
  67. }
  68.  
  69.  
  70. local fireTheme = { -- Fire Theme
  71. background=0xBEBEBE,
  72. backgroundHighlight=0xD3D3D3,
  73. prompt=0xFF0000,
  74. promptHighlight=0xFFA500,
  75. err=0xFF0000,
  76. errHighlight=0xFFC0CB,
  77.  
  78. editorBackground=0xBEBEBE,
  79. editorLineHightlight=0xFFA500,
  80. editorLineNumbers=0xBEBEBE,
  81. editorLineNumbersHighlight=0xD3D3D3,
  82. editorError=0xFF0000,
  83. editorErrorHighlight=0xFFC0CB,
  84.  
  85. textColor=0xFFFFFF,
  86. conditional=0xFFFF00,
  87. constant=0xADD8E6,
  88. ["function"]=0xFF00FF,
  89. string=0x0000FF,
  90. comment=0x32CD32
  91. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement