-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocumentation_styles_color.html
98 lines (85 loc) · 3.76 KB
/
documentation_styles_color.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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Documentation</title>
<link rel="stylesheet" href="css/normalize.css">
<link rel="stylesheet" href="css/lt-style.css">
</head>
<body class="lt-grid-container">
<header class="lt-col-1-6-desktop lt-row-1-1-desktop
lt-col-1-3-tablet lt-row-1-1-tablet
lt-col-1-1-mobile lt-row-1-1-mobile
lt-box-shadow">
<!-- main navigation -->
<nav class="lt-nav">
<ul class="lt-nav-ul">
<li class="lt-nav-li"><a href="index.html" class="lt-nav-a lt-link-transition">Home</a></li>
<li class="lt-nav-li"><a href="documentation.html" class="lt-nav-a lt-link-transition lt-nav-active-a">Documentation</a></li>
<li class="lt-nav-li"><a href="examples.html" class="lt-nav-a lt-link-transition">Examples</a></li>
</ul>
</nav>
</header>
<aside class="lt-col-1-1-desktop lt-row-2-5-desktop
lt-col-1-1-tablet lt-row-2-5-tablet
lt-col-1-1-mobile lt-row-2-2-mobile
lt-padding-left-small lt-padding-right-medium
lt-border-right-2
adjust-width">
<!-- side navigation -->
<nav class="lt-side-nav">
<ul class="lt-side-nav-ul">
<!-- Getting started -->
<li class="lt-margin-top-small">Getting started</li>
<li><a href="documentation_intro.html"
class="lt-side-nav-a lt-link-transition">Instalation</a></li>
<!-- Layout -->
<li class="lt-margin-top-small">Layout</li>
<li><a href="documentation_layout.html"
class="lt-side-nav-a lt-link-transition">Grid</a></li>
<!-- Components -->
<li class="lt-margin-top-small">Components</li>
<li><a href="documentation_components_nav.html"
class="lt-side-nav-a lt-link-transition">Navigation</a></li>
<li><a href="documentation_components_hero.html"
class="lt-side-nav-a lt-link-transition">Hero</a></li>
<li><a href="documentation_components_button.html"
class="lt-side-nav-a lt-link-transition">Button</a></li>
<!-- Styles -->
<li class="lt-margin-top-small">Styles</li>
<li><a href="documentation_styles_color.html"
class="lt-side-nav-a lt-link-transition lt-link-active">Colors</a></li>
<li><a href="documentation_styles_font.html"
class="lt-side-nav-a lt-link-transition">Fonts</a></li>
<li><a href="documentation_styles_breakpoints.html"
class="lt-side-nav-a lt-link-transition">Breakpoints</a></li>
</ul>
</nav>
</aside>
<main class="lt-col-2-6-desktop lt-row-2-5-desktop
lt-col-2-3-tablet lt-row-2-5-tablet
lt-col-1-1-mobile lt-row-3-5-mobile
lt-padding-left-small">
<!-- article -->
<article class="lt-card-main lt-margin-right-small">
<h1>Styles</h1>
<h2>Color</h2>
<p>Colors can be changed by overwriting Sass variables, stored in _varibles.scss</p>
<p>For example, if to change a value of $accent-color, $accent-color-alpha, $base-body-color, and $base-text-color variables, the website color scheme will change drastically. </p>
<img src="img/color.jpg" alt="sass color variables" class="lt-width-medium">
<div class="lt-card-secondary lt-margin-top-small lt-margin-bottom-medium">
<code>$base-body-color: rgba(200, 200, 200, 1);</code>
<code>$base-text-color: rgba(12, 12, 12, 1);</code>
<code>$accent-color: hsl(95, 84%, 78%);</code>
<code>$accent-color-alpha: hsla(195, 84%, 58%, 0.5);</code>
</div>
</article>
</main>
<footer class="lt-col-1-6-desktop lt-row-6-6-desktop
lt-col-1-3-tablet lt-row-6-6-tablet
lt-col-1-1-mobile lt-row-6-6-mobile
lt-text-right lt-padding-right-medium">
<p>© LightKit</p>
</footer>
</body>
</html>