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

Update from upstream #7

Draft
wants to merge 22 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
b9c1b61
UX: Fix topic link color in dark mode (#4)
AlexP11223 Jun 14, 2021
0482a6c
REFACTOR: Update structure, fix for ember-cli (#5)
awesomerobot Aug 10, 2021
b305d81
DEV: Prep for pre-topic-list-refactor (#6)
jordanvidrine Dec 27, 2021
0847581
UX: Topic list refactor nohtml (#8)
jordanvidrine Mar 7, 2022
c047b7a
Update topic-list-item.hbr (#9)
geckolinux Mar 20, 2023
b337ab2
DEV: Pin theme for Discourse 3.1 stable (#10)
pmusaraj Aug 22, 2023
c900766
DEV: Pin theme for Discourse < 3.3.0.beta1-dev (#11)
s3lase Feb 29, 2024
5ae0f59
DEV: Update linting (#12)
davidtaylorhq Mar 27, 2024
9665b50
DEV: Pin theme for Discourse < 3.4.0.beta1-dev (#13)
nattsw Aug 2, 2024
1babbf6
Bump micromatch from 4.0.5 to 4.0.8 (#15)
dependabot[bot] Sep 9, 2024
a187592
DEV: Switch to use pnpm (#16)
tyb-talks Oct 14, 2024
38e0cc1
DEV: Update linting setup (#17)
tyb-talks Oct 17, 2024
2225b8a
UX: Update theme description to match core install modal (#18)
martin-brennan Oct 22, 2024
62ca149
DEV: Fix locale file location (#19)
martin-brennan Oct 22, 2024
c10a042
FIX: Add back missing translations (#20)
martin-brennan Nov 7, 2024
ec415cd
DEV: Update eslint config (#21)
davidtaylorhq Nov 19, 2024
8d5855a
DEV: Update linting (#22)
davidtaylorhq Nov 20, 2024
914f969
DEV: refactor to remove template overrides, add fixes (#23)
awesomerobot Nov 27, 2024
a1c0d4e
DEV: Update linting (#24)
davidtaylorhq Nov 28, 2024
5fc10b6
FIX: only apply templates to desktop (#25)
awesomerobot Dec 2, 2024
5f4abd2
UX: remove zebra striping (#26)
awesomerobot Dec 2, 2024
8bfc88d
DEV: Use the new topic-list plugin APIs (#27)
CvX Jan 17, 2025
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
3 changes: 3 additions & 0 deletions .discourse-compatibility
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
< 3.4.0.beta1-dev: 5ae0f59f735719bbc0c3d4811175765f6a0cb2ef
< 3.3.0.beta1-dev: b337ab2e3ea328336b07d7bbdb420412ef1fcefb
3.1.999: c047b7a464f58b2a9c30b76bb3c6b7d44e875a5f
11 changes: 11 additions & 0 deletions .github/workflows/discourse-theme.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
name: Discourse Theme

on:
push:
branches:
- main
pull_request:

jobs:
ci:
uses: discourse/.github/.github/workflows/discourse-theme.yml@v1
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
node_modules
.discourse-site
2 changes: 2 additions & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
engine-strict = true
auto-install-peers = false
1 change: 1 addition & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require("@discourse/lint-configs/prettier");
2 changes: 2 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
inherit_gem:
rubocop-discourse: stree-compat.yml
2 changes: 2 additions & 0 deletions .streerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
--print-width=100
--plugins=plugin/trailing_comma,plugin/disable_auto_ternary
1 change: 1 addition & 0 deletions .template-lintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require("@discourse/lint-configs/template-lint");
8 changes: 8 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# frozen_string_literal: true

source "https://rubygems.org"

group :development do
gem "rubocop-discourse"
gem "syntax_tree"
end
87 changes: 87 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
GEM
remote: https://rubygems.org/
specs:
activesupport (7.2.1.1)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.3.1)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
logger (>= 1.4.2)
minitest (>= 5.1)
securerandom (>= 0.3)
tzinfo (~> 2.0, >= 2.0.5)
ast (2.4.2)
base64 (0.2.0)
bigdecimal (3.1.8)
concurrent-ruby (1.3.4)
connection_pool (2.4.1)
drb (2.2.1)
i18n (1.14.6)
concurrent-ruby (~> 1.0)
json (2.7.2)
language_server-protocol (3.17.0.3)
logger (1.6.1)
minitest (5.25.1)
parallel (1.26.3)
parser (3.3.5.0)
ast (~> 2.4.1)
racc
prettier_print (1.2.1)
racc (1.8.1)
rack (3.1.8)
rainbow (3.1.1)
regexp_parser (2.9.2)
rubocop (1.67.0)
json (~> 2.3)
language_server-protocol (>= 3.17.0)
parallel (~> 1.10)
parser (>= 3.3.0.2)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 2.4, < 3.0)
rubocop-ast (>= 1.32.2, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 2.4.0, < 3.0)
rubocop-ast (1.32.3)
parser (>= 3.3.1.0)
rubocop-capybara (2.21.0)
rubocop (~> 1.41)
rubocop-discourse (3.8.2)
activesupport (>= 6.1)
rubocop (>= 1.59.0)
rubocop-capybara (>= 2.0.0)
rubocop-factory_bot (>= 2.0.0)
rubocop-rails (>= 2.25.0)
rubocop-rspec (>= 3.0.1)
rubocop-rspec_rails (>= 2.30.0)
rubocop-factory_bot (2.26.1)
rubocop (~> 1.61)
rubocop-rails (2.26.2)
activesupport (>= 4.2.0)
rack (>= 1.1)
rubocop (>= 1.52.0, < 2.0)
rubocop-ast (>= 1.31.1, < 2.0)
rubocop-rspec (3.1.0)
rubocop (~> 1.61)
rubocop-rspec_rails (2.30.0)
rubocop (~> 1.61)
rubocop-rspec (~> 3, >= 3.0.1)
ruby-progressbar (1.13.0)
securerandom (0.3.1)
syntax_tree (6.2.0)
prettier_print (>= 1.2.0)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
unicode-display_width (2.6.0)

PLATFORMS
arm64-darwin-23
ruby

DEPENDENCIES
rubocop-discourse
syntax_tree

BUNDLED WITH
2.5.21
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
## Sam's simple discourse theme

More info at: https://meta.discourse.org/t/sams-personal-minimal-topic-list-design/23552?u=sam

7 changes: 7 additions & 0 deletions common/color_definitions.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
$simple-theme-link-color: dark-light-choose(var(--tertiary), #7e97cd);
$simple-theme-visited-link-color: dark-light-choose(#6644aa, #9787b6);

:root {
--simple-theme-link-color: #{$simple-theme-link-color};
--simple-theme-visited-link-color: #{$simple-theme-visited-link-color};
}
Loading