Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Boxiang Sun
gitlab-ce
Commits
901f4399
Commit
901f4399
authored
Feb 23, 2017
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Moved color values into variables
parent
f5b59dcf
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
20 additions
and
15 deletions
+20
-15
app/assets/stylesheets/highlight/dark.scss
app/assets/stylesheets/highlight/dark.scss
+4
-3
app/assets/stylesheets/highlight/monokai.scss
app/assets/stylesheets/highlight/monokai.scss
+4
-3
app/assets/stylesheets/highlight/solarized_dark.scss
app/assets/stylesheets/highlight/solarized_dark.scss
+4
-3
app/assets/stylesheets/highlight/solarized_light.scss
app/assets/stylesheets/highlight/solarized_light.scss
+4
-3
app/assets/stylesheets/highlight/white.scss
app/assets/stylesheets/highlight/white.scss
+4
-3
No files found.
app/assets/stylesheets/highlight/dark.scss
View file @
901f4399
...
...
@@ -20,6 +20,7 @@ $dark-highlight-bg: #ffe792;
$dark-highlight-color
:
$black
;
$dark-pre-hll-bg
:
#373b41
;
$dark-hll-bg
:
#373b41
;
$dark-over-bg
:
#ded7fc
;
$dark-c
:
#969896
;
$dark-err
:
#c66
;
$dark-k
:
#b294bb
;
...
...
@@ -141,11 +142,11 @@ $dark-il: #de935f;
.diff-line-num
{
&
.is-over
{
background-color
:
#ded7fc
;
border-color
:
darken
(
#ded7fc
,
5%
);
background-color
:
$dark-over-bg
;
border-color
:
darken
(
$dark-over-bg
,
5%
);
a
{
color
:
darken
(
#ded7fc
,
15%
);
color
:
darken
(
$dark-over-bg
,
15%
);
}
}
}
...
...
app/assets/stylesheets/highlight/monokai.scss
View file @
901f4399
...
...
@@ -13,6 +13,7 @@ $monokai-line-empty-bg: #49483e;
$monokai-line-empty-border
:
darken
(
$monokai-line-empty-bg
,
15%
);
$monokai-diff-border
:
#808080
;
$monokai-highlight-bg
:
#ffe792
;
$monokai-over-bg
:
#9f9ab5
;
$monokai-new-bg
:
rgba
(
166
,
226
,
46
,
0
.1
);
$monokai-new-idiff
:
rgba
(
166
,
226
,
46
,
0
.15
);
...
...
@@ -141,11 +142,11 @@ $monokai-gi: #a6e22e;
.diff-line-num
{
&
.is-over
{
background-color
:
#9f9ab5
;
border-color
:
darken
(
#9f9ab5
,
5%
);
background-color
:
$monokai-over-bg
;
border-color
:
darken
(
$monokai-over-bg
,
5%
);
a
{
color
:
darken
(
#9f9ab5
,
15%
);
color
:
darken
(
$monokai-over-bg
,
15%
);
}
}
}
...
...
app/assets/stylesheets/highlight/solarized_dark.scss
View file @
901f4399
...
...
@@ -17,6 +17,7 @@ $solarized-dark-line-color-new: #5a766c;
$solarized-dark-line-color-old
:
#7a6c71
;
$solarized-dark-highlight
:
#094554
;
$solarized-dark-hll-bg
:
#174652
;
$solarized-dark-over-bg
:
#9f9ab5
;
$solarized-dark-c
:
#586e75
;
$solarized-dark-err
:
#93a1a1
;
$solarized-dark-g
:
#93a1a1
;
...
...
@@ -145,11 +146,11 @@ $solarized-dark-il: #2aa198;
.diff-line-num
{
&
.is-over
{
background-color
:
#9f9ab5
;
border-color
:
darken
(
#9f9ab5
,
5%
);
background-color
:
$solarized-dark-over-bg
;
border-color
:
darken
(
$solarized-dark-over-bg
,
5%
);
a
{
color
:
darken
(
#9f9ab5
,
15%
);
color
:
darken
(
$solarized-dark-over-bg
,
15%
);
}
}
}
...
...
app/assets/stylesheets/highlight/solarized_light.scss
View file @
901f4399
...
...
@@ -18,6 +18,7 @@ $solarized-light-line-color-new: #a1a080;
$solarized-light-line-color-old
:
#ad9186
;
$solarized-light-highlight
:
#eee8d5
;
$solarized-light-hll-bg
:
#ddd8c5
;
$solarized-light-over-bg
:
#ded7fc
;
$solarized-light-c
:
#93a1a1
;
$solarized-light-err
:
#586e75
;
$solarized-light-g
:
#586e75
;
...
...
@@ -152,11 +153,11 @@ $solarized-light-il: #2aa198;
.diff-line-num
{
&
.is-over
{
background-color
:
#ded7fc
;
border-color
:
darken
(
#ded7fc
,
5%
);
background-color
:
$solarized-light-over-bg
;
border-color
:
darken
(
$solarized-light-over-bg
,
5%
);
a
{
color
:
darken
(
#ded7fc
,
15%
);
color
:
darken
(
$solarized-light-over-bg
,
15%
);
}
}
}
...
...
app/assets/stylesheets/highlight/white.scss
View file @
901f4399
...
...
@@ -7,6 +7,7 @@ $white-code-color: $gl-text-color;
$white-highlight
:
#fafe3d
;
$white-pre-hll-bg
:
#f8eec7
;
$white-hll-bg
:
#f8f8f8
;
$white-over-bg
:
#ded7fc
;
$white-c
:
#998
;
$white-err
:
#a61717
;
$white-err-bg
:
#e3d2d2
;
...
...
@@ -124,11 +125,11 @@ $white-gc-bg: #eaf2f5;
}
&
.is-over
{
background-color
:
#ded7fc
;
border-color
:
darken
(
#ded7fc
,
5%
);
background-color
:
$white-over-bg
;
border-color
:
darken
(
$white-over-bg
,
5%
);
a
{
color
:
darken
(
#ded7fc
,
15%
);
color
:
darken
(
$white-over-bg
,
15%
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment