koel/resources/assets/js/themes.ts

193 lines
5.2 KiB
TypeScript
Raw Normal View History

2022-07-04 17:57:32 +00:00
import bgRosePetal from '../img/themes/bg-rose-petals.svg'
import bgPurpleWaves from '../img/themes/bg-purple-waves.svg'
import bgPopCulture from '../img/themes/bg-pop-culture.jpg'
2022-07-18 17:01:30 +00:00
import thumbPopCulture from '../img/themes/thumbnails/pop-culture.jpg'
2022-07-04 17:57:32 +00:00
import bgJungle from '../img/themes/bg-jungle.jpg'
2022-07-18 17:01:30 +00:00
import thumbJungle from '../img/themes/thumbnails/jungle.jpg'
2022-07-04 17:57:32 +00:00
import bgMountains from '../img/themes/bg-mountains.jpg'
2022-07-18 17:01:30 +00:00
import thumbMountains from '../img/themes/thumbnails/mountains.jpg'
2022-07-04 17:57:32 +00:00
import bgPines from '../img/themes/bg-pines.jpg'
2022-07-18 17:01:30 +00:00
import thumbPines from '../img/themes/thumbnails/pines.jpg'
2022-07-04 17:57:32 +00:00
import bgNemo from '../img/themes/bg-nemo.jpg'
2022-07-18 17:01:30 +00:00
import thumbNemo from '../img/themes/thumbnails/nemo.jpg'
2022-07-04 17:57:32 +00:00
import bgCat from '../img/themes/bg-cat.jpg'
2022-07-18 17:01:30 +00:00
import thumbCat from '../img/themes/thumbnails/cat.jpg'
import bgDawn from '../img/themes/bg-dawn.jpg'
import thumbDawn from '../img/themes/thumbnails/dawn.jpg'
2022-07-04 17:57:32 +00:00
export default [
{
id: 'classic',
thumbnailColor: '#181818',
2022-07-04 17:57:32 +00:00
},
{
id: 'violet',
thumbnailColor: '#31094e',
properties: {
2024-04-04 22:20:42 +00:00
'--color-bg-secondary': '#360f52',
'--color-bg-primary': '#31094e',
'--color-highlight': '#c23de5',
},
2022-07-04 17:57:32 +00:00
},
{
id: 'oak',
thumbnailColor: '#560d25',
properties: {
2024-04-04 22:20:42 +00:00
'--color-bg-secondary': '#5a132a',
'--color-bg-primary': '#560d25',
'--color-highlight': '#fd4b67',
},
2022-07-04 17:57:32 +00:00
},
{
id: 'slate',
thumbnailColor: '#29434e',
properties: {
2024-04-04 22:20:42 +00:00
'--color-bg-secondary': '#2e4752',
'--color-bg-primary': '#29434e',
'--color-highlight': '#6c8b99',
},
2022-07-04 17:57:32 +00:00
},
{
id: 'madison',
thumbnailColor: '#0e3463',
properties: {
2024-04-04 22:20:42 +00:00
'--color-bg-secondary': '#143967',
2022-07-04 17:57:32 +00:00
'--color-bg-primary': '#0e3463',
'--color-bg-highlight': '#fbab18',
},
2022-07-04 17:57:32 +00:00
},
{
id: 'astronaut',
thumbnailColor: '#2a3074',
properties: {
2024-04-04 22:20:42 +00:00
'--color-bg-secondary': '#2f3577',
'--color-bg-primary': '#2a3074',
'--color-highlight': '#7a78dd',
},
2022-07-04 17:57:32 +00:00
},
{
id: 'chocolate',
thumbnailColor: '#3f2724',
properties: {
2024-04-04 22:20:42 +00:00
'--color-bg-secondary': '#442c29',
'--color-bg-primary': '#3f2724',
'--color-highlight': '#d96759',
},
2022-07-04 17:57:32 +00:00
},
{
id: 'laura',
thumbnailColor: '#126673',
properties: {
2024-04-04 22:20:42 +00:00
'--color-bg-secondary': '#186a76',
2022-07-04 17:57:32 +00:00
'--color-bg-primary': '#126673',
'--color-highlight': 'rgba(10, 244, 255, .64)',
},
2022-07-04 17:57:32 +00:00
},
2022-07-18 17:01:30 +00:00
{
id: 'dawn',
name: 'Before the Dawn',
thumbnailUrl: thumbDawn,
properties: {
'--color-highlight': '#ed5135',
'--color-accent': '#f4944f',
2022-07-18 17:01:30 +00:00
'--bg-image': `url(${bgDawn})`,
2024-04-04 22:20:42 +00:00
'--color-bg-secondary': 'rgba(255, 255, 255, .025)',
'--color-bg-primary': '#1e2747',
'--bg-position': 'center bottom',
},
2022-07-18 17:01:30 +00:00
},
2022-07-04 17:57:32 +00:00
{
id: 'rose-petals',
name: '…Has Its Thorns',
thumbnailColor: '#7d083b',
thumbnailUrl: bgRosePetal,
properties: {
2024-04-04 22:20:42 +00:00
'--color-bg-secondary': 'rgba(255, 255, 255, .025)',
2022-07-04 17:57:32 +00:00
'--color-bg-primary': '#7d083b',
'--bg-image': `url(${bgRosePetal})`,
},
2022-07-04 17:57:32 +00:00
},
{
id: 'purple-waves',
name: 'Waves of Fortune',
thumbnailColor: '#44115c',
thumbnailUrl: bgPurpleWaves,
properties: {
2024-04-04 22:20:42 +00:00
'--color-bg-secondary': 'rgba(255, 255, 255, .025)',
2022-07-04 17:57:32 +00:00
'--color-bg-primary': '#44115c',
'--bg-image': `url(${bgPurpleWaves})`,
},
2022-07-04 17:57:32 +00:00
},
{
id: 'pop-culture',
thumbnailColor: '#ad0937',
2022-07-18 17:01:30 +00:00
thumbnailUrl: thumbPopCulture,
2022-07-04 17:57:32 +00:00
properties: {
2024-04-04 22:20:42 +00:00
'--color-bg-secondary': 'rgba(255, 255, 255, .025)',
2022-07-04 17:57:32 +00:00
'--color-bg-primary': '#ad0937',
'--color-highlight': 'rgba(234, 208, 110, .9)',
'--bg-image': `url(${bgPopCulture})`,
},
2022-07-04 17:57:32 +00:00
},
{
id: 'jungle',
name: 'Welcome to the Jungle',
thumbnailColor: '#0f0f03',
2022-07-18 17:01:30 +00:00
thumbnailUrl: thumbJungle,
2022-07-04 17:57:32 +00:00
properties: {
2024-04-04 22:20:42 +00:00
'--color-bg-secondary': 'rgba(255, 255, 255, .025)',
2022-07-04 17:57:32 +00:00
'--color-bg-primary': '#0f0f03',
'--color-highlight': '#4f9345',
'--bg-image': `url(${bgJungle})`,
},
2022-07-04 17:57:32 +00:00
},
{
id: 'mountains',
name: 'Rocky Mountain High',
thumbnailColor: '#0e2656',
2022-07-18 17:01:30 +00:00
thumbnailUrl: thumbMountains,
2022-07-04 17:57:32 +00:00
properties: {
2024-04-04 22:20:42 +00:00
'--color-bg-secondary': 'rgba(255, 255, 255, .025)',
2022-07-04 17:57:32 +00:00
'--color-bg-primary': '#0e2656',
'--color-highlight': '#6488c3',
'--bg-image': `url(${bgMountains})`,
},
2022-07-04 17:57:32 +00:00
},
{
id: 'pines',
name: 'In the Pines',
thumbnailColor: '#06090c',
2022-07-18 17:01:30 +00:00
thumbnailUrl: thumbPines,
2022-07-04 17:57:32 +00:00
properties: {
2024-04-04 22:20:42 +00:00
'--color-bg-secondary': 'rgba(255, 255, 255, .025)',
2022-07-04 17:57:32 +00:00
'--color-bg-primary': '#06090c',
'--color-highlight': '#5984b9',
'--bg-image': `url(${bgPines})`,
},
2022-07-04 17:57:32 +00:00
},
{
id: 'nemo',
thumbnailColor: '#031724',
2022-07-18 17:01:30 +00:00
thumbnailUrl: thumbNemo,
2022-07-04 17:57:32 +00:00
properties: {
2024-04-04 22:20:42 +00:00
'--color-bg-secondary': 'rgba(255, 255, 255, .025)',
2022-07-04 17:57:32 +00:00
'--color-bg-primary': '#031724',
'--color-highlight': '#2896b8',
'--bg-image': `url(${bgNemo})`,
},
2022-07-04 17:57:32 +00:00
},
{
id: 'cat',
name: 'What\'s New Pussycat?',
thumbnailColor: '#000',
2022-07-18 17:01:30 +00:00
thumbnailUrl: thumbCat,
2022-07-04 17:57:32 +00:00
properties: {
2024-04-04 22:20:42 +00:00
'--color-bg-secondary': 'rgba(255, 255, 255, .025)',
2022-07-04 17:57:32 +00:00
'--color-bg-primary': '#000',
'--color-highlight': '#d26c37',
2022-07-04 17:57:32 +00:00
'--bg-image': `url(${bgCat})`,
'--bg-position': 'left',
},
},
2022-07-04 17:57:32 +00:00
] as Theme[]