Skip to content

Commit

Permalink
fix(component): extends colors in tailwind config (#680)
Browse files Browse the repository at this point in the history
  • Loading branch information
jorgemoya committed Mar 19, 2024
1 parent 6f829cf commit 5af0e66
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 24 deletions.
5 changes: 5 additions & 0 deletions .changeset/small-ears-suffer.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@bigcommerce/components": patch
---

Extend colors in Tailwind config.
48 changes: 24 additions & 24 deletions packages/components/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,31 +4,31 @@
const config = {
content: ['./src/**/*.{ts,tsx}', './app/**/*.{ts,tsx}', './components/**/*.{ts,tsx}'],
theme: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: '#000000',
primary: '#053FB0',
secondary: '#3071EF',
white: '#FFFFFF',
error: {
DEFAULT: '#AD0000',
secondary: '#C62828',
},
success: {
DEFAULT: '#146622',
secondary: '#388E3C',
},
gray: {
100: '#F1F3F5',
200: '#CFD8DC',
300: '#AFBAC5',
400: '#90A4AE',
500: '#546E7A',
600: '#091D45',
},
},
extend: {
colors: {
transparent: 'transparent',
current: 'currentColor',
black: '#000000',
primary: '#053FB0',
secondary: '#3071EF',
white: '#FFFFFF',
error: {
DEFAULT: '#AD0000',
secondary: '#C62828',
},
success: {
DEFAULT: '#146622',
secondary: '#388E3C',
},
gray: {
100: '#F1F3F5',
200: '#CFD8DC',
300: '#AFBAC5',
400: '#90A4AE',
500: '#546E7A',
600: '#091D45',
},
},
fontFamily: {
sans: ['var(--font-inter)'],
},
Expand Down

0 comments on commit 5af0e66

Please sign in to comment.