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:
commit
866c0bbeb2
2 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
button {
|
||||
:where([data-appearance]:is(button), [role='tab']:is(button)) {
|
||||
border: 2px solid transparent;
|
||||
font-weight: 500;
|
||||
font-size: 12px;
|
||||
|
|
Loading…
Add table
Reference in a new issue