8000 Renamed project. Added build tools. Refactored the example. · IamGeoffrey/react-inline-css@a0131a0 · GitHub
Skip to content

Commit a0131a0

Browse files
committed
Renamed project. Added build tools. Refactored the example.
1 parent 9ac727c commit a0131a0

23 files changed

+2003
-282
lines changed

.gitignore

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,6 @@
1-
/.idea
2-
1+
.idea/
2+
node_modules/
3+
dist/
4+
*.log
5+
*.map
6+
.DS_Store

.npmignore

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
.idea/
2+
node_modules/
3+
dist/
4+
*.log
5+
*.map
6+
.DS_Store
7+
8+
static/
9+
src/example/
10+
src/example.*
11+
tmp/
12+
webpack.*.js

LICENSE

Lines changed: 0 additions & 21 deletions
This file was deleted.

LICENSE.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
# BSD 3-Clause License
2+
3+
Copyright © 2015, Rick Wong
4+
All rights reserved.
5+
6+
Redistribution and use in source and binary forms, with or without
7+
modification, are permitted provided that the following conditions are met:
8+
9+
1. Redistributions of source code must retain the above copyright
10+
notice, this list of conditions and the following disclaimer.
11+
2. Redistributions in binary form must reproduce the above copyright
12+
notice, this list of conditions and the following disclaimer in the
13+
documentation and/or other materials provided with the distribution.
14+
3. Neither the name of the copyright holder nor the
15+
names of its contributors may be used to endorse or promote products
16+
derived from this software without specific prior written permission.
17+
18+
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
19+
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
20+
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
21+
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER BE LIABLE FOR ANY
22+
DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
23+
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
24+
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25+
ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
26+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
27+
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

README.md

Lines changed: 24 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,16 @@
1-
React Style component (PoC)
2-
==========
1+
![screenshot](https://i.imgur.com/7Pop4SZ.png?1)
32

4-
Make your React components visually predictable. React Style components allows you to cascade CSS stylesheets on your components, automatically namespacing them.
3+
# React Inline Css
4+
5+
Make your React components visually predictable. React Inline Css allows you to write traditional CSS stylesheets in your components, automatically namespacing them for you.
56

67
Inspired by the [SUIT CSS](https://suitcss.github.io/) methodology.
78

8-
### Demo:
9+
## Demo:
910

1011
[Mao-mao-mao!](https://edealer.nl/mao)
1112

12-
### Example:
13+
## Example:
1314

1415
You write:
1516

@@ -73,3 +74,21 @@ You get namespaced CSS that works on sub-components (comparable to HTML5 `<style
7374
```
7475

7576
For a cascaded effect, see the `index.html` demo.
77+
78+
## Installation
79+
80+
npm install --save react-inline-css
81+
82+
## Usage
83+
84+
Run `npm run watch` in your terminal and play with `views/Main.jsx` to get a feel of
85+
the server-side rendering and client-side hot updates.
86+
87+
## Community
88+
89+
Let's start one together! After you ★Star this project, follow me [@Rygu](https://twitter.com/rygu)
90+
on Twitter.
91+
92+
## License
93+
94+
BSD 3-Clause license. Copyright © 2015, Rick Wong. All rights reserved.

index.html

Lines changed: 0 additions & 194 deletions
This file was deleted.

0 commit comments

Comments
 (0)