UNPKG

@telekom/scale-components

Version:

Scale is the digital design system for Telekom products and experiences.

53 lines (45 loc) 1.18 kB
/** * @license * Scale https://github.com/telekom/scale * * Copyright (c) 2021 Egor Kirpichev and contributors, Deutsche Telekom AG * * This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this * file, You can obtain one at https://mozilla.org/MPL/2.0/. */ :host { --focus-outline: var(--telekom-line-weight-highlight) solid var(--telekom-color-functional-focus-standard); --background-magenta: var(--telekom-color-background-canvas); --background-white: var(--telekom-color-primary-standard); } [part~='logo'] { display: inline-flex; height: var(--logo-size); position: relative; } [part~='logo']:focus, [part~='logo']:focus-visible { outline: var(--focus-outline); outline-offset: 2px; border-radius: 2px; } [part~='variant-magenta'] { background-color: var(--background-magenta); } [part~='variant-white'] { background-color: var(--background-white); } [part~='transparent'] { background-color: transparent; } [part~='icon'] svg { height: var(--logo-size); } [part~='icon']:focus-visible { outline: none; } [part~='icon'] svg:focus { outline: none; }