mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-15 10:58:31 -05:00
Refresh master with initial release/0.24 snapshot (#332)
* Initial port of release/0.24 source code * Fix additional headers * Fix a typo in launch.json
This commit is contained in:
@@ -124,22 +124,4 @@ platform.Registry.add(Extensions.ThemingContribution, themingRegistry);
|
||||
|
||||
export function registerThemingParticipant(participant: IThemingParticipant): IDisposable {
|
||||
return themingRegistry.onThemeChange(participant);
|
||||
}
|
||||
|
||||
/**
|
||||
* Tag function for strings containing css rules
|
||||
*/
|
||||
export function cssRule(literals, ...placeholders) {
|
||||
let result = '';
|
||||
for (let i = 0; i < placeholders.length; i++) {
|
||||
result += literals[i];
|
||||
let placeholder = placeholders[i];
|
||||
if (placeholder === null) {
|
||||
result += 'transparent';
|
||||
} else {
|
||||
result += placeholder.toString();
|
||||
}
|
||||
}
|
||||
result += literals[literals.length - 1];
|
||||
return result;
|
||||
}
|
||||
Reference in New Issue
Block a user