-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better accent color overwrite handling
- Loading branch information
1 parent
cede0a4
commit 4c902bb
Showing
3 changed files
with
70 additions
and
41 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 4 additions & 4 deletions
8
packages/nobel/components/ui/Button/variants/ButtonPrimary.vue
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
<template> | ||
<button class="primary"> | ||
<button class="primary base-accent"> | ||
<slot></slot> | ||
</button> | ||
</template> | ||
|
||
<style lang="scss"> | ||
.button.primary { | ||
background: var(--color-100); | ||
color: var(--color-10); | ||
border: solid var(--border-size) var(--color-100); | ||
background: var(--base-100); | ||
color: var(--base-10); | ||
border: solid var(--border-size) var(--base-100); | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters