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

@hashicorp/mktg-global-styles

Package Overview
Dependencies
Maintainers
30
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hashicorp/mktg-global-styles

global styles shared across HashiCorp sites

  • 4.3.1
  • npm
  • Socket score

Version published
Weekly downloads
3.4K
increased by63.84%
Maintainers
30
Weekly downloads
 
Created
Source

npm latest package

Global Styles

Global styles used across HashiCorp sites.

The Rundown

The primary import is style.css, which contains a few important styles:

  • a css normalize (src)
  • a range of custom media queries (src)
  • all of our standard fonts (src)
  • a range of css custom properties covering brand colors (src)
  • a range of css custom properties covering standard font stacks (src)
  • a number of classes for applying type styles (src)
  • the .g-grid class which is our standard grid layout setup (src)
  • the .g-grid-container class which is our standard content container (src)

Each of these can be imported individually, but this is not recommended. They are separated for internal organization rather than external consumption

Work Needed

This package is severely out of date and generally needs a lot of additional work, most of which will be breaking. A short list of what needs to change follows:

  • code-highlighting.css is no longer used, instead code highlighting styles are imported from @hashicorp/nextjs-scripts
  • all of the temporary-to-remove files need to be evaluated and culled
  • several files have cross-referenced css imports, which are not necessary. for example, since global imports our color variables, it does not need to be imported in any other file, or it will be doubled. these imports are relics from when we compiled variables rather than using them as-is
  • the global file needs to be broken apart into pieces and assembled within style.css

Publishing changes

Note For now, this is a manual process.

Make sure to increment the package version after any code changes are merged.

  • npm version patch|minor|major
    
  • Commit/PR/Merge this change

Authenticate with NPM.

  • npm login
    # Go through the options
    # You can use "NPM hashibot-web" in the shared 1password vault
    
  • npm publish
    

FAQs

Package last updated on 28 Oct 2022

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