Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
CodeMirror
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Moritz Aurel Pascal Schubotz
CodeMirror
Commits
658f9a07
Commit
658f9a07
authored
8 years ago
by
atelierbram
Committed by
Marijn Haverbeke
8 years ago
Browse files
Options
Downloads
Patches
Plain Diff
[duotone themes] Add
parent
944ff929
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
demo/theme.html
+4
-0
4 additions, 0 deletions
demo/theme.html
theme/duotone-dark.css
+35
-0
35 additions, 0 deletions
theme/duotone-dark.css
theme/duotone-light.css
+36
-0
36 additions, 0 deletions
theme/duotone-light.css
with
75 additions
and
0 deletions
demo/theme.html
+
4
−
0
View file @
658f9a07
...
...
@@ -16,6 +16,8 @@
<link
rel=
"stylesheet"
href=
"../theme/cobalt.css"
>
<link
rel=
"stylesheet"
href=
"../theme/colorforth.css"
>
<link
rel=
"stylesheet"
href=
"../theme/dracula.css"
>
<link
rel=
"stylesheet"
href=
"../theme/duotone-dark.css"
>
<link
rel=
"stylesheet"
href=
"../theme/duotone-light.css"
>
<link
rel=
"stylesheet"
href=
"../theme/eclipse.css"
>
<link
rel=
"stylesheet"
href=
"../theme/elegant.css"
>
<link
rel=
"stylesheet"
href=
"../theme/erlang-dark.css"
>
...
...
@@ -99,6 +101,8 @@ function findSequence(goal) {
<option>
cobalt
</option>
<option>
colorforth
</option>
<option>
dracula
</option>
<option>
duotone-dark
</option>
<option>
duotone-light
</option>
<option>
eclipse
</option>
<option>
elegant
</option>
<option>
erlang-dark
</option>
...
...
This diff is collapsed.
Click to expand it.
theme/duotone-dark.css
0 → 100644
+
35
−
0
View file @
658f9a07
/*
Name: DuoTone-Dark
Author: by Bram de Haan, adapted from DuoTone themes by Simurai (http://simurai.com/projects/2016/01/01/duotone-themes)
CodeMirror template by Jan T. Sott (https://github.com/idleberg), adapted by Bram de Haan (https://github.com/atelierbram/)
*/
.cm-s-duotone-dark.CodeMirror
{
background
:
#2a2734
;
color
:
#6c6783
;
}
.cm-s-duotone-dark
div
.CodeMirror-selected
{
background
:
#545167
!important
;
}
.cm-s-duotone-dark
.CodeMirror-gutters
{
background
:
#2a2734
;
border-right
:
0px
;
}
.cm-s-duotone-dark
.CodeMirror-linenumber
{
color
:
#545167
;
}
/* begin cursor */
.cm-s-duotone-dark
.CodeMirror-cursor
{
border-left
:
1px
solid
#ffad5c
;
/* border-left: 1px solid #ffad5c80; */
border-right
:
.5em
solid
#ffad5c
;
/* border-right: .5em solid #ffad5c80; */
opacity
:
.5
;
}
.cm-s-duotone-dark
.CodeMirror-activeline-background
{
background
:
#363342
;
/* background: #36334280; */
opacity
:
.5
;}
.cm-s-duotone-dark
.cm-fat-cursor
.CodeMirror-cursor
{
background
:
#ffad5c
;
/* background: #ffad5c80; */
opacity
:
.5
;}
/* end cursor */
.cm-s-duotone-dark
span
.cm-atom
,
.cm-s-duotone-dark
span
.cm-number
,
.cm-s-duotone-dark
span
.cm-keyword
,
.cm-s-duotone-dark
span
.cm-variable
,
.cm-s-duotone-dark
span
.cm-attribute
,
.cm-s-duotone-dark
span
.cm-quote
,
.cm-s-duotone-dark
span
.cm-hr
,
.cm-s-duotone-dark
span
.cm-link
{
color
:
#ffcc99
;
}
.cm-s-duotone-dark
span
.cm-property
{
color
:
#9a86fd
;
}
.cm-s-duotone-dark
span
.cm-punctuation
,
.cm-s-duotone-dark
span
.cm-unit
,
.cm-s-duotone-dark
span
.cm-negative
{
color
:
#e09142
;
}
.cm-s-duotone-dark
span
.cm-string
{
color
:
#ffb870
;
}
.cm-s-duotone-dark
span
.cm-operator
{
color
:
#ffad5c
;
}
.cm-s-duotone-dark
span
.cm-positive
{
color
:
#6a51e6
;
}
.cm-s-duotone-dark
span
.cm-variable-2
,
.cm-s-duotone-dark
span
.cm-variable-3
,
.cm-s-duotone-dark
span
.cm-string-2
,
.cm-s-duotone-dark
span
.cm-url
{
color
:
#7a63ee
;
}
.cm-s-duotone-dark
span
.cm-def
,
.cm-s-duotone-dark
span
.cm-tag
,
.cm-s-duotone-dark
span
.cm-builtin
,
.cm-s-duotone-dark
span
.cm-qualifier
,
.cm-s-duotone-dark
span
.cm-header
,
.cm-s-duotone-dark
span
.cm-em
{
color
:
#eeebff
;
}
.cm-s-duotone-dark
span
.cm-bracket
,
.cm-s-duotone-dark
span
.cm-comment
{
color
:
#6c6783
;
}
/* using #f00 red for errors, don't think any of the colorscheme variables will stand out enough, ... maybe by giving it a background-color ... */
.cm-s-duotone-dark
span
.cm-error
,
.cm-s-duotone-dark
span
.cm-invalidchar
{
color
:
#f00
;
}
.cm-s-duotone-dark
span
.cm-header
{
font-weight
:
normal
;
}
.cm-s-duotone-dark
.CodeMirror-matchingbracket
{
text-decoration
:
underline
;
color
:
#eeebff
!important
;
}
This diff is collapsed.
Click to expand it.
theme/duotone-light.css
0 → 100644
+
36
−
0
View file @
658f9a07
/*
Name: DuoTone-Light
Author: by Bram de Haan, adapted from DuoTone themes by Simurai (http://simurai.com/projects/2016/01/01/duotone-themes)
CodeMirror template by Jan T. Sott (https://github.com/idleberg), adapted by Bram de Haan (https://github.com/atelierbram/)
*/
.cm-s-duotone-light.CodeMirror
{
background
:
#faf8f5
;
color
:
#b29762
;
}
.cm-s-duotone-light
div
.CodeMirror-selected
{
background
:
#e3dcce
!important
;
}
.cm-s-duotone-light
.CodeMirror-gutters
{
background
:
#faf8f5
;
border-right
:
0px
;
}
.cm-s-duotone-light
.CodeMirror-linenumber
{
color
:
#cdc4b1
;
}
/* begin cursor */
.cm-s-duotone-light
.CodeMirror-cursor
{
border-left
:
1px
solid
#93abdc
;
/* border-left: 1px solid #93abdc80; */
border-right
:
.5em
solid
#93abdc
;
/* border-right: .5em solid #93abdc80; */
opacity
:
.5
;
}
.cm-s-duotone-light
.CodeMirror-activeline-background
{
background
:
#e3dcce
;
/* background: #e3dcce80; */
opacity
:
.5
;
}
.cm-s-duotone-light
.cm-fat-cursor
.CodeMirror-cursor
{
background
:
#93abdc
;
/* #93abdc80; */
opacity
:
.5
;
}
/* end cursor */
.cm-s-duotone-light
span
.cm-atom
,
.cm-s-duotone-light
span
.cm-number
,
.cm-s-duotone-light
span
.cm-keyword
,
.cm-s-duotone-light
span
.cm-variable
,
.cm-s-duotone-light
span
.cm-attribute
,
.cm-s-duotone-light
span
.cm-quote
,
.cm-s-duotone-light-light
span
.cm-hr
,
.cm-s-duotone-light-light
span
.cm-link
{
color
:
#063289
;
}
.cm-s-duotone-light
span
.cm-property
{
color
:
#b29762
;
}
.cm-s-duotone-light
span
.cm-punctuation
,
.cm-s-duotone-light
span
.cm-unit
,
.cm-s-duotone-light
span
.cm-negative
{
color
:
#063289
;
}
.cm-s-duotone-light
span
.cm-string
,
.cm-s-duotone-light
span
.cm-operator
{
color
:
#1659df
;
}
.cm-s-duotone-light
span
.cm-positive
{
color
:
#896724
;
}
.cm-s-duotone-light
span
.cm-variable-2
,
.cm-s-duotone-light
span
.cm-variable-3
,
.cm-s-duotone-light
span
.cm-string-2
,
.cm-s-duotone-light
span
.cm-url
{
color
:
#896724
;
}
.cm-s-duotone-light
span
.cm-def
,
.cm-s-duotone-light
span
.cm-tag
,
.cm-s-duotone-light
span
.cm-builtin
,
.cm-s-duotone-light
span
.cm-qualifier
,
.cm-s-duotone-light
span
.cm-header
,
.cm-s-duotone-light
span
.cm-em
{
color
:
#2d2006
;
}
.cm-s-duotone-light
span
.cm-bracket
,
.cm-s-duotone-light
span
.cm-comment
{
color
:
#b6ad9a
;
}
/* using #f00 red for errors, don't think any of the colorscheme variables will stand out enough, ... maybe by giving it a background-color ... */
/* .cm-s-duotone-light span.cm-error { background: #896724; color: #728fcb; } */
.cm-s-duotone-light
span
.cm-error
,
.cm-s-duotone-light
span
.cm-invalidchar
{
color
:
#f00
;
}
.cm-s-duotone-light
span
.cm-header
{
font-weight
:
normal
;
}
.cm-s-duotone-light
.CodeMirror-matchingbracket
{
text-decoration
:
underline
;
color
:
#faf8f5
!important
;
}
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment