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
Léo-Paul Géneau
gitlab-ce
Commits
d7f2a656
Commit
d7f2a656
authored
Oct 14, 2015
by
Robert Speicher
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update highlight themes so they always have the correct colors
parent
386b13d6
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
26 additions
and
34 deletions
+26
-34
app/assets/stylesheets/highlight/dark.scss
app/assets/stylesheets/highlight/dark.scss
+5
-6
app/assets/stylesheets/highlight/monokai.scss
app/assets/stylesheets/highlight/monokai.scss
+6
-7
app/assets/stylesheets/highlight/solarized_dark.scss
app/assets/stylesheets/highlight/solarized_dark.scss
+4
-5
app/assets/stylesheets/highlight/solarized_light.scss
app/assets/stylesheets/highlight/solarized_light.scss
+4
-5
app/assets/stylesheets/highlight/white.scss
app/assets/stylesheets/highlight/white.scss
+7
-11
No files found.
app/assets/stylesheets/highlight/dark.scss
View file @
d7f2a656
/* https://github.com/MozMorris/tomorrow-pygments */
/* https://github.com/MozMorris/tomorrow-pygments */
pre
.code.highlight.dark
,
.code.dark
{
.code.dark
{
background-color
:
#1d1f21
;
background-color
:
#1d1f21
!
important
;
color
:
#c5c8c6
;
color
:
#c5c8c6
!
important
;
pre
.
code
,
pre
.
highlight
,
.line-numbers
,
.line-numbers
,
.line-numbers
a
{
.line-numbers
a
{
background-color
:
#1d1f21
!
important
;
background-color
:
#1d1f21
!
important
;
...
@@ -23,8 +22,8 @@ pre.code.highlight.dark,
...
@@ -23,8 +22,8 @@ pre.code.highlight.dark,
// Search result highlight
// Search result highlight
span
.highlight_word
{
span
.highlight_word
{
background
:
#ffe792
;
background
-color
:
#ffe792
!
important
;
color
:
#000000
;
color
:
#000000
!
important
;
}
}
.hll
{
background-color
:
#373b41
}
.hll
{
background-color
:
#373b41
}
...
...
app/assets/stylesheets/highlight/monokai.scss
View file @
d7f2a656
/* https://github.com/richleland/pygments-css/blob/master/monokai.css */
/* https://github.com/richleland/pygments-css/blob/master/monokai.css */
pre
.code.monokai
,
.code.monokai
{
.code.monokai
{
background
:
#272822
;
background
-color
:
#272822
!
important
;
color
:
#f8f8f2
;
color
:
#f8f8f2
!
important
;
pre
.highlight
,
pre
.highlight
,
.line-numbers
,
.line-numbers
,
.line-numbers
a
{
.line-numbers
a
{
background
:
#272822
!
important
;
background
-color
:
#272822
!
important
;
color
:
#f8f8f2
!
important
;
color
:
#f8f8f2
!
important
;
}
}
pre
.code
{
pre
.code
{
...
@@ -23,8 +22,8 @@ pre.code.monokai,
...
@@ -23,8 +22,8 @@ pre.code.monokai,
// Search result highlight
// Search result highlight
span
.highlight_word
{
span
.highlight_word
{
background
:
#ffe792
;
background
-color
:
#ffe792
!
important
;
color
:
#000000
;
color
:
#000000
!
important
;
}
}
.hll
{
background-color
:
#49483e
}
.hll
{
background-color
:
#49483e
}
...
...
app/assets/stylesheets/highlight/solarized_dark.scss
View file @
d7f2a656
/* https://gist.github.com/qguv/7936275 */
/* https://gist.github.com/qguv/7936275 */
pre
.code.highlight.solarized-dark
,
.code.solarized-dark
{
.code.solarized-dark
{
background-color
:
#002b36
;
background-color
:
#002b36
!
important
;
color
:
#93a1a1
;
color
:
#93a1a1
!
important
;
pre
.
code
,
pre
.
highlight
,
.line-numbers
,
.line-numbers
,
.line-numbers
a
{
.line-numbers
a
{
background-color
:
#002b36
!
important
;
background-color
:
#002b36
!
important
;
...
@@ -23,7 +22,7 @@ pre.code.highlight.solarized-dark,
...
@@ -23,7 +22,7 @@ pre.code.highlight.solarized-dark,
// Search result highlight
// Search result highlight
span
.highlight_word
{
span
.highlight_word
{
background
:
#094554
;
background
-color
:
#094554
!
important
;
}
}
/* Solarized Dark
/* Solarized Dark
...
...
app/assets/stylesheets/highlight/solarized_light.scss
View file @
d7f2a656
/* https://gist.github.com/qguv/7936275 */
/* https://gist.github.com/qguv/7936275 */
pre
.code.highlight.solarized-light
,
.code.solarized-light
{
.code.solarized-light
{
background-color
:
#fdf6e3
;
background-color
:
#fdf6e3
!
important
;
color
:
#586e75
;
color
:
#586e75
!
important
;
pre
.
code
,
pre
.
highlight
,
.line-numbers
,
.line-numbers
,
.line-numbers
a
{
.line-numbers
a
{
background-color
:
#fdf6e3
!
important
;
background-color
:
#fdf6e3
!
important
;
...
@@ -23,7 +22,7 @@ pre.code.highlight.solarized-light,
...
@@ -23,7 +22,7 @@ pre.code.highlight.solarized-light,
// Search result highlight
// Search result highlight
span
.highlight_word
{
span
.highlight_word
{
background
:
#eee8d5
;
background
-color
:
#eee8d5
!
important
;
}
}
/* Solarized Light
/* Solarized Light
...
...
app/assets/stylesheets/highlight/white.scss
View file @
d7f2a656
/* https://github.com/aahan/pygments-github-style */
/* https://github.com/aahan/pygments-github-style */
pre
.code.highlight.white
,
.code.white
{
.code.white
{
background-color
:
#f8fafc
;
font-size
:
13px
;
color
:
#5b6169
;
line-height
:
1
.6em
;
background-color
:
#f8fafc
!
important
;
color
:
#5b6169
!
important
;
pre
.highlight
,
.line-numbers
,
.line-numbers
,
.line-numbers
a
{
.line-numbers
a
{
background-color
:
$background-color
!
important
;
background-color
:
$background-color
!
important
;
color
:
$gl-gray
!
important
;
color
:
$gl-gray
!
important
;
}
}
pre
.highlight
{
background-color
:
#fff
!
important
;
color
:
#333
!
important
;
}
pre
.code
{
pre
.code
{
border-left
:
1px
solid
$border-color
;
border-left
:
1px
solid
$border-color
;
background-color
:
#fff
!
important
;
color
:
#333
!
important
;
}
}
// highlight line via anchor
// highlight line via anchor
...
@@ -28,7 +24,7 @@ pre.code.highlight.white,
...
@@ -28,7 +24,7 @@ pre.code.highlight.white,
// Search result highlight
// Search result highlight
span
.highlight_word
{
span
.highlight_word
{
background
:
#fafe3d
;
background
-color
:
#fafe3d
!
important
;
}
}
.hll
{
background-color
:
#f8f8f8
}
.hll
{
background-color
:
#f8f8f8
}
...
...
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