diff --git a/src/components/SwagChangelog.vue b/src/components/SwagChangelog.vue index b636a0b9..12543f7f 100644 --- a/src/components/SwagChangelog.vue +++ b/src/components/SwagChangelog.vue @@ -1,15 +1,20 @@ @@ -19,44 +24,23 @@ &_item { @apply flex justify-between items-center gap-2; } + &_version { @apply font-normal text-lg text-black; .dark & { @apply text-white; } } - &_date { - @apply rounded-sm text-xs px-2 py-1; - background-color: var(--sw-c-gray-100); - color: var(--sw-c-gray-dark-100); - .dark & { - background-color: var(--sw-c-gray-dark-600); - color: var(--sw-c-gray-600); - } - } - &_label { - @apply text-xs px-2 py-1; - &.--type-rc { - background-color: var(--sw-c-blue-vivacious-100); - color: var(--sw-c-blue-vivacious-900); - .dark & { - background-color: var(--sw-c-blue-vivacious-900); - color: var(--sw-c-blue-vivacious-50); - } - } - &.--type-security { - background-color: var(--sw-c-pink-100); - color: var(--sw-c-pink-900); - .dark & { - background-color: var(--sw-c-pink-900); - color: var(--sw-c-pink-50); - } - } + + &_older { + font-size: .875rem; } } @@ -94,5 +107,18 @@ const intro = new DOMParser().parseFromString(content, "text/html").querySelecto height: .625rem; } } + + .SwagChangelogWrapper_links { + @apply m-0 p-0; + line-height: 150%; + list-style: none; + font-size: 0.875rem; + } + + &_details { + @apply absolute right-0 bottom-0; + font-size: 0.875rem; + text-decoration: underline; + } } \ No newline at end of file diff --git a/src/components/SwagLabel.vue b/src/components/SwagLabel.vue new file mode 100644 index 00000000..d6d25e51 --- /dev/null +++ b/src/components/SwagLabel.vue @@ -0,0 +1,42 @@ + + + \ No newline at end of file