mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-09-27 00:14:40 -07:00
Fresh installs and new profiles now default to the Fusion (dark) theme instead of the platform-native theme. The old "Default" theme is renamed "System" to better describe its purpose — using the OS-native Qt style (windowsvista, macOS, etc.). Existing users who had "Default" selected are automatically migrated to "System" so they keep their platform-native styling. Users with an empty or invalid theme name now fall back to Fusion.
16 lines
424 B
CMake
16 lines
424 B
CMake
# CMakeLists for themes directory
|
|
#
|
|
# add themes subfolders
|
|
|
|
set(defthemes Fabric Fusion Leather Plasma VelvetMarble System)
|
|
|
|
if(UNIX)
|
|
if(APPLE)
|
|
install(DIRECTORY ${defthemes} DESTINATION Cockatrice.app/Contents/Resources/themes/)
|
|
else()
|
|
# Assume linux
|
|
install(DIRECTORY ${defthemes} DESTINATION share/cockatrice/themes/)
|
|
endif()
|
|
elseif(WIN32)
|
|
install(DIRECTORY ${defthemes} DESTINATION themes/)
|
|
endif()
|