Skip to content

Commit

Permalink
Modernize home page gradient colors
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeDoctorDE committed May 21, 2024
1 parent f83008b commit d25dd88
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 20 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
<a href="https://go.linwood.dev/discord"><b>Discord</b></a> •
<a href="https://floss.social/@linwood"><b>Mastodon</b></a> •
<a href="https://bsky.app/profile/linwood.dev"><b>Bluesky</b></a> •
<a href="https://linwood.dev"><b>Linwood</b></a> •
<a href="CONTRIBUTING.md"><b>Contribute</b></a>
</p>

Expand Down
2 changes: 1 addition & 1 deletion SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

| Version | Supported | |
| --------- | ------------------ | -------------------------------------------------------------------------------------------------------------------------------- |
| 2.1.0-dev | :warning: | [Docs](https://butterfly.linwood.dev/docs/2.1/intro) [Release](https://github.com/LinwoodDev/butterfly/releases/tag/v2.1.0-rc.3) |
| 2.1.1-dev | :warning: | [Docs](https://butterfly.linwood.dev/docs/2.1/intro) [Release](https://github.com/LinwoodDev/butterfly/releases/tag/v2.1.1-rc.1) |
| 2.1.0 | :white_check_mark: | [Docs](https://butterfly.linwood.dev/docs/2.1/intro) [Release](https://github.com/LinwoodDev/butterfly/releases/tag/v2.1.0) |
| 2.0.3 | :white_check_mark: | [Docs](https://butterfly.linwood.dev/docs/2.0/intro) [Release](https://github.com/LinwoodDev/butterfly/releases/tag/v2.0.3) |
| 1.6.1 | :x: | [Docs](https://butterfly.linwood.dev/docs/1.6/intro) [Release](https://github.com/LinwoodDev/butterfly/releases/tag/v1.6.1) |
Expand Down
4 changes: 2 additions & 2 deletions app/lib/theme.dart
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ import 'package:flutter/material.dart';

import 'main.dart';

const kClassicFirstColor = Color(0xFFf2b138);
const kClassicSecondColor = Color(0xFFbe5050);
const kClassicFirstColor = Color(0xFFc4840d);
const kClassicSecondColor = Color(0xFF7b8f96);
const kClassicThemePrimary =
isNightly ? kClassicSecondColor : kClassicFirstColor;
const kClassicThemeSecondary =
Expand Down
9 changes: 4 additions & 5 deletions app/lib/views/home.dart
Original file line number Diff line number Diff line change
Expand Up @@ -361,14 +361,13 @@ class _HeaderHomeViewState extends State<_HeaderHomeView>
decoration: BoxDecoration(
borderRadius: BorderRadius.circular(24),
gradient: LinearGradient(
begin: Alignment.topCenter,
end: Alignment.bottomCenter,
begin: Alignment.topLeft,
end: Alignment.bottomRight,
colors: [
Color.alphaBlend(colorScheme.inverseSurface.withOpacity(0.3),
colorScheme.surface),
colorScheme.secondary,
colorScheme.primary,
],
stops: const [0, 0.8],
stops: const [0.2, 0.8],
),
),
child: innerCard,
Expand Down
14 changes: 2 additions & 12 deletions docs/README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,10 @@
# Starlight Starter Kit: Basics
# Butterfly Documentation

[![Built with Starlight](https://astro.badg.es/v2/built-with-starlight/tiny.svg)](https://starlight.astro.build)

```
npm create astro@latest -- --template starlight
```

[![Open in StackBlitz](https://developer.stackblitz.com/img/open_in_stackblitz.svg)](https://stackblitz.com/github/withastro/starlight/tree/main/examples/basics)
[![Open with CodeSandbox](https://assets.codesandbox.io/github/button-edit-lime.svg)](https://codesandbox.io/p/sandbox/github/withastro/starlight/tree/main/examples/basics)
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/clone?repository-url=https%3A%2F%2Fgithub.com%2Fwithastro%2Fstarlight%2Ftree%2Fmain%2Fexamples%2Fbasics&project-name=my-starlight-docs&repository-name=my-starlight-docs)

> 🧑‍🚀 **Seasoned astronaut?** Delete this file. Have fun!
## 🚀 Project Structure

Inside of your Astro + Starlight project, you'll see the following folders and files:
Inside of the docs directory, you'll see the following folders and files:

```
.
Expand Down
2 changes: 2 additions & 0 deletions metadata/en-US/changelogs/106.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,13 @@
* Improve pdf import performance ([#702](https://github.com/LinwoodDev/Butterfly/pull/702))
* Reimplement quality in pdf import ([#702](https://github.com/LinwoodDev/Butterfly/pull/702))
* Center grid items in home page
* Modernize home page header gradient to use secondary and primary color
* Improve webdav requests ([#703](https://github.com/LinwoodDev/Butterfly/pull/703))
* Improve image quality ([#704](https://github.com/LinwoodDev/Butterfly/issues/704))
* Improve baked image quality
* Improve responsiveness
* Improve path eraser performance
* Use a blue/gray for secondary color in classic theme
* Fix launching url does nothing
* Fix settings on mobile fill full height
* Fix grid switch on file view will be shown in navigator
Expand Down

0 comments on commit d25dd88

Please sign in to comment.