Skip to content

Commit 85b54f3

Browse files
committed
feat: dropdown font style (v0.1.20)
1 parent f163cb2 commit 85b54f3

File tree

5 files changed

+20
-21
lines changed

5 files changed

+20
-21
lines changed

dist/cjs/Dropdown/styled.js

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/esm/Dropdown/styled.js

+6-6
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@inva-ui/react",
3-
"version": "0.1.19",
3+
"version": "0.1.20",
44
"description": "Inva UI is a modular, accessible building blocks library for you to start off your react projects easily",
55
"keywords": [
66
"react",

src/index.css

+2-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,8 @@
1-
@import url("https://fonts.googleapis.com/css2?family=Nunito&display=swap");
1+
@import url("https://fonts.googleapis.com/css2?family=Poppins&family=Source+Sans+Pro&display=swap");
22

33
body {
44
margin: 0;
5-
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
6-
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
7-
sans-serif;
5+
font-family: "Poppins", sans-serif;
86
-webkit-font-smoothing: antialiased;
97
-moz-osx-font-smoothing: grayscale;
108
}

src/lib/components/Dropdown/styled.ts

+5-4
Original file line numberDiff line numberDiff line change
@@ -135,15 +135,16 @@ export const SelectDropDownTabSection = styled.div`
135135

136136
export const SelectDropDownTabSectionField = styled.div`
137137
text-align: start;
138+
font-style: normal;
138139
${(props: ThemedStyledProps<SelectDropDownTabSectionField, any>) => {
139140
if (props.type === "primary") {
140-
return 'margin-bottom: 5px; font-family: "Quicksand"; font-size: 15px; font-weight: 600; color: black !important;';
141+
return 'margin-bottom: 5px; font-family: "Poppins"; font-size: 15px; font-weight: 700; color: black !important;';
141142
} else if (props.type === "secondary") {
142-
return 'margin-top: 0px !important; font-family: "Poppins"; font-size: 11px; font-weight: 500; color: rgb(163,163,163) !important;';
143+
return 'margin-top: 0px !important; font-family: "Source Sans Pro"; font-size: 13px; font-weight: 500; color: rgb(163,163,163) !important;';
143144
} else if (props.type === "notfound") {
144-
return 'margin-bottom: 5px; font-family: "Quicksand"; font-size: 12px; font-weight: 600; color: rgb(163,163,163) !important; width: 100%; display: flex; justify-content: center; align-item: center';
145+
return 'margin-bottom: 5px; font-family: "Source Sans Pro"; font-size: 12px; font-weight: 600; color: rgb(163,163,163) !important; width: 100%; display: flex; justify-content: center; align-item: center';
145146
} else {
146-
return 'margin-bottom: 5px; font-family: "Quicksand"; font-size: 15px; font-weight: 600; color: black !important;';
147+
return 'margin-bottom: 5px; font-family: "Source Sans Pro"; font-size: 15px; font-weight: 600; color: black !important;';
147148
}
148149
}}
149150
`;

0 commit comments

Comments
 (0)