Skip to content

Commit

Permalink
refactor: add accent subtle
Browse files Browse the repository at this point in the history
  • Loading branch information
irsyadadl committed Aug 22, 2024
1 parent 4e1f28c commit f512b20
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 6 deletions.
6 changes: 4 additions & 2 deletions src/resources/stubs/laravel/tailwind.config.laravel.stub
Original file line number Diff line number Diff line change
Expand Up @@ -55,8 +55,10 @@ const config = withTV({
fg: 'hsl(var(--tertiary-fg))'
},
accent: {
DEFAULT: 'hsl(var(--accent))',
fg: 'hsl(var(--accent-fg))'
DEFAULT: "hsl(var(--accent))",
fg: "hsl(var(--accent-fg))",
subtle: "hsl(var(--accent-subtle))",
'subtle-fg': "hsl(var(--accent-subtle-fg))"
},
success: {
DEFAULT: 'hsl(var(--success))',
Expand Down
6 changes: 4 additions & 2 deletions src/resources/stubs/next/tailwind.config.next.stub
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ const config = withTV({
fg: 'hsl(var(--tertiary-fg))'
},
accent: {
DEFAULT: 'hsl(var(--accent))',
fg: 'hsl(var(--accent-fg))'
DEFAULT: "hsl(var(--accent))",
fg: "hsl(var(--accent-fg))",
subtle: "hsl(var(--accent-subtle))",
'subtle-fg': "hsl(var(--accent-subtle-fg))"
},
success: {
DEFAULT: 'hsl(var(--success))',
Expand Down
6 changes: 4 additions & 2 deletions src/resources/stubs/vite/tailwind.config.vite.stub
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,10 @@ const config = withTV({
fg: 'hsl(var(--tertiary-fg))'
},
accent: {
DEFAULT: 'hsl(var(--accent))',
fg: 'hsl(var(--accent-fg))'
DEFAULT: "hsl(var(--accent))",
fg: "hsl(var(--accent-fg))",
subtle: "hsl(var(--accent-subtle))",
'subtle-fg': "hsl(var(--accent-subtle-fg))"
},
success: {
DEFAULT: 'hsl(var(--success))',
Expand Down
6 changes: 6 additions & 0 deletions src/resources/tailwind-css/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@
--accent: 216.74 100% 50%;
--accent-fg: 0 0% 100%;

--accent-subtle: 216.92 100% 97.45%;
--accent-subtle-fg: 216.74 100% 50%;

--success: 161.38 93.55% 30.39%;
--success-fg: 151.76 80.95% 95.88%;

Expand Down Expand Up @@ -68,6 +71,9 @@
--accent: 216 98% 52%;
--accent-fg: 0 0% 100%;

--accent-subtle: 216 93.75% 6.27%;
--accent-subtle-fg: 216 98% 52%;

--tertiary: 240 10% 5.5%;
--tertiary-fg: 240 5% 96%;

Expand Down

0 comments on commit f512b20

Please sign in to comment.