This package has been deprecated

Author message:

Merged into @react-spectrum/theme-light

spectrum-white-theme
TypeScript icon, indicating that this package has built-in type declarations

1.0.10 • Public • Published

THIS MODULE HAS BEEN MERGED INTO THE REACT-SPECTRUM LIBRARY, PLEASE USE THAT INSTEAD.

Spectrum White Theme

This theme is intended for Adobe Spectrum, it leverages Adobe's React Spectrum Lightest Theme guidelines to provide an accesibile color palette with white as the baseline.

Getting started

The easiest way to start building a React Spectrum application is by following Adobe's getting started guide. It walks through all of the steps needed to install the components from npm, set up build tooling, and create your first application.

Example

Here is an example of how to implement this theme.

import { Provider } from '@adobe/react-spectrum';
import WhiteTheme from 'spectrum-white-theme';
 
function App() {
  return (
    <Provider theme={WhiteTheme} colorScheme={'light'}>
      Hello React Spectrum!
    </Provider>
  );
}

Package Sidebar

Install

npm i spectrum-white-theme

Weekly Downloads

0

Version

1.0.10

License

ISC

Unpacked Size

463 kB

Total Files

7

Last publish

Collaborators

  • eduardo-vargas