Skip to content

Commit f120c19

Browse files
committed
moved to demo folder, command update
1 parent bf1f649 commit f120c19

6 files changed

Lines changed: 158 additions & 13 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ Take your pick. You have options:
1313
- Copy the `.css` file and drop it in to your site as-is.
1414
- Grab the `.scss` files and incorporate that in your build process.
1515

16-
There isn't a wrong way to use it.
16+
Then simply amend `:root` variables per your colors and specs. There isn't a wrong way to use it.
1717

1818
## Build and Test Locally
1919

@@ -26,7 +26,13 @@ choco install sass
2626
Once installed, you can run
2727

2828
```ps
29-
sass tinycss.scss tinycss.min.css --style compressed
29+
sass tinycss.scss:demo/tinycss.css --watch --style expanded --embed-sources
3030
```
3131

3232
to generate the files you see here, or use other cli options from sass to suit your specific needs. Use the `--watch` parameter for ongoing development.
33+
34+
To generate minified output:
35+
36+
```ps
37+
sass demo/tinycss.css:demo/tinycss.min.css --style compressed
38+
```

index.html renamed to demo/index.html

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,20 +7,20 @@
77

88
<title>Tiny CSS Test Page</title>
99

10-
<link rel="stylesheet" href="tinycss.min.css" />
10+
<link rel="stylesheet" href="tinycss.css" />
1111
</head>
1212

1313
<body>
1414
<header>
1515
<nav>
16-
<a href="/">a link.</a>
17-
<a href="/">a link.</a>
18-
<a href="/">a link.</a>
19-
<a href="/">a link.</a>
16+
<a href="#paragraph">Paragraph Content.</a>
17+
<a href="#tabledata">Table Data</a>
18+
<a href="#formdata">Form Data</a>
19+
<a href="#themeswitcher">Theme Switcher</a>
2020
</nav>
2121
</header>
2222
<main>
23-
<h1>Header 1</h1>
23+
<h1 id="paragraph">Header 1</h1>
2424
<p>
2525
Lorem ipsum dolor sit amet, consectetur adipiscing elit. Cras a mauris
2626
eleifend, posuere ipsum sit amet, mattis elit. Integer nec tortor augue.
@@ -50,7 +50,7 @@ <h1>Header 1</h1>
5050
venenatis eu. Donec at luctus urna.
5151
</p>
5252

53-
<h2>Table Of Data</h2>
53+
<h2 id="tabledata">Table Of Data</h2>
5454
<table>
5555
<thead>
5656
<tr>
@@ -101,7 +101,7 @@ <h2>Table Of Data</h2>
101101
</tr>
102102
</tfoot>
103103
</table>
104-
<h2>Form</h2>
104+
<h2 id="formdata">Form</h2>
105105
<form action="#" method="post">
106106
<fieldset>
107107
<label for="name">Name:</label>
@@ -136,7 +136,7 @@ <h2>Form</h2>
136136
</fieldset>
137137
</form>
138138

139-
<h2>Theme Switcher</h2>
139+
<h2 id="themeswitcher">Theme Switcher</h2>
140140
<input
141141
type="radio"
142142
id="light"

demo/tinycss.css

Lines changed: 140 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

demo/tinycss.css.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

tinycss.min.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

tinycss.min.css.map

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)