Skip to content

Commit

Permalink
shahzaib/chore: added tailwind css config (binary-com#12582)
Browse files Browse the repository at this point in the history
  • Loading branch information
shahzaib-deriv committed Dec 28, 2023
1 parent 2b05ee2 commit 7fab93c
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 9 deletions.
25 changes: 16 additions & 9 deletions packages/library/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,21 @@
{
"name": "@deriv/library",
"private": true,
"version": "1.0.0",
"main": "src/index.ts",
"dependencies": {
"@deriv/quill-design": "^1.3.2",
"@deriv/quill-icons": "^1.0.10",
"react": "^17.0.2"
"name": "@deriv/library",
"private": true,
"version": "1.0.0",
"main": "src/index.ts",
"dependencies": {
"@deriv/quill-design": "^1.3.2",
"@deriv/quill-icons": "^1.0.10",
"react": "^17.0.2",
"usehooks-ts": "^2.7.0",
"@deriv/api": "^1.0.0",
"formik": "^2.1.4",
"yup": "^0.32.11",
"react-i18next": "^11.11.0"
},
"devDependencies": {
"typescript": "^4.6.3"
"typescript": "^4.6.3",
"tailwindcss": "^3.3.6",
"@typescript-eslint/eslint-plugin": "5.45.0"
}
}
12 changes: 12 additions & 0 deletions packages/library/src/index.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
@tailwind base;
@tailwind components;
@tailwind utilities;

@import '@deriv/quill-design/dist/quill-design.css';
@import '@deriv/quill-design/quill-tailwind/styles.css';
@import '@deriv/quill-design/quill-tailwind/fonts.css';

svg {
display: inline; /* 1 */
vertical-align: middle; /* 2 */
}
2 changes: 2 additions & 0 deletions packages/library/src/index.ts
Original file line number Diff line number Diff line change
@@ -1 +1,3 @@
import './index.scss';

export * as Base from './base';

0 comments on commit 7fab93c

Please sign in to comment.