
Embed themes (gradients and custom fonts)
More work on embedded themes, adding gradient backgrounds and custom font installation for perfect brand matching
Transcript
This transcript is auto-generated. Names and product terms may be wrong.
I can show off some theming stuff if no one else wants to go so here is my dashboard of Dreams uh I work for Best Buy now I'm actually putting in my notice right now so as you can see everything uh so one little note here uh the background uh now supports the dashboard background setting on the custom theme object for embed dashboards now supports gradients um all sorts of like basically like anything that the uh CSS background property you can support we should be able to support uh also have some nice border radius stylings although there is a little Quirk where highlighting removes it and also like shifts the tile so I've got to figure that out um just for anyone who's not aware
uh the embed um the embed SDK and also just when you're generating an embed URL um has an optional property called custom theme that you can now pass in a variety of properties onto right now we do things like supporting dashboard background dashboard tile uh tile text tile U border stylings and so on and so forth and the plan obviously is to continue to flesh that out um and actually just as a little tidbit uh so all those that I listed out and all of this is currently in production if you're uh currently one of our beta testers for Uh custom theme on embed dashboards but I wanted to give a little preview on what I'm working on right now which is still very early
but we're not there yet um and actually I'm going to ask for a volunteer here uh Colin do you want to give me you want to pick a font from these Google fonts that you like I mean preferably one that looks good in Latin yeah yeah let's try this guy sure truckula the cursive looked pretty nice too though we can do both I was testing some uh second grade uh clip art ones as well so but I will go ahead and don't mind me I'm going to do this just to simplify the output it should be pretty simple if I do this I grab this wa 2 file I go over to my custom themes object insert that Waf two file link and assuming everything
works OB your unle they're custom themes or custom fonts pretty close I think but still have to go through the review process obviously um but looking pretty good for custom funds pretty soon in the uh embed custom themes so yep that's me what do we do actually quick question for the viz font uh this may be a question two for Sarah J I think Jared's out but should the font also update the viz layer in Vega can it should it should it be separate should is definitely the right answer how is a different one um I would need to do some decent exploring on that just because I don't know like how Vega handles custom fwn URLs but assuming there's like a decent path there
already in Vega u i don't imagine it'd be too hard to pass that in but I'm not like I'm not I'm not uh confident enough yet to answer one way or the other at the moment so cool and Sarah I think we do want it to update viz probably and I it's probably a question as to whether or not it's a separate control of like the have a feeling we'll want to make it a separate control often the like viz fonts are smaller and you want numbers to display differently than you do uh you know text often but um you know we can always start with it's all or nothing and then add the Nuance as we go um but probably people want all or
nothing or they probably would prefer all the font update first versus just being like Oh you left half of it not updated um but I don't know I we have to look and see about the Vega I know you can do the specify the font I I don't know about custom fonts they just like hey you use I think you can we I think we were doing it before so you have to you have to change font property by property sadly yeah it's kind of kind of I think there may be some ways you can set some of the default to it but we might be overriding it everywhere anyway so you probably have to override them all so um and I can definitely help
out with some of those like border things and some of the little weird stuff that we just have behavior-wise on the dashboard like the hover state I so