Skip to content

Conversation

maici
Copy link
Collaborator

@maici maici commented Dec 25, 2018

Add variable font font dances

rythm.addRythm('neon-text', 'variableFont', 0, 10,
    { 
        BLDA: { min: 1000, max: 400 },
        TRMA: { min: 500, max: 500 },
    })

it will generate this style

font-variation-settings: 'BLDA' 1000, 'TRMA' 500;

A demo here https://2360n746pr.codesandbox.io/

@maici maici force-pushed the variable-font-dance branch from 02277b1 to 0d3f4a8 Compare December 25, 2018 19:48
@maici maici changed the base branch from master to develop December 25, 2018 19:49
@maici maici force-pushed the variable-font-dance branch 3 times, most recently from fe5b641 to 1c36b61 Compare December 25, 2018 19:52
@maici maici force-pushed the variable-font-dance branch from 1c36b61 to 5e68f0c Compare December 25, 2018 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant