Examples: query, "exact match", wildcard*, wild?ard, wild*rd
Fuzzy search: cake~ (finds cakes, bake)
Term boost: "red velvet"^4, chocolate^2
Field grouping: tags:(+work -"fun-stuff")
Escape special characters +-&|!(){}[]^"~*?:\ - e.g. \+ \* \!
Range search: properties.timestamp:[1587729413488 TO *] (inclusive), properties.title:{A TO Z}(excluding A and Z)
Combinations: chocolate AND vanilla, chocolate OR vanilla, (chocolate OR vanilla) NOT "vanilla pudding"
Field search: properties.title:"The Title" AND text
 
Answered
Is there a way to detect the logged in user's theme in Tecton or SDK?

Our organization offers a handful of themes to our members. We're looking to style things differently (e.g. button colors, etc) based on the theme the user is using.

Posted 4 years ago
Votes Newest

Answers


Good morning Brock,

At this time there isn't a way to detect the theme from within a Tecton extension. The theme is meant to provide you all the styling you would need and not something we recommend writing logic around.

Is there something you're trying to check or change that is based on a particular theme, or perhaps a different problem we can help you solve?

Thanks,
Kris

0

Thanks for the reply, Kris. We're in the process of creating a style guide and were just curious what all of our possibilities are. We did notice that most of the styles change automatically, so that is helpful.

— Brock Caldwell   4 years ago
141 Views
1 Answer
4 years ago
4 years ago
Tags