-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1957 from dxc-technology/jialecl-fontsWorkaround
fonts css reverted back and changed the approach to load fonts
- Loading branch information
Showing
5 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ import styled from "styled-components"; | |
import type { Preview } from "@storybook/react"; | ||
import React from "react"; | ||
import { disabledRules } from "../test/accessibility/rules/common/disabledRules"; | ||
import "../src/common/fonts.css"; | ||
|
||
const preview: Preview = { | ||
parameters: { | ||
|
@@ -33,6 +32,7 @@ const preview: Preview = { | |
}; | ||
|
||
const Container = styled.div` | ||
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:[email protected]"); | ||
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", | ||
"Droid Sans", "Helvetica Neue", sans-serif; | ||
`; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,6 +16,7 @@ const IconContainer = styled.span<{ | |
icon: string; | ||
filled: boolean; | ||
}>` | ||
@import url("https://fonts.googleapis.com/css2?family=Material+Symbols+Outlined:[email protected]"); | ||
font-family: "Material Symbols Outlined"; | ||
font-weight: normal; | ||
font-style: normal; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters