Skip to content
Snippets Groups Projects
Commit 7d09e88a authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Use theme css variables

parent be629649
No related branches found
No related tags found
No related merge requests found
import {html, LitElement} from 'lit-element'; import {html, LitElement, css} from 'lit-element';
import './vpu-language-select.js'; import './vpu-language-select.js';
import * as commonUtils from 'vpu-common/utils'; import * as commonUtils from 'vpu-common/utils';
......
...@@ -81,9 +81,11 @@ class LanguageSelect extends LitElement { ...@@ -81,9 +81,11 @@ class LanguageSelect extends LitElement {
static get styles() { static get styles() {
return css` return css`
${commonUtils.getThemeCSS()}
a:hover { a:hover {
background-color: #000; background-color: var(--vpu-dark);
color: #fff; color: var(--vpu-light);
transition: none; transition: none;
} }
...@@ -91,9 +93,10 @@ class LanguageSelect extends LitElement { ...@@ -91,9 +93,10 @@ class LanguageSelect extends LitElement {
padding: 5px; padding: 5px;
display: inline-block; display: inline-block;
text-decoration: none; text-decoration: none;
color: #000;
transition: background-color 0.15s, color 0.15s; transition: background-color 0.15s, color 0.15s;
font-weight: 300; font-weight: 300;
color: var(--vpu-dark);
border-radius: var(--vpu-border-radius);
} }
`; `;
} }
......
common @ 8ca2d5ca
Subproject commit 892548cb2343fd74dc4d7c49c52983602b773f13 Subproject commit 8ca2d5cafade6c6b1c966452521ef0430c282487
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment