corporate

package
v0.0.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 4, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package corporate provides a professional theme preset for business applications.

The corporate theme offers a conservative color palette, formal typography, and accessibility-focused design suitable for enterprise applications.

Basic Usage

registry := plugin.NewRegistry()
registry.Use(corporate.New())

Features

  • Conservative color palette (blues, grays)
  • Formal typography (system fonts)
  • High contrast for accessibility (WCAG AAA)
  • Print-friendly styles
  • Professional components

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Corporate

type Corporate struct {
	*plugin.PluginBase
}

Corporate theme plugin.

func New

func New() *Corporate

New creates a new Corporate theme plugin.

func (*Corporate) AlpineComponents

func (c *Corporate) AlpineComponents() []plugin.AlpineComponent

AlpineComponents returns theme components.

func (*Corporate) CustomCSS

func (c *Corporate) CustomCSS() string

CustomCSS returns additional CSS for the corporate theme.

func (*Corporate) CustomFonts

func (c *Corporate) CustomFonts() []string

CustomFonts returns additional font configurations.

func (*Corporate) Directives

func (c *Corporate) Directives() []plugin.AlpineDirective

Directives returns theme-specific directives.

func (*Corporate) Init

func (c *Corporate) Init(ctx context.Context, registry *plugin.Registry) error

Init initializes the corporate theme plugin.

func (*Corporate) Magics

func (c *Corporate) Magics() []plugin.AlpineMagic

Magics returns theme magic properties.

func (*Corporate) Scripts

func (c *Corporate) Scripts() []plugin.Script

Scripts returns any additional scripts for the theme.

func (*Corporate) Shutdown

func (c *Corporate) Shutdown(ctx context.Context) error

Shutdown cleanly shuts down the plugin.

func (*Corporate) Stores

func (c *Corporate) Stores() []plugin.AlpineStore

Stores returns theme stores.

func (*Corporate) Theme

func (c *Corporate) Theme() *theme.Theme

Theme returns the corporate theme configuration. Returns a light theme suitable for corporate applications.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL