1
0
mirror of https://github.com/Jermolene/TiddlyWiki5 synced 2025-03-27 05:46:55 +00:00

Added custom Twitter Bootstrap theme

This commit is contained in:
Jeremy Ruston 2012-06-24 13:15:00 +01:00
parent f30a7cc61d
commit 6b03b610e2
6 changed files with 36 additions and 13 deletions

View File

@ -1,11 +0,0 @@
{
"tiddlers": [
{
"file": "bootstrap.min.css",
"fields": {
"title": "$:/core/lib/bootstrap.min.css",
"type": "text/css"
}
}
]
}

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1,11 @@
{
"tiddlers": [
{
"file": "tiddlywiki.css",
"fields": {
"title": "$:/core/lib/tiddlywiki.css",
"type": "text/css"
}
}
]
}

View File

@ -18,7 +18,7 @@ title: $:/templates/PageTemplate
* [[Docs]]
*{{divider-vertical}}
{{btn btn-info{
{{btn btn-danger{
<<button popup:ViewDropDownState><View <span class="caret"></span>>>
}}}

14
cssbuild/tiddlywiki.less Normal file
View File

@ -0,0 +1,14 @@
// TiddlyWiki
// CSS Overrides for Twitter Bootstrap
// Base Twitter Bootstrap
@import "twitter-bootstrap/less/bootstrap.less";
// TiddlyWiki Overrides
@navbarBackground: darken(@navbarBackgroundHighlight, 15%);
@navbarBackgroundHighlight: @btnDangerBackgroundHighlight;
@navbarText: @white;
@navbarLinkColor: @grayLighter;

9
makecss.sh Executable file
View File

@ -0,0 +1,9 @@
#!/bin/bash
# Build TiddlyWiki's CSS from source
recess --compile --compress ./cssbuild/tiddlywiki.less > ./core/styles/tiddlywiki.css
# Call bld.sh to build TiddlyWiki
./bld.sh