Skip to content

Commit

Permalink
chore: remove quill-design base styles in accountv2 package (binary-c…
Browse files Browse the repository at this point in the history
  • Loading branch information
thisyahlen-deriv committed Feb 26, 2024
1 parent ef7e2a5 commit dec0ddd
Show file tree
Hide file tree
Showing 2 changed files with 123 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/account-v2/src/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,6 @@
@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;
vertical-align: middle;
Expand Down
123 changes: 123 additions & 0 deletions packages/account-v2/tailwind.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,43 @@ export default {
presets: [QuillTailwindConfig],
theme: {
extend: {
borderRadius: {
none: '0',
xs: '4px',
sm: '6px',
default: '8px',
lg: '12px',
xl: '16px',
full: '50%',
},
borderWidth: {
0: '0',
1: '1px',
2: '2px',
3: '3px',
4: '4px',
5: '5px',
6: '6px',
7: '7px',
8: '8px',
9: '9px',
10: '10px',
},
fontSize: {
'2xs': '8px',
xs: '10px',
sm: '12px',
default: '14px',
lg: '16px',
xl: '18px',
'2xl': '20px',
'3xl': '22px',
'4xl': '24px',
'5xl': '26px',
'6xl': '28px',
'7xl': '30px',
'8xl': '32px',
},
colors: {
solid: {
grey: {
Expand All @@ -28,6 +65,92 @@ export default {
'2': '#C7E5E5',
},
},
status: {
dark: {
danger: '#cc2e3d',
general: '#ffffff',
information: '#377cfc',
success: '#00a79e',
warning: '#ffad3a',
},
light: {
danger: '#ec3f3f',
information: '#377cfc',
success: '#4bb4b3',
warning: '#ffad3a',
},
},
system: {
dark: {
'active-background': '#323738',
'disabled-text': '#3e3e3e',
'general-text': '#c2c2c2',
'hover-background': '#242828',
'less-prominent': '#6e6e6e',
'less-prominent-text': '#6e6e6e',
'primary-background': '#0e0e0e',
'prominent-text': '#ffffff',
'secondary-background': '#151717',
'text-info-blue-background': '#182130',
},
light: {
'active-background': '#d6dadb',
'disabled-text': '#d6d6d6',
'general-text': '#333333',
'hover-background': '#e6e9e9',
'less-prominent': '#999999',
'less-prominent-text': '#999999',
'primary-background': '#ffffff',
'prominent-text': '#333333',
'secondary-background': '#f2f3f4',
'text-info-blue-background': '#dfeaff',
},
},
},
screens: {
sm: { max: '600px' },
md: { min: '601px' },
lg: { min: '1280px' },
xl: { min: '1440px' },
},
spacing: {
0: '0px',
1: '1px',
2: '2px',
3: '3px',
4: '4px',
5: '5px',
6: '6px',
7: '7px',
8: '8px',
9: '9px',
10: '10px',
11: '11px',
12: '12px',
14: '14px',
16: '16px',
18: '18px',
20: '20px',
22: '22px',
24: '24px',
26: '26px',
28: '28px',
30: '30px',
32: '32px',
34: '34px',
36: '36px',
38: '38px',
40: '40px',
42: '42px',
44: '44px',
46: '46px',
48: '48px',
50: '50px',
52: '52px',
54: '54px',
56: '56px',
58: '58px',
60: '60px',
},
},
},
Expand Down

0 comments on commit dec0ddd

Please sign in to comment.