diff --git a/background.js b/background.js index 8dc3951709adc03c7e2a6567708868a0d8526b05..0b459177fa9be4c8821587dd5d36ca7f358d1a34 100644 --- a/background.js +++ b/background.js @@ -2,13 +2,13 @@ let css = `body { background-color: [couleur]; } h1, h2 { - opacity: 1; - // opacity: [opacité]; + /* opacity: 1; */ + opacity: [opacité]; font-family: [typo]; font-size: [chiffre2 20:100]px; color: rgb([chiffre 0:255],255,255); }`; -let parameters = `[[\" \",\"typo\",\"sans-serif;serif;cursive;fantasy\",\"r\",\"note:10\",\"onset:E\"],[\" \",\"chiffre\",\"0:1000\",\"i:100\",\"cc:60\",\"onset:D\"],[\" \",\"chiffre2\",\"0:200\",\"i:10\",\"cc:60\",\"onset:E\"],[\" \",\"couleur\",\"#000:#fff\",\"d\",\"cc:60\",\"loud\"],[\" \",\"opacité\",\"0:1\",\"d\",\"cc:1\",\"hi\"]]`; +let parameters = `[[\" \",\"typo\",\"sans-serif;serif;cursive;fantasy\",\"r\",\"note:10\",\"onset:E\"],[\" \",\"chiffre\",\"0:1000\",\"i:100\",\"cc:60\",\"onset:D\"],[\" \",\"chiffre2\",\"0:200\",\"d\",\"cc:60\",\"loud\"],[\" \",\"couleur\",\"#000:#fff\",\"r\",\"cc:60\",\"onset:E\"],[\" \",\"opacité\",\"0:1\",\"d\",\"cc:1\",\"hi\"]]`; let activate = false; let audioB = false; let midiB = false;