Skip to content

Commit

Permalink
Fixed card borders in HA2022.11
Browse files Browse the repository at this point in the history
  • Loading branch information
“Juan” committed Nov 15, 2022
1 parent 055550a commit 46d1535
Show file tree
Hide file tree
Showing 2 changed files with 185 additions and 181 deletions.
Binary file added .DS_Store
Binary file not shown.
366 changes: 185 additions & 181 deletions themes/ios_theme.yaml
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,182 +1,186 @@
# Theme based on the iOS light and dark mode UI
# Creator: Juan - @juanmtech
# Website: https://www.juanmtech.com
# YouTube Channel: https://youtube.com/juanmtech
# My Home Assistant Config files: https://github.com/JuanMTech/Home_Assistant_files
#
#
iOS Theme:
modes:
light:
# Header:
app-header-background-color: var(--primary-background-color)
app-header-text-color: rgb(28, 28, 30)
# Main Interface Colors
primary-color: rgb(0, 122, 255)
light-primary-color: var(--primary-color)
primary-background-color: rgb(242, 242, 247)
secondary-background-color: var(--primary-background-color)
divider-color: rgb(229, 229, 234)
accent-color: rgb(0, 122, 255)
# Text
primary-text-color: rgb(28, 28, 30)
secondary-text-color: rgb(142, 142, 147)
text-primary-color: rgb(255, 255, 255)
disabled-text-color: rgb(199, 199, 204)
# Sidebar Menu
sidebar-icon-color: rgb(58, 58, 30)
sidebar-text-color: var(--primary-text-color)
sidebar-background-color: rgb(255, 255, 255)
sidebar-selected-background-color: var(--primary-background-color)
sidebar-selected-icon-color: rgb(0, 122, 255)
sidebar-selected-text-color: var(--sidebar-selected-icon-color))
# Buttons
paper-item-icon-color: rgb(58, 58, 30)
paper-item-icon-active-color: rgb(0, 122, 255)
# States and Badges
state-icon-color: rgb(0, 122, 255)
state-icon-active-color: rgb(58, 58, 30)
state-icon-unavailable-color: var(--disabled-text-color)
# Sliders
paper-slider-knob-color: rgb(0, 122, 255)
paper-slider-knob-start-color: var(--paper-slider-knob-color)
paper-slider-pin-color: rgb(0, 122, 255)
paper-slider-active-color: rgb(0, 122, 255)
paper-slider-secondary-color: var(--paper-slider-active-color)
# Labels
label-badge-background-color: rgb(28, 28, 30)
label-badge-text-color: rgb(242, 242, 247)
label-badge-red: rgb(255, 69, 58)
label-badge-green: rgb(52, 199, 89)
label-badge-blue: rgb(0, 122, 255)
label-badge-yellow: rgb(255, 214, 10)
label-badge-gray: rgb(72, 72, 74)
# Cards
card-background-color: rgb(255, 255, 255)
ha-card-border-radius: "10px"
ha-card-box-shadow: none
paper-dialog-background-color: var(--card-background-color)
paper-listbox-background-color: var(--card-background-color)
paper-card-background-color: var(--card-background-color)
# Switches
switch-checked-button-color: rgb(52, 199, 89)
switch-checked-track-color: rgb(52, 199, 89)
switch-unchecked-button-color: rgb(174, 174, 178)
switch-unchecked-track-color: rgb(174, 174, 178)
# Toggles
paper-toggle-button-checked-button-color: var(--switch-checked-button-color)
paper-toggle-button-checked-bar-color: var(--switch-checked-track-color)
paper-toggle-button-unchecked-button-color: var(--switch-unchecked-button-color)
paper-toggle-button-unchecked-bar-color: var(--switch-unchecked-track-color)
# Table
table-row-background-color: rgb(255, 255, 255)
table-row-alternative-background-color: rgb(242, 242, 247)
data-table-background-color: var(--primary-background-color)
# Dropdowns
material-background-color: rgb(255, 255, 255)
material-secondary-background-color: rgb(242, 242, 247)
mdc-theme-surface: var(--primary-background-color)
# Pre/Code
markdown-code-background-color: rgb(242, 242, 247)
# Checkboxes
mdc-select-fill-color: rgb(255, 255, 255)
mdc-select-ink-color: var(--primary-text-color)
mdc-select-label-ink-color: var(--secondary-text-color)
mdc-select-idle-line-color: var(--primary-text-color)
mdc-select-dropdown-icon-color: var(--secondary-text-color)
mdc-select-hover-line-color: var(--accent-color)
# Input
input-fill-color: var(--secondary-background-color)
input-dropdown-icon-color: var(--secondary-text-color)
input-ink-color: var(--primary-text-color)
input-label-ink-color: var(--secondary-text-color)
input-idle-line-color: var(--primary-text-color)
input-hover-line-color: var(--accent-color)
#
dark:
# Header:
app-header-background-color: var(--primary-background-color)
app-header-text-color: rgb(229, 229, 234)
# Main Interface Colors
primary-color: rgb(10, 132, 255)
light-primary-color: var(--primary-color)
primary-background-color: rgb(0, 0, 0)
secondary-background-color: rgb(44, 44, 46)
divider-color: rgb(44, 44, 46)
accent-color: rgb(10, 132, 255)
# Text
primary-text-color: rgb(242, 242, 247)
secondary-text-color: rgb(174, 174, 178)
text-primary-color: var(--primary-text-color)
disabled-text-color: rgb(72, 72, 74)
# Sidebar Menu
sidebar-icon-color: rgb(199, 199, 204)
sidebar-text-color: var(--primary-text-color)
sidebar-background-color: rgb(28, 28, 30)
sidebar-selected-background-color: var(--primary-background-color)
sidebar-selected-icon-color: rgb(10, 132, 255)
sidebar-selected-text-color: var(--sidebar-selected-icon-color))
# Buttons
paper-item-icon-color: rgb(174, 174, 178)
paper-item-icon-active-color: rgb(10, 132, 255)
# States and Badges
state-icon-color: rgb(10, 132, 255)
state-icon-active-color: rgb(174, 174, 178)
state-icon-unavailable-color: var(--disabled-text-color)
# Sliders
paper-slider-knob-color: rgb(242, 242, 247)
paper-slider-knob-start-color: var(--paper-slider-knob-color)
paper-slider-pin-color: rgb(10, 132, 255)
paper-slider-active-color: rgb(10, 132, 255)
paper-slider-secondary-color: var(--paper-slider-active-color)
# Labels
label-badge-background-color: rgb(28, 28, 30)
label-badge-text-color: rgb(242, 242, 247)
label-badge-red: rgb(255, 69, 58)
label-badge-green: rgb(48, 209, 88)
label-badge-blue: rgb(10, 132, 255)
label-badge-yellow: rgb(255, 214, 10)
label-badge-gray: rgb(72, 72, 74)
# Cards
card-background-color: rgb(28, 28, 30)
ha-card-border-radius: "10px"
ha-card-box-shadow: none
paper-dialog-background-color: var(--card-background-color)
paper-listbox-background-color: var(--card-background-color)
paper-card-background-color: var(--card-background-color)
# Switches
switch-checked-button-color: rgb(242, 242, 247)
switch-checked-track-color: rgb(48, 209, 88)
switch-unchecked-button-color: rgb(242, 242, 247)
switch-unchecked-track-color: rgb(99, 99, 102)
# Toggles
paper-toggle-button-checked-button-color: var(--switch-checked-button-color)
paper-toggle-button-checked-bar-color: var(--switch-checked-track-color)
paper-toggle-button-unchecked-button-color: var(--switch-unchecked-button-color)
paper-toggle-button-unchecked-bar-color: var(--switch-unchecked-track-color)
# Table
table-row-background-color: rgb(28, 28, 30)
table-row-alternative-background-color: rgb(44, 44, 46)
data-table-background-color: rgb(0, 0, 0)
# Dropdowns
material-background-color: rgb(28, 28, 30)
material-secondary-background-color: rgb(44, 44, 46)
mdc-theme-surface: var(--secondary-background-color)
# Pre/Code
markdown-code-background-color: rgb(58, 58, 60)
# Checkboxes
mdc-checkbox-unchecked-color: rgb(174, 174, 178)
mdc-checkbox-disable-color: var(--disabled-text-color)
mdc-select-fill-color: rgb(28, 28, 30)
mdc-select-ink-color: var(--primary-text-color)
mdc-select-label-ink-color: var(--secondary-text-color)
mdc-select-idle-line-color: var(--primary-text-color)
mdc-select-dropdown-icon-color: var(--secondary-text-color)
mdc-select-hover-line-color: var(--accent-color)
# Input
input-fill-color: var(--secondary-background-color)
input-dropdown-icon-color: var(--secondary-text-color)
input-ink-color: var(--primary-text-color)
input-label-ink-color: var(--secondary-text-color)
input-idle-line-color: var(--primary-text-color)
# Theme based on the iOS light and dark mode UI
# Creator: Juan - @juanmtech
# Website: https://www.juanmtech.com
# YouTube Channel: https://youtube.com/juanmtech
# My Home Assistant Config files: https://github.com/JuanMTech/Home_Assistant_files
#
#
iOS Theme:
modes:
light:
# Header:
app-header-background-color: var(--primary-background-color)
app-header-text-color: rgb(28, 28, 30)
app-header-selection-bar-color: var(--primary-color)
# Main Interface Colors
primary-color: rgb(0, 122, 255)
light-primary-color: var(--primary-color)
primary-background-color: rgb(242, 242, 247)
secondary-background-color: var(--primary-background-color)
divider-color: rgb(229, 229, 234)
accent-color: rgb(0, 122, 255)
# Text
primary-text-color: rgb(28, 28, 30)
secondary-text-color: rgb(142, 142, 147)
text-primary-color: rgb(255, 255, 255)
disabled-text-color: rgb(199, 199, 204)
# Sidebar Menu
sidebar-icon-color: rgb(58, 58, 30)
sidebar-text-color: var(--primary-text-color)
sidebar-background-color: rgb(255, 255, 255)
sidebar-selected-background-color: var(--primary-background-color)
sidebar-selected-icon-color: rgb(0, 122, 255)
sidebar-selected-text-color: var(--sidebar-selected-icon-color))
# Buttons
paper-item-icon-color: rgb(58, 58, 30)
paper-item-icon-active-color: rgb(0, 122, 255)
# States and Badges
state-icon-color: rgb(0, 122, 255)
state-icon-active-color: rgb(58, 58, 30)
state-icon-unavailable-color: var(--disabled-text-color)
# Sliders
paper-slider-knob-color: rgb(0, 122, 255)
paper-slider-knob-start-color: var(--paper-slider-knob-color)
paper-slider-pin-color: rgb(0, 122, 255)
paper-slider-active-color: rgb(0, 122, 255)
paper-slider-secondary-color: var(--paper-slider-active-color)
# Labels
label-badge-background-color: rgb(28, 28, 30)
label-badge-text-color: rgb(242, 242, 247)
label-badge-red: rgb(255, 69, 58)
label-badge-green: rgb(52, 199, 89)
label-badge-blue: rgb(0, 122, 255)
label-badge-yellow: rgb(255, 214, 10)
label-badge-gray: rgb(72, 72, 74)
# Cards
card-background-color: rgb(255, 255, 255)
ha-card-background: rgb(255, 255, 255)
ha-card-border-color: none
ha-card-border-width: 0px
paper-dialog-background-color: var(--card-background-color)
paper-listbox-background-color: var(--card-background-color)
paper-card-background-color: var(--card-background-color)
# Switches
switch-checked-button-color: rgb(52, 199, 89)
switch-checked-track-color: rgb(52, 199, 89)
switch-unchecked-button-color: rgb(174, 174, 178)
switch-unchecked-track-color: rgb(174, 174, 178)
# Toggles
paper-toggle-button-checked-button-color: var(--switch-checked-button-color)
paper-toggle-button-checked-bar-color: var(--switch-checked-track-color)
paper-toggle-button-unchecked-button-color: var(--switch-unchecked-button-color)
paper-toggle-button-unchecked-bar-color: var(--switch-unchecked-track-color)
# Table
table-row-background-color: rgb(255, 255, 255)
table-row-alternative-background-color: rgb(242, 242, 247)
data-table-background-color: var(--primary-background-color)
# Dropdowns
material-background-color: rgb(255, 255, 255)
material-secondary-background-color: rgb(242, 242, 247)
mdc-theme-surface: var(--primary-background-color)
# Pre/Code
markdown-code-background-color: rgb(242, 242, 247)
# Checkboxes
mdc-select-fill-color: rgb(255, 255, 255)
mdc-select-ink-color: var(--primary-text-color)
mdc-select-label-ink-color: var(--secondary-text-color)
mdc-select-idle-line-color: var(--primary-text-color)
mdc-select-dropdown-icon-color: var(--secondary-text-color)
mdc-select-hover-line-color: var(--accent-color)
# Input
input-fill-color: var(--secondary-background-color)
input-dropdown-icon-color: var(--secondary-text-color)
input-ink-color: var(--primary-text-color)
input-label-ink-color: var(--secondary-text-color)
input-idle-line-color: var(--primary-text-color)
input-hover-line-color: var(--accent-color)
#
dark:
# Header:
app-header-background-color: var(--primary-background-color)
app-header-text-color: rgb(229, 229, 234)
app-header-selection-bar-color: var(--primary-color)
# Main Interface Colors
primary-color: rgb(10, 132, 255)
light-primary-color: var(--primary-color)
primary-background-color: rgb(0, 0, 0)
secondary-background-color: rgb(44, 44, 46)
divider-color: rgb(44, 44, 46)
accent-color: rgb(10, 132, 255)
# Text
primary-text-color: rgb(242, 242, 247)
secondary-text-color: rgb(174, 174, 178)
text-primary-color: var(--primary-text-color)
disabled-text-color: rgb(72, 72, 74)
# Sidebar Menu
sidebar-icon-color: rgb(199, 199, 204)
sidebar-text-color: var(--primary-text-color)
sidebar-background-color: rgb(28, 28, 30)
sidebar-selected-background-color: var(--primary-background-color)
sidebar-selected-icon-color: rgb(10, 132, 255)
sidebar-selected-text-color: var(--sidebar-selected-icon-color))
# Buttons
paper-item-icon-color: rgb(174, 174, 178)
paper-item-icon-active-color: rgb(10, 132, 255)
# States and Badges
state-icon-color: rgb(10, 132, 255)
state-icon-active-color: rgb(174, 174, 178)
state-icon-unavailable-color: var(--disabled-text-color)
# Sliders
paper-slider-knob-color: rgb(242, 242, 247)
paper-slider-knob-start-color: var(--paper-slider-knob-color)
paper-slider-pin-color: rgb(10, 132, 255)
paper-slider-active-color: rgb(10, 132, 255)
paper-slider-secondary-color: var(--paper-slider-active-color)
# Labels
label-badge-background-color: rgb(28, 28, 30)
label-badge-text-color: rgb(242, 242, 247)
label-badge-red: rgb(255, 69, 58)
label-badge-green: rgb(48, 209, 88)
label-badge-blue: rgb(10, 132, 255)
label-badge-yellow: rgb(255, 214, 10)
label-badge-gray: rgb(72, 72, 74)
# Cards
card-background-color: rgb(28, 28, 30)
ha-card-background: rgb(28, 28, 30)
ha-card-border-color: none
ha-card-border-width: 0px
paper-dialog-background-color: var(--card-background-color)
paper-listbox-background-color: var(--card-background-color)
paper-card-background-color: var(--card-background-color)
# Switches
switch-checked-button-color: rgb(242, 242, 247)
switch-checked-track-color: rgb(48, 209, 88)
switch-unchecked-button-color: rgb(242, 242, 247)
switch-unchecked-track-color: rgb(99, 99, 102)
# Toggles
paper-toggle-button-checked-button-color: var(--switch-checked-button-color)
paper-toggle-button-checked-bar-color: var(--switch-checked-track-color)
paper-toggle-button-unchecked-button-color: var(--switch-unchecked-button-color)
paper-toggle-button-unchecked-bar-color: var(--switch-unchecked-track-color)
# Table
table-row-background-color: rgb(28, 28, 30)
table-row-alternative-background-color: rgb(44, 44, 46)
data-table-background-color: rgb(0, 0, 0)
# Dropdowns
material-background-color: rgb(28, 28, 30)
material-secondary-background-color: rgb(44, 44, 46)
mdc-theme-surface: var(--secondary-background-color)
# Pre/Code
markdown-code-background-color: rgb(58, 58, 60)
# Checkboxes
mdc-checkbox-unchecked-color: rgb(174, 174, 178)
mdc-checkbox-disable-color: var(--disabled-text-color)
mdc-select-fill-color: rgb(28, 28, 30)
mdc-select-ink-color: var(--primary-text-color)
mdc-select-label-ink-color: var(--secondary-text-color)
mdc-select-idle-line-color: var(--primary-text-color)
mdc-select-dropdown-icon-color: var(--secondary-text-color)
mdc-select-hover-line-color: var(--accent-color)
# Input
input-fill-color: var(--secondary-background-color)
input-dropdown-icon-color: var(--secondary-text-color)
input-ink-color: var(--primary-text-color)
input-label-ink-color: var(--secondary-text-color)
input-idle-line-color: var(--primary-text-color)
input-hover-line-color: var(--accent-color)

0 comments on commit 46d1535

Please sign in to comment.