Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Renamed module to STPluginNeon #12

Merged
merged 2 commits into from
Nov 10, 2024

Conversation

jeanetienne
Copy link
Contributor

Renamed the module NeonPluginSTPluginNeon In order to avoid a name collision with the main type NeonPlugin.
This in turn, allows for easier disambiguation for projects that also have their own Theme or Colors type.

E.g. it is now possible to do this, even if your project has its own Theme type:

import SwiftUI
import STTextViewSwiftUI
import STPluginNeon

extension STPluginNeon.Theme {
    public static let myCustomTheme = STPluginNeon.Theme(colors: [:], fonts: [:])
}

Discussion

See issue #11

@jeanetienne jeanetienne force-pushed the rename-module branch 3 times, most recently from 0efdd2f to 1c3e903 Compare November 10, 2024 11:13
Copy link
Owner

@krzyzanowskim krzyzanowskim left a comment

Choose a reason for hiding this comment

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

thank you

@krzyzanowskim krzyzanowskim merged commit e0055d1 into krzyzanowskim:main Nov 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants