Code Monkey home page Code Monkey logo

luminare's Introduction

Luminare

Luminare is a SwiftUI framework designed to enhance the development of macOS applications by providing a collection of pre-styled components that adhere to a consistent design language. It simplifies the creation of visually appealing and functional user interfaces.

Features

  • Adopts a declarative syntax that is consistent with SwiftUI.
  • Emphasizes modularity and reusability, allowing developers to create custom interfaces with minimal boilerplate code.
  • Uses a combination of system-defined and custom modifiers to apply consistent styling across different components.

Add to your Project

To add Luminare to your Xcode project, you can use Swift Package Manager (SPM). Follow these steps:

  1. Open your project in Xcode.
  2. Go to File > Swift Packages > Add Package Dependency....
  3. Enter the repository URL for Luminare.
  4. Select the version you want to use and add it to your project.

Components

Luminare offers a variety of components, organized for easy reference:

Component Type Component Preview
Buttons LuminareButtonStyle
LuminareDestructiveButtonStyle
LuminareCompactButtonStyle
LuminareCosmeticButtonStyle
Toggle Buttons LuminareToggle
Value Adjusters LuminareValueAdjuster
Pickers LuminarePicker
LuminareSliderPicker
Color Pickers LuminareColorPicker
Text Fields LuminareTextField
Modal Views .luminareModal(...)
Sections LuminareSection
Lists LuminareList

Example Usage

Luminare can be used pretty much exactly like how you would use SwiftUI. For a practical example, please check Loop's code.

License

Luminare is released under GNU General Public License v3.0. See the LICENSE file in the repository for the full license text.

luminare's People

Contributors

mrkai77 avatar senpaihunters avatar krlite avatar

Stargazers

Mortexa avatar  avatar David v.Knobelsdorff avatar Richárd Kunkli avatar BigcatLee avatar YamadaYugo avatar 芯梢 avatar Patrick Sy avatar Liam Palmqvist avatar Samuel Deng avatar Rishaan Desai avatar Filipe Herculano avatar Алексей avatar jinhu avatar Marvin avatar Sam O'Keefe avatar Rajaniraiyn R avatar  avatar Noviclos avatar Vini Soares avatar Marcelo Perretta avatar Wayne Dahlberg avatar  avatar Tim Voßhenrich avatar Giuseppe avatar Adélaïde Sky avatar Thomas Harr avatar Jitu Nayak avatar An Tran avatar adamz avatar FormalSnake avatar  avatar heyjude avatar Christoffer Winterkvist avatar Ahmad avatar  avatar AISLVE avatar Sam Roman avatar  avatar  avatar

Watchers

 avatar  avatar

luminare's Issues

[FEATURE] Extra Column / Interactive Preview

Feature excerpt:

  • A rightmost extra column
  • Enable the preview to respond to cursor interactions

In Luminare, sometimes one column isn't enough to display the settings, and using modal panels are too complicated for users to understand. In these cases, an extra column is needed, just like what SwiftUI NavigationSplitView does.

Another solution is to make the preview column a regular column that is also interactive, or to provide an option for enabling or disabling cursor interactions in the preview, instead of just ignoring all the cursor interactions (currently only hovering is allowed).

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.