an-anime-game-launcher/src/sass/splash.sass
Observer KRypt0n_ d2d690a114
Added game pre-downloading feature
- 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
2021-12-29 18:04:30 +02:00

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)