Rename themes

gh-pages
Warinyourself 4 years ago
parent 753728e621
commit d807b89da7

@ -34,8 +34,6 @@ export default class MainApp extends Vue {
Mousetrap.bind('escape', () => { Mousetrap.bind('escape', () => {
const isFocusPassword = document.querySelector('#password:focus') as HTMLInputElement const isFocusPassword = document.querySelector('#password:focus') as HTMLInputElement
console.log({ isFocusPassword })
console.log('Escape')
if (isFocusPassword) { if (isFocusPassword) {
isFocusPassword.blur() isFocusPassword.blur()

Before

Width:  |  Height:  |  Size: 45 KiB

After

Width:  |  Height:  |  Size: 45 KiB

Before

Width:  |  Height:  |  Size: 19 KiB

After

Width:  |  Height:  |  Size: 19 KiB

Before

Width:  |  Height:  |  Size: 50 KiB

After

Width:  |  Height:  |  Size: 50 KiB

Before

Width:  |  Height:  |  Size: 365 B

After

Width:  |  Height:  |  Size: 365 B

Before

Width:  |  Height:  |  Size: 658 B

After

Width:  |  Height:  |  Size: 658 B

@ -35,7 +35,6 @@ export default class SettingsCustom extends Vue {
@Debounce() @Debounce()
updateQuery() { updateQuery() {
if (this.syncThemeWithQuery) { if (this.syncThemeWithQuery) {
// console.log('AppModule.syncStoreWithQuery')
AppModule.syncStoreWithQuery() AppModule.syncStoreWithQuery()
} }
} }

@ -4,7 +4,7 @@ import { AppModule } from '@/store/app'
let render: GL let render: GL
@Component @Component
export default class MagicTheme extends Vue { export default class FlowTheme extends Vue {
get animationSpeed() { get animationSpeed() {
return AppModule.getThemeInput('animation-speed')?.value as number || 45 return AppModule.getThemeInput('animation-speed')?.value as number || 45
} }

@ -142,8 +142,8 @@ export const defaultTheme: AppTheme = {
export const AppThemes: AppTheme[] = [ export const AppThemes: AppTheme[] = [
defaultTheme, defaultTheme,
{ {
name: 'shere', name: 'Sphere',
component: 'shere', component: 'sphere',
color: { color: {
active: '#04ded4', active: '#04ded4',
background: 'black' background: 'black'
@ -164,7 +164,7 @@ export const AppThemes: AppTheme[] = [
] ]
}, },
{ {
name: 'planet', name: 'Planet',
component: 'planet', component: 'planet',
color: { color: {
active: '#04ded4', active: '#04ded4',
@ -190,7 +190,7 @@ export const AppThemes: AppTheme[] = [
] ]
}, },
{ {
name: 'destruction', name: 'Destruction',
component: 'destruction', component: 'destruction',
color: { color: {
active: '#04ded4', active: '#04ded4',
@ -229,7 +229,7 @@ export const AppThemes: AppTheme[] = [
] ]
}, },
{ {
name: 'rings', name: 'Rings',
component: 'rings', component: 'rings',
color: { color: {
active: '#04ded4', active: '#04ded4',
@ -269,7 +269,7 @@ export const AppThemes: AppTheme[] = [
] ]
}, },
{ {
name: 'tenderness', name: 'Tenderness',
component: 'tenderness', component: 'tenderness',
color: { color: {
active: '#04ded4', active: '#04ded4',
@ -296,8 +296,8 @@ export const AppThemes: AppTheme[] = [
] ]
}, },
{ {
name: 'Magic', name: 'Flow',
component: 'magic', component: 'flow',
color: { color: {
active: '#04ded4', active: '#04ded4',
background: 'black' background: 'black'
@ -357,8 +357,8 @@ export const AppThemes: AppTheme[] = [
} }
}, },
{ {
name: 'Malevich', name: 'Suprematism',
component: 'malevich', component: 'suprematism',
settings: [ settings: [
{ {
name: 'activeColor', name: 'activeColor',

@ -1,6 +1,6 @@
@import './osmos.styl' @import './osmos.styl'
@import './space.styl' @import './space.styl'
@import './malevich.styl' @import './suprematism.styl'
canvas canvas
width 100% width 100%

@ -1,4 +1,4 @@
.malevich .suprematism
position relative position relative
width 100% width 100%
height 100% height 100%
@ -32,7 +32,7 @@
bottom 2% bottom 2%
width 30vmax width 30vmax
height 35vmin height 35vmin
background url(../assets/images/themes/malevich/bottom-right.svg) center/contain no-repeat background url(../assets/images/themes/suprematism/bottom-right.svg) center/contain no-repeat
.parralax-item-bottom-right-triangle .parralax-item-bottom-right-triangle
right 19% right 19%
@ -41,7 +41,7 @@
height 6.5vmax height 6.5vmax
transform-origin 50% 30% transform-origin 50% 30%
animation rotateGear 13s linear infinite animation rotateGear 13s linear infinite
background url(../assets/images/themes/malevich/bottom-right-triangle.svg) center/contain no-repeat background url(../assets/images/themes/suprematism/bottom-right-triangle.svg) center/contain no-repeat
.parralax-item-top-left .parralax-item-top-left
top 1% top 1%
@ -55,7 +55,7 @@
width 7vmax width 7vmax
height 7vmax height 7vmax
animation rotatePs 20s linear infinite animation rotatePs 20s linear infinite
background url(../assets/images/themes/malevich/top-left-multi.svg) center/contain no-repeat background url(../assets/images/themes/suprematism/top-left-multi.svg) center/contain no-repeat
.parralax-item-top-right .parralax-item-top-right
width 15vmin width 15vmin
@ -68,7 +68,7 @@
right 18% right 18%
width 4vmin width 4vmin
height 4vmin height 4vmin
background url(../assets/images/themes/malevich/top-right-circle.svg) center/contain no-repeat background url(../assets/images/themes/suprematism/top-right-circle.svg) center/contain no-repeat
@keyframes rotateGear { @keyframes rotateGear {
0%,to { 0%,to {
Loading…
Cancel
Save