Closed depeele closed 6 years ago
Thanks!
I have renamed the utility functions to getThemeName()
and getThemePath
and I made other adjustments to make your changes consistent with the rest of the codebase.
BTW, if you add new files to the project or make substantial changes to existing files, please add yourself to the @copyright
header.
Add utils/theme.js : themePath(), themeName()
node_modules/xel/stylesheets/vanilla.theme.css
if no xel theme is included and the theme selectordocument.querySelector('link[href*=".theme.css"]')
returns null;xel-app.js
,xel-codeview.js
, andxel-demo.js
to avoid errors when no xel theme is included by default;