Adding user styles to theme files
This commit is contained in:
parent
f6f4dda67f
commit
0a28309db5
5 changed files with 29 additions and 13 deletions
|
|
@ -188,6 +188,11 @@ color:#BC9458;\
|
||||||
\
|
\
|
||||||
.ace-idle-fingers .ace_xml_pe {\
|
.ace-idle-fingers .ace_xml_pe {\
|
||||||
\
|
\
|
||||||
|
}\
|
||||||
|
\
|
||||||
|
.ace-idle-fingers .ace_collab.ace_user1 {\
|
||||||
|
color:#323232;\
|
||||||
|
background-color:#FFF980; \
|
||||||
}";
|
}";
|
||||||
|
|
||||||
// import CSS once
|
// import CSS once
|
||||||
|
|
|
||||||
|
|
@ -64,9 +64,8 @@ define(function(require, exports, module) {
|
||||||
}\
|
}\
|
||||||
\
|
\
|
||||||
.ace-twilight .ace_print_margin {\
|
.ace-twilight .ace_print_margin {\
|
||||||
border-left: 1px solid #3C3C3C;\
|
width: 1px;\
|
||||||
width: 100%;\
|
background: #e8e8e8;\
|
||||||
background: #242424;\
|
|
||||||
}\
|
}\
|
||||||
\
|
\
|
||||||
.ace-twilight .ace_scroller {\
|
.ace-twilight .ace_scroller {\
|
||||||
|
|
@ -85,13 +84,6 @@ define(function(require, exports, module) {
|
||||||
.ace-twilight .ace_cursor.ace_overwrite {\
|
.ace-twilight .ace_cursor.ace_overwrite {\
|
||||||
border-left: 0px;\
|
border-left: 0px;\
|
||||||
border-bottom: 1px solid #A7A7A7;\
|
border-bottom: 1px solid #A7A7A7;\
|
||||||
}\
|
|
||||||
.ace-twilight.normal-mode .ace_cursor.ace_overwrite {\
|
|
||||||
border: 1px solid #FFE300;\
|
|
||||||
background: #766B13;\
|
|
||||||
}\
|
|
||||||
.ace-twilight.normal-mode .ace_cursor-layer {\
|
|
||||||
z-index: 0;\
|
|
||||||
}\
|
}\
|
||||||
\
|
\
|
||||||
.ace-twilight .ace_marker-layer .ace_selection {\
|
.ace-twilight .ace_marker-layer .ace_selection {\
|
||||||
|
|
@ -204,4 +196,4 @@ color:#5F5A60;\
|
||||||
dom.importCssString(cssText);
|
dom.importCssString(cssText);
|
||||||
|
|
||||||
exports.cssClass = "ace-twilight";
|
exports.cssClass = "ace-twilight";
|
||||||
});
|
});
|
||||||
|
|
@ -145,4 +145,8 @@
|
||||||
|
|
||||||
.%cssClass% .ace_xml_pe {
|
.%cssClass% .ace_xml_pe {
|
||||||
%xml_pe%
|
%xml_pe%
|
||||||
|
}
|
||||||
|
|
||||||
|
.%cssClass% .ace_collab.ace_user1 {
|
||||||
|
%collab.user1%
|
||||||
}
|
}
|
||||||
|
|
@ -83,7 +83,9 @@ var supportedScopes = {
|
||||||
"variable": "variable",
|
"variable": "variable",
|
||||||
"variable.language": "variable.language",
|
"variable.language": "variable.language",
|
||||||
|
|
||||||
"meta.tag.sgml.doctype": "xml_pe"
|
"meta.tag.sgml.doctype": "xml_pe",
|
||||||
|
|
||||||
|
"collab.user1": "collab.user1"
|
||||||
};
|
};
|
||||||
|
|
||||||
function extractStyles(theme) {
|
function extractStyles(theme) {
|
||||||
|
|
@ -116,7 +118,7 @@ function extractStyles(theme) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
return colors;
|
return colors;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -373,6 +373,19 @@
|
||||||
<string>#FFFFFF</string>
|
<string>#FFFFFF</string>
|
||||||
</dict>
|
</dict>
|
||||||
</dict>
|
</dict>
|
||||||
|
<dict>
|
||||||
|
<key>name</key>
|
||||||
|
<string>User1</string>
|
||||||
|
<key>scope</key>
|
||||||
|
<string>collab.user1</string>
|
||||||
|
<key>settings</key>
|
||||||
|
<dict>
|
||||||
|
<key>background</key>
|
||||||
|
<string>#FFF980</string>
|
||||||
|
<key>foreground</key>
|
||||||
|
<string>#323232</string>
|
||||||
|
</dict>
|
||||||
|
</dict>
|
||||||
</array>
|
</array>
|
||||||
<key>uuid</key>
|
<key>uuid</key>
|
||||||
<string>95BEF169-A2E5-4041-A84A-AAFC1DD61558</string>
|
<string>95BEF169-A2E5-4041-A84A-AAFC1DD61558</string>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue