
Security News
Deno 2.2 Improves Dependency Management and Expands Node.js Compatibility
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
@lunit/design-system-logo
Advanced tools
This package provides logos used in the Lunit projects.
All assets(src/assets/**
) should always be exported from Figma and up to date. If the Figma link below is incorrect, please contact the Product Design team.
At repository root:
nx build @lunit/design-system-logo
: Generates logo components and builds the logos.nx storybook @lunit/design-system-logo
: Running the storybook.Install the package in your project directory with:
npx @lunit/design-system-logo --favicon-path=<relative path>
If you want to save the favicon files, please set the relative path option.
We recommend that you use path imports(option 1). It can avoid pulling in unused modules.
// option 1 size: 11.7k (gzipped: 4.6k)
import Lunit from "@lunit/design-system-logo/Lunit";
// option 2 size: 578.1k (gzipped: 87.1k)
import { Lunit } from "@lunit/design-system-logo";
const Logo = () => (
<Lunit style={{ height: "20px" }} /> // only svg file
);
export default Logo;
If the public directory exists, The favicon files are saved in the public directory.
// public/index.html
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" sizes="any" />
<link rel="icon" href="%PUBLIC_URL%/favicon.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="%PUBLIC_URL%/apple-touch-icon.png" />
<title>Lunit</title>
</head>
<body></body>
</html>
If your project uses CRA, insert the code shown above into the HTML file.
FAQs
Lunit Design System Logo
The npm package @lunit/design-system-logo receives a total of 27 weekly downloads. As such, @lunit/design-system-logo popularity was classified as not popular.
We found that @lunit/design-system-logo demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Deno 2.2 enhances Node.js compatibility, improves dependency management, adds OpenTelemetry support, and expands linting and task automation for developers.
Security News
React's CRA deprecation announcement sparked community criticism over framework recommendations, leading to quick updates acknowledging build tools like Vite as valid alternatives.
Security News
Ransomware payment rates hit an all-time low in 2024 as law enforcement crackdowns, stronger defenses, and shifting policies make attacks riskier and less profitable.