@jessegrosjean The section on variables in the manual does not really answer my question which is, can I create a variable on my own, or am I limited to only altering variables which are already in the TP3 code?
When I last got a crash I was trying to do this. I was trying to set my colors to variables and then adjust those colors in light or dark vales for use with darker or lighter backgrounds. I realize I made one or more errors in logic and that is why I am trying to read up on this matter. This is what I was trying …
// set a variable to a color so that I could later use this variable in the script
@DarkRed: rgb(164, 0, 5);
// use that variable in a theme to lighten that value for use in a darker background
@fadeDarkRed-color: mix(@DarkRed, white, 50%);
// or,
@fadeDarkRed-color: mix(rgb(164, 0, 5), white, 50%);
// the way it is now (that works):
// Colors the text preceding the tag “@taskA” red.
item[data-taskA] {
color: rgb(164, 0, 5);
}
// the way I thought I could get it to work:
// Colors the text preceding the tag “@taskA” red.
item[data-taskA] {
color: rgb(164, 0, 5);
}
As it happens, putting in “@DarkRed: rgb(164, 0, 5)” will crash the program.