forked from mirrors/keywind
perf: update alerts (#11)
This commit is contained in:
parent
eb2a699486
commit
16a74b7190
1 changed files with 4 additions and 0 deletions
|
@ -2,12 +2,16 @@
|
||||||
<#switch message.type>
|
<#switch message.type>
|
||||||
<#case "error">
|
<#case "error">
|
||||||
<#assign color="bg-red-100 text-red-600">
|
<#assign color="bg-red-100 text-red-600">
|
||||||
|
<#break>
|
||||||
<#case "info">
|
<#case "info">
|
||||||
<#assign color="bg-blue-100 text-blue-600">
|
<#assign color="bg-blue-100 text-blue-600">
|
||||||
|
<#break>
|
||||||
<#case "success">
|
<#case "success">
|
||||||
<#assign color="bg-green-100 text-green-600">
|
<#assign color="bg-green-100 text-green-600">
|
||||||
|
<#break>
|
||||||
<#case "warning">
|
<#case "warning">
|
||||||
<#assign color="bg-orange-100 text-orange-600">
|
<#assign color="bg-orange-100 text-orange-600">
|
||||||
|
<#break>
|
||||||
<#default>
|
<#default>
|
||||||
<#assign color="bg-blue-100 text-blue-600">
|
<#assign color="bg-blue-100 text-blue-600">
|
||||||
</#switch>
|
</#switch>
|
||||||
|
|
Loading…
Reference in a new issue