Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Allow properties and properties_dark to define arbitrary values #1937

Merged
merged 3 commits into from
Aug 25, 2023

Conversation

AdrianGonz97
Copy link
Member

Description

Both properties and properties_dark now accept arbitrary properties. If a user wants to add a new custom property to their theme, they can now add it like so:

const theme = {
	properties: {
		"--some-custom-var": "8px",
		// ... rest of theme properties
		'--color-primary-50': '242 245 253',
		'--color-primary-100': '238 242 252',
		'--color-primary-200': '233 239 252',
	}
};

@changeset-bot
Copy link

changeset-bot bot commented Aug 24, 2023

🦋 Changeset detected

Latest commit: 945479c

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@skeletonlabs/tw-plugin Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Aug 24, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
skeleton-docs ✅ Ready (Inspect) Visit Preview Aug 24, 2023 4:17pm

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants