<c-csc-logo>
The CSC logo without its tagline, drawn as an inline SVG in the colours of the current theme mode.
Usage
Set its width in pixels with width (60 by default); the height follows the
logo's proportions. It typically sits at the start of a c-toolbar.
Theme modes
In light mode the wordmark is dark grey and the two marks keep the fixed CSC
brand teal and magenta; re-seeding a family with applyTheme never recolours
them. In dark mode the whole logo turns white. To show the white logo on a
dark or brand-coloured backdrop in a light page, make the backdrop a dark
mode scope with data-theme="dark".
Accessibility
The logo is an image named "CSC"; an aria-label on the element names it
instead. When the logo is the content of a link to the home page, give the
link its own name, for example aria-label="CSC home" on the <a>, and hide
the logo with aria-hidden="true", so the link is not read as just "CSC".
Customization
::part(root) is the <svg> element, a block with a small top margin;
adjust its spacing there. Leave its colours alone: it is a brand mark.
Examples
<template>
<div class="example-row">
<c-csc-logo />
<c-csc-logo width="120" />
</div>
</template>
API reference
<c-csc-logo>
The CSC logo without its tagline, drawn as an inline SVG in the colours of the current theme mode.
Properties
| Property | Attribute | Type | Default | Description |
|---|---|---|---|---|
width | width | number | 60 | Logo width in pixels; the height follows the logo's proportions. |
CSS parts
Style from outside with c-csc-logo::part(name) — parts are the library's only styling customization API.
| Part | Description |
|---|---|
root | The `<svg>` element rendering the CSC logo |