Migrated menu components

pull/5507/head
Cagatay Civici 2024-03-13 09:56:24 +03:00
parent e9d9e14027
commit 580ca3a90d
18 changed files with 236 additions and 259 deletions

View File

@ -1,9 +1,9 @@
export default { export default {
css: ({ dt }) => ` css: ({ dt }) => `
.p-breadcrumb { .p-breadcrumb {
background: var(--p-breadcrumb-background); background: ${dt('breadcrumb.background')};
border: 0 none; border: 0 none;
border-radius: 6px; border-radius: ${dt('rounded.base')};
padding: 1rem; padding: 1rem;
overflow-x: auto; overflow-x: auto;
} }
@ -44,23 +44,23 @@ export default {
} }
.p-breadcrumb .p-menuitem-text { .p-breadcrumb .p-menuitem-text {
color: var(--p-breadcrumb-item-text-color); color: ${dt('breadcrumb.item.color')};
transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}, outline-color ${dt('transition.duration')}; transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}, outline-color ${dt('transition.duration')};
line-height: 1; line-height: 1;
} }
.p-breadcrumb .p-menuitem-text:hover { .p-breadcrumb .p-menuitem-text:hover {
color: var(--p-breadcrumb-item-text-color-hover); color: ${dt('breadcrumb.item.hover.color')};
line-height: 1; line-height: 1;
} }
.p-breadcrumb .p-menuitem-icon { .p-breadcrumb .p-menuitem-icon {
color: var(--p-breadcrumb-item-icon-color); color: ${dt('breadcrumb.item.icon.color')};
} }
.p-breadcrumb .p-breadcrumb-list li.p-menuitem-separator { .p-breadcrumb .p-breadcrumb-list li.p-menuitem-separator {
margin: 0 0.5rem 0 0.5rem; margin: 0 0.5rem 0 0.5rem;
color: var(--p-breadcrumb-separator-color); color: ${dt('breadcrumb.separator.color')};
} }
` `
}; };

View File

@ -2,9 +2,9 @@ export default {
css: ({ dt }) => ` css: ({ dt }) => `
.p-contextmenu { .p-contextmenu {
padding: 0.25rem 0.25rem; padding: 0.25rem 0.25rem;
background: var(--p-contextmenu-background); background: ${dt('contextmenu.background')};
color: var(--p-contextmenu-text-color); color: ${dt('contextmenu.color')};
border: 1px solid var(--p-contextmenu-border-color); border: 1px solid ${dt('contextmenu.border.color')};
border-radius: ${dt('rounded.base')}; border-radius: ${dt('rounded.base')};
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
min-width: 12.5rem; min-width: 12.5rem;
@ -25,9 +25,9 @@ export default {
min-width: 100%; min-width: 100%;
z-index: 1; z-index: 1;
padding: 0.25rem 0.25rem; padding: 0.25rem 0.25rem;
background: var(--p-contextmenu-background); background: ${dt('contextmenu.background')};
color: var(--p-contextmenu-text-color); color: ${dt('contextmenu.color')};
border: 1px solid var(--p-contextmenu-border-color); border: 1px solid ${dt('contextmenu.border.color')};
border-radius: ${dt('rounded.base')}; border-radius: ${dt('rounded.base')};
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
} }
@ -62,17 +62,17 @@ export default {
.p-contextmenu .p-menuitem-content { .p-contextmenu .p-menuitem-content {
transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}; transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')};
border-radius: var(--p-rounded-sm); border-radius: ${dt('rounded.sm')};
color: var(--p-contextmenu-item-text-color); color: ${dt('contextmenu.item.color')};
} }
.p-contextmenu .p-menuitem-icon { .p-contextmenu .p-menuitem-icon {
color: var(--p-contextmenu-item-icon-color); color: ${dt('contextmenu.item.icom.color')};
margin-right: 0.5rem; margin-right: 0.5rem;
} }
.p-contextmenu .p-submenu-icon { .p-contextmenu .p-submenu-icon {
color: var(--p-contextmenu-item-icon-color); color: ${dt('contextmenu.item.icon.color')};
margin-left: auto; margin-left: auto;
font-size: 0.875rem; font-size: 0.875rem;
width: 0.875rem; width: 0.875rem;
@ -80,37 +80,37 @@ export default {
} }
.p-contextmenu .p-menuitem.p-focus > .p-menuitem-content { .p-contextmenu .p-menuitem.p-focus > .p-menuitem-content {
color: var(--p-contextmenu-item-text-color-focus); color: ${dt('contextmenu.item.focus.color')};
background: var(--p-contextmenu-item-background-focus); background: ${dt('contextmenu.item.focus.background')};
} }
.p-contextmenu .p-menuitem.p-focus > .p-menuitem-content .p-menuitem-icon, .p-contextmenu .p-menuitem.p-focus > .p-menuitem-content .p-menuitem-icon,
.p-contextmenu .p-menuitem.p-focus > .p-menuitem-content .p-submenu-icon { .p-contextmenu .p-menuitem.p-focus > .p-menuitem-content .p-submenu-icon {
color: var(--p-contextmenu-item-icon-color-focus); color: ${dt('contextmenu.item.icon.focus.color')};
} }
.p-contextmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover { .p-contextmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover {
color: var(--p-contextmenu-item-text-color-focus); color: ${dt('contextmenu.item.focus.color')};
background: var(--p-contextmenu-item-background-focus); background: ${dt('contextmenu.item.focus.background')};
} }
.p-contextmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-icon, .p-contextmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-icon,
.p-contextmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-submenu-icon { .p-contextmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-submenu-icon {
color: var(--p-contextmenu-item-icon-color-focus); color: ${dt('contextmenu.item.icon.focus.color')};
} }
.p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-content { .p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-content {
color: var(--p-contextmenu-item-text-color-focus); color: ${dt('contextmenu.item.focus.color')};
background: var(--p-contextmenu-item-background-focus); background: ${dt('contextmenu.item.focus.background')};
} }
.p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-content .p-menuitem-icon, .p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-content .p-menuitem-icon,
.p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-content .p-submenu-icon { .p-contextmenu .p-menuitem.p-menuitem-active > .p-menuitem-content .p-submenu-icon {
color: var(--p-contextmenu-item-icon-color-focus); color: ${dt('contextmenu.item.icon.focus.color')};
} }
.p-contextmenu .p-menuitem-separator { .p-contextmenu .p-menuitem-separator {
border-top: 1px solid var(--p-contextmenu-separator-border-color); border-top: 1px solid ${dt('contextmenu.separator.border.color')};
margin: 2px 0; margin: 2px 0;
} }

View File

@ -4,9 +4,9 @@ export default {
display: flex; display: flex;
position: relative; position: relative;
padding: 0.5rem 0.5rem; padding: 0.5rem 0.5rem;
background: var(--p-megamenu-background); background: ${dt('megamenu.background')};
color: var(--p-megamenu-text-color); color: ${dt('megamenu.color')};
border: 1px solid var(--p-megamenu-border-color); border: 1px solid ${dt('megamenu.border.color')};
border-radius: ${dt('rounded.base')}; border-radius: ${dt('rounded.base')};
} }
@ -18,8 +18,8 @@ export default {
.p-megamenu .p-menuitem-content { .p-megamenu .p-menuitem-content {
transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}; transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')};
border-radius: var(--p-rounded-sm); border-radius: ${dt('rounded.sm')};
color: var(--p-megamenu-item-text-color); color: ${dt('megamenu.item.color')};
} }
.p-megamenu .p-menuitem-link { .p-megamenu .p-menuitem-link {
@ -39,42 +39,41 @@ export default {
} }
.p-megamenu .p-menuitem-icon { .p-megamenu .p-menuitem-icon {
color: var(--p-megamenu-item-icon-color); color: ${dt('megamenu.item.icon.color')};
margin-right: 0.5rem; margin-right: 0.5rem;
} }
.p-megamenu .p-menuitem.p-focus > .p-menuitem-content { .p-megamenu .p-menuitem.p-focus > .p-menuitem-content {
color: var(--p-megamenu-item-text-color-focus); color: ${dt('megamenu.item.focus.color')};
background: var(--p-megamenu-item-background-focus); background: ${dt('megamenu.item.focus.background')};
} }
.p-megamenu .p-menuitem.p-focus > .p-menuitem-content .p-menuitem-icon, .p-megamenu .p-menuitem.p-focus > .p-menuitem-content .p-menuitem-icon,
.p-megamenu .p-menuitem.p-focus > .p-menuitem-content .p-submenu-icon { .p-megamenu .p-menuitem.p-focus > .p-menuitem-content .p-submenu-icon {
color: var(--p-megamenu-item-icon-color-focus); color: ${dt('megamenu.item.icon.focus.color')};
} }
.p-megamenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover { .p-megamenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover {
color: var(--p-megamenu-item-text-color-focus); color: ${dt('megamenu.item.focus.color')};
background: var(--p-megamenu-item-background-focus); background: ${dt('megamenu.item.focus.background')};
} }
.p-megamenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-icon, .p-megamenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-icon,
.p-megamenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-submenu-icon { .p-megamenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-submenu-icon {
color: var(--p-megamenu-item-icon-color-focus); color: ${dt('megamenu.item.icon.focus.color')};
}
.p-megamenu .p-menuitem-active > .p-menuitem-content { .p-megamenu .p-menuitem-active > .p-menuitem-content {
color: var(--p-megamenu-item-text-color-focus); color: ${dt('megamenu.item.focus.color')};
background: var(--p-megamenu-item-background-focus); background: ${dt('megamenu.item.focus.background')};
} }
.p-megamenu .p-menuitem-active > .p-menuitem-content .p-menuitem-icon, .p-megamenu .p-menuitem-active > .p-menuitem-content .p-menuitem-icon,
.p-megamenu .p-menuitem-active > .p-menuitem-content .p-submenu-icon { .p-megamenu .p-menuitem-active > .p-menuitem-content .p-submenu-icon {
color: var(--p-megamenu-item-icon-color-focus); color: ${dt('megamenu.item.icon.focus.color')};
} }
.p-megamenu .p-submenu-icon { .p-megamenu .p-submenu-icon {
color: var(--p-megamenu-item-icon-color); color: ${dt('megamenu.item.icon.color')};
margin-left: 0.5rem; margin-left: 0.5rem;
font-size: 0.875rem; font-size: 0.875rem;
width: 0.875rem; width: 0.875rem;
@ -88,9 +87,9 @@ export default {
z-index: 1; z-index: 1;
left: 0; left: 0;
min-width: 100%; min-width: 100%;
background: var(--p-megamenu-background); background: ${dt('megamenu.background')};
color: var(--p-megamenu-text-color); color: ${dt('megamenu.color')};
border: 1px solid var(--p-megamenu-border-color); border: 1px solid ${dt('megamenu.border.color')};
border-radius: ${dt('rounded.base')}; border-radius: ${dt('rounded.base')};
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1) box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1)
} }
@ -121,13 +120,13 @@ export default {
.p-megamenu-submenu .p-submenu-header { .p-megamenu-submenu .p-submenu-header {
margin: 0; margin: 0;
padding: 0.5rem 0.75rem; padding: 0.5rem 0.75rem;
color: var(--p-megamenu-submenu-header-text-color); color: ${dt('megamenu.submenu.header.color')};
font-weight: 600; font-weight: 600;
margin-bottom: 2px; margin-bottom: 2px;
} }
.p-megamenu-submenu .p-menuitem-separator { .p-megamenu-submenu .p-menuitem-separator {
border-top: 1px solid var(--p-megamenu-separator-border-color); border-top: 1px solid ${dt('megamenu.separator.border.color')};
margin: 2px 0; margin: 2px 0;
} }
@ -207,7 +206,7 @@ export default {
width: 1.75rem; width: 1.75rem;
height: 1.75rem; height: 1.75rem;
position: relative; position: relative;
color: var(--p-megamenu-mobile-toggle-color); color: ${dt('megamenu.mobile.toggle.color')};
border: 0 none; border: 0 none;
background: transparent; background: transparent;
border-radius: 50%; border-radius: 50%;
@ -216,8 +215,8 @@ export default {
} }
.p-megamenu-button:hover { .p-megamenu-button:hover {
color: var(--p-megamenu-mobile-toggle-color-hover); color: ${dt('megamenu.mobile.toggle.hover.color')};
background: var(--p-megamenu-mobile-toggle-background-hover); background: ${dt('megamenu.mobile.toggle.hover.background')};
} }
.p-megamenu-button:focus-visible { .p-megamenu-button:focus-visible {
@ -242,8 +241,8 @@ export default {
z-index: 1; z-index: 1;
width: 100%; width: 100%;
padding: 0.25rem 0.25rem; padding: 0.25rem 0.25rem;
background: var(--p-megamenu-background); background: ${dt('megamenu.background')};
border: 1px solid var(--p-megamenu-border-color); border: 1px solid ${dt('megamenu.border.color')};
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
gap: 2px; gap: 2px;
} }

View File

@ -2,9 +2,9 @@ export default {
css: ({ dt }) => ` css: ({ dt }) => `
.p-menu { .p-menu {
padding: 0.25rem 0.25rem; padding: 0.25rem 0.25rem;
background: var(--p-menu-background); background: ${dt('menu.background')};
color: var(--p-menu-text-color); color: ${dt('menu.color')};
border: 1px solid var(--p-menu-border-color); border: 1px solid ${dt('menu.border.color')};
border-radius: ${dt('rounded.base')}; border-radius: ${dt('rounded.base')};
min-width: 12.5rem; min-width: 12.5rem;
} }
@ -45,32 +45,32 @@ export default {
.p-menu .p-menuitem-content { .p-menu .p-menuitem-content {
transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}; transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')};
border-radius: var(--p-rounded-sm); border-radius: ${dt('rounded.sm')};
color: var(--p-menu-item-text-color); color: ${dt('menu.item.color')};
} }
.p-menu .p-menuitem-icon { .p-menu .p-menuitem-icon {
color: var(--p-menu-item-icon-color); color: ${dt('menu.item.icon.color')};
margin-right: 0.5rem; margin-right: 0.5rem;
} }
.p-menu .p-menuitem.p-focus .p-menuitem-content { .p-menu .p-menuitem.p-focus .p-menuitem-content {
color: var(--p-menu-item-text-color-focus); color: ${dt('menu.item.focus.color')};
background: var(--p-menu-item-background-focus); background: ${dt('menu.item.focus.background')};
} }
.p-menu .p-menuitem.p-focus .p-menuitem-icon { .p-menu .p-menuitem.p-focus .p-menuitem-icon {
color: var(--p-menu-item-icon-color-focus); color: ${dt('menu.item.icon.focus.color')};
} }
.p-menu .p-menuitem:not(.p-disabled) .p-menuitem-content:hover { .p-menu .p-menuitem:not(.p-disabled) .p-menuitem-content:hover {
color: var(--p-menu-item-text-color-focus); color: ${dt('menu.item.focus.color')};
background: var(--p-menu-item-background-focus); background: ${dt('menu.item.focus.background')};
} }
.p-menu .p-menuitem:not(.p-disabled) .p-menuitem-content:hover .p-menuitem-icon, .p-menu .p-menuitem:not(.p-disabled) .p-menuitem-content:hover .p-menuitem-icon,
.p-menu .p-menuitem:not(.p-disabled) .p-menuitem-content:hover .p-submenu-icon { .p-menu .p-menuitem:not(.p-disabled) .p-menuitem-content:hover .p-submenu-icon {
color: var(--p-menu-item-icon-color-focus); color: ${dt('menu.item.icon.focus.color')};
} }
.p-menu.p-menu-overlay { .p-menu.p-menu-overlay {
@ -80,12 +80,12 @@ export default {
.p-menu .p-submenu-header { .p-menu .p-submenu-header {
margin: 0; margin: 0;
padding: 0.5rem 0.75rem; padding: 0.5rem 0.75rem;
color: var(--p-menu-submenu-header-text-color); color: ${dt('menu.submenu.header.color')};
font-weight: 600; font-weight: 600;
} }
.p-menu .p-menuitem-separator { .p-menu .p-menuitem-separator {
border-top: 1px solid var(--p-menu-separator-border-color); border-top: 1px solid ${dt('menu.separator.border.color.color')};
margin: 2px 0; margin: 2px 0;
} }
` `

View File

@ -4,9 +4,9 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
padding: 0.5rem 0.5rem; padding: 0.5rem 0.5rem;
background: var(--p-menubar-background); background: ${dt('menubar.background')};
color: var(--p-menubar-text-color); color: ${dt('menubar.color')};
border: 1px solid var(--p-menubar-border-color); border: 1px solid ${dt('menubar.border.color')};
border-radius: ${dt('rounded.base')}; border-radius: ${dt('rounded.base')};
} }
@ -45,47 +45,47 @@ export default {
.p-menubar .p-menuitem-content { .p-menubar .p-menuitem-content {
transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}; transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')};
border-radius: var(--p-rounded-sm); border-radius: ${dt('rounded.sm')});
color: var(--p-menubar-item-text-color); color: ${dt('menubar.item.color')};
} }
.p-menubar .p-menuitem-icon { .p-menubar .p-menuitem-icon {
color: var(--p-menubar-item-icon-color); color: ${dt('menubar.item.icon.color')};
margin-right: 0.5rem; margin-right: 0.5rem;
} }
.p-menubar .p-menuitem.p-focus > .p-menuitem-content { .p-menubar .p-menuitem.p-focus > .p-menuitem-content {
color: var(--p-menubar-item-text-color-focus); color: ${dt('menubar.item.focus.color')};
background: var(--p-menubar-item-background-focus); background: ${dt('menubar.item.focus.background')};
} }
.p-menubar .p-menuitem.p-focus > .p-menuitem-content .p-menuitem-icon, .p-menubar .p-menuitem.p-focus > .p-menuitem-content .p-menuitem-icon,
.p-menubar .p-menuitem.p-focus > .p-menuitem-content .p-submenu-icon { .p-menubar .p-menuitem.p-focus > .p-menuitem-content .p-submenu-icon {
color: var(--p-menubar-item-icon-color-focus); color: ${dt('menubar.item.icon.focus.color')};
} }
.p-menubar .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover { .p-menubar .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover {
color: var(--p-menubar-item-text-color-focus); color: ${dt('menubar.item.focus.color')};
background: var(--p-menubar-item-background-focus); background: ${dt('menubar.item.focus.background')};
} }
.p-menubar .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-icon, .p-menubar .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-icon,
.p-menubar .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-submenu-icon { .p-menubar .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-submenu-icon {
color: var(--p-menubar-item-icon-color-focus); color: ${dt('menubar.item.icon.focus.color')};
} }
.p-menubar .p-menuitem-active > .p-menuitem-content { .p-menubar .p-menuitem-active > .p-menuitem-content {
color: var(--p-menubar-item-text-color-focus); color: ${dt('menubar.item.focus.color')};
background: var(--p-menubar-item-background-focus); background: ${dt('menubar.item.focus.background')};
} }
.p-menubar .p-menuitem-active > .p-menuitem-content .p-menuitem-icon, .p-menubar .p-menuitem-active > .p-menuitem-content .p-menuitem-icon,
.p-menubar .p-menuitem-active > .p-menuitem-content .p-submenu-icon { .p-menubar .p-menuitem-active > .p-menuitem-content .p-submenu-icon {
color: var(--p-menubar-item-icon-color-focus); color: ${dt('menubar.item.icon.focus.color')};
} }
.p-menubar .p-submenu-icon { .p-menubar .p-submenu-icon {
color: var(--p-menubar-item-icon-color); color: ${dt('menubar.item.icon.color')};
margin-left: auto; margin-left: auto;
font-size: 0.875rem; font-size: 0.875rem;
width: 0.875rem; width: 0.875rem;
@ -102,15 +102,15 @@ export default {
min-width: 12.5rem; min-width: 12.5rem;
z-index: 1; z-index: 1;
padding: 0.25rem 0.25rem; padding: 0.25rem 0.25rem;
background: var(--p-menubar-background); background: ${dt('menubar.background')};
color: var(--p-menubar-text-color); color: ${dt('menubar.color')};
border: 1px solid var(--p-menubar-border-color); border: 1px solid ${dt('menubar.border.color')};
border-radius: ${dt('rounded.base')}; border-radius: ${dt('rounded.base')};
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
} }
.p-menubar .p-submenu-list .p-menuitem-separator { .p-menubar .p-submenu-list .p-menuitem-separator {
border-top: 1px solid var(--p-menubar-separator-border-color); border-top: 1px solid ${dt('menubar.separator.border.color')};
margin: 2px 0; margin: 2px 0;
} }
@ -146,7 +146,7 @@ export default {
width: 1.75rem; width: 1.75rem;
height: 1.75rem; height: 1.75rem;
position: relative; position: relative;
color: var(--p-menubar-mobile-toggle-color); color: ${dt('menubar.mobile.toggle.color')};
border: 0 none; border: 0 none;
background: transparent; background: transparent;
border-radius: 50%; border-radius: 50%;
@ -155,8 +155,8 @@ export default {
} }
.p-menubar-button:hover { .p-menubar-button:hover {
color: var(--p-menubar-mobile-toggle-color-hover); color: ${dt('menubar.mobile.toggle.hover.color')};
background: var(--p-menubar-mobile-toggle-background-hover); background: ${dt('menubar.mobile.toggle.hover.background')};
} }
.p-menubar-button:focus-visible { .p-menubar-button:focus-visible {
@ -177,8 +177,8 @@ export default {
display: none; display: none;
width: 100%; width: 100%;
padding: 0.25rem 0.25rem; padding: 0.25rem 0.25rem;
background: var(--p-menubar-background); background: ${dt('menubar.background')};
border: 1px solid var(--p-menubar-border-color); border: 1px solid ${dt('menubar.border.color')};
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
} }

View File

@ -7,9 +7,9 @@ export default {
} }
.p-panelmenu-panel { .p-panelmenu-panel {
background: var(--p-panelmenu-panel-background); background: ${dt('panelmenu.panel.background')};
border: 1px solid var(--p-panelmenu-panel-border-color); border: 1px solid ${dt('panelmenu.panel.border.color')};
color: var(--p-panelmenu-panel-text-color); color: ${dt('panelmenu.panel.color')};
border-radius: ${dt('rounded.base')}; border-radius: ${dt('rounded.base')};
padding: 0.25rem 0.25rem; padding: 0.25rem 0.25rem;
} }
@ -21,9 +21,9 @@ export default {
.p-panelmenu-header-content { .p-panelmenu-header-content {
border: 0 none; border: 0 none;
color: var(--p-panelmenu-item-text-color); color: ${dt('panelmenu.item.color')};
border-radius: ${dt('rounded.base')}; border-radius: ${dt('rounded.base')};
transition: background-color 0.2s, color 0.2s, outline-color 0.2s; transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}, outline-color ${dt('transition.duration')};
outline-color: transparent; outline-color: transparent;
} }
@ -42,27 +42,27 @@ export default {
.p-panelmenu .p-submenu-icon, .p-panelmenu .p-submenu-icon,
.p-panelmenu .p-menuitem-icon { .p-panelmenu .p-menuitem-icon {
color: var(--p-panelmenu-item-icon-color); color: ${dt('panelmenu.item.icon.icolor')};
} }
.p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content { .p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content {
background: var(--p-panelmenu-item-background-focus); background: ${dt('panelmenu.item.focus.background')};
color: var(--p-panelmenu-item-text-color-focus); color: ${dt('panelmenu.item.focus.color')};
} }
.p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content .p-submenu-icon, .p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content .p-submenu-icon,
.p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content .p-menuitem-icon { .p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content .p-menuitem-icon {
color: var(--p-panelmenu-item-icon-color-focus); color: ${dt('panelmenu.item.icon.focus.color')};
} }
.p-panelmenu-header:not(.p-disabled) .p-panelmenu-header-content:hover { .p-panelmenu-header:not(.p-disabled) .p-panelmenu-header-content:hover {
background: var(--p-panelmenu-item-background-focus); background: ${dt('panelmenu.item.focus.background')};
color: var(--p-panelmenu-item-text-color-focus); color: ${dt('panelmenu.item.focus.color')};
} }
.p-panelmenu-header:not(.p-disabled).p-panelmenu-header-content:hover .p-submenu-icon, .p-panelmenu-header:not(.p-disabled).p-panelmenu-header-content:hover .p-submenu-icon,
.p-panelmenu-header:not(.p-disabled) .p-panelmenu-header-content:hover .p-menuitem-icon { .p-panelmenu-header:not(.p-disabled) .p-panelmenu-header-content:hover .p-menuitem-icon {
color: var(--p-panelmenu-item-icon-color-focus); color: ${dt('panelmenu.item.icon.focus.color')};
} }
.p-panelmenu .p-menuitem { .p-panelmenu .p-menuitem {
@ -102,27 +102,27 @@ export default {
.p-panelmenu .p-menuitem-content { .p-panelmenu .p-menuitem-content {
transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}; transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')};
border-radius: var(--p-rounded-sm); border-radius: ${dt('rounded.sm')};
color: var(--p-menu-item-text-color); color: ${dt('panelmenu.item.color')};
} }
.p-panelmenu .p-menuitem.p-focus > .p-menuitem-content { .p-panelmenu .p-menuitem.p-focus > .p-menuitem-content {
color: var(--p-panelmenu-item-text-color-focus); background: ${dt('panelmenu.item.focus.background')};
background: var(--p-panelmenu-item-background-focus); color: ${dt('panelmenu.item.focus.color')};
} }
.p-panelmenu .p-menuitem.p-focus > .p-menuitem-icon { .p-panelmenu .p-menuitem.p-focus > .p-menuitem-icon {
color: var(--p-panelmenu-item-icon-color-focus); color: ${dt('panelmenu.item.focus.color')};
} }
.p-panelmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover { .p-panelmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover {
color: var(--p-panelmenu-item-text-color-focus); background: ${dt('panelmenu.item.focus.background')};
background: var(--p-panelmenu-item-background-focus); color: ${dt('panelmenu.item.focus.color')};
} }
.p-panelmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-icon, .p-panelmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-icon,
.p-panelmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-submenu-icon { .p-panelmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-submenu-icon {
color: var(--p-panelmenu-item-icon-color-focus); color: ${dt('panelmenu.item.focus.color')};
} }
` `
}; };

View File

@ -28,7 +28,7 @@ export default {
.p-steps-item:before { .p-steps-item:before {
content: " "; content: " ";
border-top: 2px solid var(--p-steps-connector-border-color); border-top: 2px solid ${dt('steps.connector.border.color')};
width: 100%; width: 100%;
top: 50%; top: 50%;
left: 0; left: 0;
@ -69,7 +69,7 @@ export default {
text-overflow: ellipsis; text-overflow: ellipsis;
max-width: 100%; max-width: 100%;
margin-top: 0.5rem; margin-top: 0.5rem;
color: var(--p-steps-item-text-color); color: ${dt('steps.item.color')};
display: block; display: block;
font-weight: 500; font-weight: 500;
} }
@ -78,9 +78,9 @@ export default {
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
color: var(--p-steps-marker-text-color); color: ${dt('steps.marker.color')};
border: 2px solid var(--p-steps-marker-border-color); border: 2px solid ${dt('steps.marker.border.color')};
background: var(--p-steps-marker-background); background: ${dt('steps.marker.background')};
min-width: 2rem; min-width: 2rem;
height: 2rem; height: 2rem;
line-height: 2rem; line-height: 2rem;
@ -105,13 +105,13 @@ export default {
} }
.p-steps-current .p-steps-number { .p-steps-current .p-steps-number {
background: var(--p-steps-marker-background-active); background: ${dt('steps.marker.active.background')};
color: var(--p-steps-marker-text-color-active); color: ${dt('steps.marker.active.color')};
} }
.p-steps-current .p-steps-title { .p-steps-current .p-steps-title {
font-weight: 500; font-weight: 500;
color: var(--p-steps-item-text-color-active); color: ${dt('steps.item.active.color')};
} }
` `
}; };

View File

@ -10,8 +10,8 @@ export default {
padding: 0; padding: 0;
list-style-type: none; list-style-type: none;
flex: 1 1 auto; flex: 1 1 auto;
background: var(--p-tabmenu-nav-background); background: ${dt('tabmenu.nav.background')};
border: 1px solid var(--p-tabmenu-nav-border-color); border: 1px solid ${dt('tabmenu.nav.border.color')};
border-width: 0 0 1px 0; border-width: 0 0 1px 0;
position: relative; position: relative;
} }
@ -26,8 +26,8 @@ export default {
overflow: hidden; overflow: hidden;
border-style: solid; border-style: solid;
border-width: 0 0 1px 0; border-width: 0 0 1px 0;
border-color: transparent transparent var(--p-tabmenu-header-border-color) transparent; border-color: transparent transparent ${dt('tabmenu.header.border.color')} transparent;
color: var(--p-tabmenu-header-text-color); color: ${dt('tabmenu.header.color')};
padding: 1rem 1.125rem; padding: 1rem 1.125rem;
font-weight: 600; font-weight: 600;
border-top-right-radius: ${dt('rounded.base')}; border-top-right-radius: ${dt('rounded.base')};
@ -51,11 +51,11 @@ export default {
} }
.p-tabmenuitem:not(.p-highlight):not(.p-disabled):hover .p-menuitem-link { .p-tabmenuitem:not(.p-highlight):not(.p-disabled):hover .p-menuitem-link {
color: var(--p-tabmenu-header-text-color-hover); color: ${dt('tabmenu.header.hover.color')};
} }
.p-tabmenuitem.p-highlight .p-menuitem-link { .p-tabmenuitem.p-highlight .p-menuitem-link {
color: var(--p-primary-color); color: ${dt('tabmenu.header.active.border.color')};
} }
.p-tabmenu-ink-bar { .p-tabmenu-ink-bar {
@ -64,7 +64,7 @@ export default {
position: absolute; position: absolute;
bottom: -1px; bottom: -1px;
height: 1px; height: 1px;
background-color: var(--p-primary-color); background-color: ${dt('tabmenu.header.active.border.color')};
transition: 250ms cubic-bezier(0.35, 0, 0.25, 1); transition: 250ms cubic-bezier(0.35, 0, 0.25, 1);
} }

View File

@ -2,9 +2,9 @@ export default {
css: ({ dt }) => ` css: ({ dt }) => `
.p-tieredmenu { .p-tieredmenu {
padding: 0.25rem 0.25rem; padding: 0.25rem 0.25rem;
background: var(--p-tieredmenu-background); background: ${dt('tieredmenu.background')};
color: var(--p-tieredmenu-text-color); color: ${dt('tieredmenu.color')};
border: 1px solid var(--p-tieredmenu-border-color); border: 1px solid ${dt('tieredmenu.border.color')};
border-radius: ${dt('rounded.base')}; border-radius: ${dt('rounded.base')};
min-width: 12.5rem; min-width: 12.5rem;
} }
@ -24,9 +24,9 @@ export default {
min-width: 100%; min-width: 100%;
z-index: 1; z-index: 1;
padding: 0.25rem 0.25rem; padding: 0.25rem 0.25rem;
background: var(--p-tieredmenu-background); background: ${dt('tieredmenu.background')};
color: var(--p-tieredmenu-text-color); color: ${dt('tieredmenu.color')};
border: 1px solid var(--p-tieredmenu-border-color); border: 1px solid ${dt('tieredmenu.border.color')};
border-radius: ${dt('rounded.base')}; border-radius: ${dt('rounded.base')};
box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
} }
@ -61,17 +61,17 @@ export default {
.p-tieredmenu .p-menuitem-content { .p-tieredmenu .p-menuitem-content {
transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')}; transition: background-color ${dt('transition.duration')}, color ${dt('transition.duration')};
border-radius: var(--p-rounded-sm); border-radius: ${dt('rounded.sm')};
color: var(--p-tieredmenu-item-text-color); color: ${dt('tieredmenu.item.color')};
} }
.p-tieredmenu .p-menuitem-icon { .p-tieredmenu .p-menuitem-icon {
color: var(--p-tieredmenu-item-icon-color); color: ${dt('tieredmenu.item.icon.color')};
margin-right: 0.5rem; margin-right: 0.5rem;
} }
.p-tieredmenu .p-submenu-icon { .p-tieredmenu .p-submenu-icon {
color: var(--p-tieredmenu-item-icon-color); color: ${dt('tieredmenu.item.icon.color')};
margin-left: auto; margin-left: auto;
font-size: 0.875rem; font-size: 0.875rem;
width: 0.875rem; width: 0.875rem;
@ -79,37 +79,37 @@ export default {
} }
.p-tieredmenu .p-menuitem.p-focus > .p-menuitem-content { .p-tieredmenu .p-menuitem.p-focus > .p-menuitem-content {
color: var(--p-tieredmenu-item-text-color-focus); color: ${dt('tieredmenu.item.focus.color')};
background: var(--p-tieredmenu-item-background-focus); background: ${dt('tieredmenu.item.focus.background')};
} }
.p-tieredmenu .p-menuitem.p-focus > .p-menuitem-content .p-menuitem-icon, .p-tieredmenu .p-menuitem.p-focus > .p-menuitem-content .p-menuitem-icon,
.p-tieredmenu .p-menuitem.p-focus > .p-menuitem-content .p-submenu-icon { .p-tieredmenu .p-menuitem.p-focus > .p-menuitem-content .p-submenu-icon {
color: var(--p-tieredmenu-item-icon-color-focus); color: ${dt('tieredmenu.item.icon.focus.color')};
} }
.p-tieredmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover { .p-tieredmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover {
color: var(--p-tieredmenu-item-text-color-focus); color: ${dt('tieredmenu.item.focus.color')};
background: var(--p-tieredmenu-item-background-focus); background: ${dt('tieredmenu.item.focus.background')};
} }
.p-tieredmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-icon, .p-tieredmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-menuitem-icon,
.p-tieredmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-submenu-icon { .p-tieredmenu .p-menuitem:not(.p-disabled) > .p-menuitem-content:hover .p-submenu-icon {
color: var(--p-tieredmenu-item-icon-color-focus); color: ${dt('tieredmenu.item.icon.focus.color')};
} }
.p-tieredmenu .p-menuitem.p-menuitem-active > .p-menuitem-content { .p-tieredmenu .p-menuitem.p-menuitem-active > .p-menuitem-content {
color: var(--p-tieredmenu-item-text-color-focus); color: ${dt('tieredmenu.item.focus.color')};
background: var(--p-tieredmenu-item-background-focus); background: ${dt('tieredmenu.item.focus.background')};
} }
.p-tieredmenu .p-menuitem.p-menuitem-active > .p-menuitem-content .p-menuitem-icon, .p-tieredmenu .p-menuitem.p-menuitem-active > .p-menuitem-content .p-menuitem-icon,
.p-tieredmenu .p-menuitem.p-menuitem-active > .p-menuitem-content .p-submenu-icon { .p-tieredmenu .p-menuitem.p-menuitem-active > .p-menuitem-content .p-submenu-icon {
color: var(--p-tieredmenu-item-icon-color-focus); color: ${dt('tieredmenu.item.icon.focus.color')};
} }
.p-tieredmenu .p-menuitem-separator { .p-tieredmenu .p-menuitem-separator {
border-top: 1px solid var(--p-tieredmenu-separator-border-color); border-top: 1px solid ${dt('tieredmenu.separator.border.color')};
margin: 2px 0; margin: 2px 0;
} }

View File

@ -5,8 +5,8 @@ export default {
}, },
light: { light: {
item: { item: {
textColor: '{surface.500}', color: '{surface.500}',
textColorHover: '{surface.700}', hoverColor: '{surface.700}',
iconColor: '{surface.400}' iconColor: '{surface.400}'
}, },
separator: { separator: {
@ -18,8 +18,8 @@ export default {
background: '{surface.900}' background: '{surface.900}'
}, },
item: { item: {
textColor: '{surface.400}', color: '{surface.400}',
textColorHover: '{surface.0}', hoverColor: '{surface.0}',
iconColor: '{surface.500}' iconColor: '{surface.500}'
}, },
separator: { separator: {

View File

@ -4,14 +4,12 @@ export default {
root: { root: {
background: '{surface.0}', background: '{surface.0}',
borderColor: '{surface.200}', borderColor: '{surface.200}',
textColor: '{surface.700}' color: '{surface.700}'
}, },
item: { item: {
backgroundFocus: '{surface.100}', focusBackground: '{surface.100}',
text: { color: '{surface.700}',
color: '{surface.700}', colorFocus: '{surface.800}',
colorFocus: '{surface.800}'
},
icon: { icon: {
color: '{surface.400}', color: '{surface.400}',
colorFocus: '{surface.500}' colorFocus: '{surface.500}'
@ -25,14 +23,12 @@ export default {
root: { root: {
background: '{surface.900}', background: '{surface.900}',
borderColor: '{surface.700}', borderColor: '{surface.700}',
textColor: '{surface.0}' color: '{surface.0}'
}, },
item: { item: {
backgroundFocus: '{surface.800}', focusBackground: '{surface.800}',
text: { color: '{surface.0}',
color: '{surface.0}', colorFocus: '{surface.0}',
colorFocus: '{surface.0}'
},
icon: { icon: {
color: '{surface.500}', color: '{surface.500}',
colorFocus: '{surface.400}' colorFocus: '{surface.400}'

View File

@ -4,58 +4,54 @@ export default {
root: { root: {
background: '{surface.0}', background: '{surface.0}',
borderColor: '{surface.200}', borderColor: '{surface.200}',
textColor: '{surface.700}' color: '{surface.700}'
}, },
item: { item: {
backgroundFocus: '{surface.100}', focusBackground: '{surface.100}',
text: { color: '{surface.700}',
color: '{surface.700}', focusColor: '{surface.800}',
colorFocus: '{surface.800}'
},
icon: { icon: {
color: '{surface.400}', color: '{surface.400}',
colorFocus: '{surface.500}' focusColor: '{surface.500}'
} }
}, },
submenuHeader: { submenuHeader: {
textColor: '{surface.400}' color: '{surface.400}'
}, },
separator: { separator: {
borderColor: '{surface.200}' borderColor: '{surface.200}'
}, },
mobileToggle: { mobileToggle: {
color: '{surface.500}', color: '{surface.500}',
colorHover: '{surface.600}', hoverColor: '{surface.600}',
backgroundHover: '{surface.100}' hoverBackground: '{surface.100}'
} }
}, },
dark: { dark: {
root: { root: {
background: '{surface.900}', background: '{surface.900}',
borderColor: '{surface.700}', borderColor: '{surface.700}',
textColor: '{surface.0}' color: '{surface.0}'
}, },
item: { item: {
backgroundFocus: '{surface.800}', focusBackground: '{surface.800}',
text: { color: '{surface.0}',
color: '{surface.0}', focusColor: '{surface.0}',
colorFocus: '{surface.0}'
},
icon: { icon: {
color: '{surface.500}', color: '{surface.500}',
colorFocus: '{surface.400}' focusColor: '{surface.400}'
} }
}, },
submenuHeader: { submenuHeader: {
textColor: '{surface.500}' color: '{surface.500}'
}, },
separator: { separator: {
borderColor: '{surface.700}' borderColor: '{surface.700}'
}, },
toggleIcon: { toggleIcon: {
color: '{surface.400}', color: '{surface.400}',
colorHover: '{surface.300}', hoverColor: '{surface.300}',
backgroundHover: '{surface.800}' hoverBackground: '{surface.800}'
} }
} }
} }

View File

@ -4,21 +4,19 @@ export default {
root: { root: {
background: '{surface.0}', background: '{surface.0}',
borderColor: '{surface.200}', borderColor: '{surface.200}',
textColor: '{surface.700}' color: '{surface.700}'
}, },
item: { item: {
backgroundFocus: '{surface.100}', focusBackground: '{surface.100}',
text: { color: '{surface.700}',
color: '{surface.700}', focusColor: '{surface.800}',
colorFocus: '{surface.800}'
},
icon: { icon: {
color: '{surface.400}', color: '{surface.400}',
colorFocus: '{surface.500}' focusColor: '{surface.500}'
} }
}, },
submenuHeader: { submenuHeader: {
textColor: '{surface.400}' color: '{surface.400}'
}, },
separator: { separator: {
borderColor: '{surface.200}' borderColor: '{surface.200}'
@ -28,21 +26,19 @@ export default {
root: { root: {
background: '{surface.900}', background: '{surface.900}',
borderColor: '{surface.700}', borderColor: '{surface.700}',
textColor: '{surface.0}' color: '{surface.0}'
}, },
item: { item: {
backgroundFocus: '{surface.800}', focusBackground: '{surface.800}',
text: { color: '{surface.0}',
color: '{surface.0}', focusColor: '{surface.0}',
colorFocus: '{surface.0}'
},
icon: { icon: {
color: '{surface.500}', color: '{surface.500}',
colorFocus: '{surface.400}' focusColor: '{surface.400}'
} }
}, },
submenuHeader: { submenuHeader: {
textColor: '{surface.500}' color: '{surface.500}'
}, },
separator: { separator: {
borderColor: '{surface.700}' borderColor: '{surface.700}'

View File

@ -4,17 +4,15 @@ export default {
root: { root: {
background: '{surface.0}', background: '{surface.0}',
borderColor: '{surface.200}', borderColor: '{surface.200}',
textColor: '{surface.700}' color: '{surface.700}'
}, },
item: { item: {
backgroundFocus: '{surface.100}', focusBackground: '{surface.100}',
text: { color: '{surface.700}',
color: '{surface.700}', focusColor: '{surface.800}',
colorFocus: '{surface.800}'
},
icon: { icon: {
color: '{surface.400}', color: '{surface.400}',
colorFocus: '{surface.500}' focusColor: '{surface.500}'
} }
}, },
separator: { separator: {
@ -22,25 +20,23 @@ export default {
}, },
mobileToggle: { mobileToggle: {
color: '{surface.500}', color: '{surface.500}',
colorHover: '{surface.600}', hoverColor: '{surface.600}',
backgroundHover: '{surface.100}' hoverBackground: '{surface.100}'
} }
}, },
dark: { dark: {
root: { root: {
background: '{surface.900}', background: '{surface.900}',
borderColor: '{surface.700}', borderColor: '{surface.700}',
textColor: '{surface.0}' color: '{surface.0}'
}, },
item: { item: {
backgroundFocus: '{surface.800}', focusBackground: '{surface.800}',
text: { color: '{surface.0}',
color: '{surface.0}', focusColor: '{surface.0}',
colorFocus: '{surface.0}'
},
icon: { icon: {
color: '{surface.500}', color: '{surface.500}',
colorFocus: '{surface.400}' focusColor: '{surface.400}'
} }
}, },
separator: { separator: {
@ -48,8 +44,8 @@ export default {
}, },
mobileToggle: { mobileToggle: {
color: '{surface.400}', color: '{surface.400}',
colorHover: '{surface.300}', hoverColor: '{surface.300}',
backgroundHover: '{surface.800}' hoverBackground: '{surface.800}'
} }
} }
} }

View File

@ -4,17 +4,15 @@ export default {
panel: { panel: {
background: '{surface.0}', background: '{surface.0}',
borderColor: '{surface.200}', borderColor: '{surface.200}',
textColor: '{surface.700}' color: '{surface.700}'
}, },
item: { item: {
backgroundFocus: '{surface.100}', focusBackground: '{surface.100}',
text: { color: '{surface.700}',
color: '{surface.700}', focusColor: '{surface.800}',
colorFocus: '{surface.800}'
},
icon: { icon: {
color: '{surface.400}', color: '{surface.400}',
colorFocus: '{surface.500}' focusColor: '{surface.500}'
} }
} }
}, },
@ -22,17 +20,15 @@ export default {
panel: { panel: {
background: '{surface.900}', background: '{surface.900}',
borderColor: '{surface.700}', borderColor: '{surface.700}',
textColor: '{surface.0}' color: '{surface.0}'
}, },
item: { item: {
backgroundFocus: '{surface.800}', focusBackground: '{surface.800}',
text: { color: '{surface.0}',
color: '{surface.0}', focusColor: '{surface.0}',
colorFocus: '{surface.0}'
},
icon: { icon: {
color: '{surface.500}', color: '{surface.500}',
colorFocus: '{surface.400}' focusColor: '{surface.400}'
} }
} }
} }

View File

@ -5,15 +5,15 @@ export default {
borderColor: '{surface.200}' borderColor: '{surface.200}'
}, },
item: { item: {
textColor: '{surface.700}', color: '{surface.700}',
textColorActive: '{primary.color}' activeColor: '{primary.color}'
}, },
marker: { marker: {
background: '{surface.0}', background: '{surface.0}',
backgroundActive: '{surface.0}', activeBackground: '{surface.0}',
borderColor: '{surface.200}', borderColor: '{surface.200}',
textColor: '{surface.500}', color: '{surface.500}',
textColorActive: '{primary.color}' activeColor: '{primary.color}'
} }
}, },
dark: { dark: {
@ -21,15 +21,15 @@ export default {
borderColor: '{surface.700}' borderColor: '{surface.700}'
}, },
item: { item: {
textColor: '{surface.0}', color: '{surface.0}',
textColorActive: '{primary.color}' activeColor: '{primary.color}'
}, },
marker: { marker: {
background: '{surface.900}', background: '{surface.900}',
backgroundActive: '{surface.900}', activeBackground: '{surface.900}',
borderColor: '{surface.700}', borderColor: '{surface.700}',
textColor: '{surface.400}', color: '{surface.400}',
textColorActive: '{primary.color}' activeColor: '{primary.color}'
} }
} }
} }

View File

@ -7,8 +7,9 @@ export default {
}, },
header: { header: {
borderColor: '{surface.200}', borderColor: '{surface.200}',
textColor: '{surface.500}', activeBorderColor: '{primary.color}',
textColorHover: '{surface.700}' color: '{surface.500}',
hoverColor: '{surface.700}'
} }
}, },
dark: { dark: {
@ -18,8 +19,9 @@ export default {
}, },
header: { header: {
borderColor: '{surface.700}', borderColor: '{surface.700}',
textColor: '{surface.400}', activeBorderColor: '{primary.color}',
textColorHover: '{surface.0}' color: '{surface.400}',
hoverColor: '{surface.0}'
} }
} }
} }

View File

@ -4,17 +4,15 @@ export default {
root: { root: {
background: '{surface.0}', background: '{surface.0}',
borderColor: '{surface.200}', borderColor: '{surface.200}',
textColor: '{surface.700}' color: '{surface.700}'
}, },
item: { item: {
backgroundFocus: '{surface.100}', focusBackground: '{surface.100}',
text: { color: '{surface.700}',
color: '{surface.700}', focusColor: '{surface.800}',
colorFocus: '{surface.800}'
},
icon: { icon: {
color: '{surface.400}', color: '{surface.400}',
colorFocus: '{surface.500}' focusColor: '{surface.500}'
} }
}, },
separator: { separator: {
@ -25,17 +23,15 @@ export default {
root: { root: {
background: '{surface.900}', background: '{surface.900}',
borderColor: '{surface.700}', borderColor: '{surface.700}',
textColor: '{surface.0}' color: '{surface.0}'
}, },
item: { item: {
backgroundFocus: '{surface.800}', focusBackground: '{surface.800}',
text: { color: '{surface.0}',
color: '{surface.0}', focusColor: '{surface.0}',
colorFocus: '{surface.0}'
},
icon: { icon: {
color: '{surface.500}', color: '{surface.500}',
colorFocus: '{surface.400}' focusColor: '{surface.400}'
} }
}, },
separator: { separator: {