Skip to content

Commit

Permalink
removed deprecated documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Garfonso committed Aug 24, 2024
1 parent 32477bc commit 91772fd
Showing 1 changed file with 1 addition and 128 deletions.
129 changes: 1 addition & 128 deletions docs/de/ui_tipps.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,139 +47,12 @@ Dazu können die folgenden YAML Codebeispiele zum eigenen Theme hinzugefügt wer
}
```
### 3. Titelleiste vollständig verbergen
### 4. Titelleiste vollständig verbergen
Ab Version 4.0.1 gibt es die Möglichkeit den State `lovelace.0.instances.hideHeader` auf `true` zu setzen, was
(nach einem reload) die Titelleiste bei allen Browsern entfernt. Der State existiert auch für alle Instanzen. Er kann
also auch pro Browser gesetzt werden.

### Zu beachten:
* Die Erweiterung [Cardmod](https://github.com/thomasloven/lovelace-card-mod/tree/master) muss installiert sein.
* Der Code muss Teil des Themes sein (*Lovelace Instanz -> Einstellungen -> Themen*), also z.B. so:

<details>
<summary>Beispiel Theme</summary>

```yaml
synthwave:
# text
primary-text-color: '#fff'
secondary-text-color: '#ffffffca'
text-primary-color: '#f4eee4'
disabled-text-color: '#bdbdbd'
# main interface colors
primary-color: '#f92aad'
primary-background-color: '#2a2139'
dark-primary-color: '#f92aad'
light-primary-color: '#241b2f'
accent-color: '#f92aad'
divider-color: '#49549539'
paper-dialog-button-color: '#fff'
switch-unchecked-button-color: '#fff'
# iron-icon-fill-color: '#fff'
yellow: '#ffcc00'
green: '#72f1b8cc'
###
# background and sidebar
card-background-color: '#34294fe6'
app-header-background-color: 'var(--primary-background-color)'
paper-card-background-color: 'var(--card-background-color)'
secondary-background-color: 'var(--light-primary-color)' # behind the cards on state
ha-card-border-radius: '8px'
# sidebar menu
sidebar-text-color: 'var(--secondary-text-color)'
# sidebar-background-color: 'var(--paper-listbox-background-color)' # backward compatible with existing themes
sidebar-icon-color: 'var(--secondary-text-color)'
sidebar-selected-text-color: 'var(--primary-text-color)'
sidebar-selected-icon-color: 'var(--primary-text-color)'
# mwc - for some reason it's buttons
mdc-theme-primary: 'var(--dark-primary-color)'
mdc-theme-secondary: 'var(--dark-primary-color)'
# shadows
ha-card-box-shadow: '0'
# icons
paper-item-icon-color: 'var(--secondary-text-color)' # Off
paper-item-icon-active-color: 'var(--yellow)' # On
# switches
toggle-button-color: 'var(--primary-color)'
# --toggle-button-unchecked-color: 'var(--accent-color)'
paper-toggle-button-checked-button-color: 'var(--primary-text-color)' # Knob On
paper-toggle-button-checked-bar-color: 'var(--dark-primary-color)' # Background On
switch-checked-color: 'var(--dark-primary-color)' # Background On
paper-toggle-button-unchecked-button-color: 'var(--primary-text-color)' # Knob Off
paper-toggle-button-unchecked-bar-color: 'var(--disabled-text-color)' # Background Off
# Sliders
slider-color: 'var(--primary-color)'
slider-secondary-color: 'var(--light-primary-color)'
slider-bar-color: 'var(--disabled-text-color)'
paper-slider-knob-color: 'var(--accent-color)'
paper-slider-knob-start-color: 'var(--accent-color)'
paper-slider-pin-color: 'var(--accent-color)'
paper-slider-active-color: 'var(--dark-primary-color)'
# paper-slider-container-color: 'linear-gradient(var(--primary-background-color), var(--secondary-background-color)) no-repeat'
paper-slider-secondary-color: 'var(--secondary-background-color)'
paper-slider-disabled-active-color: 'var(--disabled-text-color)'
paper-slider-disabled-secondary-color: 'var(--disabled-text-color)'
switch-unchecked-track-color: 'var(--primary-text-color)'
# radio buttons
paper-radio-button-checked-color: 'var(--paper-toggle-button-checked-button-color)'
paper-radio-button-unchecked-color: 'var(--paper-toggle-button-unchecked-button-color)'
# other
state-icon-color: 'var(--green)'
table-row-background-color: 'var(--divider-color)'
table-row-alternative-background-color: 'var(--light-primary-color)'
###
# UI
paper-card-header-color: 'var(--text-primary-color)' # Title in settings
# Left Menu
paper-listbox-background-color: 'var(--light-primary-color)' # Background
sidebar-background-color: 'var(--light-primary-color)'
# bar-card compatibility
# https://github.com/custom-cards/bar-card
custom-bar-card-color: 'var(--accent-color)'
# fix dropdown background
material-background-color: 'var(--light-primary-color)'
# Scrollbar
scrollbar-thumb-color: 'var(--divider-color)'
# simple-thermostat buttons
# https://github.com/nervetattoo/simple-thermostat
st-mode-background: 'var(--primary-background-color)'
st-mode-active-background: 'var(--dark-primary-color)'
card-mod-theme: synthwave
card-mod-root: |
mwc-icon-button[label] {
display: none;
}
ha-icon-button[slot="actionItems"] {
display: none;
}
```

</details>


## Mini-Media-Card mit Text2Speech (TTS) und Musik-Shortcuts

Die Mini-Media-Card unterstützt für Smarte-Lautsprecher (Echo, Google Home, ...) eine Text to Speech (TTS) Eingabe. Zusätzlich kann
Expand Down

0 comments on commit 91772fd

Please sign in to comment.