Skip to content

Commit 4abfa46

Browse files
Afriq Yasin RamadhanAfriq Yasin Ramadhan
authored andcommitted
feat(foundation): add new semantic color in brand eg. brand-accent-subtlest
1 parent ed27b90 commit 4abfa46

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

packages/tailwind-preset/index.js

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,19 @@ module.exports = {
99
brand: {
1010
logo : theme.colors.red[40],
1111
action: theme.colors.red[40],
12-
accent: theme.colors.blue[40],
12+
accent: {
13+
DEFAULT : theme.colors.blue[40],
14+
subtlest: theme.colors.blue.milk,
15+
},
1316
},
1417
dark: {
1518
brand: {
1619
logo : theme.colors.gray[0],
1720
action: theme.colors.red[30],
18-
accent: theme.colors.blue[30],
21+
accent: {
22+
DEFAULT : theme.colors.blue[30],
23+
subtlest: theme.colors.blue.milk,
24+
},
1925
},
2026
},
2127
alpha: {

src/components/text/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Used for the title of any sub-sections
1818
Default style of `Text` is a body text
1919

2020
<preview>
21-
<p-text>The quick brown fox jumps over the lazy dog.</p-text>
21+
<p-text class="bg-brand-accent">The quick brown fox jumps over the lazy dog.</p-text>
2222
</preview>
2323

2424
```vue

0 commit comments

Comments
 (0)