- FFMeta-variableFont-01 - Weight Variations
- FFMeta-variableFont-02 - Italic
- FFMeta-variableFont-04 - Incremental Weight
- FFMeta-variableFont-05 - Mouse X, Y mapped to weight and font size
- FFMeta-variableFont-06 - Incremental Weight + Generative Color
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react' | |
const container: React.CSSProperties = { | |
width: '100%', | |
height: '100%', | |
display: 'grid', | |
gridTemplateColumns: '10rem 10rem 10rem 10rem' | |
} | |
const item: React.CSSProperties = { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react' | |
import { ControlType } from 'framer' | |
import styled, { injectGlobal } from 'styled-components' | |
injectGlobal` | |
@import url('https://fonts.googleapis.com/icon?family=Material+Icons'); | |
` | |
interface iconProps { | |
stretch: boolean |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react' | |
import { Frame, PropertyControls, ControlType } from 'framer' | |
interface Props { | |
color: string | |
} | |
export class componentName extends React.Component<Props> { | |
static defaultProps = { | |
width: 1600, |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
tell application "Safari" | |
set tab_list to every tab in the front window | |
repeat with the_tab in tab_list | |
set the_url to the URL of the_tab | |
tell application "Google Chrome" to open location the_url | |
end repeat | |
end tell |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import * as React from 'react' | |
import { Frame, Size, PropertyControls, ControlType } from 'framer' | |
import { AreaClosed, Line, Bar } from '@vx/shape' | |
import { appleStock } from '@vx/mock-data' | |
import { curveMonotoneX } from '@vx/curve' | |
import { LinearGradient } from '@vx/gradient' | |
// import { GridRows, GridColumns } from '@vx/grid' | |
import { scaleTime, scaleLinear } from '@vx/scale' | |
// import { withTooltip, Tooltip } from '@vx/tooltip' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* @module FigmaLiveEmbed | |
* @author Davo Galavotti | |
* @version 0.1 | |
* | |
* Based on Youtube code component by Jan Van Boghout | |
*/ | |
import * as React from 'react' | |
import { Frame, FramerEvent, Animatable, PropertyControls, ControlType } from 'framer' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import React, { Component } from 'react' | |
import ReactDOM from 'react-dom' | |
import PropTypes from 'prop-types' | |
class Iframe extends Component { | |
static propTypes: Object = { | |
src: PropTypes.string.isRequired, | |
onLoad: PropTypes.func, | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.getElementsByTagName("h2").length | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
defaults write com.apple.finder CreateDesktop false | |
killall Finder | |
defaults write com.apple.finder CreateDesktop true |