qlu-20-ui-library 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +36 -0
- package/.run/demo_start.run.xml +12 -0
- package/.run/storybook.run.xml +12 -0
- package/dist/assets/index-22ff84d5.js +44 -0
- package/dist/assets/index-655b6c8f.css +1 -0
- package/dist/index.html +15 -0
- package/index.html +13 -0
- package/package.json +38 -0
- package/src/App.scss +38 -0
- package/src/App.tsx +216 -0
- package/src/_colors.scss +248 -0
- package/src/_fonts.scss +60 -0
- package/src/_svg.scss +27 -0
- package/src/components/AddAdditionalIdealProfileCard/AddAdditionalIdealProfileCard.tsx +52 -0
- package/src/components/AddAdditionalIdealProfileCard/style.scss +42 -0
- package/src/components/CircularIcon/CircularIcon.tsx +24 -0
- package/src/components/CircularIcon/style.scss +3 -0
- package/src/components/CircularSvgButton/CircularSvgButton.tsx +54 -0
- package/src/components/CircularSvgButton/style.scss +105 -0
- package/src/components/ClickableText/ClickableText.tsx +50 -0
- package/src/components/ClickableText/style.scss +68 -0
- package/src/components/CompanyPillNotClicakble/CompanyPillNotClicakble.tsx +32 -0
- package/src/components/CompanyPillNotClicakble/style.scss +21 -0
- package/src/components/GetSvgIcon/GetSvgIcon.tsx +65 -0
- package/src/components/HiringCompanyConciseCard/HiringCompanyConciseCard.tsx +42 -0
- package/src/components/HiringCompanyConciseCard/style.scss +31 -0
- package/src/components/IdealProfileConciseCard/IdealProfileConciseCard.tsx +47 -0
- package/src/components/IdealProfileConciseCard/style.scss +31 -0
- package/src/components/IdealProfileSelectionCard/IdealProfileSelectionCard.tsx +83 -0
- package/src/components/IdealProfileSelectionCard/style.scss +58 -0
- package/src/components/InputField/InputField.tsx +28 -0
- package/src/components/InputField/style.scss +44 -0
- package/src/components/PrimaryButton/PrimaryButton.tsx +40 -0
- package/src/components/PrimaryButton/style.scss +65 -0
- package/src/components/RangeComponent/RangeComponent.tsx +40 -0
- package/src/components/RangeComponent/style.scss +4 -0
- package/src/components/SecondaryButton/SecondaryButton.tsx +41 -0
- package/src/components/SecondaryButton/style.scss +66 -0
- package/src/components/TertiaryButton/TertiaryButton.tsx +39 -0
- package/src/components/TertiaryButton/style.scss +55 -0
- package/src/components/TextButton/TextButton.tsx +34 -0
- package/src/components/TextButton/style.scss +91 -0
- package/src/components/TextPillNotClickable/TextPillNotClickable.tsx +25 -0
- package/src/components/TextPillNotClickable/style.scss +31 -0
- package/src/components/TruncateText/TruncateText.tsx +43 -0
- package/src/index.css +69 -0
- package/src/main.tsx +10 -0
- package/src/svg/Clock.tsx +25 -0
- package/src/svg/Cross.tsx +24 -0
- package/src/svg/LinkedinLogo.tsx +24 -0
- package/src/svg/Plus.tsx +20 -0
- package/src/svg/Thumb.tsx +25 -0
- package/src/svg/Tick.tsx +23 -0
- package/src/utils.ts +9 -0
- package/src/vite-env.d.ts +1 -0
- package/tsconfig.node.json +10 -0
- package/vite.config.ts +7 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@import"https://fonts.googleapis.com/css2?family=Inter";#root{min-width:100vw;min-height:100vh;display:flex;align-items:center;justify-content:center;gap:24px}body{margin:0;background-color:#000}.appClass{padding:24px;min-width:100vw;min-height:100vh;box-sizing:border-box;display:flex;flex-direction:column;align-items:left;gap:24px}.appClass>span{display:flex;flex-direction:row;gap:12px}.appClass>span>h2{background-color:gray;padding:2px;border-radius:12px}.primary-orange--CircularSvgButton{background-color:#ff8d4e;transition:background-color .3s ease-in-out,color .3s ease-in-out;border:none}.primary-orange--CircularSvgButton>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#190e08;stroke:#190e08}.primary-orange--CircularSvgButton:hover{background-color:#c3713e}.primary-orange--CircularSvgButton:hover>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#fff;stroke:#fff}.primary-orange--CircularSvgButton:active:not(:disabled){outline:2px solid #FFB58C}.primary-gray--CircularSvgButton{background-color:#999;transition:background-color .3s ease-in-out,color .3s ease-in-out;border:none}.primary-gray--CircularSvgButton>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#0f0f0f;stroke:#0f0f0f}.primary-gray--CircularSvgButton:hover{background-color:#868686}.primary-gray--CircularSvgButton:hover>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#0f0f0f;stroke:#0f0f0f}.primary-gray--CircularSvgButton:active:not(:disabled){outline:2px solid #ADADAD}.primary-black--CircularSvgButton{background-color:#232323;transition:background-color .3s ease-in-out,color .3s ease-in-out;border:none}.primary-black--CircularSvgButton>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#fff;stroke:#fff}.primary-black--CircularSvgButton:hover{background-color:#373737}.primary-black--CircularSvgButton:hover>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#fff;stroke:#fff}.primary-black--CircularSvgButton:active:not(:disabled){outline:2px solid #999999}.secondary-orange--CircularSvgButton{background-color:transparent;border:1px solid #FF8D4E;transition:background-color .3s ease-in-out,color .3s ease-in-out}.secondary-orange--CircularSvgButton>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#190e08;stroke:#190e08}.secondary-orange--CircularSvgButton:hover{background-color:#ff8d4e}.secondary-orange--CircularSvgButton:hover>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#fff;stroke:#fff}.secondary-orange--CircularSvgButton:active:not(:disabled){outline:2px solid #FFB58C}.secondary-gray--CircularSvgButton{background-color:transparent;border:1px solid #868686;transition:background-color .3s ease-in-out,color .3s ease-in-out}.secondary-gray--CircularSvgButton>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#0f0f0f;stroke:#0f0f0f}.secondary-gray--CircularSvgButton:hover{background-color:#868686}.secondary-gray--CircularSvgButton:hover>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#fff;stroke:#fff}.secondary-gray--CircularSvgButton:active:not(:disabled){outline:2px solid #ADADAD}.secondary-black--CircularSvgButton{background-color:transparent;border:1px solid #232323;transition:background-color .3s ease-in-out,color .3s ease-in-out}.secondary-black--CircularSvgButton>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#0f0f0f;stroke:#0f0f0f}.secondary-black--CircularSvgButton:hover{background-color:#232323}.secondary-black--CircularSvgButton:hover>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#fff;stroke:#fff}.secondary-black--CircularSvgButton:active:not(:disabled){outline:2px solid #999999}.tertiary-gray--CircularSvgButton{background-color:#373737;border:none;transition:background-color .3s ease-in-out,color .3s ease-in-out}.tertiary-gray--CircularSvgButton>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#d5d5d5;stroke:#d5d5d5}.tertiary-gray--CircularSvgButton:hover{background-color:#4b4b4b}.tertiary-gray--CircularSvgButton:active:not(:disabled){outline:2px solid #727272}.circularSvgButtonGeneric{display:flex;align-items:center;justify-content:center;border-radius:50vh;height:fit-content}.circularSvgButtonGeneric:hover{cursor:pointer}.xxsSize--CircularSvgButton{padding:0}.xsSize--CircularSvgButton{padding:6px}.smSize--CircularSvgButton{padding:8px}.baseSize--CircularSvgButton{padding:10px}.lSize--CircularSvgButton{padding:12px}.xlSize--CircularSvgButton{padding:14px}.clickableTextGeneric{display:flex;flex-direction:row;background:transparent;border-radius:8px;gap:8px;width:fit-content;height:fit-content;outline:none;border:1px solid transparent}.clickableTextGeneric:hover{cursor:pointer}.iconOnLeftClickableText{flex-direction:row-reverse}.orangeClickableText{color:#ff8d4e;transition:color .3s ease-in-out,background-color .3s ease-in-out,border .3s ease-in-out,outline .3s ease-in-out}.orangeClickableText>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#ff8d4e;stroke:#ff8d4e}.orangeClickableText:hover{color:#ff9e69}.orangeClickableText:hover>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#ff9e69;stroke:#ff9e69}.grayClickableText{color:#999;transition:color .3s ease-in-out,background-color .3s ease-in-out,border .3s ease-in-out,outline .3s ease-in-out}.grayClickableText>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#999;stroke:#999}.grayClickableText:hover{color:#c1c1c1}.grayClickableText:hover>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#c1c1c1;stroke:#c1c1c1}.xsSizeClickableText{font-family:Inter;font-size:12px;font-weight:500;line-height:18px;padding:2px 4px}.smSizeClickableText{font-family:Inter;font-size:14px;font-weight:500;line-height:21px;padding:4px 8px}.baseSizeClickableText{font-family:Inter;font-size:16px;font-weight:500;line-height:24px;padding:6px 12px}.companyPillNotClickable{display:flex;flex-direction:row;align-items:center;justify-content:space-between;padding:8px 16px 8px 8px;border-radius:50vh;gap:8px;height:fit-content;background-color:#232323}.companyPillNotClickable>p{font-family:Inter;color:#d5d5d5;background-color:transparent;margin:0;padding:0;font-weight:400;font-size:14px;line-height:21px}.circularIcon{border-radius:50%}.hiringCompanyConciseCard{display:flex;flex-direction:row;border:1px solid #232323;border-radius:8px;background:linear-gradient(212.26deg,rgba(73,73,73,.2) 0%,rgba(73,73,73,0) 99.04%);padding:16px;box-sizing:border-box;gap:12px;width:350px}.hiringCompanyConciseCardCompanyDetails{display:flex;flex-direction:column}.hiringCompanyConciseCardCompanyDetails>h3{font-family:Inter;color:#d5d5d5;background-color:transparent;margin:0;padding:0;font-weight:600;font-size:16px;line-height:24px}.hiringCompanyConciseCardCompanyDetails>span{font-family:Inter;color:#adadad;background-color:transparent;margin:0;padding:0;font-weight:400;font-size:14px;line-height:21px;display:inline}.idealProfileConciseCard{display:flex;flex-direction:row;border:1px solid #232323;border-radius:8px;background:linear-gradient(212.26deg,rgba(73,73,73,.2) 0%,rgba(73,73,73,0) 99.04%);padding:16px;box-sizing:border-box;gap:12px;width:350px}.idealProfileConciseCardProfileDetails{display:flex;flex-direction:column}.idealProfileConciseCardProfileDetails>h3{font-family:Inter;color:#d5d5d5;background-color:transparent;margin:0;padding:0;font-weight:600;font-size:16px;line-height:24px}.idealProfileConciseCardProfileDetails span{font-family:Inter;color:#adadad;background-color:transparent;margin:0;padding:0;font-weight:400;font-size:14px;line-height:21px;display:inline}:root{--rt-color-white:#fff;--rt-color-dark:#222;--rt-color-success:#8dc572;--rt-color-error:#be6464;--rt-color-warning:#f0ad4e;--rt-color-info:#337ab7;--rt-opacity:.9}.styles-module_tooltip__mnnfp{border-radius:3px;font-size:90%;left:0;opacity:0;padding:8px 16px;pointer-events:none;position:absolute;top:0;transition:opacity .3s ease-out;visibility:hidden;width:max-content;will-change:opacity,visibility}.styles-module_fixed__7ciUi{position:fixed}.styles-module_arrow__K0L3T{background:inherit;height:8px;position:absolute;transform:rotate(45deg);width:8px}.styles-module_noArrow__T8y2L{display:none}.styles-module_clickable__Bv9o7{pointer-events:auto}.styles-module_show__2NboJ{opacity:var(--rt-opacity);visibility:visible}.styles-module_dark__xNqje{background:var(--rt-color-dark);color:var(--rt-color-white)}.styles-module_light__Z6W-X{background-color:var(--rt-color-white);color:var(--rt-color-dark)}.styles-module_success__A2AKt{background-color:var(--rt-color-success);color:var(--rt-color-white)}.styles-module_warning__SCK0X{background-color:var(--rt-color-warning);color:var(--rt-color-white)}.styles-module_error__JvumD{background-color:var(--rt-color-error);color:var(--rt-color-white)}.styles-module_info__BWdHW{background-color:var(--rt-color-info);color:var(--rt-color-white)}.idealProfileSelectionCard{display:flex;flex-direction:row;border-radius:8px;padding:16px;box-sizing:border-box;gap:12px;width:350px}.idealProfileSelectionCardSelected{border:1px solid #FF8D4E;background:linear-gradient(212.26deg,rgba(255,141,78,.2) 0%,rgba(73,73,73,0) 99.04%)}.idealProfileSelectionCardUnelected{border:1px solid #232323;background:linear-gradient(212.26deg,rgba(73,73,73,.2) 0%,rgba(73,73,73,0) 99.04%)}.idealProfileSelectionCardProfileDetails{display:flex;flex-direction:column;gap:4px;width:85%}.idealProfileSelectionCardProfileDetails .idealProfileSelectionCardProfileName{display:flex;align-items:center;gap:4px}.idealProfileSelectionCardProfileDetails .idealProfileSelectionCardProfileName>h3{font-family:Inter;color:#d5d5d5;background-color:transparent;margin:0;padding:0;font-weight:600;font-size:16px;line-height:24px}.idealProfileSelectionCardProfileDetails .idealProfileSelectionCardProfileName>span{width:fit-content;height:fit-content}.idealProfileSelectionCardProfileDetails .idealProfileSelectionCardProfileName>span>svg>path{transition:fill .3s ease-in-out,stroke .3s ease-in-out;fill:#727272;stroke:#727272}.idealProfileSelectionCardProfileDetails .idealProfileSelectionCardProfileName>span:hover{cursor:pointer}.idealProfileSelectionCardProfileDetails .idealProfileSelectionCardProfileRole{font-family:Inter;color:#adadad;background-color:transparent;margin:0;padding:0;font-weight:400;font-size:14px;line-height:21px;display:inline}.idealProfileSelectionCardProfileDetails .idealProfileSelectionCardButton{width:fit-content;align-self:flex-end}.tertiaryButtonGeneric{display:flex;align-items:center;justify-content:center;text-align:center;border-radius:8px;min-width:110px;border:none;outline:0px;height:fit-content;color:#adadad;background-color:#232323;border:1px solid #5E5E5E;transition:color .3s ease-in-out,background-color .3s ease-in-out,border-color .3s ease-in-out}.tertiaryButtonGeneric:hover{color:#fff;background-color:#373737;border-color:#4b4b4b}.tertiaryButtonGeneric:active:not(:disabled){outline:2px solid #5E5E5E}.tertiaryButtonGeneric:hover{cursor:pointer}.tertiaryButtonGeneric:disabled{cursor:not-allowed}.xsSize--TertiaryButton{font-family:Inter;font-size:12px;font-weight:500;line-height:18px;padding:8px 12px}.smSize--TertiaryButton{font-family:Inter;font-size:14px;font-weight:500;line-height:21px;padding:8px 12px}.baseSize--TertiaryButton{font-family:Inter;font-size:16px;font-weight:500;line-height:24px;padding:10px 20px}.inputFieldGeneric{padding:8px 12px;border:1px solid;border-radius:8px;height:fit-content;transition:background-color .3s ease-in-out,color .3s ease-in-out,border-color .3s ease-in-out;background-color:#232323;border-color:#4b4b4b;color:#fff}.inputFieldGeneric::placeholder:not(:disabled){color:#999}.inputFieldGeneric:hover:not(:disabled){border-color:#868686}.inputFieldGeneric:focus:not(:disabled){outline:none;border-color:#ff8d4e}.errorInputField{background-color:#232323;border-color:#f05252;color:#fff}.errorInputField::placeholder:not(:disabled){color:#f05252}.errorInputField:focus:not(:disabled){outline:none;border-color:#ff8d4e}.primaryButtonGeneric{display:flex;align-items:center;justify-content:center;text-align:center;border-radius:8px;min-width:110px;border:none;outline:0px;height:fit-content}.primaryButtonGeneric:hover{cursor:pointer}.primaryButtonGeneric:disabled{cursor:not-allowed}.orange--PrimaryButton{color:#190e08;background-color:#ff8d4e;transition:color .3s ease-in-out,background-color .3s ease-in-out,border .3s ease-in-out}.orange--PrimaryButton:hover{color:#fff;background-color:#c3713e}.orange--PrimaryButton:active:not(:disabled){outline:2px solid #FFB58C}.black--PrimaryButton{color:#fff;background-color:#232323;transition:color .3s ease-in-out,background-color .3s ease-in-out,border .3s ease-in-out}.black--PrimaryButton:hover{color:#fff;background-color:#373737}.black--PrimaryButton:active:not(:disabled){outline:2px solid #999999}.gray--PrimaryButton{color:#232323;background-color:#999;transition:color .3s ease-in-out,background-color .3s ease-in-out,border .3s ease-in-out}.gray--PrimaryButton:hover{color:#232323;background-color:#868686}.gray--PrimaryButton:active:not(:disabled){outline:2px solid #ADADAD}.xsSize--PrimaryButton{font-family:Inter;font-size:12px;font-weight:500;line-height:18px;padding:8px 12px}.smSize--PrimaryButton{font-family:Inter;font-size:14px;font-weight:500;line-height:21px;padding:8px 12px}.baseSize--PrimaryButton{font-family:Inter;font-size:16px;font-weight:500;line-height:24px;padding:10px 20px}.secondaryButtonGeneric{display:flex;align-items:center;justify-content:center;text-align:center;border-radius:8px;min-width:110px;border:none;outline:0px;height:fit-content}.secondaryButtonGeneric:hover{cursor:pointer}.secondaryButtonGeneric:disabled{cursor:not-allowed}.orange--SecondaryButton{color:#ff8d4e;background-color:transparent;border:1px solid #FF8D4E;transition:color .3s ease-in-out,background-color .3s ease-in-out}.orange--SecondaryButton:hover{color:#fff;background-color:#ff8d4e}.orange--SecondaryButton:active:not(:disabled){outline:2px solid #FFB58C}.black--SecondaryButton{color:#232323;background-color:transparent;border:1px solid #232323;transition:color .3s ease-in-out,background-color .3s ease-in-out}.black--SecondaryButton:hover{color:#fff;background-color:#373737}.black--SecondaryButton:active:not(:disabled){outline:2px solid #999999}.gray--SecondaryButton{color:#232323;background-color:transparent;border:1px solid #232323;transition:color .3s ease-in-out,background-color .3s ease-in-out}.gray--SecondaryButton:hover{color:#fff;background-color:#868686}.gray--SecondaryButton:active:not(:disabled){outline:2px solid #ADADAD}.xsSize--SecondaryButton{font-family:Inter;font-size:12px;font-weight:500;line-height:18px;padding:8px 12px}.smSize--SecondaryButton{font-family:Inter;font-size:14px;font-weight:500;line-height:21px;padding:8px 12px}.baseSize--SecondaryButton{font-family:Inter;font-size:16px;font-weight:500;line-height:24px;padding:10px 20px}.textButtonGeneric{display:flex;align-items:center;justify-content:center;text-align:center;height:fit-content;border:none;border-radius:8px;transition:background-color .3s ease-in-out,color .3s ease-in-out}.textButtonGeneric:hover{cursor:pointer}.textButtonGeneric:active:not(:disabled){outline:2px solid black}.textButtonGeneric:disabled{cursor:not-allowed}.primaryOrange{background-color:#c3713e;color:#66381f}.primaryOrange:hover{cursor:pointer;background-color:#c3713e;color:#fff}.primaryOrange:active:not(:disabled){outline:2px solid #FFB58C}.primaryOrangeBorder{background-color:transparent;color:#e57f46;border:1px solid #FF8D4E}.primaryOrangeBorder:hover{cursor:pointer;background-color:#ff8d4e;color:#fff;border:1px solid #FF8D4E}.primaryOrangeBorder:active:not(:disabled){outline:2px solid #FFB58C}.alternativeDarkBorder{background-color:#232323;color:#adadad;border:1px solid #5E5E5E}.alternativeDarkBorder:hover{cursor:pointer;background-color:#373737;color:#fff}.alternativeDarkBorder:active:not(:disabled){outline:2px solid #868686}.xsSize{font-family:Inter;font-size:12px;font-weight:500;line-height:18px;padding:4px}.smSize{font-family:Inter;font-size:14px;font-weight:500;line-height:21px;padding:8px}.baseSize{font-family:Inter;font-size:14px;font-weight:500;line-height:21px;padding:10px}.lSize{font-family:Inter;font-size:16px;font-weight:500;line-height:24px;padding:12px}.xlSize{font-family:Inter;font-size:16px;font-weight:500;line-height:24px;padding:14px}.textPillNotClickableGeneric{display:flex;flex-direction:row;text-align:center;border-radius:50vh;height:fit-content}.textPillNotClickableBorder{border:.5px solid #5E5E5E}.xsSize{font-family:Inter;color:#868686;background-color:#232323;margin:0;font-weight:500;font-size:12px;line-height:18px;padding:6px 12px}.smSize{font-family:Inter;color:#868686;background-color:#232323;margin:0;font-weight:500;font-size:14px;line-height:21px;padding:6px 12px}.baseSize{font-family:Inter;color:#868686;background-color:#232323;margin:0;font-weight:500;font-size:16px;line-height:24px;padding:6px 12px}.addTribeMemberCard{display:flex;flex-direction:row;border:1px solid #232323;border-radius:8px;background:linear-gradient(212.26deg,rgba(73,73,73,.2) 0%,rgba(73,73,73,0) 99.04%);padding:16px;box-sizing:border-box;gap:12px;width:350px}.addTribeMemberCard>span{display:flex;flex-direction:row;align-items:center;justify-content:space-between;width:85%}.addTribeMemberCard>span .addTribeMemberCard--Details{display:flex;flex-direction:column}.addTribeMemberCard>span .addTribeMemberCard--Details>span>h3{font-family:Inter;color:#d5d5d5;background-color:transparent;margin:0;padding:0;font-weight:600;font-size:16px;line-height:24px}.addTribeMemberCard>span .addTribeMemberCard--Details>span>p{font-family:Inter;color:#adadad;background-color:transparent;margin:0;padding:0;font-weight:400;font-size:14px;line-height:21px;display:inline}.input-range__slider{appearance:none;background:#3f51b5;border:1px solid #3f51b5;border-radius:100%;cursor:pointer;display:block;height:1rem;margin-left:-.5rem;margin-top:-.65rem;outline:none;position:absolute;top:50%;transition:transform .3s ease-out,box-shadow .3s ease-out;width:1rem}.input-range__slider:active{transform:scale(1.3)}.input-range__slider:focus{box-shadow:0 0 0 5px #3f51b533}.input-range--disabled .input-range__slider{background:#cccccc;border:1px solid #cccccc;box-shadow:none;transform:none}.input-range__slider-container{transition:left .3s ease-out}.input-range__label{color:#aaa;font-family:Helvetica Neue,san-serif;font-size:.8rem;transform:translateZ(0);white-space:nowrap}.input-range__label--min,.input-range__label--max{bottom:-1.4rem;position:absolute}.input-range__label--min{left:0}.input-range__label--max{right:0}.input-range__label--value{position:absolute;top:-1.8rem}.input-range__label-container{left:-50%;position:relative}.input-range__label--max .input-range__label-container{left:50%}.input-range__track{background:#eeeeee;border-radius:.3rem;cursor:pointer;display:block;height:.3rem;position:relative;transition:left .3s ease-out,width .3s ease-out}.input-range--disabled .input-range__track{background:#eeeeee}.input-range__track--background{left:0;margin-top:-.15rem;position:absolute;right:0;top:50%}.input-range__track--active{background:#3f51b5}.input-range{height:1rem;position:relative;width:100%}:export{orange-25:#FFFCFA;orange-50:#FFF0E8;orange-100:#FFE0CF;orange-200:#FFCFB5;orange-300:#FFB58C;orange-400:#FF9E69;orange-500:#FF8D4E;orange-600:#E57F46;orange-700:#C3713E;orange-800:#99552F;orange-900:#66381F;orange-950:#331C10;orange-990:#190E08;gray-10:#FAFAFA;gray-15:#E8E8E8;gray-25:#D5D5D5;gray-50:#C1C1C1;gray-100:#ADADAD;gray-200:#999999;gray-300:#868686;gray-400:#727272;gray-500:#5E5E5E;gray-600:#4B4B4B;gray-700:#373737;gray-800:#232323;gray-900:#0F0F0F;blue-50:#EBF5FF;blue-100:#E1EFFE;blue-200:#C3DDFD;blue-300:#A4CAFE;blue-400:#76A9FA;blue-500:#3F83F8;blue-600:#1C64F2;blue-700:#1A56DB;blue-800:#1E429F;blue-900:#233876;red-50:#FDF2F2;red-100:#FDE8E8;red-200:#FBD5D5;red-300:#F8B4B4;red-400:#F98080;red-500:#F05252;red-600:#E02424;red-700:#C81E1E;red-800:#9B1C1C;red-900:#771D1D;twOrange-50:#FFF8F1;twOrange-100:#FEECDC;twOrange-200:#FCD9BD;twOrange-300:#FDBA8C;twOrange-400:#FF8A4C;twOrange-500:#FF5A1F;twOrange-600:#D03801;twOrange-700:#B43403;twOrange-800:#8A2C0D;twOrange-900:#771D1D;yellow-50:#FDFDEA;yellow-100:#FDF6B2;yellow-200:#FCE96A;yellow-300:#FACA15;yellow-400:#E3A008;yellow-500:#C27803;yellow-600:#9F580A;yellow-700:#8E4B10;yellow-800:#723B13;yellow-900:#633112;green-50:#F3FAF7;green-100:#DEF7EC;green-200:#BCF0DA;green-300:#84E1BC;green-400:#31C48D;green-500:#0E9F6E;green-600:#057A55;green-700:#046C4E;green-800:#03543F;green-900:#014737;teal-50:#EDFAFA;teal-100:#D5F5F6;teal-200:#AFECEF;teal-300:#7EDCE2;teal-400:#16BDCA;teal-500:#0694A2;teal-600:#047481;teal-700:#036672;teal-800:#05505C;teal-900:#014451;indigo-50:#F0F5FF;indigo-100:#E5EDFF;indigo-200:#CDDBFE;indigo-300:#B46CFC;indigo-400:#8DA2FB;indigo-500:#6875F5;indigo-600:#5850EC;indigo-700:#5145CD;indigo-800:#42389D;indigo-900:#362F78;purple-50:#F6F5FF;purple-100:#EDEBFE;purple-200:#DCD7FE;purple-300:#CABFFD;purple-400:#AC94FA;purple-500:#9061F9;purple-600:#7E3AF2;purple-700:#6C2BD9;purple-800:#5521B5;purple-900:#4A1D96;pink-50:#FDF2F8;pink-100:#FCE8F3;pink-200:#FAD1ED;pink-300:#F8B4D9;pink-400:#F17EB8;pink-500:#E74694;pink-600:#D61F69;pink-700:#BF125D;pink-800:#99154B;pink-900:#751A3D}
|
package/dist/index.html
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>Vite + React + TS</title>
|
|
8
|
+
<script type="module" crossorigin src="/assets/index-22ff84d5.js"></script>
|
|
9
|
+
<link rel="stylesheet" href="/assets/index-655b6c8f.css">
|
|
10
|
+
</head>
|
|
11
|
+
<body>
|
|
12
|
+
<div id="root"></div>
|
|
13
|
+
|
|
14
|
+
</body>
|
|
15
|
+
</html>
|
package/index.html
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8" />
|
|
5
|
+
<link rel="icon" type="image/svg+xml" href="/vite.svg" />
|
|
6
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
7
|
+
<title>Vite + React + TS</title>
|
|
8
|
+
</head>
|
|
9
|
+
<body>
|
|
10
|
+
<div id="root"></div>
|
|
11
|
+
<script type="module" src="/src/main.tsx"></script>
|
|
12
|
+
</body>
|
|
13
|
+
</html>
|
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "qlu-20-ui-library",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"scripts": {
|
|
6
|
+
"dev": "vite",
|
|
7
|
+
"build": "tsc && vite build",
|
|
8
|
+
"lint": "eslint src --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
9
|
+
"preview": "vite preview"
|
|
10
|
+
},
|
|
11
|
+
"dependencies": {
|
|
12
|
+
"@babel/runtime": "^7.21.5",
|
|
13
|
+
"clsx": "^1.2.1",
|
|
14
|
+
"react": "^18.2.0",
|
|
15
|
+
"react-dom": "^18.2.0",
|
|
16
|
+
"react-input-range": "^1.3.0",
|
|
17
|
+
"react-tooltip": "^5.11.2",
|
|
18
|
+
"sass": "^1.62.1",
|
|
19
|
+
"uuid": "^9.0.0"
|
|
20
|
+
},
|
|
21
|
+
"devDependencies": {
|
|
22
|
+
"@types/react": "^18.0.28",
|
|
23
|
+
"@types/react-dom": "^18.0.11",
|
|
24
|
+
"@types/uuid": "^9.0.1",
|
|
25
|
+
"@typescript-eslint/eslint-plugin": "^5.59.1",
|
|
26
|
+
"@typescript-eslint/parser": "^5.59.1",
|
|
27
|
+
"@vitejs/plugin-react": "^4.0.0",
|
|
28
|
+
"eslint": "^8.38.0",
|
|
29
|
+
"eslint-plugin-react": "^7.32.2",
|
|
30
|
+
"eslint-plugin-react-hooks": "^4.6.0",
|
|
31
|
+
"eslint-plugin-react-refresh": "^0.3.4",
|
|
32
|
+
"eslint-plugin-simple-import-sort": "^10.0.0",
|
|
33
|
+
"prettier": "^2.8.8",
|
|
34
|
+
"react-hooks": "^1.0.1",
|
|
35
|
+
"typescript": "^5.0.2",
|
|
36
|
+
"vite": "^4.3.2"
|
|
37
|
+
}
|
|
38
|
+
}
|
package/src/App.scss
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
#root {
|
|
2
|
+
min-width: 100vw;
|
|
3
|
+
min-height: 100vh;
|
|
4
|
+
|
|
5
|
+
display: flex;
|
|
6
|
+
align-items: center;
|
|
7
|
+
justify-content: center;
|
|
8
|
+
|
|
9
|
+
gap: 24px;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
body{
|
|
13
|
+
margin: 0px;
|
|
14
|
+
background-color: black;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.appClass{
|
|
18
|
+
padding: 24px;
|
|
19
|
+
min-width: 100vw;
|
|
20
|
+
min-height: 100vh;
|
|
21
|
+
box-sizing: border-box;
|
|
22
|
+
|
|
23
|
+
display: flex;
|
|
24
|
+
flex-direction: column;
|
|
25
|
+
align-items: left;
|
|
26
|
+
gap: 24px;
|
|
27
|
+
|
|
28
|
+
>span{
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: row;
|
|
31
|
+
gap: 12px;
|
|
32
|
+
>h2{
|
|
33
|
+
background-color: gray;
|
|
34
|
+
padding: 2px;
|
|
35
|
+
border-radius: 12px;
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
package/src/App.tsx
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
import { useState } from 'react'
|
|
2
|
+
import './App.scss'
|
|
3
|
+
import CircularSvgButton from './components/CircularSvgButton/CircularSvgButton'
|
|
4
|
+
import ClickableText from './components/ClickableText/ClickableText'
|
|
5
|
+
import CompanyPillNotClicakble from './components/CompanyPillNotClicakble/CompanyPillNotClicakble'
|
|
6
|
+
import HiringCompanyConciseCard from './components/HiringCompanyConciseCard/HiringCompanyConciseCard'
|
|
7
|
+
import IdealProfileConciseCard from './components/IdealProfileConciseCard/IdealProfileConciseCard'
|
|
8
|
+
import IdealProfileSelectionCard from './components/IdealProfileSelectionCard/IdealProfileSelectionCard'
|
|
9
|
+
import InputField from './components/InputField/InputField'
|
|
10
|
+
import PrimaryButton from './components/PrimaryButton/PrimaryButton'
|
|
11
|
+
import SecondaryButton from './components/SecondaryButton/SecondaryButton'
|
|
12
|
+
import TertiaryButton from './components/TertiaryButton/TertiaryButton'
|
|
13
|
+
// import PlusButton from './components/PlusButton'
|
|
14
|
+
import TextButton from './components/TextButton/TextButton'
|
|
15
|
+
import TextPillNotClickable from './components/TextPillNotClickable/TextPillNotClickable'
|
|
16
|
+
import AddTribeMemberCard from './components/AddAdditionalIdealProfileCard/AddAdditionalIdealProfileCard'
|
|
17
|
+
import RangeComponent from './components/RangeComponent/RangeComponent'
|
|
18
|
+
// import TextSvgPill from './components/TextSvgPill'
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
function App() {
|
|
22
|
+
|
|
23
|
+
const anotherOne = 'https://media.licdn.com/dms/image/C5603AQHn7tbH46HwRw/profile-displayphoto-shrink_100_100/0/1651460224714?e=1688601600&v=beta&t=Rp0HL0Q-b3zSydvEhWzj67pxqvi5lIRF-ZlLloVru4o'
|
|
24
|
+
const [idealProfileSelectionCardSeletedState, setIdealProfileSelectionCardSeletedState] = useState(false)
|
|
25
|
+
const [min, setMin] = useState(1)
|
|
26
|
+
const [max, setMax] = useState(500)
|
|
27
|
+
|
|
28
|
+
type range = {
|
|
29
|
+
min: number,
|
|
30
|
+
max: number
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
return (
|
|
34
|
+
<div
|
|
35
|
+
className='appClass'
|
|
36
|
+
>
|
|
37
|
+
<span>
|
|
38
|
+
<TextButton
|
|
39
|
+
text= 'hellos'
|
|
40
|
+
onClick={() => console.log("onclick is running here")}
|
|
41
|
+
sizeVariant='base'
|
|
42
|
+
colorVariant='primaryOrangeBorder'
|
|
43
|
+
/>
|
|
44
|
+
<h2>
|
|
45
|
+
TextButton
|
|
46
|
+
</h2>
|
|
47
|
+
</span>
|
|
48
|
+
<span>
|
|
49
|
+
|
|
50
|
+
<CircularSvgButton
|
|
51
|
+
sizeVariant='xs'
|
|
52
|
+
iconType='cross'
|
|
53
|
+
onClick={() => {}}
|
|
54
|
+
color='orange'
|
|
55
|
+
variant='primary'
|
|
56
|
+
|
|
57
|
+
/>
|
|
58
|
+
<h2>
|
|
59
|
+
CircularSvgButton
|
|
60
|
+
</h2>
|
|
61
|
+
</span>
|
|
62
|
+
|
|
63
|
+
<span>
|
|
64
|
+
|
|
65
|
+
<InputField
|
|
66
|
+
placeholder='placeholder'
|
|
67
|
+
errorState={false}
|
|
68
|
+
|
|
69
|
+
/>
|
|
70
|
+
<h2>
|
|
71
|
+
InputField
|
|
72
|
+
</h2>
|
|
73
|
+
</span>
|
|
74
|
+
|
|
75
|
+
<span>
|
|
76
|
+
<CompanyPillNotClicakble
|
|
77
|
+
companyIconPath='https://media.licdn.com/dms/image/C4D03AQEAm-g06kcrWA/profile-displayphoto-shrink_100_100/0/1657698739617?e=1688601600&v=beta&t=HFsARevCLVj2r3ELaBQ7jLeoG5yO-bhJiOtUMhwpKBQ'
|
|
78
|
+
companyName='Whasssup'
|
|
79
|
+
|
|
80
|
+
/>
|
|
81
|
+
<h2>
|
|
82
|
+
CompanyPillNotClicakble
|
|
83
|
+
</h2>
|
|
84
|
+
</span>
|
|
85
|
+
|
|
86
|
+
<span>
|
|
87
|
+
<TextPillNotClickable
|
|
88
|
+
sizeVariant='base'
|
|
89
|
+
hasBorder = {true}
|
|
90
|
+
text='naming the first one'
|
|
91
|
+
/>
|
|
92
|
+
<h2>
|
|
93
|
+
TextPillNotClickable
|
|
94
|
+
</h2>
|
|
95
|
+
</span>
|
|
96
|
+
<span>
|
|
97
|
+
<IdealProfileConciseCard
|
|
98
|
+
iconUrl = {anotherOne}
|
|
99
|
+
profileName = 'Jane Doe'
|
|
100
|
+
profileCurrentRole = 'Account Manager'
|
|
101
|
+
profileCurrentCompany = "McDonald's"
|
|
102
|
+
truncationLength = {1}
|
|
103
|
+
/>
|
|
104
|
+
<h2>
|
|
105
|
+
IdealProfileConciseCard
|
|
106
|
+
</h2>
|
|
107
|
+
</span>
|
|
108
|
+
<span>
|
|
109
|
+
<HiringCompanyConciseCard
|
|
110
|
+
iconUrl = 'https://media.licdn.com/dms/image/C4D0BAQGHhAk9oJMhoA/company-logo_100_100/0/1644908739401?e=1691020800&v=beta&t=jTjzQkuvvs11e2kb5rUHZEz1Ood5hrJxAiW3GBDhPI4'
|
|
111
|
+
companyName = 'Qlu'
|
|
112
|
+
companyBusiness = 'SASS'
|
|
113
|
+
numberOfEmployees = {34}
|
|
114
|
+
/>
|
|
115
|
+
<h2>
|
|
116
|
+
HiringCompanyConciseCard
|
|
117
|
+
</h2>
|
|
118
|
+
</span>
|
|
119
|
+
<span>
|
|
120
|
+
<IdealProfileSelectionCard
|
|
121
|
+
iconUrl = {anotherOne}
|
|
122
|
+
profileName='Jane Doe'
|
|
123
|
+
profileCurrentCompany = 'Qlu'
|
|
124
|
+
selected = {idealProfileSelectionCardSeletedState}
|
|
125
|
+
profileCurrentRole = 'CEO'
|
|
126
|
+
onSelectClick={() => setIdealProfileSelectionCardSeletedState(prev => !prev)}
|
|
127
|
+
onViewMoreClick={() => {}}
|
|
128
|
+
/>
|
|
129
|
+
<h2>
|
|
130
|
+
HiringCompanyConciseCard
|
|
131
|
+
</h2>
|
|
132
|
+
</span>
|
|
133
|
+
<span>
|
|
134
|
+
<AddTribeMemberCard
|
|
135
|
+
iconUrl = {anotherOne}
|
|
136
|
+
tribeMemberName='Jane Doe'
|
|
137
|
+
tribeMemberMail = 'jane.doe@Qlu'
|
|
138
|
+
onAddClick = {() => {}}
|
|
139
|
+
/>
|
|
140
|
+
<h2>
|
|
141
|
+
AddTribeMemberCard
|
|
142
|
+
</h2>
|
|
143
|
+
</span>
|
|
144
|
+
<span>
|
|
145
|
+
<ClickableText
|
|
146
|
+
text = 'Add A major'
|
|
147
|
+
showIcon = {true}
|
|
148
|
+
iconOnLeft = {true}
|
|
149
|
+
colorVariant='gray'
|
|
150
|
+
onClick = {() => {}}
|
|
151
|
+
/>
|
|
152
|
+
<h2>
|
|
153
|
+
ClickableText
|
|
154
|
+
</h2>
|
|
155
|
+
</span>
|
|
156
|
+
<span>
|
|
157
|
+
<PrimaryButton
|
|
158
|
+
text = 'Button'
|
|
159
|
+
sizeVariant='base'
|
|
160
|
+
colorVariant='orange'
|
|
161
|
+
onClick = {() => {}}
|
|
162
|
+
/>
|
|
163
|
+
<h2>
|
|
164
|
+
PrimaryButton
|
|
165
|
+
</h2>
|
|
166
|
+
</span>
|
|
167
|
+
<span>
|
|
168
|
+
<SecondaryButton
|
|
169
|
+
text = 'Button'
|
|
170
|
+
sizeVariant='base'
|
|
171
|
+
colorVariant='orange'
|
|
172
|
+
onClick = {() => {}}
|
|
173
|
+
/>
|
|
174
|
+
<h2>
|
|
175
|
+
SecondaryButton
|
|
176
|
+
</h2>
|
|
177
|
+
</span>
|
|
178
|
+
<span>
|
|
179
|
+
<TertiaryButton
|
|
180
|
+
text = 'Button'
|
|
181
|
+
sizeVariant='base'
|
|
182
|
+
// colorVariant='gray'
|
|
183
|
+
onClick = {() => {}}
|
|
184
|
+
/>
|
|
185
|
+
<h2>
|
|
186
|
+
TertiaryButton
|
|
187
|
+
</h2>
|
|
188
|
+
</span>
|
|
189
|
+
<span>
|
|
190
|
+
<RangeComponent
|
|
191
|
+
minValue={1}
|
|
192
|
+
maxValue={10001}
|
|
193
|
+
value={{
|
|
194
|
+
min: min,
|
|
195
|
+
max: max
|
|
196
|
+
}}
|
|
197
|
+
step={1}
|
|
198
|
+
onChange={
|
|
199
|
+
( prop: range | number)=>{
|
|
200
|
+
console.log(prop)
|
|
201
|
+
if(typeof(prop) == 'object'){
|
|
202
|
+
setMin(prop.min)
|
|
203
|
+
setMax(prop.max)
|
|
204
|
+
}
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
/>
|
|
208
|
+
<h2>
|
|
209
|
+
RangeComp
|
|
210
|
+
</h2>
|
|
211
|
+
</span>
|
|
212
|
+
</div>
|
|
213
|
+
)
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
export default App
|
package/src/_colors.scss
ADDED
|
@@ -0,0 +1,248 @@
|
|
|
1
|
+
$orange-25: #FFFCFA;
|
|
2
|
+
$orange-50: #FFF0E8;
|
|
3
|
+
$orange-100: #FFE0CF;
|
|
4
|
+
$orange-200: #FFCFB5;
|
|
5
|
+
$orange-300: #FFB58C;
|
|
6
|
+
$orange-400: #FF9E69;
|
|
7
|
+
$orange-500: #FF8D4E;
|
|
8
|
+
$orange-600: #E57F46;
|
|
9
|
+
$orange-700: #C3713E;
|
|
10
|
+
$orange-800: #99552F;
|
|
11
|
+
$orange-900: #66381F;
|
|
12
|
+
$orange-950: #331C10;
|
|
13
|
+
$orange-990: #190E08;
|
|
14
|
+
|
|
15
|
+
$gray-10: #FAFAFA;
|
|
16
|
+
$gray-15: #E8E8E8;
|
|
17
|
+
$gray-25: #D5D5D5;
|
|
18
|
+
$gray-50: #C1C1C1;
|
|
19
|
+
$gray-100: #ADADAD;
|
|
20
|
+
$gray-200: #999999;
|
|
21
|
+
$gray-300: #868686;
|
|
22
|
+
$gray-400: #727272;
|
|
23
|
+
$gray-500: #5E5E5E;
|
|
24
|
+
$gray-600: #4B4B4B;
|
|
25
|
+
$gray-700: #373737;
|
|
26
|
+
$gray-800: #232323;
|
|
27
|
+
$gray-900: #0F0F0F;
|
|
28
|
+
|
|
29
|
+
$blue-50: #EBF5FF;
|
|
30
|
+
$blue-100: #E1EFFE;
|
|
31
|
+
$blue-200: #C3DDFD;
|
|
32
|
+
$blue-300: #A4CAFE;
|
|
33
|
+
$blue-400: #76A9FA;
|
|
34
|
+
$blue-500: #3F83F8;
|
|
35
|
+
$blue-600: #1C64F2;
|
|
36
|
+
$blue-700: #1A56DB;
|
|
37
|
+
$blue-800: #1E429F;
|
|
38
|
+
$blue-900: #233876;
|
|
39
|
+
|
|
40
|
+
$red-50: #FDF2F2;
|
|
41
|
+
$red-100: #FDE8E8;
|
|
42
|
+
$red-200: #FBD5D5;
|
|
43
|
+
$red-300: #F8B4B4;
|
|
44
|
+
$red-400: #F98080;
|
|
45
|
+
$red-500: #F05252;
|
|
46
|
+
$red-600: #E02424;
|
|
47
|
+
$red-700: #C81E1E;
|
|
48
|
+
$red-800: #9B1C1C;
|
|
49
|
+
$red-900: #771D1D;
|
|
50
|
+
|
|
51
|
+
$twOrange-50: #FFF8F1;
|
|
52
|
+
$twOrange-100: #FEECDC;
|
|
53
|
+
$twOrange-200: #FCD9BD;
|
|
54
|
+
$twOrange-300: #FDBA8C;
|
|
55
|
+
$twOrange-400: #FF8A4C;
|
|
56
|
+
$twOrange-500: #FF5A1F;
|
|
57
|
+
$twOrange-600: #D03801;
|
|
58
|
+
$twOrange-700: #B43403;
|
|
59
|
+
$twOrange-800: #8A2C0D;
|
|
60
|
+
$twOrange-900: #771D1D;
|
|
61
|
+
|
|
62
|
+
$yellow-50: #FDFDEA;
|
|
63
|
+
$yellow-100: #FDF6B2;
|
|
64
|
+
$yellow-200: #FCE96A;
|
|
65
|
+
$yellow-300: #FACA15;
|
|
66
|
+
$yellow-400: #E3A008;
|
|
67
|
+
$yellow-500: #C27803;
|
|
68
|
+
$yellow-600: #9F580A;
|
|
69
|
+
$yellow-700: #8E4B10;
|
|
70
|
+
$yellow-800: #723B13;
|
|
71
|
+
$yellow-900: #633112;
|
|
72
|
+
|
|
73
|
+
$green-50: #F3FAF7;
|
|
74
|
+
$green-100: #DEF7EC;
|
|
75
|
+
$green-200: #BCF0DA;
|
|
76
|
+
$green-300: #84E1BC;
|
|
77
|
+
$green-400: #31C48D;
|
|
78
|
+
$green-500: #0E9F6E;
|
|
79
|
+
$green-600: #057A55;
|
|
80
|
+
$green-700: #046C4E;
|
|
81
|
+
$green-800: #03543F;
|
|
82
|
+
$green-900: #014737;
|
|
83
|
+
|
|
84
|
+
$teal-50: #EDFAFA;
|
|
85
|
+
$teal-100: #D5F5F6;
|
|
86
|
+
$teal-200: #AFECEF;
|
|
87
|
+
$teal-300: #7EDCE2;
|
|
88
|
+
$teal-400: #16BDCA;
|
|
89
|
+
$teal-500: #0694A2;
|
|
90
|
+
$teal-600: #047481;
|
|
91
|
+
$teal-700: #036672;
|
|
92
|
+
$teal-800: #05505C;
|
|
93
|
+
$teal-900: #014451;
|
|
94
|
+
|
|
95
|
+
$indigo-50: #F0F5FF;
|
|
96
|
+
$indigo-100: #E5EDFF;
|
|
97
|
+
$indigo-200: #CDDBFE;
|
|
98
|
+
$indigo-300: #B46CFC;
|
|
99
|
+
$indigo-400: #8DA2FB;
|
|
100
|
+
$indigo-500: #6875F5;
|
|
101
|
+
$indigo-600: #5850EC;
|
|
102
|
+
$indigo-700: #5145CD;
|
|
103
|
+
$indigo-800: #42389D;
|
|
104
|
+
$indigo-900: #362F78;
|
|
105
|
+
|
|
106
|
+
$purple-50: #F6F5FF;
|
|
107
|
+
$purple-100: #EDEBFE;
|
|
108
|
+
$purple-200: #DCD7FE;
|
|
109
|
+
$purple-300: #CABFFD;
|
|
110
|
+
$purple-400: #AC94FA;
|
|
111
|
+
$purple-500: #9061F9;
|
|
112
|
+
$purple-600: #7E3AF2;
|
|
113
|
+
$purple-700: #6C2BD9;
|
|
114
|
+
$purple-800: #5521B5;
|
|
115
|
+
$purple-900: #4A1D96;
|
|
116
|
+
|
|
117
|
+
$pink-50: #FDF2F8;
|
|
118
|
+
$pink-100: #FCE8F3;
|
|
119
|
+
$pink-200: #FAD1ED;
|
|
120
|
+
$pink-300: #F8B4D9;
|
|
121
|
+
$pink-400: #F17EB8;
|
|
122
|
+
$pink-500: #E74694;
|
|
123
|
+
$pink-600: #D61F69;
|
|
124
|
+
$pink-700: #BF125D;
|
|
125
|
+
$pink-800: #99154B;
|
|
126
|
+
$pink-900: #751A3D;
|
|
127
|
+
|
|
128
|
+
$white: white;
|
|
129
|
+
$black: black;
|
|
130
|
+
|
|
131
|
+
:export {
|
|
132
|
+
orange-25 : $orange-25;
|
|
133
|
+
orange-50 : $orange-50;
|
|
134
|
+
orange-100 : $orange-100;
|
|
135
|
+
orange-200 : $orange-200;
|
|
136
|
+
orange-300 : $orange-300;
|
|
137
|
+
orange-400 : $orange-400;
|
|
138
|
+
orange-500 : $orange-500;
|
|
139
|
+
orange-600 : $orange-600;
|
|
140
|
+
orange-700 : $orange-700;
|
|
141
|
+
orange-800 : $orange-800;
|
|
142
|
+
orange-900 : $orange-900;
|
|
143
|
+
orange-950 : $orange-950;
|
|
144
|
+
orange-990 : $orange-990;
|
|
145
|
+
gray-10 : $gray-10;
|
|
146
|
+
gray-15 : $gray-15;
|
|
147
|
+
gray-25 : $gray-25;
|
|
148
|
+
gray-50 : $gray-50;
|
|
149
|
+
gray-100 : $gray-100;
|
|
150
|
+
gray-200 : $gray-200;
|
|
151
|
+
gray-300 : $gray-300;
|
|
152
|
+
gray-400 : $gray-400;
|
|
153
|
+
gray-500 : $gray-500;
|
|
154
|
+
gray-600 : $gray-600;
|
|
155
|
+
gray-700 : $gray-700;
|
|
156
|
+
gray-800 : $gray-800;
|
|
157
|
+
gray-900 : $gray-900;
|
|
158
|
+
blue-50 : $blue-50;
|
|
159
|
+
blue-100 : $blue-100;
|
|
160
|
+
blue-200 : $blue-200;
|
|
161
|
+
blue-300 : $blue-300;
|
|
162
|
+
blue-400 : $blue-400;
|
|
163
|
+
blue-500 : $blue-500;
|
|
164
|
+
blue-600 : $blue-600;
|
|
165
|
+
blue-700 : $blue-700;
|
|
166
|
+
blue-800 : $blue-800;
|
|
167
|
+
blue-900 : $blue-900;
|
|
168
|
+
red-50 : $red-50;
|
|
169
|
+
red-100 : $red-100;
|
|
170
|
+
red-200 : $red-200;
|
|
171
|
+
red-300 : $red-300;
|
|
172
|
+
red-400 : $red-400;
|
|
173
|
+
red-500 : $red-500;
|
|
174
|
+
red-600 : $red-600;
|
|
175
|
+
red-700 : $red-700;
|
|
176
|
+
red-800 : $red-800;
|
|
177
|
+
red-900 : $red-900;
|
|
178
|
+
twOrange-50 : $twOrange-50;
|
|
179
|
+
twOrange-100 : $twOrange-100;
|
|
180
|
+
twOrange-200 : $twOrange-200;
|
|
181
|
+
twOrange-300 : $twOrange-300;
|
|
182
|
+
twOrange-400 : $twOrange-400;
|
|
183
|
+
twOrange-500 : $twOrange-500;
|
|
184
|
+
twOrange-600 : $twOrange-600;
|
|
185
|
+
twOrange-700 : $twOrange-700;
|
|
186
|
+
twOrange-800 : $twOrange-800;
|
|
187
|
+
twOrange-900 : $twOrange-900;
|
|
188
|
+
yellow-50 : $yellow-50;
|
|
189
|
+
yellow-100 : $yellow-100;
|
|
190
|
+
yellow-200 : $yellow-200;
|
|
191
|
+
yellow-300 : $yellow-300;
|
|
192
|
+
yellow-400 : $yellow-400;
|
|
193
|
+
yellow-500 : $yellow-500;
|
|
194
|
+
yellow-600 : $yellow-600;
|
|
195
|
+
yellow-700 : $yellow-700;
|
|
196
|
+
yellow-800 : $yellow-800;
|
|
197
|
+
yellow-900 : $yellow-900;
|
|
198
|
+
green-50 : $green-50;
|
|
199
|
+
green-100 : $green-100;
|
|
200
|
+
green-200 : $green-200;
|
|
201
|
+
green-300 : $green-300;
|
|
202
|
+
green-400 : $green-400;
|
|
203
|
+
green-500 : $green-500;
|
|
204
|
+
green-600 : $green-600;
|
|
205
|
+
green-700 : $green-700;
|
|
206
|
+
green-800 : $green-800;
|
|
207
|
+
green-900 : $green-900;
|
|
208
|
+
teal-50 : $teal-50;
|
|
209
|
+
teal-100 : $teal-100;
|
|
210
|
+
teal-200 : $teal-200;
|
|
211
|
+
teal-300 : $teal-300;
|
|
212
|
+
teal-400 : $teal-400;
|
|
213
|
+
teal-500 : $teal-500;
|
|
214
|
+
teal-600 : $teal-600;
|
|
215
|
+
teal-700 : $teal-700;
|
|
216
|
+
teal-800 : $teal-800;
|
|
217
|
+
teal-900 : $teal-900;
|
|
218
|
+
indigo-50 : $indigo-50;
|
|
219
|
+
indigo-100 : $indigo-100;
|
|
220
|
+
indigo-200 : $indigo-200;
|
|
221
|
+
indigo-300 : $indigo-300;
|
|
222
|
+
indigo-400 : $indigo-400;
|
|
223
|
+
indigo-500 : $indigo-500;
|
|
224
|
+
indigo-600 : $indigo-600;
|
|
225
|
+
indigo-700 : $indigo-700;
|
|
226
|
+
indigo-800 : $indigo-800;
|
|
227
|
+
indigo-900 : $indigo-900;
|
|
228
|
+
purple-50 : $purple-50;
|
|
229
|
+
purple-100 : $purple-100;
|
|
230
|
+
purple-200 : $purple-200;
|
|
231
|
+
purple-300 : $purple-300;
|
|
232
|
+
purple-400 : $purple-400;
|
|
233
|
+
purple-500 : $purple-500;
|
|
234
|
+
purple-600 : $purple-600;
|
|
235
|
+
purple-700 : $purple-700;
|
|
236
|
+
purple-800 : $purple-800;
|
|
237
|
+
purple-900 : $purple-900;
|
|
238
|
+
pink-50 : $pink-50;
|
|
239
|
+
pink-100 : $pink-100;
|
|
240
|
+
pink-200 : $pink-200;
|
|
241
|
+
pink-300 : $pink-300;
|
|
242
|
+
pink-400 : $pink-400;
|
|
243
|
+
pink-500 : $pink-500;
|
|
244
|
+
pink-600 : $pink-600;
|
|
245
|
+
pink-700 : $pink-700;
|
|
246
|
+
pink-800 : $pink-800;
|
|
247
|
+
pink-900 : $pink-900;
|
|
248
|
+
}
|
package/src/_fonts.scss
ADDED
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
@import url(https://fonts.googleapis.com/css2?family=Inter);
|
|
2
|
+
@import './colors';
|
|
3
|
+
|
|
4
|
+
@mixin fontAlpha(){
|
|
5
|
+
font-family: Inter;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
@mixin text-xs($color: $orange-990, $bgColor: transparent, $weight: 500, $size: 12px, $padding: 0, $margin: 0 , $lineHeight: 18px) {
|
|
9
|
+
@include fontAlpha();
|
|
10
|
+
color: $color;
|
|
11
|
+
background-color: $bgColor;
|
|
12
|
+
margin: $margin;
|
|
13
|
+
padding: $padding;
|
|
14
|
+
font-weight: $weight;
|
|
15
|
+
font-size: $size;
|
|
16
|
+
line-height: $lineHeight;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
@mixin text-sm($color: $orange-990, $bgColor: transparent, $weight: 500, $size: 14px, $padding: 0, $margin: 0 , $lineHeight: 21px) {
|
|
20
|
+
@include fontAlpha();
|
|
21
|
+
color: $color;
|
|
22
|
+
background-color: $bgColor;
|
|
23
|
+
margin: $margin;
|
|
24
|
+
padding: $padding;
|
|
25
|
+
font-weight: $weight;
|
|
26
|
+
font-size: $size;
|
|
27
|
+
line-height: $lineHeight;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
@mixin text-base($color: $orange-990, $bgColor: transparent, $weight: 500, $size: 16px, $padding: 0, $margin: 0 , $lineHeight: 24px) {
|
|
31
|
+
@include fontAlpha();
|
|
32
|
+
color: $color;
|
|
33
|
+
background-color: $bgColor;
|
|
34
|
+
margin: $margin;
|
|
35
|
+
padding: $padding;
|
|
36
|
+
font-weight: $weight;
|
|
37
|
+
font-size: $size;
|
|
38
|
+
line-height: $lineHeight;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
@mixin text-size-xs() {
|
|
42
|
+
@include fontAlpha();
|
|
43
|
+
font-size: 12px;
|
|
44
|
+
font-weight: 500;
|
|
45
|
+
line-height: 18px;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
@mixin text-size-sm() {
|
|
49
|
+
@include fontAlpha();
|
|
50
|
+
font-size: 14px;
|
|
51
|
+
font-weight: 500;
|
|
52
|
+
line-height: 21px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
@mixin text-size-base() {
|
|
56
|
+
@include fontAlpha();
|
|
57
|
+
font-size: 16px;
|
|
58
|
+
font-weight: 500;
|
|
59
|
+
line-height: 24px;
|
|
60
|
+
}
|