0
Fork 0
mirror of https://github.com/penpot/penpot-plugins.git synced 2025-01-21 06:02:34 -05:00

Merge pull request #99 from penpot/xaviju-button-styles

style: remove button selector and wrap into data attribute
This commit is contained in:
Xaviju 2024-07-03 10:01:13 +02:00 committed by GitHub
commit 866c0bbeb2
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@ import type { PenpotShape } from '@penpot/plugin-types';
<div class="name-wrap">
<label>Selected Shape: </label>
<input class="input" type="text" formControlName="name" />
<button type="submit">Update</button>
<button type="submit" data-appearance="primary">Update</button>
</div>
</form>

View file

@ -1,4 +1,4 @@
button {
:where([data-appearance]:is(button), [role='tab']:is(button)) {
border: 2px solid transparent;
font-weight: 500;
font-size: 12px;