It's a style service, not a styletron util.
This commit is contained in:
parent
78e3ffae00
commit
2c7a8b1e84
@ -5,9 +5,9 @@ import * as imageTag from '../context/manageImageTags.js';
|
||||
import { ImageView } from './image.js';
|
||||
import { AlbumView } from './album.js';
|
||||
import { router, routeChanged } from '../services/router.js';
|
||||
import { styled, el } from '../services/style.js';
|
||||
import { LiveArray } from '../utils/livearray.js';
|
||||
import { Watcher } from '../utils/watcher.js';
|
||||
import { styled, el } from '../utils/styletron.js';
|
||||
|
||||
function uploadImages(evt) {
|
||||
image.add(evt.currentTarget.files);
|
||||
|
||||
@ -4,8 +4,8 @@ import { defineElement } from 'domvm';
|
||||
|
||||
const styletronSingleton = new Styletron();
|
||||
|
||||
export function injectStyle(styles) {
|
||||
return _injectStyle(styletronSingleton, styles);
|
||||
export function injectStyle(...styles) {
|
||||
return _injectStyle(styletronSingleton, Object.assign({}, ...styles));
|
||||
}
|
||||
|
||||
function isObject(obj) {
|
||||
Loading…
x
Reference in New Issue
Block a user