DragonPrime - LoGD Resource Community
Welcome Guest
  • Good morning, Guest.
    Please log in, or register.
  • August 18, 2019, 10:17:45 AM
Home Forums News Downloads Login Register Advanced Search
* * *
DragonPrime Menu
Login
 
 
Resource Pages
Search

Pages: [1]   Go Down
  Print  
Author Topic: Theme Color Codes  (Read 5434 times)
0 Members and 1 Guest are viewing this topic.
lonnyl
Guest
« on: April 09, 2005, 09:36:21 AM »

I was thinking again  Shocked

Some color codes that are theme based would be cool for modules....

Say `y (or anything) could be the same as trdark and `Y could be the same as trlight and so on..... this way modules could be made with texts that adjust with the players selected theme....

Now I know there are ways to do alot of this with html code, however the codes would be nice and simple.....

« Last Edit: April 09, 2005, 09:36:41 AM by lonnyl » Logged
Booger
Captain of the Guard
***
Offline Offline

Posts: 126


I'm a llama!


View Profile
« Reply #1 on: April 09, 2005, 10:02:51 AM »

the colours are already defined in the skins, which means that they adjust according to them. Unless you mean something else, and I'm not getting what..
Logged
MyLotGD
Captain of the Guard
***
Offline Offline

Posts: 136


View Profile WWW
« Reply #2 on: April 09, 2005, 10:50:50 AM »

I believe what Lonnyl is trying to suggest is for instance say you are writing a module and want to have the addition of a table.

<table width='100%' border='0' cellpadding='5' cellspacing='2'>
  <tr class='trlight'> etc.

class='trdark'
class='trhead'
etc.

Correct me if I'm wrong but you would like to be able to simplfy this by using one simple text based code which is predefined? Say for example.

`e

Would output...
<table width='100%' border='0' cellpadding='5' cellspacing='2'>
  <tr class='trhead'>
  <td>

..and adding `e afterward would close the table.

   </td>
  </tr>
</table>

Right?

Not much unlike the predefined colors in the game already which are defined by the templates CSS Document.
« Last Edit: April 09, 2005, 10:55:41 AM by Twisted » Logged

lonnyl
Guest
« Reply #3 on: April 09, 2005, 01:41:13 PM »

Sort of what I meant....  I like to use green when coding modules.... as the Jade Template is the one I use.....

Instead of coding things green however, it would be nice to code things with a flexible color...

Instead of output("`2Hello World");

output("`tHello World");

This way the text color could change with themes.....
Logged
Talisman
Administrator
Mod God
*****
Offline Offline

Posts: 5484



View Profile WWW
« Reply #4 on: April 09, 2005, 02:13:45 PM »

I was thinking again  Shocked

Thought I smelled smoke...

 Grin
Logged

Play the latest beta version here on DragonPrime
lonnyl
Guest
« Reply #5 on: April 09, 2005, 03:21:43 PM »

Thought I smelled smoke...

 Grin

Touche'   Tongue
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  


*
DragonPrime Notices
Welcome to DragonPrime - The LoGD Resource Community!

Support Us
No funds raised yet this year
Your help is greatly appreciated!
Recent Topics
DragonPrime LoGD
Who's Online
99 Guests, 0 Users
Home Forums News Downloads Login Register Advanced Search