New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

govuk-frontend-rounded

Package Overview
Dependencies
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

govuk-frontend-rounded

Rounded corners for GOV.UK Frontend, useful when branding the GOV.UK Design System

1.2.1
latest
Source
npm
Version published
Maintainers
1
Created
Source

govuk-frontend-rounded

npm version

Rounded corners for GOV.UK Frontend, useful when branding the GOV.UK Design System.

⚠️ Do not use for GOV.UK services. You may fail a Service Assessment. Only for use in branded projects. ⚠️

This project is compatible and tested with version 4.x of GOV.UK Frontend.

Install

  • Install GOV.UK Frontend and GOV.UK Frontend Rounded
npm install govuk-frontend govuk-frontend-rounded
  • Import into your project
// Import GOV.UK Frontend
@import "node_modules/govuk-frontend/govuk/all.scss";

// Configure how round components should be.
$govuk-frontend-rounded: 10px;
@import "node_modules/govuk-frontend-rounded/all.scss";

// The rest of your SCSS...

$govuk-frontended-rounded must be in pixels and can only be between 2px and 20px.

Screenshots

Before

Button and Text input with square corners

After

Button and Text input with rounded corners

See all rounded components.

FAQs

Package last updated on 22 Oct 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