How to use the jsxstyle.curry function in jsxstyle

To help you get started, we’ve selected a few jsxstyle examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github jaredpalmer / react-email-workflow / src / components / Type.js View on Github external
import { Inline, curry } from 'jsxstyle';

export const Text1 = curry(Inline, {
  fontSize: '2.5rem',
});

export const Text2 = curry(Inline, {
  fontSize: '2rem',
});

export const Text3 = curry(Inline, {
  fontSize: '1.75rem',
});

export const Text4 = curry(Inline, {
  fontSize: '1.5rem',
});

export const Text5 = curry(Inline, {
  fontSize: '1.25rem',
});

export const Text6 = curry(Inline, {
github jaredpalmer / react-email-workflow / src / components / Type.js View on Github external
fontSize: '1.75rem',
});

export const Text4 = curry(Inline, {
  fontSize: '1.5rem',
});

export const Text5 = curry(Inline, {
  fontSize: '1.25rem',
});

export const Text6 = curry(Inline, {
  fontSize: '1rem',
});

export const SmallText = curry(Inline, {
  fontSize: '.85rem',
  fontWeight: 'bold',
});

export const H1 = curry(Text1, {
  fontWeight: 'bold',
});

export const H2 = curry(Text2, {
  fontWeight: 'bold',
});

export const H3 = curry(Text3, {
  fontWeight: 'bold',
});
github jaredpalmer / react-email-workflow / src / components / Type.js View on Github external
fontSize: '2.5rem',
});

export const Text2 = curry(Inline, {
  fontSize: '2rem',
});

export const Text3 = curry(Inline, {
  fontSize: '1.75rem',
});

export const Text4 = curry(Inline, {
  fontSize: '1.5rem',
});

export const Text5 = curry(Inline, {
  fontSize: '1.25rem',
});

export const Text6 = curry(Inline, {
  fontSize: '1rem',
});

export const SmallText = curry(Inline, {
  fontSize: '.85rem',
  fontWeight: 'bold',
});

export const H1 = curry(Text1, {
  fontWeight: 'bold',
});
github jaredpalmer / react-email-workflow / src / components / Type.js View on Github external
import { Inline, curry } from 'jsxstyle';

export const Text1 = curry(Inline, {
  fontSize: '2.5rem',
});

export const Text2 = curry(Inline, {
  fontSize: '2rem',
});

export const Text3 = curry(Inline, {
  fontSize: '1.75rem',
});

export const Text4 = curry(Inline, {
  fontSize: '1.5rem',
});

export const Text5 = curry(Inline, {
  fontSize: '1.25rem',
});

export const Text6 = curry(Inline, {
  fontSize: '1rem',
});

export const SmallText = curry(Inline, {
github jaredpalmer / react-email-workflow / src / components / Type.js View on Github external
});

export const Text5 = curry(Inline, {
  fontSize: '1.25rem',
});

export const Text6 = curry(Inline, {
  fontSize: '1rem',
});

export const SmallText = curry(Inline, {
  fontSize: '.85rem',
  fontWeight: 'bold',
});

export const H1 = curry(Text1, {
  fontWeight: 'bold',
});

export const H2 = curry(Text2, {
  fontWeight: 'bold',
});

export const H3 = curry(Text3, {
  fontWeight: 'bold',
});

export const H4 = curry(Text4, {
  fontWeight: 'bold',
});

export const H5 = curry(Text5, {
github jaredpalmer / react-email-workflow / src / components / Type.js View on Github external
});

export const SmallText = curry(Inline, {
  fontSize: '.85rem',
  fontWeight: 'bold',
});

export const H1 = curry(Text1, {
  fontWeight: 'bold',
});

export const H2 = curry(Text2, {
  fontWeight: 'bold',
});

export const H3 = curry(Text3, {
  fontWeight: 'bold',
});

export const H4 = curry(Text4, {
  fontWeight: 'bold',
});

export const H5 = curry(Text5, {
  fontWeight: 'bold',
});
github jaredpalmer / react-email-workflow / src / components / Center.js View on Github external
import { Flex, curry } from 'jsxstyle';

const Center = curry(Flex, {
  justifyContent: 'center',
  alignItems: 'center',
});

export default Center;
github jaredpalmer / react-email-workflow / src / components / Type.js View on Github external
import { Inline, curry } from 'jsxstyle';

export const Text1 = curry(Inline, {
  fontSize: '2.5rem',
});

export const Text2 = curry(Inline, {
  fontSize: '2rem',
});

export const Text3 = curry(Inline, {
  fontSize: '1.75rem',
});

export const Text4 = curry(Inline, {
  fontSize: '1.5rem',
});

export const Text5 = curry(Inline, {
github jaredpalmer / react-email-workflow / src / components / Type.js View on Github external
import { Inline, curry } from 'jsxstyle';

export const Text1 = curry(Inline, {
  fontSize: '2.5rem',
});

export const Text2 = curry(Inline, {
  fontSize: '2rem',
});

export const Text3 = curry(Inline, {
  fontSize: '1.75rem',
});

export const Text4 = curry(Inline, {
  fontSize: '1.5rem',
});

export const Text5 = curry(Inline, {
  fontSize: '1.25rem',
});

export const Text6 = curry(Inline, {
  fontSize: '1rem',
});

export const SmallText = curry(Inline, {
  fontSize: '.85rem',
  fontWeight: 'bold',
});
github jaredpalmer / react-email-workflow / src / components / Type.js View on Github external
fontWeight: 'bold',
});

export const H2 = curry(Text2, {
  fontWeight: 'bold',
});

export const H3 = curry(Text3, {
  fontWeight: 'bold',
});

export const H4 = curry(Text4, {
  fontWeight: 'bold',
});

export const H5 = curry(Text5, {
  fontWeight: 'bold',
});

jsxstyle

Inline style system for React and Preact

Apache-2.0
Latest version published 1 year ago

Package Health Score

58 / 100
Full package analysis