Skip to content

Commit

Permalink
scoping, few hsl variables
Browse files Browse the repository at this point in the history
r100-stack committed Dec 20, 2024
1 parent 2eb99bf commit 4ccd98c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/itwinui-css/src/bridge.scss
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Copyright (c) Bentley Systems, Incorporated. All rights reserved.
// See LICENSE.md in the project root for license terms and full copyright notice.

:where([data-iui-bridge='true']) {
.iui-root:where([data-iui-bridge='true']) {
--iui-color-white: var(--kiwi-color-static-white);

--iui-color-background: var(--kiwi-color-bg-surface-primary);
@@ -75,12 +75,18 @@
--iui-color-text-placeholder: var(--kiwi-color-text-neutral-secondary);

/* TODO: Handle hsl */
&[data-iui-theme='dark'] {
--iui-color-background-hsl: 209.99deg 9.99% 15.69%;
--iui-color-foreground-hsl: 240deg 100% 9.8%;
--iui-color-accent-hsl: var(--iui-color-informational-hsl);
--iui-color-informational-hsl: 208.91deg 100% 43.14%;
}

/* ---------------------------------------------------------------------------- */
/* Anchor */

.iui-anchor {
// TODO: use underline prop
// TODO: Potentially, use underline prop
text-decoration: underline;

&:where(:hover) {

0 comments on commit 4ccd98c

Please sign in to comment.