
Foundation for highly stylable, extensible design systems: structured token and component style management, hierarchical overridable declarative styles with cross-references, integrated caching and StyleValues code-generation.
The Design System Foundation (DSF) library serves as a foundation for building highly stylable and extensible design systems in the Jetpack Compose environment. It provides a structured approach to managing and organizing design tokens and component styles through:
π‘ Creating your own design system from scratch is a complex and time-consuming task. In most cases, a better solution is to use the Mobius library, which is based on both Design System Foundation and Material Design 3.
Mobius offers a high degree of stylability and extensibility, which in most cases allows you to achieve the desired results with significantly less effort than building a custom design system from the ground up. Although Mobius is based on Material Design 3, it offers far greater customization through styling mechanism, which reduces the need to override the original components.
The documentation is divided into two parts β the first outlines the general philosophy behind the design system, while the second is a step-by-step tutorial demonstrating how to implement a design system from scratch.
Add the following line to your build.gradle file to include Design System Foundation in your project:
implementation("com.gft.mobile:design-system:0.1.1")To enable automatic StyleValues generation with @GenerateStyleValues, also add
ksp("com.gft.mobile:design-system-codegen:0.1.1")and configure KSP in your project.
Copyright 2025 GFT Technologies SE
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.
The Design System Foundation (DSF) library serves as a foundation for building highly stylable and extensible design systems in the Jetpack Compose environment. It provides a structured approach to managing and organizing design tokens and component styles through:
π‘ Creating your own design system from scratch is a complex and time-consuming task. In most cases, a better solution is to use the Mobius library, which is based on both Design System Foundation and Material Design 3.
Mobius offers a high degree of stylability and extensibility, which in most cases allows you to achieve the desired results with significantly less effort than building a custom design system from the ground up. Although Mobius is based on Material Design 3, it offers far greater customization through styling mechanism, which reduces the need to override the original components.
The documentation is divided into two parts β the first outlines the general philosophy behind the design system, while the second is a step-by-step tutorial demonstrating how to implement a design system from scratch.
Add the following line to your build.gradle file to include Design System Foundation in your project:
implementation("com.gft.mobile:design-system:0.1.1")To enable automatic StyleValues generation with @GenerateStyleValues, also add
ksp("com.gft.mobile:design-system-codegen:0.1.1")and configure KSP in your project.
Copyright 2025 GFT Technologies SE
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.