Skip to content
Snippets Groups Projects
Commit ddbc4369 authored by Bekerle, Patrizio's avatar Bekerle, Patrizio :fire: Committed by Reiter, Christoph
Browse files

Remove Bulma dependency

parent dffa6d81
No related branches found
No related tags found
No related merge requests found
...@@ -26,7 +26,6 @@ ...@@ -26,7 +26,6 @@
"vpu-common": "file:./vendor/common" "vpu-common": "file:./vendor/common"
}, },
"dependencies": { "dependencies": {
"bulma": "^0.7.5",
"lit-element": "^2.1.0" "lit-element": "^2.1.0"
}, },
"scripts": { "scripts": {
......
import {i18n} from './i18n'; import {i18n} from './i18n';
import {send as notify} from 'vpu-common/notification'; import {send as notify} from 'vpu-common/notification';
import {html, LitElement} from 'lit-element'; import {css, html, LitElement} from 'lit-element';
import './vpu-notification'; import './vpu-notification';
import * as commonUtils from 'vpu-common/utils'; import * as commonUtils from 'vpu-common/utils';
import bulmaCSSPath from 'bulma/css/bulma.min.css'; import * as commonStyles from "vpu-common/styles";
class NotificationDemo extends LitElement { class NotificationDemo extends LitElement {
constructor() { constructor() {
...@@ -25,11 +25,17 @@ class NotificationDemo extends LitElement { ...@@ -25,11 +25,17 @@ class NotificationDemo extends LitElement {
}); });
} }
static get styles() {
// language=css
return css`
${commonStyles.getThemeCSS()}
${commonStyles.getGeneralCSS()}
${commonStyles.getButtonCSS()}
`;
}
render() { render() {
const bulmaCSS = commonUtils.getAssetURL(bulmaCSSPath);
return html` return html`
<link rel="stylesheet" href="${bulmaCSS}">
<section class="section"> <section class="section">
<div class="container"> <div class="container">
<h1 class="title">Notification-Demo</h1> <h1 class="title">Notification-Demo</h1>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment