mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-19 12:55:08 +02:00
Switch Et2Select to be based on Shoelace select instead of LionSelect
This commit is contained in:
@@ -11,6 +11,22 @@ registerIconLibrary('default', {
|
||||
resolver: name => `${egw.webserverUrl}/node_modules/@shoelace-style/shoelace/dist/assets/icons/${name}.svg`,
|
||||
});
|
||||
|
||||
/**
|
||||
* Override some shoelace icons with EGroupware
|
||||
*/
|
||||
const egw_icons = {'chevron-down': 'arrow_down'}
|
||||
registerIconLibrary("system", {
|
||||
resolver: (name) =>
|
||||
{
|
||||
if(egw_icons[name])
|
||||
{
|
||||
return `${egw.webserverUrl}/pixelegg/images/${egw_icons[name]}.svg`;
|
||||
}
|
||||
return "";
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
/**
|
||||
* Customise shoelace styles to match our stuff
|
||||
* External CSS will override this
|
||||
|
Reference in New Issue
Block a user