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
15e7bbee
Commit
15e7bbee
authored
12 years ago
by
Irakli Gozalishvili
Committed by
Marijn Haverbeke
12 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Port solarized theme to code-mirror.
parent
94f2b6fc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
demo/theme.html
+5
-1
5 additions, 1 deletion
demo/theme.html
theme/solarized.css
+207
-0
207 additions, 0 deletions
theme/solarized.css
with
212 additions
and
1 deletion
demo/theme.html
+
5
−
1
View file @
15e7bbee
...
...
@@ -18,6 +18,7 @@
<link
rel=
"stylesheet"
href=
"../theme/ambiance.css"
>
<link
rel=
"stylesheet"
href=
"../theme/blackboard.css"
>
<link
rel=
"stylesheet"
href=
"../theme/vibrant-ink.css"
>
<link
rel=
"stylesheet"
href=
"../theme/solarized.css"
>
<script
src=
"../mode/javascript/javascript.js"
></script>
<link
rel=
"stylesheet"
href=
"../doc/docs.css"
>
...
...
@@ -55,6 +56,8 @@ function findSequence(goal) {
<option>
neat
</option>
<option>
night
</option>
<option>
rubyblue
</option>
<option>
solarized dark
</option>
<option>
solarized light
</option>
<option>
vibrant-ink
</option>
<option>
xq-dark
</option>
</select>
...
...
@@ -69,7 +72,8 @@ function findSequence(goal) {
var
theme
=
input
.
options
[
input
.
selectedIndex
].
innerHTML
;
editor
.
setOption
(
"
theme
"
,
theme
);
}
var
choice
=
document
.
location
.
search
&&
document
.
location
.
search
.
slice
(
1
);
var
choice
=
document
.
location
.
search
&&
decodeURIComponent
(
document
.
location
.
search
.
slice
(
1
));
if
(
choice
)
{
input
.
value
=
choice
;
editor
.
setOption
(
"
theme
"
,
choice
);
...
...
This diff is collapsed.
Click to expand it.
theme/solarized.css
0 → 100644
+
207
−
0
View file @
15e7bbee
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