Data type for nested project / sub-project?

Just wondering if I can style indented sub-projects separately from top level projects.

This code will style all projects globally but I wonder if there is a different data type to use for nested projects?

item[data-type=project] {
font-size: 20;
color: rgb(255, 0, 0);
}

I think this will do what you want:

item[data-type=project][depth=2] {
  font-size: 20;
  color: rgb(255, 0, 0);
}
1 Like