2
0
Fork 0
mirror of https://github.com/discourse/discourse.git synced 2025-10-03 17:21:20 +08:00
A platform for community discussion. Free, open, simple. https://www.discourse.org
Find a file
chapoi 3762ed22db
UX: Horizon > button styling tweaks (#34912)
New goals: 
* align the hover and focus effects as they both amount to the same
thing: highlighting what is being interacted with
* align the button styling between default and primary by using similar
effects (no background colour change, bold outline)

Also in this commit:
* slight tweak to Horizon dark palette for better contrast
* changed the post like button to use the d-hover variable, as the other
post buttons do

| What | BC | AC |
|--------|--------|--------|
| Hover effect – default | <img width="1468" height="268" alt="CleanShot
2025-09-22 at 19 43 34@2x"
src="https://github.com/user-attachments/assets/1857cc64-0d5e-4d08-812a-88ca45075502"
/> | <img width="1246" height="284" alt="CleanShot 2025-09-22 at 19 24
42@2x"
src="https://github.com/user-attachments/assets/13035460-774f-46ef-8522-be5e62c90e61"
/> |
| Hover effect – primary | <img width="1468" height="268" alt="CleanShot
2025-09-22 at 19 43 42@2x"
src="https://github.com/user-attachments/assets/87246ccd-5c59-44eb-82b0-88542a25be5f"
/> | <img width="1246" height="284" alt="CleanShot 2025-09-22 at 19 25
20@2x"
src="https://github.com/user-attachments/assets/c08f08ed-8b3d-40b2-92ac-a6eb6295c908"
/> |
| Hover effect – post actions | <img width="1396" height="458"
alt="CleanShot 2025-09-22 at 19 43 10@2x"
src="https://github.com/user-attachments/assets/0c39f7be-6b8c-4ede-8cae-39242fa4c435"
/> | <img width="1350" height="306" alt="CleanShot 2025-09-22 at 19 25
54@2x"
src="https://github.com/user-attachments/assets/02fa9020-135e-4e6e-9b95-3937f5f6dd37"
/> |
2025-09-23 07:49:12 -06:00
.cursor/rules
.devcontainer
.github Build(deps): Bump actions/labeler from 5 to 6 (#34761) 2025-09-15 17:58:31 +02:00
.vscode
app UX: Horizon > button styling tweaks (#34912) 2025-09-23 07:49:12 -06:00
bin
config UX: Add translation button changes tooltip over icon color (#34901) 2025-09-22 13:18:43 -07:00
db DEV: remove toggles for switching between jquery & floatkit autocomplete (#34867) 2025-09-19 14:50:04 +08:00
docs
images
lib DEV: Finish renaming secure_session to server_session 2025-09-23 10:35:02 +02:00
log
migrations DEV: Add Intermediate DB support for user_associated_accounts (#34425) 2025-09-15 01:00:25 +00:00
patches
plugins DEV: clean up events settings (#34856) 2025-09-23 08:48:07 +10:00
public
script
spec DEV: Finish renaming secure_session to server_session 2025-09-23 10:35:02 +02:00
test
themes UX: Horizon > button styling tweaks (#34912) 2025-09-23 07:49:12 -06:00
vendor
.annotaterb.yml
.editorconfig
.git-blame-ignore-revs
.gitattributes
.gitignore
.ignore
.jsdoc
.licensed.yml
.licensee.json
.npmrc DEV: prevent pnpm to ask for update (#34808) 2025-09-15 20:11:12 +02:00
.pnpmfile.cjs
.prettierignore
.prettierrc.cjs
.rspec
.rspec_parallel
.rubocop.yml
.ruby-gemset.sample
.streerc
.template-lintrc.cjs
AGENTS.md
AI-AGENTS.md FEATURE: Show themeable site settings in site setting lists (#34666) 2025-09-22 10:55:23 +10:00
Brewfile
CLAUDE.md
CODEOWNERS
config.ru
CONTRIBUTING.md
COPYRIGHT.md
d
discourse.sublime-project
eslint.config.mjs
Gemfile DEV: Move debugging gem from byebug to debug (#34827) 2025-09-17 10:08:52 -03:00
Gemfile.lock Build(deps): Bump json from 2.13.2 to 2.15.0 (#34908) 2025-09-23 01:34:17 +02:00
GEMINI.md
jsconfig.json
lefthook.yml
LICENSE.txt
package.json Build(deps-dev): Bump lefthook from 1.13.1 to 1.13.2 (#34911) 2025-09-23 00:33:56 +02:00
pnpm-lock.yaml Build(deps-dev): Bump lefthook from 1.13.1 to 1.13.2 (#34911) 2025-09-23 00:33:56 +02:00
pnpm-workspace.yaml
Rakefile
README.md
stylelint.config.mjs
translator.yml

The online home for your community.

github-readme

You can self-host Discourse on your own infrastructure. But if you'd rather skip the setup, maintenance, and server management, we offer official Discourse hosting.

👉 Learn more about Discourse hosting

Discourse is a 100% open-source community platform for those who want complete control over how and where their site is run.

Our platform has been battle-tested for over a decade and continues to evolve to meet users needs for a powerful community platform.

With Discourse, you can:

  • 💬 Create discussion topics to foster meaningful conversations.

  • Connect in real-time with built-in chat.

  • 🎨 Customize your experience with an ever-growing selection of official and community themes.

  • 🤖 Enhance your community with plugins, from chatbots powered by Discourse AI to advanced tools like SQL analysis with the Data Explorer plugin.

To learn more, visit discourse.org and join our support community at meta.discourse.org.

Here are just a few of the incredible communities using Discourse:

discourse-communities

👉 Discover more communities using Discourse

Development

To get your environment set up, follow one of the setup guides:

Before you get started, ensure you have the following minimum versions: Ruby 3.3+, PostgreSQL 13, Redis 7.

For more information, check out the Developer Documentation.

Setting up Discourse

If you want to set up a Discourse forum for production use, see our Discourse Install Guide.

If you're looking for official hosting, see discourse.org/pricing.

Requirements

Discourse supports the latest, stable releases of all major browsers and platforms:

Browsers Tablets Phones
Apple Safari iPadOS iOS
Google Chrome Android Android
Microsoft Edge
Mozilla Firefox

Additionally, we aim to support Safari on iOS 16.4+.

Built With

  • Ruby on Rails — Our back end API is a Rails app. It responds to requests RESTfully in JSON.
  • Ember.js — Our front end is an Ember.js app that communicates with the Rails API.
  • PostgreSQL — Our main data store is in Postgres.
  • Redis — We use Redis as a cache and for transient data.
  • BrowserStack — We use BrowserStack to test on real devices and browsers.

Plus lots of Ruby Gems, a complete list of which is at /main/Gemfile.

Contributing

Build Status

Discourse is 100% free and open source. We encourage and support an active, healthy community that accepts contributions from the public including you!

Before contributing to Discourse:

  1. Please read the complete mission statements on discourse.org. Yes we actually believe this stuff; you should too.
  2. Read and sign the Electronic Discourse Forums Contribution License Agreement.
  3. Dig into CONTRIBUTING.MD, which covers submitting bugs, requesting new features, preparing your code for a pull request, etc.
  4. Always strive to collaborate with mutual respect.
  5. Not sure what to work on? We've got some ideas.

We look forward to seeing your pull requests!

Security

We take security very seriously at Discourse; all our code is 100% open source and peer reviewed. Please read our security guide for an overview of security measures in Discourse, or if you wish to report a security issue.

Security fixes are listed in the release notes for each version.

The Discourse Team

The original Discourse code contributors can be found in AUTHORS.MD. For a complete list of the many individuals that contributed to the design and implementation of Discourse, please refer to the official Discourse blog and GitHub's list of contributors.

Copyright 2014 - 2025 Civilized Discourse Construction Kit, Inc.

Licensed under the GNU General Public License Version 2.0 (or later); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:

https://www.gnu.org/licenses/old-licenses/gpl-2.0.txt

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.

Discourse logo and “Discourse Forum” ®, Civilized Discourse Construction Kit, Inc.

Accessibility

To guide our ongoing effort to build accessible software we follow the W3Cs Web Content Accessibility Guidelines (WCAG). If you'd like to report an accessibility issue that makes it difficult for you to use Discourse, email accessibility@discourse.org. For more information visit discourse.org/accessibility.

Dedication

Discourse is built with love, Internet style.

For over a decade, our amazing community has helped shape Discourse into what it is today. Your support, feedback, and contributions have been invaluable in making Discourse a powerful and versatile platform.

Were deeply grateful for every feature request, bug report, and discussion that has driven Discourse forward. Thank you for being a part of this journey—we couldnt have done it without you!