Skip to content

Commit c2d2b65

Browse files
committed
general rules for websites
1 parent 7f54f54 commit c2d2b65

File tree

1 file changed

+89
-0
lines changed

1 file changed

+89
-0
lines changed

default.scss

Lines changed: 89 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
@import "/home/kip/.cache/wal/colors.scss";
2+
3+
// check "INFO" tags in file when applying to colorcheme
4+
// It's filter adjasment most of time (like hue rotate)
5+
// check "FUNNY" tags for things I can't understand (you might let me know how
6+
// why it's done so)
7+
8+
$main-background-color: $color0;
9+
$background-dark: darken($main-background-color, 5%);
10+
/* used to separate sections from each other (like borders) */
11+
$background-light: lighten($main-background-color, 18%);
12+
13+
$light: $color15;
14+
$grey: lighten($color8, 00%);
15+
16+
// in this file will be use as MAIN COLOR
17+
$link-color: $color2;
18+
19+
$stress1: $color1; /* current opened tab in repository */
20+
$stress2: $color9; /* hi last commiter name */
21+
$stress3: $color12;
22+
$stress4: $color2;
23+
$stress5: $color10;
24+
$stress_sec1: darken($stress1, 35%);
25+
$stress_sec2: darken($stress2, 35%);
26+
$stress_sec3: darken($stress3, 35%);
27+
$stress_sec4: darken($stress4, 35%);
28+
$stress_sec5: darken($stress5, 35%);
29+
30+
/* color when you need to emphasize some section (neighter it's button
31+
* or heading to something */
32+
// $section-emph-border: lighten($color1, 5%);
33+
$section-emph-border: lighten($color11, 0%);
34+
$section-emph-background: darken($color11, 55%);
35+
36+
$button-emph-background: darken($stress3, 35%);
37+
$button-emph-border: $stress3;
38+
39+
$sel-background: darken($color8, 25%);
40+
41+
$button-border-hover: #8d969e;
42+
43+
$debug: #7a5178;
44+
45+
body
46+
{
47+
background: $main-background-color !important;
48+
color: $light !important;
49+
// usually header
50+
h1,h2,h3,h4,h5,h6
51+
{
52+
color: $light !important;
53+
}
54+
// usually code
55+
pre
56+
{
57+
background: $background-dark !important;
58+
}
59+
// emphasized text
60+
strong, em
61+
{
62+
color: lighten($light, 5%) !important;
63+
}
64+
}
65+
// usually bottom of page
66+
footer
67+
{
68+
p
69+
{
70+
color: $grey !important;
71+
}
72+
}
73+
a
74+
{
75+
text-decoration: none !important;
76+
&:link
77+
{
78+
color: $stress2 !important;
79+
}
80+
&:hover,
81+
&:active
82+
{
83+
color: lighten($stress2,10%) !important;
84+
}
85+
&:visited
86+
{
87+
color: $link-color !important;
88+
}
89+
}

0 commit comments

Comments
 (0)