Skip to content

Commit

Permalink
Dynamic Colors - Updated Local
Browse files Browse the repository at this point in the history
  • Loading branch information
WJDDesigns committed Oct 17, 2024
1 parent 41e5b79 commit 9f94924
Show file tree
Hide file tree
Showing 12 changed files with 326 additions and 281 deletions.
24 changes: 13 additions & 11 deletions dist/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,20 @@ import { css } from "https://unpkg.com/lit-element@2.4.0/lit-element.js?module";

export const styles = css`
:host {
--uvc-card-title-color: var(--primary-text-color);
--uvc-card-title-color: var(--text-primary-color, #e1e1e1);
--uvc-card-background: var(--ha-card-background);
--uvc-bar-background: var(--ha-card-background);
--uvc-bar-border-color: var(--sidebar-text-color);
--uvc-primary-color: var(--primary-color);
--uvc-card-background: var(--card-background-color);
--uvc-bar-background: var(--secondary-text-color);
--uvc-bar-border-color: var(--secondary-text-color);
--uvc-limit-indicator: var(--primary-text-color);
--uvc-info-text-color: var(--secondary-text-color);
--uvc-car-state-text-color: var(--primary-text-color);
--uvc-range-text-color: var(--primary-text-color);
--uvc-percentage-text-color: var(--primary-text-color);
--uvc-icon-background-light-color: rgba(255, 255, 255, 0.1);
--uvc-icon-background-dark-color: rgba(0, 0, 0, 0.1);
--uvc-limit-indicator: var(--text-primary-color);
--uvc-info-text-color: var(--sidebar-text-color);
--uvc-car-state-text-color: var(--text-primary-color);
--uvc-range-text-color: var(--text-primary-color);
--uvc-percentage-text-color: var(--text-primary-color);
--uvc-icon-inactive: var(--sidebar-text-color);
--uvc-icon-active: var(--primary-color);
--uvc-icon-background-light: rgba(0, 0, 0, 0.1);
--uvc-icon-background-dark: rgba(255, 255, 255, 0.1);
--uvc-icon-background: var(--uvc-icon-background-light);
}
Expand Down
1 change: 1 addition & 0 deletions dist/translations/da.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ export default {
bottom: "Bund",
interaction: "Interaktion",
colors: "Farver",
cardTitleColor: "Kort Titelfarve",
cardBackgroundColor: "Kort Baggrundsfarve",
barBackgroundColor: "Bar Baggrundsfarve",
barBorderColor: "Bar Kantfarve",
Expand Down
1 change: 1 addition & 0 deletions dist/translations/de.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default {
bottom: "Unten",
interaction: "Interaktion",
colors: "Farben",
cardTitleColor: "Kartenfarbe",
cardBackgroundColor: "Kartenhintergrundfarbe",
barBackgroundColor: "Balkenhintergrundfarbe",
barBorderColor: "Balkenrahmenfarbe",
Expand Down
1 change: 1 addition & 0 deletions dist/translations/en-GB.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default {
bottom: "Bottom",
interaction: "Interaction",
colors: "Colours",
cardTitleColor: "Card Title Colour",
cardBackgroundColor: "Card Background Colour",
barBackgroundColor: "Bar Background Colour",
barBorderColor: "Bar Border Colour",
Expand Down
1 change: 1 addition & 0 deletions dist/translations/es.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default {
bottom: "Abajo",
interaction: "Interacción",
colors: "Colores",
cardTitleColor: "Color del título de la tarjeta",
cardBackgroundColor: "Color de fondo de la tarjeta",
barBackgroundColor: "Color de fondo de la barra",
barBorderColor: "Color del borde de la barra",
Expand Down
1 change: 1 addition & 0 deletions dist/translations/fr.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default {
bottom: "Bas",
interaction: "Interaction",
colors: "Couleurs",
cardTitleColor: "Couleur du titre de la carte",
cardBackgroundColor: "Couleur de fond de la carte",
barBackgroundColor: "Couleur de fond de la barre",
barBorderColor: "Couleur de bordure de la barre",
Expand Down
1 change: 1 addition & 0 deletions dist/translations/nb.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default {
bottom: "Bunn",
interaction: "Interaksjon",
colors: "Farger",
cardTitleColor: "Korttittelfarge",
cardBackgroundColor: "Kortbakgrunnsfarge",
barBackgroundColor: "Linjebakgrunnsfarge",
barBorderColor: "Linjekantfarge",
Expand Down
1 change: 1 addition & 0 deletions dist/translations/nl.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default {
bottom: "Onder",
interaction: "Interactie",
colors: "Kleuren",
cardTitleColor: "Kaarttitelkleur",
cardBackgroundColor: "Kaartachtergrondkleur",
barBackgroundColor: "Balkachtergrondkleur",
barBorderColor: "Balkrandkleur",
Expand Down
1 change: 1 addition & 0 deletions dist/translations/nn.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default {
bottom: "Botn",
interaction: "Interaksjon",
colors: "Fargar",
cardTitleColor: "Korttittelfarge",
cardBackgroundColor: "Kortbakgrunnsfarge",
barBackgroundColor: "Linjebakgrunnsfarge",
barBorderColor: "Linjekantfarge",
Expand Down
1 change: 1 addition & 0 deletions dist/translations/sv.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,7 @@ export default {
bottom: "Botten",
interaction: "Interaktion",
colors: "Färger",
cardTitleColor: "Korttitelfärg",
cardBackgroundColor: "Kortbakgrundsfärg",
barBackgroundColor: "Stapelbakgrundsfärg",
barBorderColor: "Stapelkantfärg",
Expand Down
Loading

0 comments on commit 9f94924

Please sign in to comment.