Skip to content

Commit

Permalink
Merge pull request #13 from Netcentric/feature/na-setup-fonts
Browse files Browse the repository at this point in the history
NA- Set up Gellix fonts and structured assets folder
  • Loading branch information
nagarajnetcentric authored Jan 30, 2024
2 parents 34ffacf + 13cf632 commit ae9f6fd
Show file tree
Hide file tree
Showing 26 changed files with 49 additions and 15 deletions.
31 changes: 31 additions & 0 deletions apps/frontend/src/App.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,34 @@
transform: rotate(360deg);
}
}

// Fonts
$gellix-font-family: "Gellix";
$gellix-fonts-path: "./stories/assets/fonts/";
$font-weight-thin: 100;
$font-weight-light: 300;
$font-weight-regular: 400;
$font-weight-medium: 500;
$font-weight-semibold: 600;
$font-weight-bold: 700;
$font-weight-black: 900;

@font-face {
font-family: $gellix-font-family;
src: url("./stories/assets/fonts/Gellix-Light_R.woff2") format("woff2");
font-weight: $font-weight-light;
}

@font-face {
font-family: $gellix-font-family;
src: url("./stories/assets/fonts/Gellix-Regular_R.woff2") format("woff2");
font-weight: $font-weight-regular;
font-style: normal;
}

@font-face {
font-family: $gellix-font-family;
src: url("./stories/assets/fonts/Gellix-SemiBold_R.woff2") format("woff2");
font-weight: $font-weight-semibold;
font-style: normal;
}
2 changes: 1 addition & 1 deletion apps/frontend/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ function App() {
Edit <code>src/App.tsx</code> and save to reload.
</p>
<a
className="App-link"
className="App-link font-gellix"
href="https://reactjs.org"
target="_blank"
rel="noopener noreferrer"
Expand Down
28 changes: 14 additions & 14 deletions apps/frontend/src/stories/Configure.mdx
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
import { Meta } from "@storybook/blocks";

import Github from "./assets/github.svg";
import Discord from "./assets/discord.svg";
import Youtube from "./assets/youtube.svg";
import Tutorials from "./assets/tutorials.svg";
import Styling from "./assets/styling.png";
import Context from "./assets/context.png";
import Assets from "./assets/assets.png";
import Docs from "./assets/docs.png";
import Share from "./assets/share.png";
import FigmaPlugin from "./assets/figma-plugin.png";
import Testing from "./assets/testing.png";
import Accessibility from "./assets/accessibility.png";
import Theming from "./assets/theming.png";
import AddonLibrary from "./assets/addon-library.png";
import Github from "./assets/images/github.svg";
import Discord from "./assets/images/discord.svg";
import Youtube from "./assets/images/youtube.svg";
import Tutorials from "./assets/images/tutorials.svg";
import Styling from "./assets/images/styling.png";
import Context from "./assets/images/context.png";
import Assets from "./assets/images/assets.png";
import Docs from "./assets/images/docs.png";
import Share from "./assets/images/share.png";
import FigmaPlugin from "./assets/images/figma-plugin.png";
import Testing from "./assets/images/testing.png";
import Accessibility from "./assets/images/accessibility.png";
import Theming from "./assets/images/theming.png";
import AddonLibrary from "./assets/images/addon-library.png";

export const RightArrow = () => <svg
viewBox="0 0 14 14"
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
File renamed without changes
File renamed without changes
3 changes: 3 additions & 0 deletions apps/frontend/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,9 @@ module.exports = {
"fluorescent-blue": "#26EFE9",
"waterspout": "#A8F9F6",
"midnight-blue": "#000048",
},
fontFamily:{
gellix: ["Gellix", "sans-serif"],
}
},
plugins: [],
Expand Down

0 comments on commit ae9f6fd

Please sign in to comment.