mirror of
https://github.com/BetterSEQTA/BetterSEQTA-Plus.git
synced 2026-06-06 11:44:40 +00:00
mostly working, themes are broken, as are others.
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -1,8 +1,8 @@
|
||||
import browser from 'webextension-polyfill'
|
||||
import { GetThresholdOfColor, GetCSSElement } from '../../../SEQTA.js';
|
||||
import { lightenAndPaleColor } from './lightenAndPaleColor.js';
|
||||
import ColorLuminance from './ColorLuminance.js';
|
||||
import { onError } from '../../utils/onError.js';
|
||||
import { GetThresholdOfColor, GetCSSElement } from '../../../SEQTA';
|
||||
import { lightenAndPaleColor } from './lightenAndPaleColor';
|
||||
import ColorLuminance from './ColorLuminance';
|
||||
import { onError } from '../../utils/onError';
|
||||
|
||||
// Helper functions
|
||||
const setCSSVar = (varName: any, value: any) => document.documentElement.style.setProperty(varName, value);
|
||||
|
||||
@@ -1,14 +1,14 @@
|
||||
import browser from 'webextension-polyfill'
|
||||
|
||||
import { MenuOptionsOpen, OpenMenuOptions, closeSettings } from '../../SEQTA.js';
|
||||
import { deleteTheme, disableTheme, downloadTheme, listThemes, setTheme } from '../ui/Themes.js';
|
||||
import { MenuOptionsOpen, OpenMenuOptions, closeSettings } from '../../SEQTA';
|
||||
import { deleteTheme, disableTheme, downloadTheme, listThemes, setTheme } from '../ui/Themes';
|
||||
|
||||
export class MessageHandler {
|
||||
constructor() {
|
||||
browser.runtime.onMessage.addListener(this.routeMessage.bind(this));
|
||||
}
|
||||
|
||||
routeMessage(request: any, sender: any, sendResponse: any) {
|
||||
routeMessage(request: any, sendResponse: any) {
|
||||
switch (request.info) {
|
||||
|
||||
case 'EditSidebar':
|
||||
|
||||
@@ -8,9 +8,9 @@ import {
|
||||
addShortcuts,
|
||||
disableNotificationCollector,
|
||||
enableNotificationCollector,
|
||||
} from '../../SEQTA.js';
|
||||
import { updateBgDurations } from '../ui/Animation.js';
|
||||
import { getDarkMode, updateAllColors } from '../ui/colors/Manager.js';
|
||||
} from '../../SEQTA';
|
||||
import { updateBgDurations } from '../ui/Animation';
|
||||
import { getDarkMode, updateAllColors } from '../ui/colors/Manager';
|
||||
|
||||
|
||||
export default class StorageListener {
|
||||
|
||||
Reference in New Issue
Block a user