---
title: Stylus
slug: wip/stylus
createdAt: 2023-07-26T06:13:09.965Z
---

# Stylus

The Cosmos Foundation library provides all primitives as variables that can be used inside Stylus stylesheets. Once imported, the variables are available to be referenced in style declarations.

:::CodeblockTabs
styles.styl

```css
@import './node_modules/@cosmos/foundation/lib/primitives/index.styl'

input
  border-radius $cosmos-radius-large
```
:::

