1.2.1 • Published 7 months ago

govuk-frontend-rounded v1.2.1

Weekly downloads
-
License
MIT
Repository
github
Last release
7 months ago

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

  1. Install GOV.UK Frontend and GOV.UK Frontend Rounded
npm install govuk-frontend govuk-frontend-rounded
  1. 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.

1.2.1

7 months ago

1.2.0

10 months ago

1.1.3

1 year ago

1.1.2

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago