Skip to content

how to: manage interface colors

Diego Valerio Camarda edited this page Feb 1, 2015 · 1 revision

LodView is released with a beautiful palette managed by conf.ttl (main configuration file)

you can let LodView randomize the colors page by page

  conf:colorPair "#c3a116-#ac8c13" , "#914848-#7d3e3e" , "#8a4e6a-#77435c" , 
  "#ac8cb0-#967999" , "#715287-#624775" , "#606592-#53577e" , "#528775-#477565" , 
  "#7eb9be-#6da2a7" , "#5b8a97-#4f7783" ,  "#86b692-#749f7e" , "#6d8058-#5e6f4c" , 
  "#a1a72e-#8c9128" , "#c77e20-#ad6e1c" ;

or set just one color

  conf:colorPair  "#ac8cb0-#967999";

or even bind classes and colors

  conf:colorPair  conf:byClass;
  [...]
  ".".
  <http://dbpedia.org/ontology/Person>		conf:hasColorPair	"#c3a116-#ac8c13".
  ontology:Place	conf:hasColorPair	"#715287-#624775". 
  <http://dbpedia.org/ontology/Work>		conf:hasColorPair	"#914848-#7d3e3e". 
  <http://dbpedia.org/ontology/Organisation>	conf:hasColorPair	"#6d8058-#5e6f4c". 
  <http://dbpedia.org/ontology/Event>	conf:hasColorPair	"#5b8a97-#4f7783". 
  ## fallback color
  <http://lodview.it/conf#otherClasses>	conf:hasColorPair	"#528775-#477565".