[CONFIGURATION]
* BUG: Fix gambas server page mimetype file. * NEW: New breeze-like icons for mimetypes. [GB.GUI.BASE] * NEW: Picture: Use Color[].Luminance on default background color to detect dark themes. [GB.DBUS.TRAYICON] * NEW: New breeze default tray icon. git-svn-id: svn://localhost/gambas/trunk@7310 867c0c6c-44f3-4631-809d-bfa615b0a4ec
Before Width: | Height: | Size: 3.9 KiB After Width: | Height: | Size: 1.4 KiB |
Before Width: | Height: | Size: 4.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
@ -7,7 +7,7 @@
|
|||
<comment xml:lang="fr">Page serveur Gambas</comment>
|
||||
|
||||
<magic priority="50">
|
||||
<match value="#!/usr/bin/env gbw2" type="string" offset="0"/>
|
||||
<match value="#!/usr/bin/env gbw3" type="string" offset="0"/>
|
||||
</magic>
|
||||
</mime-type>
|
||||
</mime-info>
|
Before Width: | Height: | Size: 3.5 KiB After Width: | Height: | Size: 2.7 KiB |
Before Width: | Height: | Size: 2.2 KiB |
Before Width: | Height: | Size: 3.6 KiB After Width: | Height: | Size: 2.4 KiB |
|
@ -58,7 +58,7 @@ Static Public Sub _get(Path As String) As Picture
|
|||
' Support for dark themes
|
||||
|
||||
If Not $bInit Then
|
||||
If Color[Color.Desaturate(Color.Background)].Blue < 128 Or If Env["GB_GUI_DARK_THEME"] = "1" Then $bDarkTheme = True
|
||||
If Color[Color.Background].Luminance < 128 Or If Env["GB_GUI_DARK_THEME"] = "1" Then $bDarkTheme = True
|
||||
$bInit = True
|
||||
Endif
|
||||
|
||||
|
|
Before Width: | Height: | Size: 5.8 KiB After Width: | Height: | Size: 1.6 KiB |