Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Moves the Rubik font into a separate package #902

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions app/pubspec.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1784,6 +1784,13 @@ packages:
relative: true
source: path
version: "0.0.1"
sharezone_font:
dependency: "direct main"
description:
path: "../lib/sharezone_font"
relative: true
source: path
version: "1.0.0"
sharezone_lints:
dependency: transitive
description:
Expand Down
14 changes: 8 additions & 6 deletions app/pubspec.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,8 @@ dependencies:
shared_preferences: ^2.0.5
sharezone_common:
path: ../lib/sharezone_common
sharezone_font:
path: ../lib/sharezone_font
sharezone_utils:
path: ../lib/sharezone_utils
sharezone_widgets:
Expand Down Expand Up @@ -181,17 +183,17 @@ flutter:
fonts:
- family: Rubik
fonts:
- asset: fonts/Rubik/Rubik-Light.ttf
- asset: packages/sharezone_font/fonts/Rubik/Rubik-Light.ttf
weight: 200
- asset: fonts/Rubik/Rubik-Regular.ttf
- asset: packages/sharezone_font/fonts/Rubik/Rubik-Regular.ttf
weight: 400
- asset: fonts/Rubik/Rubik-Medium.ttf
- asset: packages/sharezone_font/fonts/Rubik/Rubik-Medium.ttf
weight: 500
- asset: fonts/Rubik/Rubik-Bold.ttf
- asset: packages/sharezone_font/fonts/Rubik/Rubik-Bold.ttf
weight: 700
- asset: fonts/Rubik/Rubik-Black.ttf
- asset: packages/sharezone_font/fonts/Rubik/Rubik-Black.ttf
weight: 900
- asset: fonts/Rubik/Rubik-Italic.ttf
- asset: packages/sharezone_font/fonts/Rubik/Rubik-Italic.ttf
style: italic

- family: PT MONO
Expand Down
6 changes: 6 additions & 0 deletions lib/sharezone_font/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# Files and directories created by pub.
.dart_tool/
.packages

# Conventional directory for build output.
build/
5 changes: 5 additions & 0 deletions lib/sharezone_font/lib/fonts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Readme

## Licence / Copyright

The files in this folder and all subfolders are exempt from the EUPL v1.2 unless specified otherwise.
5 changes: 5 additions & 0 deletions lib/sharezone_font/pubspec.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# Generated by pub
# See https://dart.dev/tools/pub/glossary#lockfile
packages: {}
sdks:
dart: ">=3.0.0 <4.0.0"
15 changes: 15 additions & 0 deletions lib/sharezone_font/pubspec.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Copyright (c) 2023 Sharezone UG (haftungsbeschränkt)
# Licensed under the EUPL-1.2-or-later.
#
# You may obtain a copy of the Licence at:
# https://joinup.ec.europa.eu/software/page/eupl
#
# SPDX-License-Identifier: EUPL-1.2

name: sharezone_font
description: The font that are used in the Sharezone products.
version: 1.0.0
publish_to: "none"

environment:
sdk: ">=3.0.0 <4.0.0"
Loading