forked from ciembor/4bit
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
executable file
·170 lines (153 loc) · 7.64 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="author" content="Maciej Ciemborowicz" />
<title>4bit. Terminal Color Scheme Designer</title>
<meta name="description" content="This application
allows you to create custom theme for a Linux terminal
and export it to the .Xresources / .Xdefaults
configuration file (xterm, aterm, eterm, rxvt, urxvt),
*.colorscheme (konsole, yakuake) and *.itermcolors
(iTerm2 for Mac)"/>
<link href="css/merged.css?modified=20120923" rel="stylesheet" />
<style id="outline-fix"></style>
</head>
<body onmousedown="document.getElementById('outline-fix').innerHTML='a{outline:none}';" onkeydown="document.getElementById('outline-fix').innerHTML=''">
<div id="fb-root"></div>
<div class="wrapper">
<header>
<h1><a href="http://ciembor.github.com/4bit"><span class="blue">4</span><span class="cyan">b</span><span class="magenta">i</span><span class="red">t</span></a> Terminal Color Scheme Designer</h1>
<section id="skews">
<div id="social-media" class="skew">
<div class="inner">
<div id="fb-sux">
<div id="fb" class="fb-like" data-send="false" data-font="verdana" data-layout="button_count" data-width="0" data-colorscheme="light" data-show-faces="true"></div>
</div>
<div class="buttons">
<a href="https://twitter.com/share" class="twitter-share-button" data-count="none" data-via="ciembor">Tweet</a>
<div class="g-plusone" data-size="medium" data-annotation="none"></div>
</div>
</div>
</div>
<a href="#" id="get-scheme-button" class="skew"><span>Get Scheme</span></a>
</section>
</header>
<div class="distance"></div>
<div id="app" class="vertical-center">
<section id="display"></section>
<section id="controls">
<section id="global-properties">
<h2>Global Properties</h2>
<h3>Hue: </h3>
<div id="hue-slider"></div>
<h3>Saturation: </h3>
<div id="saturation-slider"></div>
</section>
<section id="lightness">
<h2>Lightness</h2>
<h3>Color: </h3>
<div id="lightness-slider"></div>
<h3>Black: </h3>
<div id="black-slider"></div>
<h3>White: </h3>
<div id="white-slider"></div>
</section>
<section id="advanced">
<h2>Advanced</h2>
<ul>
<li><a href="#dye">Dye</a></li>
<li><a href="#background">Background</a></li>
<li><a href="#foreground">Foreground</a></li>
</ul>
<div id="dye">
<input type="text" id="dye-colorpicker" />
<form class="radio-group" id="dye-radio">
<input id="dye-1" type="radio" name="dye" value="none" checked="checked" /><label for="dye-1">none</label>
<input id="dye-2" type="radio" name="dye" value="all" /><label for="dye-2">all</label>
<input id="dye-3" type="radio" name="dye" value="achromatic" /><label for="dye-3">achromatic</label>
<input id="dye-4" type="radio" name="dye" value="color" /><label for="dye-4">color</label>
</form>
</div>
<div id="background">
<input type="text" id="background-colorpicker" />
<form class="radio-group" id="background-radio">
<input id="bg-1" type="radio" name="background" value="custom" checked="checked" /><label for="bg-1">custom</label>
<input id="bg-2" type="radio" name="background" value="black" /><label for="bg-2">black</label>
<input id="bg-3" type="radio" name="background" value="bright_black" /><label for="bg-3">bright_black</label>
<input id="bg-4" type="radio" name="background" value="white" /><label for="bg-4">white</label>
<input id="bg-5" type="radio" name="background" value="bright_white" /><label for="bg-5">bright_white</label>
</form>
</div>
<div id="foreground">
<input type="text" id="foreground-colorpicker" />
<form class="radio-group">
<input id="fg-1" type="radio" name="foreground" value="custom" checked="checked" /><label for="fg-1">custom</label>
<input id="fg-2" type="radio" name="foreground" value="black" /><label for="fg-2">black</label>
<input id="fg-3" type="radio" name="foreground" value="bright_black" /><label for="fg-3">bright_black</label>
<input id="fg-4" type="radio" name="foreground" value="white" /><label for="fg-4">white</label>
<input id="fg-5" type="radio" name="foreground" value="bright_white" /><label for="fg-5">bright_white</label>
</form>
</div>
</section>
</section>
</div>
</div>
<footer id="footer">
<p class="left"><a href="http://github.com/ciembor/4bit" target="_blank"><img src="images/github.png" alt="" /> Fork 4bit on GitHub.</a></p>
<p class="right">Developed by <a href="http://ciemborowicz.pl" rel="me" target="_blank">Maciej Ciemborowicz</a> <a href="https://twitter.com/ciembor" class="twitter-follow-button" data-show-count="false" data-show-screen-name="false">follow</a> and <a href="https://github.com/ciembor/4bit#contributors" target="_blank">contributors</a> in 2012.</p>
</footer>
<div id="dialog-modal" title="Export scheme to the configuration file">
<ul>
<li>
<p>xterm / aterm / rxvt / urxvt <a href="#" target="_blank" id="xresources-button" class="get-scheme-link">.Xresources</a></p>
</li>
<li>
<p>gnome terminal <a href="#" target="_blank" id="gnome-terminal-button" class="get-scheme-link">shell</a>
</li>
<li>
<p>guake <a href="#" target="_blank" id="guake-button" class="get-scheme-link">shell</a>
</li>
<li>
<p>konsole / yakuake <a href="#" target="_blank" id="konsole-button" class="get-scheme-link">*.colorscheme</a>
</li>
<li>
<p>xfce4 terminal <a href="#" target="_blank" id="xfce-terminal-button" class="get-scheme-link">terminalrc</a>
</li>
<li>
<p>iTerm2 <a href="#" target="_blank" id="iterm2-button" class="get-scheme-link">*.itermcolors</a>
</li>
<li>
<p>mintty <a href="#" target="_blank" id="mintty-button" class="get-scheme-link">.minttyrc</a>
</li>
<li>
<p>putty <a href="#" target="_blank" id="putty-button" class="get-scheme-link">*.reg</a>
</li>
<li>
<p>terminator <a href="#" target="_blank" id="terminator-button" class="get-scheme-link">config</a>
</li>
<li>
<p>termite <a href="#" target="_blank" id="termite-button" class="get-scheme-link">config</a>
</li>
</ul>
</div>
<!-- JavaScript =========================================================================== -->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.0/jquery.min.js"></script>
<script>window.jQuery || document.write("<script src='lib/js/jquery-1.8.0.min.js'>\x3C/script>")</script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.3.3/underscore-min.js"></script>
<script>window._ || document.write("<script src='lib/js/underscore-min.js'>\x3C/script>")</script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/backbone.js/0.9.2/backbone-min.js"></script>
<script>window.Backbone || document.write("<script src='lib/js/backbone-min.js'>\x3C/script>")</script>
<script src="js/compiled.js?modified=20120923"></script>
<script>_4bit();</script>
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-48590213-1', 'ciembor.github.io');
ga('send', 'pageview');
</script>
<!-- End of JavaScript ==================================================================== -->
</body>
</html>