Commit Graph
14 Commits
Author SHA1 Message Date
Rūdolfs OšiņšandBrandon Oxendine b35d46752f Add theme switching button
Co-authored-by: Brandon Oxendine <brandon.oxendine@gmail.com>
Signed-off-by: Brandon Oxendine <brandon.oxendine@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-15 12:45:56 +02:00
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ņš 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ņš c4769c8127 Refactor icon component
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-24 09:17:11 +02:00
Alexis Sellier b7f2bb01bb Support for radicle.local seeds
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-05-25 17:35:15 +02:00
Alexis Sellier 3b963ddc8b Fix a few styles
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-28 13:37:38 +01:00
Sebastian Martinez 57a3a1c7b7 Remove copy test from SeedAddress spec
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-25 14:08:23 -03:00
Sebastian Martinez 88364df10c Use seed emoji in SeedAddress component
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-25 14:08:23 -03:00
Sebastian Martinez 5bba601676 Replace copy btn with Clipboard component
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-25 14:08:23 -03:00
Alexis Sellier 66955f92dd By default, use new seed format
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-09 16:22:33 +01:00
Sebastian Martinez 0263a5f032 Catch Seed class construction errors
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-02-07 11:35:54 +01:00
Sebastian Martinez 0a2481792c Add unit & integration testing
* Add Cypress component testing
* Add SeedAddress component testing
* Add Error component test
* Add Search component test
* Add code coverage instrumentation
* Add BranchSelector component testing
* Add coverage check to CI
* Require node version 14

Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-01-31 16:05:23 +01:00
Alexis Sellier d4c55bbbf4 Fix alignment of seed address
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-01-18 11:01:58 +01:00
Sebastian Martinez 8b18e80068 Add SeedAddress to user page
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-01-14 12:01:54 +01:00