module Gargantext.Components.Annotation.Utils where
import Gargantext.Types ( TermList(..) )
termClass :: TermList -> String
termClass GraphTerm = "graph-term"
termClass StopTerm = "stop-term"
termClass CandidateTerm = "candidate-term"
termBootstrapClass :: TermList -> String
termBootstrapClass GraphTerm = "success"
termBootstrapClass StopTerm = "danger"
termBootstrapClass CandidateTerm = "warning"
-
Alexandre Delanoë authored
[FIX] Color (maybe Bootstrap Version will be needed: bg-secondary is what we need here, if we can use our own CSS, much better than an upgrade (overkilled solution for such issue)).
8fabb58e