How to use the @instructure/ui-themes.canvas.use function in @instructure/ui-themes

To help you get started, we’ve selected a few @instructure/ui-themes 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 / tests.bundle.js View on Github external
*
 * The above copyright notice and this permission notice shall be included in all
 * copies or substantial portions of the Software.
 *
 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
 * SOFTWARE.
 */
require('@instructure/ui-polyfill-loader!')

const { canvas } = require('@instructure/ui-themes')
canvas.use({ overrides: { transitions: { duration: '1ms' } } })

require('ui-tests-loader!')

@instructure/ui-themes

A library of instructure themes

MIT
Latest version published 3 days ago

Package Health Score

87 / 100
Full package analysis

Similar packages