1
0
mirror of https://github.com/bitwarden/browser synced 2026-02-12 14:34:02 +00:00

update docs

This commit is contained in:
William Martin
2024-11-12 17:14:46 -05:00
parent bd6e09e5fb
commit 84e18b1922

View File

@@ -29,9 +29,9 @@ following example, the paragraph's padding is reduced when compact mode is enabl
<p class="tw-bg-primary-100 tw-p-4 bit-compact:tw-p-0.5">Lorem impsum doggo dolor...</p>
</div>
## Settings Service
## Service
To get/set compact mode in TypeScript, the `BitSettingsService` exposes a `compactMode` signal.
To get/set compact mode in TypeScript, the `DesignSystemService` exposes a `compactMode` signal.
However, using the Tailwind variant should be preferred as it is more performant.
## Examples