fix(core): update
This commit is contained in:
parent
7977538c05
commit
faa7adcffe
@ -1,7 +1,6 @@
|
|||||||
import { DomTools } from './domtools.classes.domtools';
|
import { DomTools } from './domtools.classes.domtools';
|
||||||
|
|
||||||
export const setupGlobalTheme = (domToolsInstance: DomTools) => {
|
export const scrollBarStyles = `
|
||||||
const styles = `
|
|
||||||
/* width */
|
/* width */
|
||||||
::-webkit-scrollbar {
|
::-webkit-scrollbar {
|
||||||
width: 8px;
|
width: 8px;
|
||||||
@ -23,5 +22,10 @@ export const setupGlobalTheme = (domToolsInstance: DomTools) => {
|
|||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
export const setupGlobalTheme = (domToolsInstance: DomTools) => {
|
||||||
|
const styles = `
|
||||||
|
${scrollBarStyles}
|
||||||
|
`;
|
||||||
|
|
||||||
domToolsInstance.setGlobalStyles(styles);
|
domToolsInstance.setGlobalStyles(styles);
|
||||||
};
|
};
|
||||||
|
@ -1,13 +1,20 @@
|
|||||||
import * as plugins from './domtools.plugins';
|
import * as plugins from './domtools.plugins';
|
||||||
import { DomTools } from './domtools.classes.domtools';
|
import { DomTools } from './domtools.classes.domtools';
|
||||||
|
import { scrollBarStyles } from './domtools.css.theme';
|
||||||
|
|
||||||
import { html } from 'lit-element';
|
import { html } from 'lit-element';
|
||||||
export const styles = html`
|
|
||||||
|
/**
|
||||||
|
* styles to be included in every webcomponent
|
||||||
|
*/
|
||||||
|
export const styles = html`;
|
||||||
<style>
|
<style>
|
||||||
* {
|
* {
|
||||||
font-family: 'Roboto', sans-serif;
|
font-family: 'Roboto', sans-serif;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
${scrollBarStyles}
|
||||||
</style>
|
</style>
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user