Reorder themes
This commit is contained in:
1 parent
e30897aa0d
commit
3fefc814e1
3 files changed
+23
-34
No files matched your search
+23
-23
@@ -25,6 +25,29 @@ export interface Theme {
|
||||
}
|
||||
|
||||
export const themes: Theme[] = [
|
||||
{
|
||||
id: 'cerberus',
|
||||
name: 'Cerberus',
|
||||
mode: 'dark',
|
||||
wallpaper: '/wallpapers/astronaut2.jpg',
|
||||
activeBorder: ['#818cf8', '#e879f9'],
|
||||
colors: {
|
||||
accent: '#818cf8',
|
||||
selection: '#404040',
|
||||
muted: '#a3a3a3',
|
||||
background: '#171717',
|
||||
dark_background: '#0f0f0f',
|
||||
lighter_background: '#262626',
|
||||
foreground: '#f5f5f5',
|
||||
red: '#ef4444',
|
||||
yellow: '#fbbf24',
|
||||
orange: '#fb923c',
|
||||
green: '#2dd4bf',
|
||||
cyan: '#67e8f9',
|
||||
blue: '#818cf8',
|
||||
magenta: '#e879f9'
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'flats',
|
||||
name: 'Flats',
|
||||
@@ -247,29 +270,6 @@ export const themes: Theme[] = [
|
||||
magenta: '#e879f9'
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'cerberus',
|
||||
name: 'Cerberus',
|
||||
mode: 'dark',
|
||||
wallpaper: '/wallpapers/astronaut2.jpg',
|
||||
activeBorder: ['#818cf8', '#e879f9'],
|
||||
colors: {
|
||||
accent: '#818cf8',
|
||||
selection: '#404040',
|
||||
muted: '#a3a3a3',
|
||||
background: '#171717',
|
||||
dark_background: '#0f0f0f',
|
||||
lighter_background: '#262626',
|
||||
foreground: '#f5f5f5',
|
||||
red: '#ef4444',
|
||||
yellow: '#fbbf24',
|
||||
orange: '#fb923c',
|
||||
green: '#2dd4bf',
|
||||
cyan: '#67e8f9',
|
||||
blue: '#818cf8',
|
||||
magenta: '#e879f9'
|
||||
}
|
||||
},
|
||||
{
|
||||
id: 'catppuccin-latte',
|
||||
name: 'Catppuccin Latte',
|
||||
|
||||
@@ -1,11 +0,0 @@
|
||||
import { error } from '@sveltejs/kit';
|
||||
import { findProjectCategory, projectCategories } from '#lib/content';
|
||||
import type { EntryGenerator, PageLoad } from './$types';
|
||||
|
||||
export const entries: EntryGenerator = () => projectCategories.map((category) => ({ category: category.id }));
|
||||
|
||||
export const load: PageLoad = ({ params }) => {
|
||||
const category = findProjectCategory(params.category);
|
||||
if (!category) error(404, 'Project category not found');
|
||||
return { categoryId: category.id };
|
||||
};
|
||||
Reference in new issue
Block a user