Skip to content

Commit

Permalink
Add normalize.css
Browse files Browse the repository at this point in the history
  • Loading branch information
whitphx committed Jan 14, 2025
1 parent 6dfb931 commit 704e16c
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 8 deletions.
1 change: 1 addition & 0 deletions packages/sharing-editor/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"@types/react-dom": "^18.2.0",
"classnames": "^2.3.2",
"mime": "^4.0.1",
"normalize.css": "^8.0.1",
"nprogress": "^0.2.0",
"re-resizable": "^6.9.9",
"react": "^18.2.0",
Expand Down
8 changes: 3 additions & 5 deletions packages/sharing-editor/src/index.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
@import-normalize;

html,
body,
#root {
Expand All @@ -9,9 +7,9 @@ body,

body {
margin: 0;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto",
"Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans",
"Helvetica Neue", sans-serif;
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen",
"Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue",
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
}
Expand Down
3 changes: 2 additions & 1 deletion packages/sharing-editor/src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
import { StrictMode } from "react";
import { createRoot } from "react-dom/client";
import "normalize.css";
import "./index.css";
import "./global.scss";
import { createBrowserRouter, RouterProvider } from "react-router-dom";
Expand All @@ -24,7 +25,7 @@ const router = createBrowserRouter([
createRoot(document.getElementById("root") as HTMLElement).render(
<StrictMode>
<RouterProvider router={router} />
</StrictMode>,
</StrictMode>
);

// If you want to start measuring performance in your app, pass a function
Expand Down
9 changes: 7 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10848,7 +10848,7 @@ immer@^9.0.19:
resolved "https://registry.npmjs.org/immer/-/immer-9.0.21.tgz"
integrity sha512-bc4NBHqOqSfRW7POMkHd51LvClaeMXpm8dx0e8oE2GORbq5aRK7Bxl4FyzVLdGtLmvLKL7BTDBG5ACQm4HWjTA==

immutable@4.2.3, immutable@^4.0.0:
immutable@^4.0.0:
version "4.2.3"
resolved "https://registry.yarnpkg.com/immutable/-/immutable-4.2.3.tgz#a203cdda37a5a30bc351b982a1794c1930198815"
integrity sha512-IHpmvaOIX4VLJwPOuQr1NpeBr2ZG6vpIj3blsLVxXRWJscLioaJRStqC+NcBsLeCDsnGlPpXd5/WZmnE7MbsKA==
Expand Down Expand Up @@ -13964,6 +13964,11 @@ normalize-url@^6.0.1:
resolved "https://registry.npmjs.org/normalize-url/-/normalize-url-6.1.0.tgz"
integrity sha512-DlL+XwOy3NxAQ8xuC0okPgK46iuVNAK01YN7RueYBqqFeGsBjV9XmCAzAdgt+667bCl5kPh9EqKKDwnaPG1I7A==

normalize.css@^8.0.1:
version "8.0.1"
resolved "https://registry.yarnpkg.com/normalize.css/-/normalize.css-8.0.1.tgz#9b98a208738b9cc2634caacbc42d131c97487bf3"
integrity sha512-qizSNPO93t1YUuUhP22btGOo3chcvDFqFaj2TRybP0DMxkHOCTYwp3n34fel4a31ORXy4m1Xq0Gyqpb5m33qIg==

npm-install-checks@^6.0.0:
version "6.3.0"
resolved "https://registry.npmjs.org/npm-install-checks/-/npm-install-checks-6.3.0.tgz"
Expand Down Expand Up @@ -15336,7 +15341,7 @@ protobufjs-cli@^1.1.0:
tmp "^0.2.1"
uglify-js "^3.7.7"

protobufjs@7.2.5, protobufjs@^7.2.4, protobufjs@^7.2.5:
protobufjs@^7.2.4, protobufjs@^7.2.5:
version "7.2.5"
resolved "https://registry.yarnpkg.com/protobufjs/-/protobufjs-7.2.5.tgz#45d5c57387a6d29a17aab6846dcc283f9b8e7f2d"
integrity sha512-gGXRSXvxQ7UiPgfw8gevrfRWcTlSbOFg+p/N+JVJEK5VhueL2miT6qTymqAmjr1Q5WbOCyJbyrk6JfWKwlFn6A==
Expand Down

0 comments on commit 704e16c

Please sign in to comment.