Use theme colors for contact bar items and headline underlines

This commit is contained in:
Björn Fromme
2023-01-03 17:13:24 +01:00
parent 7bd7f40279
commit ef3d709370
3 changed files with 4 additions and 8 deletions
@@ -20,7 +20,7 @@ h4,
.headline--underlined:after { .headline--underlined:after {
@apply block border-b-4 border-ep-primary-light pb-4 mb-4 -mt-2 w-20; @apply block border-b-4 border-ep-primary-light pb-4 mb-4 -mt-2 w-20;
@apply sbw:border-sbw-primary ser:border-ser-secondary; @apply sbw:border-sbw-primary snz:border-snz-primary uch:border-uch-primary ser:border-ser-secondary;
content: ''; content: '';
} }
@@ -36,7 +36,7 @@ h4,
@apply relative pl-8; @apply relative pl-8;
&:before { &:before {
@apply absolute left-0 top-0 w-6 h-6 text-ep-primary-dark text-lg; @apply absolute left-0 top-0 w-6 h-6 text-ep-primary-dark text-lg;
font-family: 'fontello'; font-family: 'fontello', sans-serif;
content: '\e800'; content: '\e800';
} }
} }
@@ -9,7 +9,7 @@
.contact-bar__item { .contact-bar__item {
@apply flex-1 text-white py-2 bg-ep-primary-dark border-r border-white last:border-0; @apply flex-1 text-white py-2 bg-ep-primary-dark border-r border-white last:border-0;
@apply ser:bg-ser-primary; @apply ser:bg-ser-primary sbw:bg-sbw-primary snz:bg-snz-primary uch:bg-uch-primary;
@screen md { @screen md {
@apply flex flex-none items-start transition-transform duration-300 ease-in-out p-1 shadow-md focus:text-white border-0; @apply flex flex-none items-start transition-transform duration-300 ease-in-out p-1 shadow-md focus:text-white border-0;
+1 -5
View File
@@ -49,10 +49,6 @@ module.exports = {
fontSize: { fontSize: {
'xs': '.8rem', 'xs': '.8rem',
}, },
opacity: {
'55': '.55',
'85': '.85',
},
colors: { colors: {
concept: { concept: {
DEFAULT: '#0173A5', DEFAULT: '#0173A5',
@@ -102,7 +98,7 @@ module.exports = {
}, },
}, },
opacity: { opacity: {
'55': 0.5, '55': 0.55,
'85': 0.85, '85': 0.85,
}, },
backgroundImage: { backgroundImage: {