> For the complete documentation index, see [llms.txt](https://docs.angular-package.dev/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.angular-package.dev/sass/var/overview.md).

# Overview

Module `@angular-package/sass/var` is designed to handle CSS variables with the use of space-separated words separated by delimiter that can be translated by the dictionary.

There are available following functions.

## Functions

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong><code>var.adjust()</code></strong></td><td>The function <code>var.adjust()</code> returns CSS variable <code>$var</code> adjusted by <code>$adjust</code> if not <code>null</code>, otherwise <code>$var</code>.</td><td></td></tr><tr><td><strong><code>var.css()</code></strong></td><td>The <code>var.css()</code> function returns the CSS variable of <code>$name</code>, <code>$fallback</code> value, <code>$delimiter</code>, <code>$prefix</code>, <code>$suffix</code> translated with <code>$dictionary</code>.</td><td></td></tr><tr><td><strong><code>var.get()</code></strong></td><td>The <code>var.get()</code> function returns CSS variable built from <code>$name</code>, <code>$delimiter</code>, <code>$prefix</code>, and <code>$suffix</code>.</td><td></td></tr><tr><td><strong><code>var.is()</code></strong></td><td>The <code>var.is()</code> function checks whether the given value is CSS variable <code>var()</code>.</td><td></td></tr><tr><td><p><strong><code>var.name()</code></strong></p><p>The <code>var.name()</code> function returns custom property CSS variable.</p></td><td></td><td></td></tr><tr><td><strong><code>var.negative()</code></strong></td><td>The function <code>var.negative()</code> returns CSS <code>calc()</code> function with the given <code>$var</code> multiplied by <code>-1</code>.</td><td></td></tr><tr><td><strong><code>var.unit()</code></strong></td><td>The <code>var.unit()</code> function returns <code>$var</code> multiplied by <code>$unit</code>.</td><td></td></tr></tbody></table>

## Mixins

<table data-card-size="large" data-view="cards"><thead><tr><th></th><th></th><th></th></tr></thead><tbody><tr><td><strong><code>var.set()</code></strong></td><td>The <code>var.set()</code> mixin defines the CSS variables based on the given <code>$property</code>.</td><td></td></tr></tbody></table>


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.angular-package.dev/sass/var/overview.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
