diff --git a/examples/index.html b/examples/index.html index 383c9ada..7e73666e 100644 --- a/examples/index.html +++ b/examples/index.html @@ -1,4 +1,4 @@ - + Vega Theme Test @@ -19,6 +19,7 @@ } #views { display: flex; + gap: 60px; flex-wrap: wrap; justify-content: left; } @@ -45,6 +46,46 @@ .vega-bind label { margin: 0 0.5em 0 2px; } + + #carbon-alert { + display: none; + background: #f4f4f4; + border-inline-start: 3px solid #f1c21b; + color: #161616; + font-family: "IBM Plex Sans", "Helvetica Neue", Arial, sans-serif; + padding: 16px; + margin-top: 24px; + margin-bottom: 48px; + } + + #carbon-alert.visible { + display: block; + } + + #carbon-alert.dark { + background: #393939; + border-inline-start: 3px solid #f1c21b; + color: rgba(255, 255, 255, 0.9); + } + + #carbon-alert a { + color: #0f62fe; + } + + #carbon-alert.dark a { + color: #78a9ff; + } + + .carbon-alert__title { + margin: 0; + font-weight: 600; + font-size: 16px; + margin-bottom: 4px; + } + + .carbon-alert__subtitle { + margin: 0; + } @@ -62,10 +103,12 @@ - - - - + + + + + +   Renderer:
+ +
+

Additional imports

+ +

+ Carbon themes require the Plex font to be imported, as well as an additional CSS file (to style overflow menu & + tooltips). More instructions + here +

+
+