Skip to content

Commit

Permalink
feat: Add support to the references popup
Browse files Browse the repository at this point in the history
Closes #882
  • Loading branch information
equinusocio committed Jun 28, 2016
1 parent a403c56 commit 7208105
Show file tree
Hide file tree
Showing 8 changed files with 86 additions and 4 deletions.
20 changes: 20 additions & 0 deletions schemes/Material-Theme-Darker.YAML-tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@ settings:
selection: '#61616150'
selectionBorder: '#61616150'
shadow: '#00000010'
popupCss: "<![CDATA[
html {
background-color: #212121;
color: #eeffffff;
padding: 16px;
}
a {
color: #B2CCD6;
display: block;
}
.error, .deleted {
color: #FF5370;
}
.success, .inserted {
color: #C3E88D;
}
.warning, .modified {
color: #FFCB6B;
}
]]>"

# >> General

Expand Down
2 changes: 2 additions & 0 deletions schemes/Material-Theme-Darker.tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
<string>#65737e</string>
<key>lineHighlight</key>
<string>#00000050</string>
<key>popupCss</key>
<string><![CDATA[ html { background-color: #212121; color: #eeffffff; padding: 16px; } a { color: #B2CCD6; display: block; } .error, .deleted { color: #FF5370; } .success, .inserted { color: #C3E88D; } .warning, .modified { color: #FFCB6B; } ]]></string>
<key>selection</key>
<string>#61616150</string>
<key>selectionBorder</key>
Expand Down
20 changes: 20 additions & 0 deletions schemes/Material-Theme-Lighter.YAML-tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@ settings:
selection: '#80CBC440'
selectionBorder: '#80CBC440'
shadow: '#90A4AE50'
popupCss: "<![CDATA[
html {
background-color: #fafafa;
color: #80CBC4;
padding: 16px;
}
a {
color: #8796B0;
display: block;
}
.error, .deleted {
color: #E53935;
}
.success, .inserted {
color: #91B859;
}
.warning, .modified {
color: #FFC000;
}
]]>"

# >> General

Expand Down
2 changes: 2 additions & 0 deletions schemes/Material-Theme-Lighter.tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
<string>#E7EAEC</string>
<key>lineHighlight</key>
<string>#90A4AE20</string>
<key>popupCss</key>
<string><![CDATA[ html { background-color: #fafafa; color: #80CBC4; padding: 16px; } a { color: #8796B0; display: block; } .error, .deleted { color: #E53935; } .success, .inserted { color: #91B859; } .warning, .modified { color: #FFC000; } ]]></string>
<key>selection</key>
<string>#80CBC440</string>
<key>selectionBorder</key>
Expand Down
20 changes: 20 additions & 0 deletions schemes/Material-Theme.YAML-tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@ settings:
selection: '#80CBC420'
selectionBorder: '#80CBC420'
shadow: '#00000010'
popupCss: "<![CDATA[
html {
background-color: #263238;
color: #eeffff;
padding: 16px;
}
a {
color: #B2CCD6;
display: block;
}
.error, .deleted {
color: #FF5370;
}
.success, .inserted {
color: #C3E88D;
}
.warning, .modified {
color: #FFCB6B;
}
]]>"

# >> General

Expand Down
2 changes: 2 additions & 0 deletions schemes/Material-Theme.tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,8 @@
<string>#65737e</string>
<key>lineHighlight</key>
<string>#00000050</string>
<key>popupCss</key>
<string><![CDATA[ html { background-color: #263238; color: #eeffff; padding: 16px; } a { color: #B2CCD6; display: block; } .error, .deleted { color: #FF5370; } .success, .inserted { color: #C3E88D; } .warning, .modified { color: #FFCB6B; } ]]></string>
<key>selection</key>
<string>#80CBC420</string>
<key>selectionBorder</key>
Expand Down
20 changes: 20 additions & 0 deletions src/schemes/scheme.YAML-tmTheme
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,26 @@ settings:
selection: '<%= scheme.selection %>'
selectionBorder: '<%= scheme.selection %>'
shadow: '<%= scheme.shadow %>'
popupCss: "<![CDATA[
html {
background-color: <%= scheme.background %>;
color: <%= scheme.foreground %>;
padding: 16px;
}
a {
color: <%= scheme.base.paleblue %>;
display: block;
}
.error, .deleted {
color: <%= scheme.base.red %>;
}
.success, .inserted {
color: <%= scheme.base.green %>;
}
.warning, .modified {
color: <%= scheme.base.yellow %>;
}
]]>"

# >> General

Expand Down
4 changes: 0 additions & 4 deletions untitled.py

This file was deleted.

0 comments on commit 7208105

Please sign in to comment.