> For the complete documentation index, see [llms.txt](https://docs.digit.org/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digit.org/works/reference-implementations/muktasoft-v2.2/deployment/customisation/ui-screens-customisation/css-customisation.md).

# CSS Customisation

**Overview**

This document describes how to publish CSS if there is any CSS Customization/changes.

&#x20;

While Customizing, if any changes are made In the CSS folder it has to be compiled and published to npm.

Currently, the CSS was published in npm as **@egovernments/digit-ui-works-css**\
Please check this NPM link [works-css](https://www.npmjs.com/package/@egovernments/digit-ui-works-css).

&#x20;

So if any changes are made to the CSS folder locally have to be published in different Organisations and in the same or different package name.

&#x20;

ie as @xyz/digit-ui-works-css and version as 1.0.0

then following changes has to be made in the code to reflect in the digit-ui&#x20;

[index.html](https://github.com/egovernments/DIGIT-Works/blob/master/frontend/micro-ui/web/public/index.html)  file location

***frontend/micro-ui/web/public/index.html***

style sheet link has to be updated as follow,

`<link rel="stylesheet" href="https://unpkg.com/@xyz/digit-ui-works-css@1.0.0/dist/index.css"/>`\ <br>

Use Either of the Following commands to publish the CSS

* In the `frontend/micro-ui/web/micro-ui-internals` folder run\
  `yarn run publish:css`\
  or
* In the `frontend/micro-ui/web/micro-ui-internals/packages/css` folder run\
  `yarn run publish --access public`

**Reference** Doc for Publishing any package to npm

[![](https://docs.npmjs.com/favicon-32x32.png?v=f44ec608ba91563f864a30a276cd9065)Creating and publishing scoped public packages | npm Docs](https://docs.npmjs.com/creating-and-publishing-scoped-public-packages)


---

# 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.digit.org/works/reference-implementations/muktasoft-v2.2/deployment/customisation/ui-screens-customisation/css-customisation.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.
