How to use the @remirror/ui.baseTheme.colors function in @remirror/ui

To help you get started, we’ve selected a few @remirror/ui 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 ifiokjr / remirror / @remirror / ui-icons / src / __tests__ / base-icon.spec.tsx View on Github external
it('renders default `component.remirror:icon` styles', () => {
    const { container } = render(
      
        
      ,
    );

    const svg = container.querySelector('svg');
    expect(svg).toHaveStyle(
      `color: ${baseTheme.colors.text}; background-color: ${baseTheme.colors.background};`,
    );
  });
github ifiokjr / remirror / @remirror / ui-icons / src / __tests__ / base-icon.spec.tsx View on Github external
it('renders default styles', () => {
    const { container } = render(
      
        
      ,
    );

    const svg = container.querySelector('svg');

    expect(svg).toHaveStyle(
      `color: ${baseTheme.colors.text}; background-color: ${baseTheme.colors.background};`,
    );
  });

@remirror/ui

DEPRECATED - ui utilities for remirror

MIT
Latest version published 3 years ago

Package Health Score

45 / 100
Full package analysis

Similar packages