Product
Introducing Dashboard Analytics
We're introducing a new Analytics feature in the Socket dashboard so you can view changes in your organization's and repositories' alerts over time.
@sanity/demo
Advanced tools
Design tokens and guidelines for implementing demos and templates at Sanity.io.
npm install @sanity/demo
git clone git@github.com:sanity-io/demo.git
cd demo
pnpm install
pnpm dev
# Open Vite development server
Follow these steps to configure your demo:
Sanity demos use Inter, PT Serif, and IBM Plex Mono. Add this snippet inside the <head>
tag of your application:
<!-- Google fonts -->
<link rel="preconnect" href="https://fonts.googleapis.com" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:wght@500;700&family=Inter:wght@500;700;800&family=PT+Serif:ital,wght@0,400;0,700;1,400;1,700&display=swap"
rel="stylesheet"
/>
// tailwind.config.js
const {theme} = require('@sanity/demo/tailwind')
/** @type {import('tailwindcss').Config} */
module.exports = {
content: [...],
theme,
plugins: [require('@tailwindcss/typography')],
}
MIT © Sanity.io
FAQs
Design tokens for implementing demos and templates at Sanity.io.
The npm package @sanity/demo receives a total of 1,398 weekly downloads. As such, @sanity/demo popularity was classified as popular.
We found that @sanity/demo demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 44 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.
Product
We're introducing a new Analytics feature in the Socket dashboard so you can view changes in your organization's and repositories' alerts over time.
Security News
A new OpenSSF report uncovers critical gaps in secure software training, with 75% of new developers unfamiliar with secure practices, highlighting urgent educational needs.
Security News
The 2023 Python Developers Survey reveals key trends in packaging, web frameworks, and developer demographics, highlighting a shift toward innovative tools as the Python community diversifies and grows among less experienced developers.