# load-themed-styles-loader

> This simple loader wraps the loading of CSS in script equivalent to `require('load-themed-styles').loadStyles( /* css text */ )`. It is designed to be a replacement for style-loader.

Latest version **0.0.3** (published 2016-06-27) · MIT license · 0 weekly downloads

> **Deprecated.** This package is deprecated.

## Install

```sh
npm install load-themed-styles-loader
pnpm add load-themed-styles-loader
yarn add load-themed-styles-loader
bun add load-themed-styles-loader
```

## Health

**Score 10/100 (F)** — status: deprecated.

Negative: deprecated.

## Facts

| | |
|---|---|
| Version | 0.0.3 |
| Published | 2016-06-27 |
| First published | 2016-03-23 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 (+1 in 1 direct dependencies) |
| Install scripts | no |
| Maintainers | ianc |

## Links

- npm: https://www.npmjs.com/package/load-themed-styles-loader
- Repository: https://github.com/iclanton/load-themed-styles-loader
- Homepage: https://github.com/iclanton/load-themed-styles-loader#readme
- Issues: https://github.com/iclanton/load-themed-styles-loader/issues
- npm.io page: https://npm.io/package/load-themed-styles-loader

## Dependencies (2)

- [loader-utils](https://npm.io/package/loader-utils.md) ^0.2.15
- [load-themed-styles](https://npm.io/package/load-themed-styles.md) ^1.1.0

## Recent versions

- 0.0.3 (latest) — 2016-06-27
- 0.0.2 — 2016-03-24
- 0.0.1 — 2016-03-23

## README

# load-themed-styles loader for webpack

## installation

`npm install load-themed-styles-loader --save-dev`

## Overview

This simple loader wraps the loading of CSS in script equivalent
to `require("load-themed-styles").loadStyles( /* css text */ )`.
It is designed to be a replacement for style-loader.

## Usage

[Documentation: Using loaders](http://webpack.github.io/docs/using-loaders.html)

This loader is designed to be used in conjunction with css-loader.

``` javascript
var css = require("load-themed-styles!css!./file.css");
// => returns css code from file.css, uses load-themed-styles to load the CSS on the page.
```

### Example config

This webpack config can load css files, embed small png images as Data Urls and jpg images as files.

``` javascript
module.exports = {
  module: {
    loaders: [
      { test: /\.css$/, loader: "load-themed-styles-loader!css-loader" }
    ]
  }
};
```

## Options

Ths loader does not take any options at present.

## License

MIT (http://www.opensource.org/licenses/mit-license.php)

---
_Source: https://npm.io/package/load-themed-styles-loader · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
