From ac84bf3e8af7af01813c93f2ab91d90d493f887d Mon Sep 17 00:00:00 2001 From: Paul Valerie GOMA Date: Wed, 23 Jul 2025 13:46:18 +0200 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20Adding=20the=20style=20of=20the?= =?UTF-8?q?=20primevue=20tag=20component?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/style/primevue-style/tag.css | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/assets/style/primevue-style/tag.css diff --git a/src/assets/style/primevue-style/tag.css b/src/assets/style/primevue-style/tag.css new file mode 100644 index 0000000..b7b1530 --- /dev/null +++ b/src/assets/style/primevue-style/tag.css @@ -0,0 +1,23 @@ +:root { + --p-tag-icon-size: var(--text-body-MD-standard-text-Regular-size); + --p-tag-font-size: var( --text-body-SM-detail-text-Maj-size);; + --p-tag-font-weight: var( --text-body-SM-detail-text-Maj-weight); + --p-tag-padding: 0.25rem 0.5rem; + --p-tag-gap: 0.25rem; + --p-tag-border-radius: 0.25rem; + /* --p-tag-rounded-border-radius: + --p-tag-contrast-background: */ + --p-tag-contrast-color: var(--p-surface-0); + --p-tag-danger-background: var(--background-contrast-error); + --p-tag-danger-color: var(--text-default-error); + --p-tag-warn-background: var(--background-contrast-warning); + --p-tag-warn-color: var(--text-default-warning); + --p-tag-info-background: var(--background-contrast-info); + --p-tag-info-color: var(--text-default-info); + --p-tag-success-background: var(--background-contrast-success); + --p-tag-success-color: var(--text-default-success); + --p-tag-secondary-background: var(--illustration-color-950-tournesol-default); + --p-tag-secondary-color: var(--illustration-color-sun-tournesol-default); + --p-tag-primary-background: var(--illustration-color-950-glycine-default); + --p-tag-primary-color: var(--illustration-color-sun-glycine-default); +}