From e7ab38d08dbd2dc24c6620ac83e776507d352a2f Mon Sep 17 00:00:00 2001 From: zombieFox Date: Fri, 27 Aug 2021 14:23:00 +0100 Subject: [PATCH] rename default theme preset --- src/component/themePreset/{nighttab => app}/index.js | 2 +- src/component/themePreset/index.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) rename src/component/themePreset/{nighttab => app}/index.js (96%) diff --git a/src/component/themePreset/nighttab/index.js b/src/component/themePreset/app/index.js similarity index 96% rename from src/component/themePreset/nighttab/index.js rename to src/component/themePreset/app/index.js index 14974a36..0f333a37 100644 --- a/src/component/themePreset/nighttab/index.js +++ b/src/component/themePreset/app/index.js @@ -1,7 +1,7 @@ import { state } from '../../state'; import { appName } from '../../appName'; -export const nighttab = { +export const app = { name: appName + ' (default)', color: state.get.default().theme.color, accent: { hsl: state.get.default().theme.accent.hsl, rgb: state.get.default().theme.accent.rgb }, diff --git a/src/component/themePreset/index.js b/src/component/themePreset/index.js index d851e993..4eeffb1c 100644 --- a/src/component/themePreset/index.js +++ b/src/component/themePreset/index.js @@ -2,6 +2,7 @@ import { state } from '../state'; import { acrid } from './acrid'; import { aerial } from './aerial'; +import { app } from './app'; import { azure } from './azure'; import { bean } from './bean'; import { black } from './black'; @@ -22,7 +23,6 @@ import { macaroon } from './macaroon'; import { marker } from './marker'; import { midnight } from './midnight'; import { mint } from './mint'; -import { nighttab } from './nighttab'; import { neon } from './neon'; import { nord } from './nord'; import { obsidian } from './obsidian'; @@ -50,7 +50,7 @@ const themePreset = {}; themePreset.get = () => { return [ - nighttab, + app, black, white, acrid,