Commit Graph
27 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ņš dc8a8f883c Extract Button component
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-09-06 11:36:31 +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ņš 94329d612f Require === and !== comparisons
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-30 12:09:27 +02:00
Rūdolfs Ošiņš 853ed5c053 Require using const for variables that are never modified
And disallow modifying variables that are declared using `const`.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2022-08-30 12:09:27 +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
Brandon Oxendine b687d37b03 Unify button heights
Signed-off-by: Brandon Oxendine <brandon.oxendine@gmail.com>
2022-07-13 13:51:32 +02:00
Sebastian Martinez ea0e8bd3d3 Fix type errors
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2022-02-02 12:29:20 +01:00
Alexis Sellier 0cf6ef3427 Fix domain input height
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2022-01-31 16:28:10 +01:00
Sebastian Martinez b73f5d5d69 Allow users set reverse records
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-11-26 09:38:54 +01:00
Alexis Sellier 830c425331 Allow profiles to be associated in all cases 2021-08-09 13:55:17 +02:00
Alexis Sellier b60e78fecb Make 'SetName' support users too 2021-08-02 11:38:28 +02:00
Alexis Sellier ce1bbdb617 Improve description under registration address 2021-07-28 15:34:37 +02:00
Alexis Sellier b10a1f3cb1 Fix domain input component style on Firefox 2021-07-28 14:15:24 +02:00
Alexis Sellier 28bfe1f81b Copy and UX fixes
Result of session with Abbey.
2021-07-13 13:22:59 +02:00
Sebastian Martinez 438898b581 Add await to isSafe check
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-26 10:07:25 +02:00
Alexis Sellier 9034a60afd Improve copy for multisig 'SetName' flow
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-06-22 13:07:03 +02:00
Alexis Sellier e57592917e Simplify 'SetName' component
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-06-22 13:07:03 +02:00
Alexis Sellier e7dd169b24 Allow Org::setName to be used through a Safe
Signed-off-by: Alexis Sellier <self@cloudhead.io>
2021-06-21 21:09:07 +02:00
Alexis Sellier 8b166c9773 Handle failed transaction in SetName 2021-06-21 13:09:58 +02:00
Alexis Sellier d6f97ec67c Fix error flow of SetName 2021-06-21 12:08:32 +02:00
Sebastian Martinez 1960c4fe79 Change script lang to ts
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-18 09:21:42 -03:00
Alexis Sellier 964e69a867 Update .eslintignore and run eslint 2021-06-14 10:29:53 +02:00
Sebastian Martinez 107456aee3 Fix address comparison in ens/SetName
Signed-off-by: Sebastian Martinez <sebastinez@me.com>
2021-06-13 11:43:50 +02:00
Alexis Sellier 19a85b7954 Button to transfer org ownership 2021-05-25 19:02:40 +02:00
Alexis Sellier 8e73432703 Use Alchemy as fallback provider 2021-05-21 15:06:14 +02:00
Alexis Sellier 112df8c126 Integrate with Org::setName 2021-05-13 14:16:56 +02:00