How to use the @instructure/canvas-theme.functionalColors function in @instructure/canvas-theme

To help you get started, we’ve selected a few @instructure/canvas-theme 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 instructure / instructure-ui / packages / canvas-high-contrast-theme / src / colors.js View on Github external
link: '#0770A3',
   electric: '#0770A3',
   shamrock: '#127A1B',
   barney: '#B8309E',
   crimson: '#D01A19',
   fire: '#C23C0D',
   licorice: '#2D3B45',
   oxford: '#394B58',
   ash: '#556572',
   slate: '#556572',
   tiara: '#556572',
   porcelain: '#FFFFFF',
   white: '#FFFFFF'
 }

 const colors = Object.freeze(functionalColors(values))

 export default colors
 export { colors }

@instructure/canvas-theme

A theme for Canvas LMS made by Instructure Inc.

MIT
Latest version published 3 days ago

Package Health Score

87 / 100
Full package analysis

Similar packages