antoniusnaumann / chords

A small utility library to make Material 3 with Jetbrains/Jetpack Compose more harmonic.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Maven Central License

Chords ๐ŸŽถ

A small utility library to make Jetbrains/Jetpack Compose more harmonic.

Setup ๐Ÿ› 

...

Features โญ๏ธ

Dynamic Theme ๐ŸŽจ

Supports system dark mode and Material You Dynamic Color out of the box while allowing for fallback themes used in environments where dynamic color is not supported (such as older Android versions or desktop targets)

Example

class MainActivity : AppCompatActivity() {
    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContent {
            DynamicTheme(lightScheme = myLightColorScheme, darkScheme = myDarkColorScheme) {
                MyComposeView()
            }
        }
    }
}

To be continued...

Project โš™๏ธ

Versioning ๐Ÿ“œ

This project follows the Semver standard for semantic versioning.

License ๐Ÿ“ƒ

This project is licensed under Apache 2.0

Copyright 2022 Antonius Naumann

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

A small utility library to make Material 3 with Jetbrains/Jetpack Compose more harmonic.


Languages

Language:Kotlin 100.0%