Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/SantaClaas/dim. A web component library for me to reuse components I otherwise often duplicate in d
Something went wrong. Try again.
1234567891011121314151617181920212223242526272829303132333435import { DimButton } from '@claas.dev/dim-button';import { css } from 'lit';
export class DimTextButton extends DimButton { static styles = [ // Only configure styles that are different between buttons css` button { --_padding-inline: 12px; /* Padding inline end when there is an icon slotted */ --_padding-inline-icon: 12px 16px;
&:enabled { --_color: var(--md-sys-color-primary); --_background-color: transparent;
--_shadow-default: var(--md-sys-elevation-0-shadow); --_shadow-elevated: none; }
&:disabled { --_background-color-disabled: transparent; } } `, DimButton.styles, ];}
declare global { interface HTMLElementTagNameMap { 'dim-text-button': DimTextButton; }}