-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcolors.html
273 lines (261 loc) · 10.1 KB
/
colors.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
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<link rel="shortcut icon" href="img/favicon.png" type="image/x-icon">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Tuxedo CSS - Colors</title>
<link rel="stylesheet" href="css/styles.css">
<script src="https://code.jquery.com/jquery-3.1.1.min.js" integrity="sha256-hVVnYaiADRTO2PzUGmuLJr8BLUSjGIZsDYGmIJLv2b8=" crossorigin="anonymous"></script>
<script src="js/tuxedo.js" charset="utf-8"></script>
</head>
<body>
<nav class="nav-dark fixed tablet-flex">
<header>
<a href="index.html"><img src="img/logo-thick-light.svg" alt="Tuxedo Logo"></a>
</header>
<ul class="mobile-nav flex-center">
<div class="hamburger"></div>
</ul>
<div class="flyout">
<div class="bar">
<header class="f-col-4">
<a href="index.html"><img src="img/logo-thick-light.svg" alt="Tuxedo Logo">
</a>
</header>
<div class="close f-col-1"></div>
</div>
<ul class="flyout-menu">
<li><a href="start.html">Getting Started</a></li>
<li class="fly-dropdown">Docs +
<ul class="dropdown-menu">
<li><a href="animations.html">Animations</a></li>
<li><a href="buttons.html">Buttons</a></li>
<li><a href="colors.html">Colors</a></li>
<li><a href="fonts.html">Fonts</a></li>
<li><a href="footers.html">Footers</a></li>
<li><a href="forms.html">Forms</a></li>
<li><a href="grid.html">Grid</a></li>
<li><a href="helpers.html">Helpers</a></li>
<li><a href="hero.html">Hero</a></li>
<li><a href="nav.html">Nav</a></li>
<li><a href="sidebar.html">Sidebar</a></li>
<li><a href="threejs.html">Three.js</a></li>
</ul>
</li>
<li><a href="about.html">About</a></li>
</ul>
</div>
</nav>
<div class="side-bar bg-dark">
<head>
<a href="index.html"><img src="img/thin-logo-large.svg" alt="tuxedo logo"></a>
</head>
<ul class="underline-light">
<li><a href="start.html">Getting Started</a></li>
<li><a href="animations.html">Animations</a></li>
<li><a href="buttons.html">Buttons</a></li>
<li class="active"><a href="colors.html">Colors</a></li>
<li><a href="fonts.html">Fonts</a></li>
<li><a href="footers.html">Footers</a></li>
<li><a href="forms.html">Forms</a></li>
<li><a href="grid.html">Grid</a></li>
<li><a href="helpers.html">Helpers</a></li>
<li><a href="hero.html">Hero</a></li>
<li><a href="nav.html">Nav</a></li>
<li><a href="sidebar.html">Sidebar</a></li>
<li><a href="threejs.html">Three.js</a></li>
</ul>
<ul>
<li><a href="about.html">About</a></li>
</ul>
</div>
<div class="side-bar-content">
<h1 class="text-dark underline-dark">Colors</h1>
<p>
Choosing a color palette is an important step in any web design. Tuxedo makes it easy with several color palette options to get you started. Tuxedo's design scheme is based around a base dark color, light color, and pop of color. Then there are several greys in the middle. To change these colors to your own custom ones, simply follow the steps below.
</p>
<h3 class="text-dark">Creating color changes</h3>
<p>Tuxedo's <code>_global.scss</code> file contains all the variables that gives your webpage color. When you open the globals file you should see the following (for our current purposes we are going to ignore everything below the $color-pop variable):</p>
<div class="code">
<label>scss/_global.scss</label>
<br><br>
<xmp>
//change variables below to customize the tuxedo framework
//colors
$dark: #262525; //change global 'dark variable'
$light: #F4F4F4; //change global 'light variable'
$light-grey: #F4F4F4;
$md-grey: #C8C8C8;
$dark-grey: #5C5C5C;
$color-pop: #2A7F62; //change global 'color-pop'
(...)
</xmp>
</div>
<p>
If you've never used Sass before this might look a little mysterious so let's break it down. Sass allows you (the developer) to create variables that are implemented throughout your CSS. Variables are defined with a <code>$</code> preceeding them. Tuxedo's variable names are descriptive so you know exactly what you're changing. Now, wherever you see <code>$dark</code> throughout your SCSS files, you know that is actually a placeholder for the color #262525 (or whatever color you've replace it with). So when you want to change the dark color in your project, you only have to change it in the global file to see your changes reflected throughout your project.
</p>
<h3 class="text-dark">Color Palettes</h3>
<p>
Here are some color palettes we've put together to get your started.
</p>
<h4>Tuxedo Palette</h4>
<div class="code-example">
<div class="palette">
<div class="palette-color bg-dark"></div>
<div class="palette-color bg-dark-grey"></div>
<div class="palette-color bg-md-grey"></div>
<div class="palette-color bg-light"></div>
<div class="palette-color bg-pop"></div>
</div>
</div>
<div class="code">
<xmp>
$dark: #262525;
$dark-grey: #5c5c5c;
$md-grey: #c8c8c8;
$light: #f4f4f4;
$color-pop: #2A7F62;
</xmp>
</div>
<h4>Classy Palette</h4>
<div class="code-example">
<div class="palette">
<div style="background: #13212D" class="palette-color"></div>
<div style="background: #46494E" class="palette-color"></div>
<div style="background: #BEC2C6" class="palette-color"></div>
<div style="background: #F1F1F2" class="palette-color"></div>
<div style="background: #D3A447" class="palette-color"></div>
</div>
</div>
<div class="code">
<xmp>
$dark: #13212D;
$dark-grey: #46494E;
$md-grey: #BEC2C6;
$light: #F1F1F2;
$color-pop: #D3A447;
</xmp>
</div>
<h4>Rosy Hues Palette</h4>
<div class="code-example">
<div class="palette">
<div style="background: #302929" class="palette-color"></div>
<div style="background: #4C4444" class="palette-color"></div>
<div style="background: #A39B9B" class="palette-color"></div>
<div style="background: #F9F2F2" class="palette-color"></div>
<div style="background: #C63D52" class="palette-color"></div>
</div>
</div>
<div class="code">
<xmp>
$dark: #262525;
$dark-grey: #5c5c5c;
$md-grey: #c8c8c8;
$light: #f4f4f4;
$color-pop: #CE4257;
</xmp>
</div>
<h4>Deep Space Palette</h4>
<div class="code-example">
<div class="palette">
<div style="background: #272827" class="palette-color"></div>
<div style="background: #3C3F42" class="palette-color"></div>
<div style="background: #869293" class="palette-color"></div>
<div style="background: #E3E6E8" class="palette-color"></div>
<div style="background: #26596C" class="palette-color"></div>
</div>
</div>
<div class="code">
<xmp>
$dark: #272827;
$dark-grey: #3C3F42;
$md-grey: #869293;
$light: #E3E6E8;
$color-pop: #26596C;
</xmp>
</div>
<h4>Forest Palette</h4>
<div class="code-example">
<div class="palette">
<div style="background: #2E403B" class="palette-color"></div>
<div style="background: #5B5E5D" class="palette-color"></div>
<div style="background: #B1AEAF" class="palette-color"></div>
<div style="background: #E2E2E2" class="palette-color"></div>
<div style="background: #B3B49D" class="palette-color"></div>
</div>
</div>
<div class="code">
<xmp>
$dark: #2E403B;
$dark-grey: #5B5E5D;
$md-grey: #B1AEAF;
$light: #E2E2E2;
$color-pop: #B3B49D;
</xmp>
</div>
<h4>Designer Palette</h4>
<div class="code-example">
<div class="palette">
<div style="background: #2D3633" class="palette-color"></div>
<div style="background: #5D5E60" class="palette-color"></div>
<div style="background: #8D8D92" class="palette-color"></div>
<div style="background: #EAEAEA" class="palette-color"></div>
<div style="background: #DD6E42" class="palette-color"></div>
</div>
</div>
<div class="code">
<xmp>
$dark: #2D3633;
$dark-grey: #5D5E60;
$md-grey: #8D8D92;
$light: #EAEAEA;
$color-pop: #DD6E42;
</xmp>
</div>
<h4>Subtle Patriot Palette</h4>
<div class="code-example">
<div class="palette">
<div style="background: #262B2C" class="palette-color"></div>
<div style="background: #3F5356" class="palette-color"></div>
<div style="background: #96AAA6" class="palette-color"></div>
<div style="background: #F2F9F9" class="palette-color"></div>
<div style="background: #E74443" class="palette-color"></div>
</div>
</div>
<div class="code">
<xmp>
$dark: #262B2C;
$dark-grey: #3F5356;
$md-grey: #96AAA6;
$light: #F2F9F9;
$color-pop: #E74443;
</xmp>
</div>
<h4>Professor Plum Palette</h4>
<div class="code-example">
<div class="palette">
<div style="background: #312E33" class="palette-color"></div>
<div style="background: #454759" class="palette-color"></div>
<div style="background: #9594A3" class="palette-color"></div>
<div style="background: #EAE3E1" class="palette-color"></div>
<div style="background: #447266" class="palette-color"></div>
</div>
</div>
<div class="code">
<xmp>
$dark: #312E33;
$dark-grey: #454759;
$md-grey: #9594A3;
$light: #EAE3E1;
$color-pop: #447266;
</xmp>
</div>
</div>
<footer class="f-row responsive">
<small class="f-col-1 flex-center">2017 Erica Nafziger, All rights reserved.
</small>
<small class="f-col-1 flex-center">MIT License
</small>
</footer>
</body>
</html>