@d0rich/esprit-design 0.2.3 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/components/DChip.vue.d.ts +1 -1
  3. package/dist/components/DPagination.vue.d.ts +2 -2
  4. package/dist/components/DStats.vue.d.ts +1 -1
  5. package/dist/components/animations/DAnimationAccordion.vue.d.ts +2 -2
  6. package/dist/components/animations/DAnimationDefLetterD.vue.d.ts +1 -1
  7. package/dist/components/animations/DAnimationFloatingLetter.vue.d.ts +2 -2
  8. package/dist/components/animations/DAnimationHypnosis.vue.d.ts +2 -2
  9. package/dist/components/animations/DAnimationSpinner.vue.d.ts +2 -2
  10. package/dist/components/animations/index.d.ts +5 -4
  11. package/dist/components/buttons/DBigBangButton.vue.d.ts +3 -3
  12. package/dist/components/buttons/DBigBangButtonAnimation.vue.d.ts +1 -1
  13. package/dist/components/buttons/DBtn.vue.d.ts +4 -3
  14. package/dist/components/buttons/index.d.ts +4 -3
  15. package/dist/components/cards/DCard.vue.d.ts +2 -2
  16. package/dist/components/cards/DCardTitle.vue.d.ts +1 -1
  17. package/dist/components/cards/index.d.ts +3 -2
  18. package/dist/components/content/DAlert.vue.d.ts +2 -2
  19. package/dist/components/content/DQuote.vue.d.ts +2 -2
  20. package/dist/components/content/index.d.ts +3 -2
  21. package/dist/components/index.d.ts +4 -3
  22. package/dist/components/lists/DActionsFan.vue.d.ts +5 -4
  23. package/dist/components/lists/DActionsList.vue.d.ts +5 -4
  24. package/dist/components/lists/index.d.ts +3 -2
  25. package/dist/components/utils/DWrapBackground.vue.d.ts +4 -3
  26. package/dist/components/utils/DWrapFocusHighlight.vue.d.ts +2 -2
  27. package/dist/components/utils/DWrapShape.vue.d.ts +8 -7
  28. package/dist/components/utils/index.d.ts +4 -3
  29. package/dist/composables/big-bang-button-utils.d.ts +1 -1
  30. package/dist/composables/router.d.ts +9 -6
  31. package/dist/composables/utils.d.ts +1 -0
  32. package/dist/esprit-design.js +1380 -1344
  33. package/dist/esprit-design.umd.cjs +13 -13
  34. package/dist/style.css +1 -1
  35. package/dist/utils/boundings.d.ts +2 -1
  36. package/index.html +1 -0
  37. package/package.json +9 -10
  38. package/src/components/DStats.vue +18 -6
  39. package/src/components/buttons/DBtn.vue +3 -2
  40. package/src/composables/router.ts +19 -4
  41. package/src/style.css +4 -0
  42. package/tailwind.config.js +12 -4
package/dist/style.css CHANGED
@@ -1 +1 @@
1
- .d-chip{display:inline-block;clip-path:polygon(0 0,100% .2em,calc(100% - .3em) 100%,.2em calc(100% - .3em));padding:.4em}@media print{.d-chip{clip-path:none;padding:0;background:unset!important}}.d-shape,.d-shape>*{@apply relative;}.d-shape__bg-filter{@apply absolute top-0 left-0 w-full h-full;}.d-shape__bg-wrapper{@apply relative w-full h-full;}.d-shape__bg{@apply absolute w-full h-full;}:root{--shape-bubble--right: polygon( 0 calc(100% - 20px), 20px calc(100% - 10px), 25px calc(100% - 15px), 45px calc(100% - 5px), 70px calc(100% - 10px), 100% 100%, calc(100% - 40px) 0, 45px 30px, 40px calc(100% - 30px), 20px calc(100% - 45px), 18px calc(100% - 25px) );--shape-bubble--right__outline: polygon( 0 calc(100% - 20px), 5px calc(100% - 20px), 20px calc(100% - 10px), 25px calc(100% - 15px), 45px calc(100% - 5px), 70px calc(100% - 10px), calc(100% - 20px) calc(100% - 10px), calc(100% - 50px) 7px, 45px 30px, 40px calc(100% - 30px), 20px calc(100% - 45px), 18px calc(100% - 25px), 5px calc(100% - 20px), 0 calc(100% - 20px), 16px calc(100% - 28px), 17px calc(100% - 53px), 39px calc(100% - 40px), 38px 23px, calc(100% - 40px) 0, 100% 100%, 70px calc(100% - 7px), 45px 100%, 25px calc(100% - 11px), 19px calc(100% - 7px), 0 calc(100% - 20px) );--shape-bubble--right__padding: 35px 45px 15px 50px}:root{--shape-bubble--left: polygon( 100% calc(100% - 20px), calc(100% - 20px) calc(100% - 10px), calc(100% - 25px) calc(100% - 15px), calc(100% - 45px) calc(100% - 5px), calc(100% - 70px) calc(100% - 10px), 0 100%, 40px 0, calc(100% - 45px) 30px, calc(100% - 40px) calc(100% - 30px), calc(100% - 20px) calc(100% - 45px), calc(100% - 18px) calc(100% - 25px) );--shape-bubble--left__outline: polygon( 100% calc(100% - 20px), calc(100% - 5px) calc(100% - 20px), calc(100% - 20px) calc(100% - 10px), calc(100% - 25px) calc(100% - 15px), calc(100% - 45px) calc(100% - 5px), calc(100% - 70px) calc(100% - 10px), 20px calc(100% - 10px), 50px 7px, calc(100% - 45px) 30px, calc(100% - 40px) calc(100% - 30px), calc(100% - 20px) calc(100% - 45px), calc(100% - 18px) calc(100% - 25px), calc(100% - 5px) calc(100% - 20px), 100% calc(100% - 20px), calc(100% - 16px) calc(100% - 28px), calc(100% - 17px) calc(100% - 53px), calc(100% - 39px) calc(100% - 40px), calc(100% - 38px) 23px, 40px 0, 0 100%, calc(100% - 70px) calc(100% - 7px), calc(100% - 45px) 100%, calc(100% - 25px) calc(100% - 11px), calc(100% - 19px) calc(100% - 7px), 100% calc(100% - 20px) );--shape-bubble--left__padding: 35px 50px 15px 45px}:root{--shape-card: polygon(2em 0, 0% 100%, 100% calc(100% - 5em), 100% 4em);--shape-card-padding: 4.5em .5em 5.5em 2.5em}:root{--shape-card--dense: polygon( .5em 0, 0% 100%, 100% calc(100% - 2em), 100% 1.5em );--shape-card--dense__outline: polygon( .5em 0, .8em .3em, .4em calc(100% - .7em), calc(100% - .3em) calc(100% - 2em), calc(100% - .4em) 1.5em, .8em .3em, .5em 0, 100% 1em, 100% calc(100% - 1.8em), 0% 100% );--shape-card--dense__padding: 2em .5em 2.5em 1em}.d-focus-hl{@apply relative;}.d-focus-hl--default-color{@apply bg-red-600;}.d-focus-hl:has(.d-focus-hl__hl--negative-tile){@apply w-fit;}.d-focus-hl>.d-focus-hl__hl--negative-tile{width:0%;height:0%;top:50%;left:50%;content:"";opacity:0;pointer-events:none;@apply absolute backdrop-invert transition-all;}.d-focus-hl:hover>.d-focus-hl__hl--negative-tile,*:focus .d-focus-hl__hl--negative-tile{opacity:1;animation:hl--negative-tile-animation linear 1s infinite}.d-focus-hl:hover>.d-focus-hl__hl--negative-tile{width:110%;height:130%;top:-15%;left:-5%}*:focus .d-focus-hl__hl--negative-tile{width:140%!important;height:200%!important;top:-50%!important;left:-20%!important}:is(:is(.router-link-active .d-focus-hl--not-exact:not(.d-focus-hl--no-passive-link),.router-link-exact-active .d-focus-hl--exact:not(.d-focus-hl--no-passive-link)),.d-focus-hl--active) :is(.d-focus-hl__hl--negative-tile){opacity:1;width:120%!important;height:120%!important;top:-10%!important;left:-10%!important}@keyframes hl--negative-tile-animation{0%,to{transform:skew(0) rotate(6deg)}50%{transform:skew(-40deg) rotate(-6deg) scaleX(.8)}}.d-focus-hl:has(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){@apply w-full;}.d-focus-hl>:is(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){width:0%;height:200%;top:-50%;left:0;content:"";margin-left:-1.2em;pointer-events:none;clip-path:polygon(1rem 0,0% 100%,90% 50%);@apply absolute transition-all;}.d-focus-hl>.d-focus-hl__hl--negative-list-item{@apply backdrop-invert;}.d-focus-hl>.d-focus-hl__hl--list-item{@apply -z-10;}:is(.d-focus-hl:hover,*:focus) :is(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){opacity:1;animation:hl--list-item-animation .3s infinite}.d-focus-hl:hover>:is(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){width:200%;height:130%;top:-15%;left:-5%}*:focus :is(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){width:220%!important;height:200%!important;top:-50%!important;left:-5%!important}:is(:is(.router-link-active .d-focus-hl--not-exact:not(.d-focus-hl--no-passive-link),.router-link-exact-active .d-focus-hl--exact:not(.d-focus-hl--no-passive-link)),.d-focus-hl--active) :is(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){opacity:1;width:220%!important;height:130%!important;top:-15%!important;left:-5%!important}@keyframes hl--list-item-animation{0%,to{clip-path:polygon(1em 0,0% 100%,100% 50%)}50%{clip-path:polygon(1em 10%,0% 90%,100% 50%)}}.d-btn{@apply font-extrabold select-none relative inline-block cursor-pointer;}.d-btn--rotated{@apply -rotate-6;}.d-btn--uppercase{@apply uppercase;}.d-btn--capitalize{@apply capitalize;}.d-btn--lowercase{@apply lowercase;}.stats{@apply relative print:hidden;}.stats__bg{@apply fill-neutral-900;}.stats__bg-star--odd{@apply fill-neutral-500;}.stats__bg-star--even{@apply fill-neutral-800;}.stats__single-stat:hover{animation:single-stat-hover 1.5s ease-in-out infinite}.stats__star--light{@apply fill-yellow-400;}.stats__star--dark{@apply fill-yellow-600;}@keyframes single-stat-hover{0%{filter:brightness(1)}50%{filter:brightness(1.35)}to{filter:brightness(1)}}.stats__images{@apply absolute inset-0 pointer-events-none;}.stats__image{width:20%;height:20%;@apply absolute;}.stats__image:nth-child(1){top:2%;left:50%}.stats__image:nth-child(2){top:20%;right:6%}.stats__image:nth-child(3){bottom:8%;right:30%}.stats__image:nth-child(4){bottom:4%;left:10%}.stats__image:nth-child(5){top:30%;left:6%}.stats_titles-layer{@apply absolute inset-0 pointer-events-none;}.stats__group-title{font-size:150px;paint-order:stroke;text-anchor:start;dominant-baseline:text-bottom;font-weight:900;stroke-width:20;@apply fill-black font-sans stroke-yellow-500;}.stats__title{font-size:100px;paint-order:stroke;text-anchor:middle;dominant-baseline:text-top;font-weight:900;stroke-width:20;rotate:5deg;@apply fill-black font-sans stroke-yellow-500;}.stats__title__value{font-size:80px;stroke-width:20;stroke-linejoin:round}.stats__print-value{@apply hidden print:block;}.stats__print-value__group-title{@apply text-lg font-bold;}.stats__print-value__skill{@apply grid grid-cols-[1fr_auto] items-center gap-x-4 gap-y-1;}.stats__print-value--small{@apply hidden flex-wrap gap-2 items-center;}.stats__print-value--small__skill{@apply rounded text-white p-[.3em];}.stats__print-value--small__skill--hidden{@apply hidden;}.stats__print-value--small__skill--3{@apply bg-blue-500 text-xs;}.stats__print-value--small__skill--4{@apply bg-blue-600 text-sm;}.stats__print-value--small__skill--5{@apply bg-blue-700 text-base;}.small-print-stats .stats__print-value{@apply print:hidden;}.small-print-stats .stats__print-value--small{@apply print:flex;}.d-animation-accordion>.d-animation-accordion__section{--accordion-section-min-posion: translate( calc(var(--accordion-section-count) * 50px), 0 );--accordion-section-max-posion: translate( calc(var(--accordion-section-count) * 70px), 0 );transform:var(--accordion-section-min-posion);animation:d-animation-accordion-section-wiggle var(--d-accordion-wiggle-period) ease-in-out infinite alternate calc((var(--accordion-section-count) - 1) * var(--d-accordion-delay))}.d-animation-accordion>.d-animation-accordion__section:nth-child(odd){@apply fill-white;}.d-animation-accordion>.d-animation-accordion__section:nth-child(2){--accordion-section-count: 1}.d-animation-accordion>.d-animation-accordion__section:nth-child(3){--accordion-section-count: 2}.d-animation-accordion>.d-animation-accordion__section:nth-child(4){--accordion-section-count: 3}.d-animation-accordion>.d-animation-accordion__section:nth-child(5){--accordion-section-count: 4}.d-animation-accordion>.d-animation-accordion__section:nth-child(6){--accordion-section-count: 5}.d-animation-accordion>.d-animation-accordion__section:nth-child(7){--accordion-section-count: 6}@keyframes d-animation-accordion-section-wiggle{0%{transform:var(--accordion-section-min-posion)}50%{transform:var(--accordion-section-max-posion)}to{transform:var(--accordion-section-min-posion)}}.d-animation-floating-letter{animation:d-animation-floating-letter-float var(--d-floating-letter-float-period) ease-in-out infinite;transform-origin:315px 315px}@keyframes d-animation-floating-letter-float{0%{transform:translate(0)}50%{transform:translateY(40px)}to{transform:translate(0)}}.d-animation-hypnosis>.d-animation-hypnosis__section{--hypnosis-section-min-posion: scale( calc(var(--hypnosis-section-count) / 12) );--hypnosis-section-max-posion: translate( calc(var(--hypnosis-section-count) / 6) );transform:var(--hypnosis-section-min-posion);transform-origin:315px 315px;animation:d-animation-hypnosis-section-wiggle var(--d-hypnosis-wiggle-period) ease-in-out infinite alternate calc((var(--hypnosis-section-count) - 6) * -1 * var(--d-hypnosis-delay))}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(odd){@apply fill-white;}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(2){--hypnosis-section-count: 1}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(3){--hypnosis-section-count: 2}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(4){--hypnosis-section-count: 3}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(5){--hypnosis-section-count: 4}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(6){--hypnosis-section-count: 5}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(7){--hypnosis-section-count: 6}@keyframes d-animation-hypnosis-section-wiggle{0%{transform:var(--hypnosis-section-min-posion)}50%{transform:var(--hypnosis-section-max-posion)}to{transform:var(--hypnosis-section-min-posion)}}.d-animation-spinner__foreground{@apply fill-white;}.d-animation-spinner__background{@apply fill-black;}.d-animation-spinner__blade{--transform-static: scale(.5) rotate(220deg);animation:d-spinner-blade-wiggle var(--d-spinner-blade-wiggle-period) ease-in-out infinite}@keyframes d-spinner-blade-wiggle{0%{transform:translateY(-150px) var(--transform-static)}50%{transform:translateY(-120px) var(--transform-static)}to{transform:translateY(-150px) var(--transform-static)}}.d-animation-spinner__spinner{animation:d-spinner-spin var(--d-spinner-spin-period) linear infinite}@keyframes d-spinner-spin{0%{transform:rotate(0)}to{transform:rotate(-360deg)}}#big-bang-button-animation{overflow:hidden;pointer-events:none;@apply fixed w-full h-full top-0 left-0 text-center uppercase text-7xl md:text-9xl font-extrabold;}#big-bang-button-animation>.bbb__text-container{width:fit-content;margin-left:auto;margin-right:.5em;perspective:200px;transform-origin:right top;transform:rotateY(35deg) rotate(-12deg)}#big-bang-button-animation span{@apply inline-block mx-2;}#big-bang-button-animation span:nth-of-type(3n+1){@apply text-neutral-900 bg-neutral-50;}#big-bang-button-animation span:nth-of-type(4n+3){@apply bg-neutral-900 text-neutral-50;}.big-bang-button{@apply text-3xl font-bold uppercase cursor-pointer;}.big-bang-button:hover>span{@apply inline-block transition-all;}.big-bang-button:hover>span:nth-of-type(4n+1){@apply rotate-12 translate-x-1 -translate-y-2;}.big-bang-button:hover>span:nth-of-type(4n+2){@apply -rotate-6 translate-y-3;}.big-bang-button:hover>span:nth-of-type(4n+3){@apply -rotate-12 translate-x-1 -translate-y-2;}.big-bang-button:hover>span:nth-of-type(4n+4){@apply -rotate-6 translate-x-1 -translate-y-1;}.big-bang-button:hover>span:first{@apply rotate-12 -translate-x-2 -translate-y-2;}.card__content,.card__content--dense{@apply md:text-lg;}.card__content{padding:var(--shape-card-padding);@apply print:p-0;}.card__content--dense{padding:var(--shape-card--dense__padding);@apply print:p-0;}.card--homepage-story .card__content,.card--homepage-skills .card__content{@apply text-black;}.force-light :is(.card__bg,.card__bg--dense){@apply !bg-white dark:bg-white;}.card--homepage-story :is(.card__bg,.card__bg--dense){background:var(--d-card-x-ray--idle__color)}.card--homepage-skills :is(.card__bg,.card__bg--dense){background:var(--d-card-x-ray--action__color)}.card__bg,.card__bg--dense{@apply bg-white dark:bg-neutral-700 print:bg-none;}.card__bg{clip-path:var(--shape-card)}.card__bg--dense{clip-path:var(--shape-card--dense)}@media print{.card__bg{clip-path:none!important;background:none!important}}.card__title{@apply text-2xl md:text-3xl font-semibold -mt-5 mb-3 print:text-base print:ml-0 print:mb-0;}.card__title__content{@apply inline-block -ml-10 print:ml-0;}.card__title__content__text{@apply p-5 text-white dark:text-black print:p-0 print:text-inherit;}.card__title__content__shape{clip-path:polygon(.4em .4em,100% 0%,calc(100% - .4em) calc(100% - .4em),0% 100%);@apply bg-black dark:bg-white print:bg-transparent;}.force-light .card__title__content__text{@apply dark:text-white;}.force-light .card__title__content__shape{@apply dark:bg-black;}@media print{.card__title__content__shape{clip-path:none}}.d-alert{@apply font-dialog text-black dark:text-white mb-6 mt-12;}.d-alert__shape{@apply bg-white dark:bg-black opacity-80;clip-path:var(--shape-card--dense)}.d-alert__outline{@apply absolute inset-0 bg-black dark:bg-white;clip-path:var(--shape-card--dense__outline)}.d-alert--info .d-alert__outline{@apply bg-cyan-500;}.d-alert--question .d-alert__outline{@apply bg-yellow-500;}.d-alert--warning .d-alert__outline{@apply bg-red-500;}.d-alert__body{padding:var(--shape-card--dense__padding)}.d-alert__sign{@apply absolute w-[5em] -top-[1.5em] -left-[1.5em] pointer-events-none sharp-shadow ss-white ss-r-1;}.d-alert--info .d-alert__sign{@apply fill-cyan-500;}.d-alert--question .d-alert__sign{@apply fill-yellow-500;}.d-alert--warning .d-alert__sign{@apply fill-red-500;}.d-blockquote{@apply font-dialog text-black dark:text-white my-6;}.d-blockquote__outline{@apply absolute inset-0 bg-black dark:bg-white;}.d-blockquote__shape{@apply bg-white dark:bg-black opacity-80;}.d-blockquote--right .d-blockquote__body{padding:var(--shape-bubble--right__padding)}.d-blockquote--right .d-blockquote__outline{clip-path:var(--shape-bubble--right__outline)}.d-blockquote--right .d-blockquote__shape{clip-path:var(--shape-bubble--right)}.d-blockquote--left .d-blockquote__body{padding:var(--shape-bubble--left__padding)}.d-blockquote--left .d-blockquote__outline{clip-path:var(--shape-bubble--left__outline)}.d-blockquote--left .d-blockquote__shape{clip-path:var(--shape-bubble--left)}.d-actions-fan__list-item__shape{@apply dark:bg-neutral-900;}.d-actions-fan--right__list-item__shape{clip-path:polygon(calc(100% - 10px) 0,100% 100%,0 40%)}.d-actions-fan--left__list-item__shape{clip-path:polygon(10px 0,0 100%,100% 40%)}.d-actions-fan__list-item{@apply w-full transform -my-8;}.d-actions-fan--right__list-item{@apply origin-left;}.d-actions-fan--left__list-item{@apply origin-right;}.d-actions-fan__list-item__body{@apply px-3 py-2;}.d-actions-fan--right__list-item__body{@apply flex justify-end;}.actions-enter-active,.actions-leave-active{@apply transition-all;}.actions-enter-from{--tw-rotate: -90deg !important;@apply opacity-0;}.actions-leave-to{--tw-rotate: 90deg !important;@apply opacity-0;}.d-actions-list__shape{@apply dark:bg-neutral-900 dark:bg-opacity-80 backdrop-blur;clip-path:polygon(10px 0,0 100%,100% calc(100% - 10px),100% 13px)}.d-actions-list__body{@apply p-7;}.d-actions-list__header{@apply mb-4 font-serif text-lg;}.d-actions-list__list{@apply relative [&_button]:font-sans [&_button]:font-bold [&_button]:text-left font-sans font-bold;}.mbg__main-container{isolation:isolate}.mbg__relative-container{@apply relative w-full h-full;}.mbg__layer{top:0;right:0;bottom:0;left:0;@apply absolute;}.mbg__dots{background:url('data:image/svg+xml;utf8,<svg width="100" height="100" transform="rotate(0)" opacity="0.2" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="%23250E17"><circle cx="25" cy="25" r="12.5"/><circle cx="75" cy="75" r="12.5"/><circle cx="75" cy="25" r="12.5"/><circle cx="25" cy="75" r="12.5"/></g></svg>');background-size:2rem}.mbg__content{@apply relative z-[1];}
1
+ .d-chip{display:inline-block;clip-path:polygon(0 0,100% .2em,calc(100% - .3em) 100%,.2em calc(100% - .3em));padding:.4em}@media print{.d-chip{clip-path:none;padding:0;background:unset!important}}.d-shape,.d-shape>*{@apply relative;}.d-shape__bg-filter{@apply absolute top-0 left-0 w-full h-full;}.d-shape__bg-wrapper{@apply relative w-full h-full;}.d-shape__bg{@apply absolute w-full h-full;}:root{--shape-bubble--right: polygon( 0 calc(100% - 20px) , 20px calc(100% - 10px) , 25px calc(100% - 15px) , 45px calc(100% - 5px) , 70px calc(100% - 10px) , 100% 100%, calc(100% - 40px) 0, 45px 30px, 40px calc(100% - 30px) , 20px calc(100% - 45px) , 18px calc(100% - 25px) );--shape-bubble--right__outline: polygon( 0 calc(100% - 20px) , 5px calc(100% - 20px) , 20px calc(100% - 10px) , 25px calc(100% - 15px) , 45px calc(100% - 5px) , 70px calc(100% - 10px) , calc(100% - 20px) calc(100% - 10px) , calc(100% - 50px) 7px, 45px 30px, 40px calc(100% - 30px) , 20px calc(100% - 45px) , 18px calc(100% - 25px) , 5px calc(100% - 20px) , 0 calc(100% - 20px) , 16px calc(100% - 28px) , 17px calc(100% - 53px) , 39px calc(100% - 40px) , 38px 23px, calc(100% - 40px) 0, 100% 100%, 70px calc(100% - 7px) , 45px 100%, 25px calc(100% - 11px) , 19px calc(100% - 7px) , 0 calc(100% - 20px) );--shape-bubble--right__padding: 35px 45px 15px 50px}:root{--shape-bubble--left: polygon( 100% calc(100% - 20px) , calc(100% - 20px) calc(100% - 10px) , calc(100% - 25px) calc(100% - 15px) , calc(100% - 45px) calc(100% - 5px) , calc(100% - 70px) calc(100% - 10px) , 0 100%, 40px 0, calc(100% - 45px) 30px, calc(100% - 40px) calc(100% - 30px) , calc(100% - 20px) calc(100% - 45px) , calc(100% - 18px) calc(100% - 25px) );--shape-bubble--left__outline: polygon( 100% calc(100% - 20px) , calc(100% - 5px) calc(100% - 20px) , calc(100% - 20px) calc(100% - 10px) , calc(100% - 25px) calc(100% - 15px) , calc(100% - 45px) calc(100% - 5px) , calc(100% - 70px) calc(100% - 10px) , 20px calc(100% - 10px) , 50px 7px, calc(100% - 45px) 30px, calc(100% - 40px) calc(100% - 30px) , calc(100% - 20px) calc(100% - 45px) , calc(100% - 18px) calc(100% - 25px) , calc(100% - 5px) calc(100% - 20px) , 100% calc(100% - 20px) , calc(100% - 16px) calc(100% - 28px) , calc(100% - 17px) calc(100% - 53px) , calc(100% - 39px) calc(100% - 40px) , calc(100% - 38px) 23px, 40px 0, 0 100%, calc(100% - 70px) calc(100% - 7px) , calc(100% - 45px) 100%, calc(100% - 25px) calc(100% - 11px) , calc(100% - 19px) calc(100% - 7px) , 100% calc(100% - 20px) );--shape-bubble--left__padding: 35px 50px 15px 45px}:root{--shape-card: polygon(2em 0, 0% 100%, 100% calc(100% - 5em) , 100% 4em);--shape-card-padding: 4.5em .5em 5.5em 2.5em}:root{--shape-card--dense: polygon( .5em 0, 0% 100%, 100% calc(100% - 2em) , 100% 1.5em );--shape-card--dense__outline: polygon( .5em 0, .8em .3em, .4em calc(100% - .7em) , calc(100% - .3em) calc(100% - 2em) , calc(100% - .4em) 1.5em, .8em .3em, .5em 0, 100% 1em, 100% calc(100% - 1.8em) , 0% 100% );--shape-card--dense__padding: 2em .5em 2.5em 1em}.d-focus-hl{@apply relative;}.d-focus-hl--default-color{@apply bg-red-600;}.d-focus-hl:has(.d-focus-hl__hl--negative-tile){@apply w-fit;}.d-focus-hl>.d-focus-hl__hl--negative-tile{width:0%;height:0%;top:50%;left:50%;content:"";opacity:0;pointer-events:none;@apply absolute backdrop-invert transition-all;}.d-focus-hl:hover>.d-focus-hl__hl--negative-tile,*:focus .d-focus-hl__hl--negative-tile{opacity:1;animation:hl--negative-tile-animation linear 1s infinite}.d-focus-hl:hover>.d-focus-hl__hl--negative-tile{width:110%;height:130%;top:-15%;left:-5%}*:focus .d-focus-hl__hl--negative-tile{width:140%!important;height:200%!important;top:-50%!important;left:-20%!important}:is(:is(.router-link-active .d-focus-hl--not-exact:not(.d-focus-hl--no-passive-link),.router-link-exact-active .d-focus-hl--exact:not(.d-focus-hl--no-passive-link)),.d-focus-hl--active) :is(.d-focus-hl__hl--negative-tile){opacity:1;width:120%!important;height:120%!important;top:-10%!important;left:-10%!important}@keyframes hl--negative-tile-animation{0%,to{transform:skew(0) rotate(6deg)}50%{transform:skew(-40deg) rotate(-6deg) scaleX(.8)}}.d-focus-hl:has(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){@apply w-full;}.d-focus-hl>:is(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){width:0%;height:200%;top:-50%;left:0;content:"";margin-left:-1.2em;pointer-events:none;clip-path:polygon(1rem 0,0% 100%,90% 50%);@apply absolute transition-all;}.d-focus-hl>.d-focus-hl__hl--negative-list-item{@apply backdrop-invert;}.d-focus-hl>.d-focus-hl__hl--list-item{@apply -z-10;}:is(.d-focus-hl:hover,*:focus) :is(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){opacity:1;animation:hl--list-item-animation .3s infinite}.d-focus-hl:hover>:is(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){width:200%;height:130%;top:-15%;left:-5%}*:focus :is(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){width:220%!important;height:200%!important;top:-50%!important;left:-5%!important}:is(:is(.router-link-active .d-focus-hl--not-exact:not(.d-focus-hl--no-passive-link),.router-link-exact-active .d-focus-hl--exact:not(.d-focus-hl--no-passive-link)),.d-focus-hl--active) :is(.d-focus-hl__hl--list-item,.d-focus-hl__hl--negative-list-item){opacity:1;width:220%!important;height:130%!important;top:-15%!important;left:-5%!important}@keyframes hl--list-item-animation{0%,to{clip-path:polygon(1em 0,0% 100%,100% 50%)}50%{clip-path:polygon(1em 10%,0% 90%,100% 50%)}}.d-btn{@apply font-extrabold select-none relative inline-block cursor-pointer;}.d-btn--rotated{@apply -rotate-6;}.d-btn--uppercase{@apply uppercase;}.d-btn--capitalize{@apply capitalize;}.d-btn--lowercase{@apply lowercase;}.stats{@apply relative print:hidden;}.stats__bg{@apply fill-neutral-900;}.stats__bg-star--odd{@apply fill-neutral-500;}.stats__bg-star--even{@apply fill-neutral-800;}.stats__single-stat:hover{animation:single-stat-hover 1.5s ease-in-out infinite}.stats__star--light{@apply fill-yellow-400;}.stats__star--dark{@apply fill-yellow-600;}@keyframes single-stat-hover{0%{filter:brightness(1)}50%{filter:brightness(1.35)}to{filter:brightness(1)}}.stats__images{@apply absolute inset-0 pointer-events-none;}.stats__image{width:20%;height:20%;@apply absolute;}.stats__image:nth-child(1){top:2%;left:50%}.stats__image:nth-child(2){top:20%;right:6%}.stats__image:nth-child(3){bottom:8%;right:30%}.stats__image:nth-child(4){bottom:4%;left:10%}.stats__image:nth-child(5){top:30%;left:6%}.stats_titles-layer{@apply absolute inset-0 pointer-events-none;}.stats__group-title{font-size:150px;paint-order:stroke;text-anchor:start;dominant-baseline:text-bottom;font-weight:900;stroke-width:20;@apply fill-black font-sans stroke-yellow-500;}.stats__title{font-size:100px;paint-order:stroke;text-anchor:middle;dominant-baseline:text-top;font-weight:900;stroke-width:20;rotate:5deg;@apply fill-black font-sans stroke-yellow-500;}.stats__title__value{font-size:80px;stroke-width:20;stroke-linejoin:round}.stats__print-value{@apply hidden print:block;}.stats__print-value__group-title{@apply text-lg font-bold;}.stats__print-value__skill{@apply grid grid-cols-[1fr_auto] items-center gap-x-4 gap-y-1;}.stats__print-value--small{@apply hidden flex-wrap gap-2 items-center;}.stats__print-value--small__skill{@apply rounded text-white p-[.3em];}.stats__print-value--small__skill--hidden{@apply hidden;}.stats__print-value--small__skill--3{@apply bg-blue-500 text-xs;}.stats__print-value--small__skill--4{@apply bg-blue-600 text-sm;}.stats__print-value--small__skill--5{@apply bg-blue-700 text-base;}.small-print-stats .stats__print-value{@apply print:hidden;}.small-print-stats .stats__print-value--small{@apply print:flex;}.d-animation-accordion>.d-animation-accordion__section{--accordion-section-min-posion: translate( calc(var(--accordion-section-count) * 50px), 0 );--accordion-section-max-posion: translate( calc(var(--accordion-section-count) * 70px), 0 );transform:var(--accordion-section-min-posion);animation:d-animation-accordion-section-wiggle var(--d-accordion-wiggle-period) ease-in-out infinite alternate calc((var(--accordion-section-count) - 1) * var(--d-accordion-delay))}.d-animation-accordion>.d-animation-accordion__section:nth-child(odd){@apply fill-white;}.d-animation-accordion>.d-animation-accordion__section:nth-child(2){--accordion-section-count: 1}.d-animation-accordion>.d-animation-accordion__section:nth-child(3){--accordion-section-count: 2}.d-animation-accordion>.d-animation-accordion__section:nth-child(4){--accordion-section-count: 3}.d-animation-accordion>.d-animation-accordion__section:nth-child(5){--accordion-section-count: 4}.d-animation-accordion>.d-animation-accordion__section:nth-child(6){--accordion-section-count: 5}.d-animation-accordion>.d-animation-accordion__section:nth-child(7){--accordion-section-count: 6}@keyframes d-animation-accordion-section-wiggle{0%{transform:var(--accordion-section-min-posion)}50%{transform:var(--accordion-section-max-posion)}to{transform:var(--accordion-section-min-posion)}}.d-animation-floating-letter{animation:d-animation-floating-letter-float var(--d-floating-letter-float-period) ease-in-out infinite;transform-origin:315px 315px}@keyframes d-animation-floating-letter-float{0%{transform:translate(0)}50%{transform:translateY(40px)}to{transform:translate(0)}}.d-animation-hypnosis>.d-animation-hypnosis__section{--hypnosis-section-min-posion: scale( calc(var(--hypnosis-section-count) / 12) );--hypnosis-section-max-posion: translate( calc(var(--hypnosis-section-count) / 6) );transform:var(--hypnosis-section-min-posion);transform-origin:315px 315px;animation:d-animation-hypnosis-section-wiggle var(--d-hypnosis-wiggle-period) ease-in-out infinite alternate calc((var(--hypnosis-section-count) - 6) * -1 * var(--d-hypnosis-delay))}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(odd){@apply fill-white;}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(2){--hypnosis-section-count: 1}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(3){--hypnosis-section-count: 2}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(4){--hypnosis-section-count: 3}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(5){--hypnosis-section-count: 4}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(6){--hypnosis-section-count: 5}.d-animation-hypnosis>.d-animation-hypnosis__section:nth-child(7){--hypnosis-section-count: 6}@keyframes d-animation-hypnosis-section-wiggle{0%{transform:var(--hypnosis-section-min-posion)}50%{transform:var(--hypnosis-section-max-posion)}to{transform:var(--hypnosis-section-min-posion)}}.d-animation-spinner__foreground{@apply fill-white;}.d-animation-spinner__background{@apply fill-black;}.d-animation-spinner__blade{--transform-static: scale(.5) rotate(220deg);animation:d-spinner-blade-wiggle var(--d-spinner-blade-wiggle-period) ease-in-out infinite}@keyframes d-spinner-blade-wiggle{0%{transform:translateY(-150px) var(--transform-static)}50%{transform:translateY(-120px) var(--transform-static)}to{transform:translateY(-150px) var(--transform-static)}}.d-animation-spinner__spinner{animation:d-spinner-spin var(--d-spinner-spin-period) linear infinite}@keyframes d-spinner-spin{0%{transform:rotate(0)}to{transform:rotate(-360deg)}}#big-bang-button-animation{overflow:hidden;pointer-events:none;@apply fixed w-full h-full top-0 left-0 text-center uppercase text-7xl md:text-9xl font-extrabold;}#big-bang-button-animation>.bbb__text-container{width:fit-content;margin-left:auto;margin-right:.5em;perspective:200px;transform-origin:right top;transform:rotateY(35deg) rotate(-12deg)}#big-bang-button-animation span{@apply inline-block mx-2;}#big-bang-button-animation span:nth-of-type(3n+1){@apply text-neutral-900 bg-neutral-50;}#big-bang-button-animation span:nth-of-type(4n+3){@apply bg-neutral-900 text-neutral-50;}.big-bang-button{@apply text-3xl font-bold uppercase cursor-pointer;}.big-bang-button:hover>span{@apply inline-block transition-all;}.big-bang-button:hover>span:nth-of-type(4n+1){@apply rotate-12 translate-x-1 -translate-y-2;}.big-bang-button:hover>span:nth-of-type(4n+2){@apply -rotate-6 translate-y-3;}.big-bang-button:hover>span:nth-of-type(4n+3){@apply -rotate-12 translate-x-1 -translate-y-2;}.big-bang-button:hover>span:nth-of-type(4n+4){@apply -rotate-6 translate-x-1 -translate-y-1;}.big-bang-button:hover>span:first{@apply rotate-12 -translate-x-2 -translate-y-2;}.card__content,.card__content--dense{@apply md:text-lg;}.card__content{padding:var(--shape-card-padding);@apply print:p-0;}.card__content--dense{padding:var(--shape-card--dense__padding);@apply print:p-0;}.card--homepage-story .card__content,.card--homepage-skills .card__content{@apply text-black;}.force-light :is(.card__bg,.card__bg--dense){@apply !bg-white dark:bg-white;}.card--homepage-story :is(.card__bg,.card__bg--dense){background:var(--d-card-x-ray--idle__color)}.card--homepage-skills :is(.card__bg,.card__bg--dense){background:var(--d-card-x-ray--action__color)}.card__bg,.card__bg--dense{@apply bg-white dark:bg-neutral-700 print:bg-none;}.card__bg{clip-path:var(--shape-card)}.card__bg--dense{clip-path:var(--shape-card--dense)}@media print{.card__bg{clip-path:none!important;background:none!important}}.card__title{@apply text-2xl md:text-3xl font-semibold -mt-5 mb-3 print:text-base print:ml-0 print:mb-0;}.card__title__content{@apply inline-block -ml-10 print:ml-0;}.card__title__content__text{@apply p-5 text-white dark:text-black print:p-0 print:text-inherit;}.card__title__content__shape{clip-path:polygon(.4em .4em,100% 0%,calc(100% - .4em) calc(100% - .4em),0% 100%);@apply bg-black dark:bg-white print:bg-transparent;}.force-light .card__title__content__text{@apply dark:text-white;}.force-light .card__title__content__shape{@apply dark:bg-black;}@media print{.card__title__content__shape{clip-path:none}}.d-alert{@apply font-dialog text-black dark:text-white mb-6 mt-12;}.d-alert__shape{@apply bg-white dark:bg-black opacity-80;clip-path:var(--shape-card--dense)}.d-alert__outline{@apply absolute inset-0 bg-black dark:bg-white;clip-path:var(--shape-card--dense__outline)}.d-alert--info .d-alert__outline{@apply bg-cyan-500;}.d-alert--question .d-alert__outline{@apply bg-yellow-500;}.d-alert--warning .d-alert__outline{@apply bg-red-500;}.d-alert__body{padding:var(--shape-card--dense__padding)}.d-alert__sign{@apply absolute w-[5em] -top-[1.5em] -left-[1.5em] pointer-events-none sharp-shadow ss-white ss-r-1;}.d-alert--info .d-alert__sign{@apply fill-cyan-500;}.d-alert--question .d-alert__sign{@apply fill-yellow-500;}.d-alert--warning .d-alert__sign{@apply fill-red-500;}.d-blockquote{@apply font-dialog text-black dark:text-white my-6;}.d-blockquote__outline{@apply absolute inset-0 bg-black dark:bg-white;}.d-blockquote__shape{@apply bg-white dark:bg-black opacity-80;}.d-blockquote--right .d-blockquote__body{padding:var(--shape-bubble--right__padding)}.d-blockquote--right .d-blockquote__outline{clip-path:var(--shape-bubble--right__outline)}.d-blockquote--right .d-blockquote__shape{clip-path:var(--shape-bubble--right)}.d-blockquote--left .d-blockquote__body{padding:var(--shape-bubble--left__padding)}.d-blockquote--left .d-blockquote__outline{clip-path:var(--shape-bubble--left__outline)}.d-blockquote--left .d-blockquote__shape{clip-path:var(--shape-bubble--left)}.d-actions-fan__list-item__shape{@apply dark:bg-neutral-900;}.d-actions-fan--right__list-item__shape{clip-path:polygon(calc(100% - 10px) 0,100% 100%,0 40%)}.d-actions-fan--left__list-item__shape{clip-path:polygon(10px 0,0 100%,100% 40%)}.d-actions-fan__list-item{@apply w-full transform -my-8;}.d-actions-fan--right__list-item{@apply origin-left;}.d-actions-fan--left__list-item{@apply origin-right;}.d-actions-fan__list-item__body{@apply px-3 py-2;}.d-actions-fan--right__list-item__body{@apply flex justify-end;}.actions-enter-active,.actions-leave-active{@apply transition-all;}.actions-enter-from{--tw-rotate: -90deg !important;@apply opacity-0;}.actions-leave-to{--tw-rotate: 90deg !important;@apply opacity-0;}.d-actions-list__shape{@apply dark:bg-neutral-900 dark:bg-opacity-80 backdrop-blur;clip-path:polygon(10px 0,0 100%,100% calc(100% - 10px),100% 13px)}.d-actions-list__body{@apply p-7;}.d-actions-list__header{@apply mb-4 font-serif text-lg;}.d-actions-list__list{@apply relative [&_button]:font-sans [&_button]:font-bold [&_button]:text-left font-sans font-bold;}.mbg__main-container{isolation:isolate}.mbg__relative-container{@apply relative w-full h-full;}.mbg__layer{top:0;right:0;bottom:0;left:0;@apply absolute;}.mbg__dots{background:url('data:image/svg+xml;utf8,<svg width="100" height="100" transform="rotate(0)" opacity="0.2" version="1.1" viewBox="0 0 100 100" xmlns="http://www.w3.org/2000/svg"><g fill="%23250E17"><circle cx="25" cy="25" r="12.5"/><circle cx="75" cy="75" r="12.5"/><circle cx="75" cy="25" r="12.5"/><circle cx="25" cy="75" r="12.5"/></g></svg>');background-size:2rem}.mbg__content{@apply relative z-[1];}
@@ -1,4 +1,5 @@
1
- import type { Ref } from 'vue';
1
+ import { Ref } from 'vue';
2
+
2
3
  export declare function getAbsoluteBoundingsGetters(el: Ref<Element | null>, correlations?: {
3
4
  x?: () => number;
4
5
  y?: () => number;
package/index.html CHANGED
@@ -1,3 +1,4 @@
1
+ <!-- prettier-ignore -->
1
2
  <!DOCTYPE html>
2
3
  <html lang="en">
3
4
  <head>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d0rich/esprit-design",
3
- "version": "0.2.3",
3
+ "version": "0.3.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -24,19 +24,18 @@
24
24
  "preview": "vite preview"
25
25
  },
26
26
  "dependencies": {
27
- "@iconify/vue": "^4.1.1",
28
- "gsap": "^3.12.2",
27
+ "@iconify/vue": "^4.1.2",
28
+ "gsap": "^3.12.5",
29
29
  "vue": "^3.3.4"
30
30
  },
31
31
  "devDependencies": {
32
- "@vitejs/plugin-vue": "^4.2.3",
32
+ "@vitejs/plugin-vue": "^5.0.5",
33
33
  "autoprefixer": "^10.4.16",
34
34
  "postcss": "^8.4.31",
35
- "tailwindcss": "^3.3.5",
36
- "typescript": "^5.0.2",
37
- "vite": "^4.4.5",
38
- "vite-plugin-dts": "^3.6.3",
39
- "vue-router": "^4.2.5",
40
- "vue-tsc": "^1.8.5"
35
+ "tailwindcss": "^3.4.4",
36
+ "typescript": "^5.4.5",
37
+ "vite": "^5.2.13",
38
+ "vite-plugin-dts": "^3.9.1",
39
+ "vue-router": "^4.3.3"
41
40
  }
42
41
  }
@@ -78,7 +78,9 @@ const fifthStat = computed(() => statFromIndex(4))
78
78
  <template>
79
79
  <figure class="max-w-full">
80
80
  <div class="stats__print-value">
81
- <div class="stats__print-value__group-title">{{ groupTitle }}</div>
81
+ <div class="stats__print-value__group-title">
82
+ {{ groupTitle }}
83
+ </div>
82
84
  <div>
83
85
  <div
84
86
  v-for="(skill, index) in titles"
@@ -274,11 +276,21 @@ const fifthStat = computed(() => statFromIndex(4))
274
276
  </g>
275
277
  </svg>
276
278
  <div class="stats__images">
277
- <div class="stats__image"><slot name="icon-1" /></div>
278
- <div class="stats__image"><slot name="icon-2" /></div>
279
- <div class="stats__image"><slot name="icon-3" /></div>
280
- <div class="stats__image"><slot name="icon-4" /></div>
281
- <div class="stats__image"><slot name="icon-5" /></div>
279
+ <div class="stats__image">
280
+ <slot name="icon-1" />
281
+ </div>
282
+ <div class="stats__image">
283
+ <slot name="icon-2" />
284
+ </div>
285
+ <div class="stats__image">
286
+ <slot name="icon-3" />
287
+ </div>
288
+ <div class="stats__image">
289
+ <slot name="icon-4" />
290
+ </div>
291
+ <div class="stats__image">
292
+ <slot name="icon-5" />
293
+ </div>
282
294
  </div>
283
295
  <svg
284
296
  viewBox="-500 -500 2000 2000"
@@ -55,7 +55,8 @@ const props = defineProps({
55
55
  const {
56
56
  linkComponent: currentComponent,
57
57
  isLink,
58
- isExternalLink
58
+ isExternalLink,
59
+ propsToProvide
59
60
  } = useLink(props)
60
61
  </script>
61
62
 
@@ -69,7 +70,7 @@ const {
69
70
  'd-btn--capitalize': textTransform === 'capitalize',
70
71
  'd-btn--lowercase': textTransform === 'lowercase'
71
72
  }"
72
- v-bind="props"
73
+ v-bind="propsToProvide"
73
74
  >
74
75
  <DWrapFocusHighlight
75
76
  :variant="highlight"
@@ -33,13 +33,25 @@ export function useLink(props: LinkProps) {
33
33
  href.startsWith('#')
34
34
  )
35
35
  })
36
+ const propsToProvide = computed(() => {
37
+ const propsToProvide: Record<string, any> = { ...props }
38
+ if (props.href && props.to) {
39
+ delete propsToProvide.href
40
+ } else if (props.href) {
41
+ delete propsToProvide.to
42
+ } else if (props.to) {
43
+ delete propsToProvide.href
44
+ }
45
+ return propsToProvide
46
+ })
36
47
 
37
48
  if (isLink.value) {
38
49
  if (typeof NuxtLink !== 'undefined') {
39
50
  return {
40
51
  isLink,
41
52
  isExternalLink,
42
- linkComponent: NuxtLink
53
+ linkComponent: NuxtLink,
54
+ propsToProvide
43
55
  }
44
56
  }
45
57
 
@@ -47,20 +59,23 @@ export function useLink(props: LinkProps) {
47
59
  return {
48
60
  isLink,
49
61
  isExternalLink,
50
- linkComponent: RouterLink
62
+ linkComponent: RouterLink,
63
+ propsToProvide
51
64
  }
52
65
  }
53
66
 
54
67
  return {
55
68
  isLink,
56
69
  isExternalLink,
57
- linkComponent: 'a'
70
+ linkComponent: 'a',
71
+ propsToProvide
58
72
  }
59
73
  }
60
74
 
61
75
  return {
62
76
  isLink,
63
77
  isExternalLink,
64
- linkComponent: props.tag || 'span'
78
+ linkComponent: props.tag || 'span',
79
+ propsToProvide
65
80
  }
66
81
  }
package/src/style.css CHANGED
@@ -1,3 +1,7 @@
1
1
  @tailwind base;
2
2
  @tailwind components;
3
3
  @tailwind utilities;
4
+
5
+ body {
6
+ font-synthesis: none;
7
+ }
@@ -7,10 +7,18 @@ module.exports = {
7
7
  content: ['./src/**/*.{vue,js,ts,jsx,tsx}'],
8
8
  theme: {
9
9
  fontFamily: {
10
- sans: ['Roboto', ...defaultTheme.fontFamily.sans],
11
- serif: ['"Roboto Slab"', ...defaultTheme.fontFamily.sans],
12
- mono: ['"JetBrains Mono"', ...defaultTheme.fontFamily.mono],
13
- dialog: ['Arsenal']
10
+ sans: ['Roboto', '"Noto Color Emoji"', ...defaultTheme.fontFamily.sans],
11
+ serif: [
12
+ '"Roboto Slab"',
13
+ '"Noto Color Emoji"',
14
+ ...defaultTheme.fontFamily.sans
15
+ ],
16
+ mono: [
17
+ '"JetBrains Mono"',
18
+ '"Noto Color Emoji"',
19
+ ...defaultTheme.fontFamily.mono
20
+ ],
21
+ dialog: ['Arsenal', '"Noto Color Emoji"']
14
22
  },
15
23
  extend: {
16
24
  screens: {