Skip to content

nuxt-compose-icons / runtime/composables/use-compose-icon-theme / ComposeIconTheme

Interface: ComposeIconTheme ​

Defined in: runtime/composables/use-compose-icon-theme.ts:6

Properties ​

currentSizeVar ​

ts
currentSizeVar: string;

Defined in: runtime/composables/use-compose-icon-theme.ts:14

CSS var for the size currently applied to the nearest icon in the cascade


defaultSizeKey ​

ts
defaultSizeKey: string;

Defined in: runtime/composables/use-compose-icon-theme.ts:10

The key used when no size prop is passed — same resolution generated components use


iconSizes ​

ts
iconSizes: Record<string, string>;

Defined in: runtime/composables/use-compose-icon-theme.ts:8

All configured size keys and their resolved CSS values


sizeVar ​

ts
sizeVar: (size) => string;

Defined in: runtime/composables/use-compose-icon-theme.ts:12

Returns the CSS var reference for a given size key, e.g. sizeVar('lg') → 'var(--size-lg)'

Parameters ​

size ​

string

Returns ​

string