UNPKG

@synergy-design-system/components

Version:

This package provides the base of the Synergy Design System as native web components. It uses [lit](https://www.lit.dev) and parts of [shoelace](https://shoelace.style/). Synergy officially supports the latest two versions of all major browsers (as define

57 lines (48 loc) 1.23 kB
// src/components/icon-button/icon-button.styles.ts import { css } from "lit"; var icon_button_styles_default = css` /* stylelint-disable */ :host { display: inline-block; color: var(--syn-color-neutral-600); } .icon-button { flex: 0 0 auto; display: flex; align-items: center; background: none; border: none; border-radius: var(--syn-border-radius-medium); font-size: inherit; color: inherit; padding: var(--syn-spacing-x-small); cursor: pointer; transition: var(--syn-transition-x-fast) color; -webkit-appearance: none; } .icon-button:hover:not(.icon-button--disabled), .icon-button:focus-visible:not(.icon-button--disabled) { color: var(--syn-color-primary-600); } .icon-button:active:not(.icon-button--disabled) { color: var(--syn-color-primary-700); } .icon-button:focus { outline: none; } .icon-button--disabled { opacity: 0.5; cursor: not-allowed; } .icon-button:focus-visible { outline: var(--syn-focus-ring); outline-offset: var(--syn-focus-ring-offset); } .icon-button__icon { pointer-events: none; } `; export { icon_button_styles_default }; //# sourceMappingURL=chunk.DZ7YIR5N.js.map