feat(theme): add support for dialogs

This commit is contained in:
Joxit 2023-01-06 19:10:13 +01:00
parent 367ca0380c
commit 9b5b935637
No known key found for this signature in database
GPG key ID: F526592B8E012263
10 changed files with 27 additions and 19 deletions

View file

@ -24,9 +24,10 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<material-button
onClick="{ remove(url) }"
url="{ url }"
waves-color="rgba(158,158,158,.4)"
text-color="var(--neutral-text)"
color="inherit"
waves-color="var(--hover-background)"
waves-center="true"
inverted
icon
>
<i class="material-icons">delete</i>
@ -37,7 +38,7 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
</ul>
</div>
<div class="material-popup-action">
<material-button class="dialog-button" waves-color="rgba(158,158,158,.4)" onClick="{ props.onClose }" color="#000" inverted>
<material-button class="dialog-button" waves-color="rgba(158,158,158,.4)" onClick="{ props.onClose }" color="inherit" text-color="var(--primary-text)">
Close
</material-button>
</div>
@ -59,9 +60,5 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
:host material-popup .popup material-button {
margin-right: 1em;
}
:host material-popup .popup material-button .content i.material-icons {
color: #777;
}
</style>
</remove-registry-url>