Skip to content

Commit fe1be7c

Browse files
author
Michael Parfyonov
committed
upload
1 parent 0be49e4 commit fe1be7c

File tree

6 files changed

+19
-55
lines changed

6 files changed

+19
-55
lines changed

Diff for: Gruntfile.coffee

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = (grunt) ->
1313
files: ['less/*.less']
1414
tasks: ['copy', 'less:compile', 'clean']
1515
options:
16-
livereload: true
16+
livereload: true
1717
cssmin:
1818
files: ['dist/css/bootstrap.css']
1919
tasks: ['cssmin:minify']

Diff for: LICENSE

+1-1
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@
162162
other commercial damages or losses), even if such Contributor
163163
has been advised of the possibility of such damages.
164164

165-
9. Accepting Warranty or Additional Liability. While redistributing
165+
9. Accepting Warranty or Additional Liability. While redistributing
166166
the Work or Derivative Works thereof, You may choose to offer,
167167
and charge a fee for, acceptance of support, warranty, indemnity,
168168
or other liability obligations and/or rights consistent with this

Diff for: README.md

+12-47
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,18 @@
1-
# Themestrap
1+
# Github theme for Twiter Bootstrap 3.x.x
2+
3+
Demo: http://slider23.github.io/bootstrap-theme-github/
4+
5+
## Installation
6+
7+
Replace original bootstrap.css or bootstrap.min.css
8+
9+
## Build with Themestrap
210

311
**Themestrap** is a simple starter kit for constructing Twitter Bootstrap 3+ themes. It provides the skeleton
412
for a simple, maintainable theme that always uses code directly from Bootstrap with as little replacement as
513
possible.
614

7-
## Themestrap's Philosophy
15+
### Themestrap's Philosophy
816

917
1. A theme should be built *on top* of the framework, with as little intrusive change as possible.
1018
2. As the framework evolves, a theme should be easily updated to the latest version.
@@ -14,7 +22,7 @@ and **theme.less** (both in the `less` directory). You can tweak any and all of
1422
in **variables.less** and support any additional code or classes you'd like in **theme.less**. The compiled
1523
theme CSS includes the Bootstrap library and will automatically pick up any overrides from variables.
1624

17-
## Creating a Theme with Themestrap
25+
### Creating a Theme with Themestrap
1826

1927
To create a theme, first start by cloning the Themestrap repository into a directory named for
2028
your theme. We recommend a `bootstrap-theme-THEME_NAME` naming scheme:
@@ -31,47 +39,4 @@ installed).
3139

3240
Now you're ready to go! Simply edit `less/variables.less` and `less/theme.less` to your liking.
3341
When you're ready, just run `grunt` and it will compile and minify the distribution for you.
34-
You can also run `grunt watch` to automatically compile as you work.
35-
36-
## Testing Out Your Theme
37-
38-
We've provided a "Bootstrap Kitchen Sink" HTML file at `examples/kitchen-sink.html` that contains
39-
all of the various components in all of their variations. It may not be 100% exhaustive but it
40-
should give you a good idea of what your theme will look like at a glance.
41-
42-
You can start a development server at `http://localhost:8000` by running `grunt serve`. Your theme will automatically compile while the server is running.
43-
44-
## Deeper Customization
45-
46-
In cases where you need to do a more in-depth overhaul of a portion of Bootstrap's LESS, you may do so by
47-
simply copying over a file from Bootstrap's `less` directory into your theme's `less` directory and then
48-
modifying it as necessary. Example:
49-
50-
cp bower_components/bootstrap/less/alerts.less less/alerts.less
51-
52-
Because it takes path priority over the Bower-installed Bootstrap LESS, it will automatically override the
53-
Bootstrap default. In fact, this is how `variables.less` works already...delete it and the default Bootstrap
54-
variables will be back in play.
55-
56-
## Releasing Your Theme
57-
58-
Before you release your theme, you should do a few things:
59-
60-
1. Make sure that you've updated the package name in `bower.json`
61-
2. Update the `index.html` file with your name, the theme name and GitHub repo info (or change it to suit your needs)
62-
3. Update the `README.md` file to be about your theme
63-
64-
Once you've done that, you should push it up to GitHub and consider
65-
[registering a Bower package](https://github.com/bower/bower#registering-packages). The repository
66-
is already designed to be released directly onto GitHub Pages without an additional intermediary,
67-
so if you push to the `gh-pages` branch you should have a nice way to show off your theme!
68-
69-
## The Themestrap Gallery
70-
71-
We've created a [gallery of themes built with Themestrap](http://code.divshot.com/themestrap). If you
72-
have created a theme and want to add it to the gallery, just make a pull request to the [gh-pages](https://github.com/divshot/themestrap/tree/gh-pages)
73-
branch of this repository.
74-
75-
## Copyright and license
76-
77-
Copyright 2013 Divshot, Inc. under [the Apache 2.0 license](LICENSE).
42+
You can also run `grunt watch` to automatically compile as you work.

Diff for: bower.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "bootstrap-theme-github",
3-
"version": "0.1.0",
3+
"version": "0.2.0",
44
"main": "dist/bootstrap.css",
55
"ignore": [
66
"**/.*",

Diff for: index.html

+2-3
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
<div class="container text-center">
1515
<div class="row">
1616
<div class="col-lg-6 col-lg-offset-3">
17-
<h1 class="page-header">Github theme for Bootstrap 3 <small>(0.1.0)</small></h1>
17+
<h1 class="page-header">Github theme for Bootstrap 3 <small>(0.2.0)</small></h1>
1818
<p class="lead">A theme for <a href="http://getbootstrap.com/">Bootstrap 3</a> by <b>slider</b></p>
1919
<div class="list-group">
2020
<a class="list-group-item" href="https://github.com/slider23/bootstrap-theme-github">View on GitHub</a>
@@ -25,8 +25,7 @@ <h1 class="page-header">Github theme for Bootstrap 3 <small>(0.1.0)</small></h1>
2525
<div class='panel text-left'>
2626
<div class="panel-heading">Installation Instructions</div>
2727
<div class="panel-body">
28-
<p>Download the <a href="dist/css/bootstrap.css" download>bootstrap.css</a> or <a href="dist/css/bootstrap.min.css" download>bootstrap.min.css</a> files or install using Bower:</p>
29-
<pre>bower install bootstrap-theme-github</pre>
28+
<p>Download the <a href="dist/css/bootstrap.css" download>bootstrap.css</a> or <a href="dist/css/bootstrap.min.css" download>bootstrap.min.css</a> files.</p>
3029
</div>
3130
</div>
3231

Diff for: package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "themestrap",
3-
"version": "0.3.0",
2+
"name": "bootstrap-theme-github",
3+
"version": "0.2.0",
44
"devDependencies": {
55
"grunt": "~0.4.1",
66
"grunt-contrib-less": "~0.6.4",

0 commit comments

Comments
 (0)