Skip to content

Instantly share code, notes, and snippets.

@LukeSmetham
Created September 20, 2019 11:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save LukeSmetham/b7b67e913e2ebe15fa3524bf8cd9ef59 to your computer and use it in GitHub Desktop.
Save LukeSmetham/b7b67e913e2ebe15fa3524bf8cd9ef59 to your computer and use it in GitHub Desktop.
import breakpoints from './breakpoints';
import colors from './colors';
import * as colorUtils from './colorUtils';
export default {
breakpoints,
borderRadius: 8,
color: {
background: colors.black,
error: colors.red,
text: colors.white,
undersheet: colorUtils.fade(colors.black, 0.5),
placeholder: colors.gray,
border: colorUtils.fade(colors.white, 0.16),
gradient: 'linear-gradient(120deg, #8148FC 0%, #55AAFF 100%)',
...colors,
},
colorUtils,
easing: {
accelerate: [0.4, 0.0, 1, 1],
deccelerate: [0.0, 0.0, 0.2, 1],
standard: [0.4, 0.0, 0.2, 1],
css: (easing) => `cubic-bezier(${easing.join(',')})`,
},
z: {
snackbar: 101,
modal: 100,
},
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment