Commit Graph
18 Commits
Author SHA1 Message Date
Rūdolfs Ošiņš 591c19a256 Refactor typography styles
- Move all global typography styles to its own file. This makes it
  easier to find all the typography related definitions for newcomers.

- Prefix all typography related global CSS classes with a unique prefix
  `.txt-`. This allows us to grep the codebase and see exactly where
  they are applied. Another benefit of this convention is that it helps
  to avoid accidentally mixing global and local styles. Having global
  CSS classes that sometimes overlap with component CSS classes makes it
  very hard to reason about the resulting visuals and making changes
  unpredictable.

- Introduce CSS variables for standardised typography sizes and apply
  them to the whole codebase consistently. This way we can adjust the
  size in one place and it will be applied everywhere.

- Avoid using predefined HTML tags which might have differing styling
  from browser to browser, e.g. `<h1>`, `<strong>`. We should stick to
  applying styling either by adding a specific global CSS class or using
  the predefined CSS variables, this way we can be sure that the styles
  won't be overridden by browser defaults.

- Have a minimal set of modifiers `.txt-monospace` and `.txt-bold` and
  apply them consistently. Since `.txt-monospace` is defined via a CSS
  variable, we'll be able to switch out fonts via a user setting in the
  future.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-09 14:50:26 +02:00
Rūdolfs Ošiņš dadd82d8e8 Improve CommitVerifiedBadge UX
- debounce hover events to prevent flickering when mousing over multiple badges
- keep the card visible while hovering over it
- show verified badge on the Commit page

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-01 16:40:44 +02:00
Rūdolfs Ošiņš b3cec1f314 Format *.ts, *.js, *.css, *.html, *.json and *.svelte
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 17:47:07 +02:00
Rūdolfs Ošiņš caac53a8f6 Extract ToggleButton component
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-31 10:40:31 +02:00
Rūdolfs Ošiņš 93b7b6b2a0 Extract global .badge class into a component
By encapsulating the global `.badge` class into a component we make reasoning
about how badges look a bit easier, because now there's a single place
where it is defined. Otherwise it is not guaranteed that the class is
going to be applied to the correct html tag. This also makes combining
global CSS classes that don't make sense from a design perspective
impossible.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-30 12:12:19 +02:00
Brandon Oxendine 6edbd37c4c Unify border-radius
Signed-off-by: Brandon Oxendine <brandon.oxendine@gmail.com>
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-08-08 18:31:49 +02:00
Sebastian Martinez c5d5053f0c Add patches
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-08-01 13:06:30 +02:00
Sebastian Martinez aa62ef0bc1 Add issue listing and detail view
Signed-off-by: Sebastian Martinez <me@sebastinez.dev>
2022-06-08 23:34:24 +02:00
Alexis Sellier 0cced197ba Improve commit history and detail view
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-04-08 15:36:47 +02:00
Sebastian Martinez ee507215fb Refactor projects
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-21 22:42:52 -03:00
Alexis Sellier ade4169775 Remove redundant browse call
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-12 09:45:25 +01:00
Alexis Sellier b9c4cda4cf Refactor project reactivity
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-11 16:21:03 +01:00
Alexis Sellier f6f69c73a7 Properly type 'source'
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-09 14:35:54 +01:00
Alexis Sellier f48bd0935c Fix type error
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-09 14:31:58 +01:00
Alexis Sellier e6f4441be7 Revise seed config
No longer use `Config` to store the seed config.

Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-09 13:27:12 +01:00
Sebastian Martinez a43ac33ddc Refactor org and user routes
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-08 10:16:45 +01:00
Alexis Sellier 3a94e215ba Work on styles and visuals
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-05 21:09:37 +01:00
Sebastian Martinez 7ef1428284 Add commit detail view
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-02 12:29:15 +01:00