ChrisCrossCrash

ChrisCrossCrash

Member Since 3 years ago

Ankara, Turkey

Experience Points
3
follower
Lessons Completed
3
follow
Lessons Completed
49
stars
Best Reply Awards
24
repos

717 contributions in the last year

Pinned
⚡ My portfolio site
⚡ The Django back end of my portfolio site
⚡ A React app for use with the InstaArt API.
⚡ Blender addon that adds a `Set Origin to Selected` option to the right-click menu in Edit Mode
Activity
Jan
22
17 hours ago
push

ChrisCrossCrash push ChrisCrossCrash/R3FlexExample

ChrisCrossCrash
ChrisCrossCrash

converted all functions to arrow functions

commit sha: 68d59f44922f0dde7115e697927aaca9d4728127

push time in 3 hours ago
push

ChrisCrossCrash push ChrisCrossCrash/R3FlexExample

ChrisCrossCrash
ChrisCrossCrash

CustomText component

  • Replaced Text components with CustomText.
  • Deleted unused Text component
  • Switched from troika-three-text to drei's Text component
  • Updated @react-three/drei
  • Removed unnecessary meshStandardMaterial elements

commit sha: 85a7dfaccd1048402595f6325123144885f258ec

push time in 3 hours ago
push

ChrisCrossCrash push ChrisCrossCrash/R3FlexExample

ChrisCrossCrash
ChrisCrossCrash
ChrisCrossCrash
ChrisCrossCrash
ChrisCrossCrash
ChrisCrossCrash

Updated fiber, flex, postprocessing

Updating drei causes errors, probably related to this: https://github.com/pmndrs/drei/issues/578

commit sha: 925b7328b675ac30ecb1928b1185555df1cd6571

push time in 6 hours ago
push

ChrisCrossCrash push ChrisCrossCrash/R3FlexExample

ChrisCrossCrash
ChrisCrossCrash

Customized for personal preferences

  • Installed react-scripts (so it will run locally)
  • Installed prettier and eslint-config-prettier
  • Added VS Code configuration files
  • Added tsconfig.json
  • Reformatted with Prettier
  • Fixed type errors

commit sha: 14d421a8d906ab61b811681cb2fc7550784f996d

push time in 8 hours ago
Jan
21
1 day ago
pull request

ChrisCrossCrash pull request pmndrs/react-three-flex

ChrisCrossCrash
ChrisCrossCrash

Fix small typo in README.md

An axis was incorrectly labeled as xy instead of x.

push

ChrisCrossCrash push ChrisCrossCrash/react-three-flex

ChrisCrossCrash
ChrisCrossCrash

Fix small typo in README.md

An axis was incorrectly labeled as xy instead of x.

commit sha: 6a65fbcf9501b5bb4efeaac225d39f676e52dd41

push time in 1 day ago
Activity icon
fork

ChrisCrossCrash forked pmndrs/react-three-flex

⚡ 💪📦 Flexbox for react-three-fiber
ChrisCrossCrash MIT License Updated
fork time in 1 day ago
Jan
20
2 days ago
Activity icon
issue

ChrisCrossCrash issue fabiocaccamo/django-admin-interface

ChrisCrossCrash
ChrisCrossCrash

Change `font-family` from admin page

First of all, thanks @fabiocaccamo for this wonderful admin interface! It's always one of the first things I set up when I create a new Django project, and my users love the look and feel as well.

I was wondering, would it be feasible to add a font-family option? It would be very nice to match the font-family of the front end with the admin page. Perhaps it could be made to work with Google Fonts. That way, the admin page user would simply need to type in the name of the font and the font URL. For example, the font family name "Lato" and the URL "https://fonts.googleapis.com/css2?family=Lato:[email protected];700&display=swap" effectively gives this output:

<head>
  <link rel="stylesheet"
        href="https://fonts.googleapis.com/css2?family=Lato:[email protected];700&display=swap">
  <style>
    body {
      font-family: 'Lato', sans-serif;
    }
  </style>
</head>

Thanks for your consideration :)

Activity icon
issue

ChrisCrossCrash issue comment fabiocaccamo/django-admin-interface

ChrisCrossCrash
ChrisCrossCrash

Change `font-family` from admin page

First of all, thanks @fabiocaccamo for this wonderful admin interface! It's always one of the first things I set up when I create a new Django project, and my users love the look and feel as well.

I was wondering, would it be feasible to add a font-family option? It would be very nice to match the font-family of the front end with the admin page. Perhaps it could be made to work with Google Fonts. That way, the admin page user would simply need to type in the name of the font and the font URL. For example, the font family name "Lato" and the URL "https://fonts.googleapis.com/css2?family=Lato:[email protected];700&display=swap" effectively gives this output:

<head>
  <link rel="stylesheet"
        href="https://fonts.googleapis.com/css2?family=Lato:[email protected];700&display=swap">
  <style>
    body {
      font-family: 'Lato', sans-serif;
    }
  </style>
</head>

Thanks for your consideration :)

ChrisCrossCrash
ChrisCrossCrash

@fabiocaccamo That's a good point.

I'll just make a custom template when the need arises. Thanks for your consideration on this issue! I'll close it now.

Activity icon
issue

ChrisCrossCrash issue comment fabiocaccamo/django-admin-interface

ChrisCrossCrash
ChrisCrossCrash

Change `font-family` from admin page

First of all, thanks @fabiocaccamo for this wonderful admin interface! It's always one of the first things I set up when I create a new Django project, and my users love the look and feel as well.

I was wondering, would it be feasible to add a font-family option? It would be very nice to match the font-family of the front end with the admin page. Perhaps it could be made to work with Google Fonts. That way, the admin page user would simply need to type in the name of the font and the font URL. For example, the font family name "Lato" and the URL "https://fonts.googleapis.com/css2?family=Lato:[email protected];700&display=swap" effectively gives this output:

<head>
  <link rel="stylesheet"
        href="https://fonts.googleapis.com/css2?family=Lato:[email protected];700&display=swap">
  <style>
    body {
      font-family: 'Lato', sans-serif;
    }
  </style>
</head>

Thanks for your consideration :)

ChrisCrossCrash
ChrisCrossCrash

@fabiocaccamo I think adding a textarea for custom CSS would be an amazing idea! That way you could simply just drop in whatever CSS you want, like:

@import url('https://fonts.googleapis.com/css2?family=Lato:[email protected];700&display=swap');

body {
  font-family: 'Lato', sans-serif;
}

Not to mention the customization would be limitless. No need for custom templates or anything like that. So I'm totally on board for #138.

I noticed there was some discussion about compatibility. Perhaps the text area could get some help text. Something like:

Using custom CSS may have unintended consequences. Use at your own risk.

Jan
19
3 days ago
started
started time in 2 days ago
Jan
18
4 days ago
Activity icon
issue

ChrisCrossCrash issue comment fabiocaccamo/django-admin-interface

ChrisCrossCrash
ChrisCrossCrash

Change `font-family` from admin page

First of all, thanks @fabiocaccamo for this wonderful admin interface! It's always one of the first things I set up when I create a new Django project, and my users love the look and feel as well.

I was wondering, would it be feasible to add a font-family option? It would be very nice to match the font-family of the front end with the admin page. Perhaps it could be made to work with Google Fonts. That way, the admin page user would simply need to type in the name of the font and the font URL. For example, the font family name "Lato" and the URL "https://fonts.googleapis.com/css2?family=Lato:[email protected];700&display=swap" effectively gives this output:

<head>
  <link rel="stylesheet"
        href="https://fonts.googleapis.com/css2?family=Lato:[email protected];700&display=swap">
  <style>
    body {
      font-family: 'Lato', sans-serif;
    }
  </style>
</head>

Thanks for your consideration :)

ChrisCrossCrash
ChrisCrossCrash

I agree that the file upload would be a great choice. Not to complicate things, but would it be possible to add multiple font files? This would allow you to add different font weights and fallback options for file formats. For example, you add a new font "Lato", and then Lato-400.woff2, Lato-700.woff2, Lato-400.woff, and Lato-700.woff as files for that font.

I think it would still work with just one file. Most browsers can still "fake" a differently weighted font. Also, woff2 format fonts are pretty well supported, and I think the browser would just fall back to the next font in font-family if the file format isn't supported. You would just need to provide a fallback.

Activity icon
issue

ChrisCrossCrash issue fabiocaccamo/django-admin-interface

ChrisCrossCrash
ChrisCrossCrash

Change `font-family` from admin page

First of all, thanks @fabiocaccamo for this wonderful admin interface! It's always one of the first things I set up when I create a new Django projects, and my users love the look and feel as well.

I was wondering, would it be feasible to add a font-family option? It would be very nice to match the font-family of the front end with the admin page. Perhaps it could be made to work with Google Fonts. That way, the admin page user would simply need to type in the name of the font and the font URL. For example, the font family name "Lato" and the URL "https://fonts.googleapis.com/css2?family=Lato:[email protected];700&display=swap" effectively gives this output:

<head>
  <link rel="stylesheet"
        href="https://fonts.googleapis.com/css2?family=Lato:[email protected];700&display=swap">
  <style>
    body {
      font-family: 'Lato', sans-serif;
    }
  </style>
</head>

Thanks for your consideration :)

Previous