=== BrandKity: Brand Asset Manager ===
Contributors: brandkity
Tags: brand assets, media library, brand kit, brand management, design assets
Requires at least: 6.0
Tested up to: 6.9
Stable tag: 1.0.0
Requires PHP: 7.4
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Connect your BrandKity workspace and import brand assets directly into your WordPress Media Library — logos, visuals, icons, videos, colors, and more.

== Description ==

**BrandKity: Brand Asset Manager** is the official WordPress plugin for [BrandKity](https://brandkity.com) — the brand asset management platform for growing businesses and creative teams.

With this plugin, your entire brand kit lives inside WordPress. Browse your brand assets directly from the WordPress admin and import them to your Media Library with a single click.

= What you can do =

* **Browse all your brand kits** from inside the WordPress admin
* **Import logos, visuals, icons, videos, collaterals, and resources** to your Media Library
* **View colors with click-to-copy** HEX/RGB values
* **View typography** — font names, weights, and Google Fonts links
* **Read brand story** and guidelines from your kit
* **Select individual assets or bulk-import** entire sections at once
* **Multi-select across sections** and import everything in one click

= Key Features =

* 🎨 **Full brand kit browser** — see every asset your team has uploaded
* ↓ **One-click import** — assets land directly in your WordPress Media Library
* ✓ **Bulk import** — select all in a section or select across sections
* 🔒 **Secure API key storage** — your key is encrypted in the database using AES-256
* ⚡ **Lightweight** — pure PHP, no external libraries, no Composer dependencies
* 🛡 **CSRF protected** — all actions use WordPress nonces
* 🖼 **SVG support** — SVGs are sanitized before import (scripts, event handlers removed)

= How it works =

1. Install and activate the plugin
2. Get your API key from [brandkity.com → Settings → API Keys](https://brandkity.com/dashboard/settings?tab=api-keys)
3. Enter it in BrandKity → Settings
4. Browse your brand kits and import assets to Media Library

= Requirements =

* A [BrandKity](https://brandkity.com) account (any plan — Free, Starter, Pro, or Agency)
* WordPress 6.0 or higher
* PHP 7.4 or higher

== Installation ==

1. Upload the `brandkity-for-wordpress` folder to `/wp-content/plugins/`
2. Activate the plugin through the **Plugins** menu in WordPress
3. Navigate to **BrandKity** in the WordPress admin sidebar
4. Enter your BrandKity API key (get it at brandkity.com → Settings → API Keys)
5. Start importing brand assets!

= Automatic Installation =

1. Go to **Plugins → Add New** in your WordPress admin
2. Search for "BrandKity"
3. Click **Install Now** then **Activate**

== Frequently Asked Questions ==

= Do I need a paid BrandKity plan? =

No! The WordPress plugin works on all BrandKity plans, including the free plan.

= Where do I get my API key? =

Log in to [brandkity.com](https://brandkity.com), go to **Settings → API Keys**, and generate a new key. It starts with `bk_live_`.

= Where do imported assets go? =

All assets are imported directly to your WordPress **Media Library** (Media → Library). They are downloaded from BrandKity's CDN and stored on your server.

= Are SVG files supported? =

Yes! The plugin sanitizes SVG files before importing them — it removes any scripts, event handlers, and external references to keep your site secure.

= Is my API key stored securely? =

Yes. Your API key is encrypted using AES-256-CBC with your WordPress authentication key before being stored in the database. It is never stored in plaintext.

= Can I use this with page builders? =

Once assets are in your Media Library, they work with any page builder or theme that uses the WordPress Media Library — Elementor, Gutenberg, Divi, Beaver Builder, etc.

= Does the plugin modify my BrandKity data? =

No. The plugin is read-only — it only fetches and displays your brand kits. No changes are made to your BrandKity workspace.

== Screenshots ==

1. **Connect** — Enter your BrandKity API key to link your workspace
2. **Brand Kits** — Browse all your brand kits in a beautiful card grid
3. **Import Assets** — Select and bulk-import logos, visuals, icons, and more to your Media Library

== Changelog ==

= 1.0.0 =
* Initial release
* Kit dashboard with card grid
* Kit detail with all block types (logos, visuals, icons, videos, colors, typography, brand story, collaterals, resources)
* One-click and bulk import to WordPress Media Library
* SVG sanitization
* Encrypted API key storage
* Full multi-select and bulk import support

== Upgrade Notice ==

= 1.0.0 =
Initial release of BrandKity for WordPress.

== Privacy Policy ==

This plugin connects to the BrandKity API at `https://brandkity.com` using your API key to fetch your brand kit data. No personal data from your WordPress site is sent to BrandKity except the API key you provide.

For BrandKity's full privacy policy, visit: https://brandkity.com/privacy-policy
