1
0
Fork 0

chore(plugin-title): Avoid style import

This commit is contained in:
Joost De Cock 2022-07-15 11:58:10 +02:00
parent 81293ad7d1
commit b62a63d09d
5 changed files with 22 additions and 29 deletions

View file

@ -1,6 +1,27 @@
import style from './lib/style'
import pkg from '../package.json'
const style = `
text.title-nr {
font-size: 24pt;
font-weight: 700;
text-anchor: middle;
dominant-baseline: reset-size;
}
text.title-name {
font-size: 7pt;
font-weight: 500;
text-anchor: middle;
dominant-baseline: reset-size;
}
text.title-pattern {
font-size: 4pt;
font-weight: 500;
dominant-baseline: reset-size;
text-anchor: middle;
font-style: italic;
}
`
export default {
name: pkg.name,
version: pkg.version,