Skip to content

Add CSS custom properties type definitions#448

Open
JeanMeijer wants to merge 1 commit intomainfrom
tembo/add-css-custom-properties-types
Open

Add CSS custom properties type definitions#448
JeanMeijer wants to merge 1 commit intomainfrom
tembo/add-css-custom-properties-types

Conversation

@JeanMeijer
Copy link
Collaborator

@JeanMeijer JeanMeijer commented Feb 5, 2026

Description

Added TypeScript type definitions for CSS custom properties (CSS variables) to apps/web/globals.d.ts. This enables proper type support for CSS custom properties in React components by extending the CSSProperties interface to accept keys matching the pattern --${string} with string or number values.

Also updated the @simpleanalytics/next dependency from a PR build to the stable version ^1.1.1.

Type of Change

  • New feature
  • Refactor / Cleanup

Testing

  • Manual testing performed

Checklist

  • My code works and is understandable and follows the project's style guidelines
  • I have performed a self-review of my code

Notes

This change improves TypeScript support for CSS custom properties, allowing developers to use CSS variables with full type safety in React components.


Want tembo to make any changes? Add a review or comment with @tembo and i'll get back to work!

View on Tembo View Agent Settings


Summary by cubic

Add TypeScript support for CSS custom properties in React style objects by extending CSSProperties to accept --var keys with string or number values.

  • Dependencies
    • Update @simpleanalytics/next from PR build to stable ^1.1.1.

Written for commit 691076e. Summary will update on new commits.

Co-authored-by: Jean <jean@analoginterface.io>
@tembo tembo bot added the tembo Pull request created by Tembo label Feb 5, 2026
@vercel
Copy link

vercel bot commented Feb 5, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
analog Ready Ready Preview, Comment Feb 5, 2026 9:41am

Copy link
Contributor

@cubic-dev-ai cubic-dev-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

tembo Pull request created by Tembo

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant