diff --git a/packages/noya-compiler/src/__tests__/__snapshots__/compile.test.ts.snap b/packages/noya-compiler/src/__tests__/__snapshots__/compile.test.ts.snap index 1f20bcdf9..8ffcd1e72 100644 --- a/packages/noya-compiler/src/__tests__/__snapshots__/compile.test.ts.snap +++ b/packages/noya-compiler/src/__tests__/__snapshots__/compile.test.ts.snap @@ -56,22 +56,19 @@ Object { gap: 1rem; } -.hero__content__tag { +.hero__tag { display: inline-flex; align-items: center; - padding-left: 0.625rem; - padding-right: 0.625rem; - padding-top: 0.125rem; - padding-bottom: 0.125rem; border-radius: 9999px; font-size: 0.875rem; line-height: 1.25rem; font-weight: 500; background-color: #3b82f633; color: #2563ebcc; + padding: 0.125rem 0.625rem; } -.hero__content__title { +.hero__title { color: #fff; font-size: 3.75rem; line-height: 1; @@ -80,7 +77,7 @@ Object { text-align: center; } -.hero__content__subtitle { +.hero__subtitle { color: #fff; font-size: 1.875rem; line-height: 1; @@ -89,29 +86,26 @@ Object { text-align: center; } -.hero__content__actions-row { +.hero__actions-row { display: flex; align-items: center; gap: 1rem; margin-top: 0.5rem; } -.hero__content__actions-row__button { +.hero__button { appearance: none; font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; border-radius: 0.375rem; - padding-left: 0.875rem; - padding-right: 0.875rem; - padding-top: 0.625rem; - padding-bottom: 0.625rem; background-color: #3b82f6; color: #fff; box-shadow: 0 1px 2px 0 rgb(0 0 0 / 0.05); + padding: 0.625rem 0.875rem; } -.hero__content__actions-row__link { +.hero__link { font-size: 0.875rem; line-height: 1.25rem; font-weight: 700; @@ -119,14 +113,12 @@ Object { } ", "public/vanilla/blue/dark/components/hero/html-css/hero.html": "