Figma - Change font family on all instances - figma

Goal: Change font family, and apply new font family to all instances.
Ex: On the image bellow, the Open sans text is set as a component, and the weights, are set as an instance of the component.
Then I wanted to change to another font family, and have the instances reflected that change, showing the new font family with corresponding font weights:
Challenge: If I set everything as font styles (headers, body, etc), then I need to manually one by one when I want to test a new font. That is why would be convent to have a master component that sets the font family and passes that to all typography system.
Question: How can I add instances that change according to the font family?

Related

Set secondary color of all views

image of an Editor
Like shown in the image above my secondary color for all my views is pink.
But I want it to be a different one.
Where can I set the Color globally?
For the Entries that pink color is the color accent of the application
Which can be modified of course. example
But if you want a little more customization for this view and maybe others. You will have to use custom renderers. Here is another question about that

setting default design and font in powerpoint 2016

This question may be a bit too simplistic for this community but I'm stumped. When preparing a lecture I prefer to have a black background with white text on a square slide.
I know how to create a theme to get the slide design quickly.
I know how to change font text color.
But...
1) How do I assign a theme to default (instead of having to load it manually each time)?
2) How do I change the default text color?
Ideally, I'd like to have powerpoint open with my custom theme and having white text as the default color so I don't need to change these settings manually.
much thanks!
Point Google here to get a more detailed set of instrux,
https://www.google.com/search?q=default+theme+powerpoint+2016&ie=utf-8&oe=utf-8
But basically you rightclick the theme you want to set as default in the Themes gallery, then choose Set as Default.
When creating your theme, add a text box, format it to the font style you want, then right click and choose Set as Default Text Box. This will set the font style for any newly added text. Also make sure that the font theme included in your theme specifies the fonts you want for title and body text. To do this, go to View | Slide Master. On the Slide Master tab, you can use the Fonts button in the Background group to choose or modify the font theme.

Powerpoint - want to define a color palette that is NOT a color scheme

I import Spotfire graphics into Powerpoint quite frequently. Spotfire has its own specific color palette, which aren't the standard colors used in powerpoint, at least I don't think so.
I often must create my own legend or for other reasons match the spotfire color palette, and I do this by entering the RGB codes for the spotfire colors. I would like to do this one time and have the spotfire color palette always available in powerpoint without having to re-type.
I do not think I want to use a color theme, because I want my colors to stay consistent if I end up using different templates (themes). That is, I don't want to call spotfire default blue "Accent 1", because if I change background templates (themes) I think it will overwrite Accent 1 with the new template's Accent 1.
So I want a color palette that is always available to me regardless of what theme I choose.
Any thoughts?
You're dismissing themes for all the right reasons. They wouldn't work for what you're after. You'd pretty much need to buy or write an add-in to do what you want.
For example, it might install n buttons on the toolbar/ribbon, where n = the number of colors you need on your palette. When the button is clicked it sets the fill, for example, of the currently selected shape/shapes to the appropriate color.
You could have different sets of buttons for fill, outline etc, or have the code figure out whether the user has pressed, eg the CTRL key. Click = set the fill, CTRL+Click = set the outline.
Because I was curious I decided to attempt to create a simple Add-In that will allow you to select a chart, series in the chart, and then apply colors.
You can download from Google Docs (revised link)
https://docs.google.com/file/d/0B1v0s8ldwHRYMFFPZ29FNmI0TkE/edit?usp=sharing
The file is saved as a PPTM to expose the code modules. Save As a PPAM and load the Add-in; it will be available from the Add-Ins command bar. I have tested briefly and seems to be working.
Here's the nuts & bolts of it:
First declared several custom colors as Public Const variables. These can be modified using the long value (converted from RGB) to suit whatever you need.
The macro requires that the selection be a Shape, and further that the Shape .HasChart = True. There is some logic to trap these conditions.
A user form has a ComboBox that populates with a list of Series from the selected chart, and 8 CommandButtons colored for each of the defined colors, will send that color to the chosen series.
You could add additional CommandButtons and colors as needed, or tweak the existing code to suit your specific needs.
Although the slide templates have a default color theme attached to them, you can switch slide templates and still use any XML color scheme at your disposal.

Qt font families and styles on Mac OS X

I have a GUI application based on Qt (PyQt) running on Mac OS X (and other platforms). It allows the user to select fonts and has check boxes for bold and italic options.
On updating to the new Cocoa-based Qt, a user found the QFontComboBox no longer displays the different font styles (e.g. condensed, oblique, bold...) and just displays the font family name. Under Carbon it showed both. The user also cannot enter the name with the style in the combo box. Furthermore, I cannot construct the same font passing the name into the QFont constructor.
QFont doesn't seem to know anything about these missing styles. Confusingly it has another different notion of style. It looks like QFontDatabase has the information about the style variants. It can also construct fonts based on a family, style and point size.
So, are the following changes the correct approach?
Rather than have bold and italic buttons, have a combobox filled with the styles from QFontDatabase for the font selected in the QFontComboBox.
Store the style in saved documents (as text), rather than bold or italic.
So
Can I rely on the style being the same on systems with different languages? Can I include it in saved documents?
Is a style "Bold Italic" as robust a way of making a QFont with the desired properties, than setting the bold and italic properties of that QFont?
If I want to retain bold and italic checkboxes, how can I convert these attributes into the correct style? Can I just guess "Bold", "Italic" or "Bold Italic"?

How to make background color transparent in Flash Builder

I have a list in FlashBuilder. It will allow me to choose colors for the selection, rollover, focus etc.. but I do not know how to make one of those items transparent.
I can set the alpha of the overall background, but what if I want one state just not to change color? I can't just not set them unless I create a whole new theme because they have default colors.
I'd like to know the proper mxml declaration if there is one: selectionColor="????"
To supply a state specific attribute you just use...
selectionColor.stateName="????"
In the MXML, where stateName is the name of your state.
This should work for any element attribute.
attributeName.stateName="????"
e.g.
visible.closed="false"

Resources