Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@obosbbl/grunnmuren-tailwind

Package Overview
Dependencies
Maintainers
3
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@obosbbl/grunnmuren-tailwind

Grunnmuren Tailwind preset

  • 0.9.1
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
580
decreased by-26.4%
Maintainers
3
Weekly downloads
 
Created
Source

@obosbbl/grunnmuren-tailwind

Grunnmuren Tailwind preset.

Install

npm install -D @obosbbl/grunnmuren-tailwind tailwindcss

Usage

// tailwind.config.js

// Regular usage
module.exports = {
  presets: [require('@obosbbl/grunnmuren-tailwind')],
  content: [
    // If using this together with Grunnmuren's React components
    './node_modules/@obosbbl/grunnmuren-react/dist/**/*.js',
    // Add your own content sources as needed, eg:
    './src/components/**/*.{ts,tsx}',
  ],
};

// Usage with options
module.exports = {
  presets: [require('@obosbbl/grunnmuren-tailwind')({ useLegacyFont: true, fontBasePath: '/mypath/myfonts' }),
  // content: [ ... ]
};

Fonts

The preset includes font declarations. You'll have to setup your app so it serves the necessary font files. By default the fonts should be under /fonts/ but you can override this with the config option fontBasePath. See the preset implementation.

Options

The preset supports the following options:

NameDefault valueDescription
useLegacyFontfalseWhether to use the fonts from the old design
fontBasePath/fontsPath to where the fonts are hosted

FAQs

Package last updated on 10 May 2023

Did you know?

Socket

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.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc