diff --git a/package.json b/package.json index e844bd2..4266763 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "publishConfig": { "access": "public" }, - "version": "0.2.1", + "version": "0.3.0", "type": "module", "scripts": { "start": "vite --force", diff --git a/src/site-big-title/site-big-title.tsx b/src/site-big-title/site-big-title.tsx index c20150b..c0607b1 100644 --- a/src/site-big-title/site-big-title.tsx +++ b/src/site-big-title/site-big-title.tsx @@ -14,15 +14,16 @@ siteBigTitle.styles = [ tokens, css` :host { - --font-big-label: 30vh; - font-size: var(--font-big-label); + --font-weight: var(--font-weight-title); + --font-size: 30vh; + font-size: var(--font-size); color: transparent; text-stroke: 1px var(--color-orbe); -webkit-text-stroke: 1px var(--color-orbe); position: relative; line-height: 1em; - font-weight: var(--font-weight-title); - margin-bottom: calc(var(--font-big-label) * -0.25); + font-weight: var(--font-weight); + margin-bottom: calc(var(--font-size) * -0.25); } .gradient { position: absolute; @@ -38,7 +39,7 @@ siteBigTitle.styles = [ } @media (max-width: 768px) { :host { - --font-big-label: 15vh; + --font-size: 15vh; } } `, diff --git a/src/site-card/site-card.tsx b/src/site-card/site-card.tsx index ec51731..db37163 100644 --- a/src/site-card/site-card.tsx +++ b/src/site-card/site-card.tsx @@ -17,6 +17,7 @@ function siteCard({ dotColor }: Props) { siteCard.props = { dotColor: { type: String, reflect: true }, overflow: { type: Boolean, reflect: true }, + padding: { type: Boolean, reflect: true }, }; siteCard.styles = [ @@ -28,7 +29,7 @@ siteCard.styles = [ --radius: var(--size-2); --dot-size: var(--size-2); --dot-transition: 1s ease all; - padding: var(--padding); + background: var(--color-card-background); border: 1px solid var(--color-card-border); box-sizing: border-box; @@ -70,6 +71,9 @@ siteCard.styles = [ :host([overflow]) { overflow: hidden; } + :host([padding]) { + padding: var(--padding); + } .content { display: grid; position: relative; diff --git a/src/site-why.tsx b/src/site-why.tsx index 4bcd9f5..39b30c9 100644 --- a/src/site-why.tsx +++ b/src/site-why.tsx @@ -188,7 +188,7 @@ function why() { - + - + @@ -145,7 +145,7 @@ function site() { WEBCOMPONENT - + @@ -155,7 +155,7 @@ function site() { STYLES - + @@ -165,7 +165,7 @@ function site() { DECLARATIONS - + @@ -183,7 +183,7 @@ function site() { - +

@atomico/exports

@@ -194,7 +194,7 @@ function site() {
- +

@atomico/router

@@ -205,7 +205,7 @@ function site() {
- +

@atomico/store

@@ -216,7 +216,7 @@ function site() {
- +

@atomico/hooks

@@ -227,7 +227,7 @@ function site() {
- +

@atomico/react

@@ -238,7 +238,7 @@ function site() {
- +

@atomico/router

@@ -249,7 +249,7 @@ function site() {
- +

@atomico/components

@@ -260,7 +260,7 @@ function site() {
- +

@atomico/ui