mirror of
https://github.com/an-anime-team/an-anime-game-launcher.git
synced 2025-01-21 08:03:37 +03:00
d2d690a114
- decreased splash window size - added `Game.getLatestData()` result caching, so basically every `Game` and `Voice` method and field now caches most of the data - Made `Game.predownloadUpdate()` method - Made `Game.isUpdatePredownloaded()` method - Made `Voice.predownloadUpdate()` method - Made `Voice.isUpdatePredownloaded()` method - fixed `Cache.get()` method work - now launcher window hides when you launch the game - added `pre_download_game` API field type definition - added game pre-downloading button
33 lines
755 B
Sass
33 lines
755 B
Sass
@use "sass:map"
|
|
|
|
@import "basic"
|
|
|
|
@mixin themable($theme-name, $theme-map)
|
|
body[data-theme=#{$theme-name}]
|
|
background-color: map.get($theme-map, "background")
|
|
|
|
div
|
|
width: 80%
|
|
margin: 42px auto 0
|
|
|
|
img
|
|
width: 80%
|
|
display: block
|
|
margin: 0 auto 16px auto
|
|
image-rendering: optimizeQuality
|
|
|
|
h2, p
|
|
margin: 0
|
|
text-align: center
|
|
color: map.get($theme-map, "text")
|
|
|
|
p
|
|
color: grey
|
|
font-weight: 600
|
|
margin-top: 12px
|
|
|
|
@import "themes/light"
|
|
@import "themes/dark"
|
|
|
|
@include themable(light, $light)
|
|
@include themable(dark, $dark)
|