scratchblocks
Version:
Make pictures of Scratch blocks from text.
127 lines (118 loc) • 1.71 kB
JavaScript
// Processed by Rollup
export default `
.sb-label {
font-family: Lucida Grande, Verdana, Arial, DejaVu Sans, sans-serif;
font-weight: bold;
fill: #fff;
font-size: 10px;
word-spacing: +1px;
}
.sb-obsolete {
fill: #d42828;
}
.sb-motion {
fill: #4a6cd4;
}
.sb-looks {
fill: #8a55d7;
}
.sb-sound {
fill: #bb42c3;
}
.sb-pen {
fill: #0e9a6c;
}
.sb-events {
fill: #c88330;
}
.sb-control {
fill: #e1a91a;
}
.sb-sensing {
fill: #2ca5e2;
}
.sb-operators {
fill: #5cb712;
}
.sb-variables {
fill: #ee7d16;
}
.sb-list {
fill: #cc5b22;
}
.sb-custom {
fill: #632d99;
}
.sb-custom-arg {
fill: #5947b1;
}
.sb-extension {
fill: #4b4a60;
}
.sb-grey {
fill: #969696;
}
.sb-bevel {
filter: url(#bevelFilter);
}
.sb-input {
filter: url(#inputBevelFilter);
}
.sb-input-number,
.sb-input-string,
.sb-input-number-dropdown {
fill: #fff;
}
.sb-literal-number,
.sb-literal-string,
.sb-literal-number-dropdown,
.sb-literal-dropdown {
font-weight: normal;
font-size: 9px;
word-spacing: 0;
}
.sb-literal-number,
.sb-literal-string,
.sb-literal-number-dropdown {
fill: #000;
}
.sb-darker {
filter: url(#inputDarkFilter);
}
.sb-outline {
stroke: #fff;
stroke-opacity: 0.2;
stroke-width: 2;
fill: none;
}
.sb-define-hat-cap {
stroke: #632d99;
stroke-width: 1;
fill: #8e2ec2;
}
.sb-comment {
fill: #ffffa5;
stroke: #d0d1d2;
stroke-width: 1;
}
.sb-comment-line {
fill: #ffff80;
}
.sb-comment-label {
font-family: Helvetica, Arial, DejaVu Sans, sans-serif;
font-weight: bold;
fill: #5c5d5f;
word-spacing: 0;
font-size: 12px;
}
.sb-diff {
fill: none;
stroke: #000;
}
.sb-diff-ins {
stroke-width: 2px;
}
.sb-diff-del {
stroke-width: 3px;
}
`