https://github.com/nickcolley/govuk-frontend-rounded
Rounded corners for GOV.UK Frontend, useful when branding the GOV.UK Design System.
https://github.com/nickcolley/govuk-frontend-rounded
Last synced: 9 months ago
JSON representation
Rounded corners for GOV.UK Frontend, useful when branding the GOV.UK Design System.
- Host: GitHub
- URL: https://github.com/nickcolley/govuk-frontend-rounded
- Owner: NickColley
- License: mit
- Created: 2022-08-08T09:01:00.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-15T11:18:35.000Z (over 2 years ago)
- Last Synced: 2024-04-25T01:08:19.569Z (about 2 years ago)
- Language: Nunjucks
- Homepage: https://govuk-frontend-rounded.netlify.app/
- Size: 159 KB
- Stars: 2
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# govuk-frontend-rounded
[](http://npm.im/govuk-frontend-rounded)
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
```bash
npm install govuk-frontend govuk-frontend-rounded
```
2. Import into your project
```scss
// 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

### After

[See all rounded components](https://govuk-frontend-rounded.netlify.app).