Renamed token name

pull/5701/head
Cagatay Civici 2024-05-05 18:51:29 +03:00
parent 17d2ecb665
commit 57bdae3f69
13 changed files with 53 additions and 53 deletions

View File

@ -79,8 +79,8 @@ const theme = ({ dt }) => `
} }
.p-contextmenu-item.p-focus > .p-contextmenu-item-content { .p-contextmenu-item.p-focus > .p-contextmenu-item-content {
color: ${dt('contextmenu.item.hover.color')}; color: ${dt('contextmenu.item.focus.color')};
background: ${dt('contextmenu.item.hover.background')}; background: ${dt('contextmenu.item.focus.background')};
} }
.p-contextmenu-item.p-focus > .p-contextmenu-item-content .p-contextmenu-item-icon, .p-contextmenu-item.p-focus > .p-contextmenu-item-content .p-contextmenu-item-icon,
@ -89,8 +89,8 @@ const theme = ({ dt }) => `
} }
.p-contextmenu-item:not(.p-disabled) > .p-contextmenu-item-content:hover { .p-contextmenu-item:not(.p-disabled) > .p-contextmenu-item-content:hover {
color: ${dt('contextmenu.item.hover.color')}; color: ${dt('contextmenu.item.focus.color')};
background: ${dt('contextmenu.item.hover.background')}; background: ${dt('contextmenu.item.focus.background')};
} }
.p-contextmenu-item:not(.p-disabled) > .p-contextmenu-item-content:hover .p-contextmenu-item-icon, .p-contextmenu-item:not(.p-disabled) > .p-contextmenu-item-content:hover .p-contextmenu-item-icon,
@ -99,8 +99,8 @@ const theme = ({ dt }) => `
} }
.p-contextmenu-item-active > .p-contextmenu-item-content { .p-contextmenu-item-active > .p-contextmenu-item-content {
color: ${dt('contextmenu.item.hover.color')}; color: ${dt('contextmenu.item.focus.color')};
background: ${dt('contextmenu.item.hover.background')}; background: ${dt('contextmenu.item.focus.background')};
} }
.p-contextmenu-item-active > .p-contextmenu-item-content .p-contextmenu-item-icon, .p-contextmenu-item-active > .p-contextmenu-item-content .p-contextmenu-item-icon,

View File

@ -46,8 +46,8 @@ const theme = ({ dt }) => `
} }
.p-megamenu-item.p-focus > .p-megamenu-item-content { .p-megamenu-item.p-focus > .p-megamenu-item-content {
color: ${dt('megamenu.item.hover.color')}; color: ${dt('megamenu.item.focus.color')};
background: ${dt('megamenu.item.hover.background')}; background: ${dt('megamenu.item.focus.background')};
} }
.p-megamenu-item.p-focus > .p-megamenu-item-content .p-megamenu-item-icon, .p-megamenu-item.p-focus > .p-megamenu-item-content .p-megamenu-item-icon,
@ -56,8 +56,8 @@ const theme = ({ dt }) => `
} }
.p-megamenu-item:not(.p-disabled) > .p-megamenu-item-content:hover { .p-megamenu-item:not(.p-disabled) > .p-megamenu-item-content:hover {
color: ${dt('megamenu.item.hover.color')}; color: ${dt('megamenu.item.focus.color')};
background: ${dt('megamenu.item.hover.background')}; background: ${dt('megamenu.item.focus.background')};
} }
.p-megamenu-item:not(.p-disabled) > .p-megamenu-item-content:hover .p-megamenu-item-icon, .p-megamenu-item:not(.p-disabled) > .p-megamenu-item-content:hover .p-megamenu-item-icon,
@ -66,8 +66,8 @@ const theme = ({ dt }) => `
} }
.p-megamenu-item-active > .p-megamenu-item-content { .p-megamenu-item-active > .p-megamenu-item-content {
color: ${dt('megamenu.item.hover.color')}; color: ${dt('megamenu.item.focus.color')};
background: ${dt('megamenu.item.hover.background')}; background: ${dt('megamenu.item.focus.background')};
} }
.p-megamenu-item-active > .p-megamenu-item-content .p-megamenu-item-icon, .p-megamenu-item-active > .p-megamenu-item-content .p-megamenu-item-icon,

View File

@ -57,8 +57,8 @@ const theme = ({ dt }) => `
} }
.p-menu-item.p-focus .p-menu-item-content { .p-menu-item.p-focus .p-menu-item-content {
color: ${dt('menu.item.hover.color')}; color: ${dt('menu.item.focus.color')};
background: ${dt('menu.item.hover.background')}; background: ${dt('menu.item.focus.background')};
} }
.p-menu-item.p-focus .p-menu-item-icon { .p-menu-item.p-focus .p-menu-item-icon {
@ -66,8 +66,8 @@ const theme = ({ dt }) => `
} }
.p-menu-item:not(.p-disabled) .p-menu-item-content:hover { .p-menu-item:not(.p-disabled) .p-menu-item-content:hover {
color: ${dt('menu.item.hover.color')}; color: ${dt('menu.item.focus.color')};
background: ${dt('menu.item.hover.background')}; background: ${dt('menu.item.focus.background')};
} }
.p-menu-item:not(.p-disabled) .p-menu-item-content:hover .p-menu-item-icon { .p-menu-item:not(.p-disabled) .p-menu-item-content:hover .p-menu-item-icon {

View File

@ -57,8 +57,8 @@ const theme = ({ dt }) => `
} }
.p-menubar-item.p-focus > .p-menubar-item-content { .p-menubar-item.p-focus > .p-menubar-item-content {
color: ${dt('menubar.item.hover.color')}; color: ${dt('menubar.item.focus.color')};
background: ${dt('menubar.item.hover.background')}; background: ${dt('menubar.item.focus.background')};
} }
.p-menubar-item.p-focus > .p-menubar-item-content .p-menubar-item-icon, .p-menubar-item.p-focus > .p-menubar-item-content .p-menubar-item-icon,
@ -67,8 +67,8 @@ const theme = ({ dt }) => `
} }
.p-menubar-item:not(.p-disabled) > .p-menubar-item-content:hover { .p-menubar-item:not(.p-disabled) > .p-menubar-item-content:hover {
color: ${dt('menubar.item.hover.color')}; color: ${dt('menubar.item.focus.color')};
background: ${dt('menubar.item.hover.background')}; background: ${dt('menubar.item.focus.background')};
} }
.p-menubar-item:not(.p-disabled) > .p-menubar-item-content:hover .p-menubar-item-icon, .p-menubar-item:not(.p-disabled) > .p-menubar-item-content:hover .p-menubar-item-icon,
@ -77,8 +77,8 @@ const theme = ({ dt }) => `
} }
.p-menubar-item-active > .p-menubar-item-content { .p-menubar-item-active > .p-menubar-item-content {
color: ${dt('menubar.item.hover.color')}; color: ${dt('menubar.item.focus.color')};
background: ${dt('menubar.item.hover.background')}; background: ${dt('menubar.item.focus.background')};
} }
.p-menubar-item-active > .p-menubar-item-content .p-menubar-item-icon, .p-menubar-item-active > .p-menubar-item-content .p-menubar-item-icon,

View File

@ -48,8 +48,8 @@ const theme = ({ dt }) => `
} }
.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: ${dt('panelmenu.item.hover.background')}; background: ${dt('panelmenu.item.focus.background')};
color: ${dt('panelmenu.item.hover.color')}; color: ${dt('panelmenu.item.focus.color')};
} }
.p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content .p-panelmenu-submenu-icon, .p-panelmenu-header:not(.p-disabled):focus-visible .p-panelmenu-header-content .p-panelmenu-submenu-icon,
@ -58,8 +58,8 @@ const theme = ({ dt }) => `
} }
.p-panelmenu-header:not(.p-disabled) .p-panelmenu-header-content:hover { .p-panelmenu-header:not(.p-disabled) .p-panelmenu-header-content:hover {
background: ${dt('panelmenu.item.hover.background')}; background: ${dt('panelmenu.item.focus.background')};
color: ${dt('panelmenu.item.hover.color')}; color: ${dt('panelmenu.item.focus.color')};
} }
.p-panelmenu-header:not(.p-disabled) .p-panelmenu-header-content:hover .p-panelmenu-submenu-icon, .p-panelmenu-header:not(.p-disabled) .p-panelmenu-header-content:hover .p-panelmenu-submenu-icon,
@ -110,17 +110,17 @@ const theme = ({ dt }) => `
} }
.p-panelmenu-item.p-focus > .p-panelmenu-item-content { .p-panelmenu-item.p-focus > .p-panelmenu-item-content {
background: ${dt('panelmenu.item.hover.background')}; background: ${dt('panelmenu.item.focus.background')};
color: ${dt('panelmenu.item.hover.color')}; color: ${dt('panelmenu.item.focus.color')};
} }
.p-panelmenu-item.p-focus > .p-panelmenu-item-icon { .p-panelmenu-item.p-focus > .p-panelmenu-item-icon {
color: ${dt('panelmenu.item.hover.color')}; color: ${dt('panelmenu.item.focus.color')};
} }
.p-panelmenu-item:not(.p-disabled) > .p-panelmenu-item-content:hover { .p-panelmenu-item:not(.p-disabled) > .p-panelmenu-item-content:hover {
background: ${dt('panelmenu.item.hover.background')}; background: ${dt('panelmenu.item.focus.background')};
color: ${dt('panelmenu.item.hover.color')}; color: ${dt('panelmenu.item.focus.color')};
} }
.p-panelmenu-item:not(.p-disabled) > .p-panelmenu-item-content:hover .p-panelmenu-item-icon, .p-panelmenu-item:not(.p-disabled) > .p-panelmenu-item-content:hover .p-panelmenu-item-icon,

View File

@ -5,9 +5,9 @@ export default {
color: '{content.color}' color: '{content.color}'
}, },
item: { item: {
hoverBackground: '{navigation.item.hover.background}', focusBackground: '{navigation.item.focus.background}',
color: '{navigation.item.color}', color: '{navigation.item.color}',
hoverColor: '{navigation.item.hover.color}', focusColor: '{navigation.item.focus.color}',
icon: { icon: {
color: '{navigation.item.icon.color}', color: '{navigation.item.icon.color}',
hoverColor: '{navigation.item.icon.hover.color}' hoverColor: '{navigation.item.icon.hover.color}'

View File

@ -225,12 +225,12 @@ export default {
}, },
navigation: { navigation: {
item: { item: {
hoverBackground: '{surface.100}', focusBackground: '{surface.100}',
color: '{text.color}', color: '{text.color}',
hoverColor: '{text.hover.color}', hoverColor: '{text.hover.color}',
icon: { icon: {
color: '{surface.400}', color: '{surface.400}',
hoverColor: '{surface.500}' focusColor: '{surface.500}'
} }
}, },
submenu: { submenu: {
@ -325,12 +325,12 @@ export default {
}, },
navigation: { navigation: {
item: { item: {
hoverBackground: '{surface.800}', focusBackground: '{surface.800}',
color: '{text.color}', color: '{text.color}',
hoverColor: '{text.hover.color}', hoverColor: '{text.hover.color}',
icon: { icon: {
color: '{surface.500}', color: '{surface.500}',
hoverColor: '{surface.400}' focusColor: '{surface.400}'
} }
}, },
submenu: { submenu: {

View File

@ -5,9 +5,9 @@ export default {
color: '{content.color}' color: '{content.color}'
}, },
item: { item: {
hoverBackground: '{navigation.item.hover.background}', focusBackground: '{navigation.item.focus.background}',
color: '{navigation.item.color}', color: '{navigation.item.color}',
hoverColor: '{navigation.item.hover.color}', focusColor: '{navigation.item.focus.color}',
icon: { icon: {
color: '{navigation.item.icon.color}', color: '{navigation.item.icon.color}',
hoverColor: '{navigation.item.icon.hover.color}' hoverColor: '{navigation.item.icon.hover.color}'

View File

@ -5,9 +5,9 @@ export default {
color: '{content.color}' color: '{content.color}'
}, },
item: { item: {
hoverBackground: '{navigation.item.hover.background}', focusBackground: '{navigation.item.focus.background}',
color: '{navigation.item.color}', color: '{navigation.item.color}',
hoverColor: '{navigation.item.hover.color}', focusColor: '{navigation.item.focus.color}',
icon: { icon: {
color: '{navigation.item.icon.color}', color: '{navigation.item.icon.color}',
hoverColor: '{navigation.item.icon.hover.color}' hoverColor: '{navigation.item.icon.hover.color}'

View File

@ -5,9 +5,9 @@ export default {
color: '{content.color}' color: '{content.color}'
}, },
item: { item: {
hoverBackground: '{navigation.item.hover.background}', focusBackground: '{navigation.item.focus.background}',
color: '{navigation.item.color}', color: '{navigation.item.color}',
hoverColor: '{navigation.item.hover.color}', focusColor: '{navigation.item.focus.color}',
icon: { icon: {
color: '{navigation.item.icon.color}', color: '{navigation.item.icon.color}',
hoverColor: '{navigation.item.icon.hover.color}' hoverColor: '{navigation.item.icon.hover.color}'

View File

@ -5,9 +5,9 @@ export default {
color: '{content.color}' color: '{content.color}'
}, },
item: { item: {
hoverBackground: '{navigation.item.hover.background}', focusBackground: '{navigation.item.focus.background}',
color: '{navigation.item.color}', color: '{navigation.item.color}',
hoverColor: '{navigation.item.hover.color}', focusColor: '{navigation.item.focus.color}',
icon: { icon: {
color: '{navigation.item.icon.color}', color: '{navigation.item.icon.color}',
hoverColor: '{navigation.item.icon.hover.color}' hoverColor: '{navigation.item.icon.hover.color}'

View File

@ -5,9 +5,9 @@ export default {
color: '{content.color}' color: '{content.color}'
}, },
item: { item: {
hoverBackground: '{navigation.item.hover.background}', focusBackground: '{navigation.item.focus.background}',
color: '{navigation.item.color}', color: '{navigation.item.color}',
hoverColor: '{navigation.item.hover.color}', focusColor: '{navigation.item.focus.color}',
icon: { icon: {
color: '{navigation.item.icon.color}', color: '{navigation.item.icon.color}',
hoverColor: '{navigation.item.icon.hover.color}' hoverColor: '{navigation.item.icon.hover.color}'

View File

@ -79,8 +79,8 @@ const theme = ({ dt }) => `
} }
.p-tieredmenu-item.p-focus > .p-tieredmenu-item-content { .p-tieredmenu-item.p-focus > .p-tieredmenu-item-content {
color: ${dt('tieredmenu.item.hover.color')}; color: ${dt('tieredmenu.item.focus.color')};
background: ${dt('tieredmenu.item.hover.background')}; background: ${dt('tieredmenu.item.focus.background')};
} }
.p-tieredmenu-item.p-focus > .p-tieredmenu-item-content .p-tieredmenu-item-icon, .p-tieredmenu-item.p-focus > .p-tieredmenu-item-content .p-tieredmenu-item-icon,
@ -89,8 +89,8 @@ const theme = ({ dt }) => `
} }
.p-tieredmenu-item:not(.p-disabled) > .p-tieredmenu-item-content:hover { .p-tieredmenu-item:not(.p-disabled) > .p-tieredmenu-item-content:hover {
color: ${dt('tieredmenu.item.hover.color')}; color: ${dt('tieredmenu.item.focus.color')};
background: ${dt('tieredmenu.item.hover.background')}; background: ${dt('tieredmenu.item.focus.background')};
} }
.p-tieredmenu-item:not(.p-disabled) > .p-tieredmenu-item-content:hover .p-tieredmenu-item-icon, .p-tieredmenu-item:not(.p-disabled) > .p-tieredmenu-item-content:hover .p-tieredmenu-item-icon,
@ -99,8 +99,8 @@ const theme = ({ dt }) => `
} }
.p-tieredmenu-item-active > .p-tieredmenu-item-content { .p-tieredmenu-item-active > .p-tieredmenu-item-content {
color: ${dt('tieredmenu.item.hover.color')}; color: ${dt('tieredmenu.item.focus.color')};
background: ${dt('tieredmenu.item.hover.background')}; background: ${dt('tieredmenu.item.focus.background')};
} }
.p-tieredmenu-item-active > .p-tieredmenu-item-content .p-tieredmenu-item-icon, .p-tieredmenu-item-active > .p-tieredmenu-item-content .p-tieredmenu-item-icon,