Skip to content

Commit

Permalink
docs: readme - clarify browser support and remove ie11 broken link (#…
Browse files Browse the repository at this point in the history
…2503)

Adds a section that explains what browsers are currently supported by
Spectrum CSS. IE11 is no longer supported and there was a 404 link to
legacy IE11 support that needed to be removed.

Includes suggestions from PR review about additional support and further
processing by consumers.
  • Loading branch information
jawinn authored Feb 16, 2024
1 parent 593374c commit d1922f9
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,17 @@ Adobe maintains separate JavaScript libraries written with [web components](http

## Using Spectrum CSS

The preferred method of using Spectrum CSS relies on custom properties to swap out variables for different themes and colorstops. This has the lowest bundle size and the simplest usage, but is incompatible with < IE 11.
The preferred method of using Spectrum CSS relies on custom properties to swap out variables for different themes and colorstops. This has the lowest bundle size and the simplest usage, but is incompatible with IE 11 and below.

To use Spectrum CSS with IE 11, see the [legacy usage documentation](README-legacy.md).
### Browser support

We maintain a relatively modern codebase that supports the latest two versions of evergreen web browsers. The current list of browsers officially supported by Spectrum CSS can be found in the `browserslist` section of the project's [package.json file](https://github.com/adobe/spectrum-css/blob/main/package.json). This setting is used by the build tools when the source files are built. If you require additional browser support for your project, the CSS can processed further with your chosen tools.

- last 2 Edge versions
- last 2 Chrome versions
- last 2 Firefox versions
- last 2 Safari versions
- last 2 iOS versions

### Installing components

Expand Down

0 comments on commit d1922f9

Please sign in to comment.