Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

NodeBB

  1. Home
  2. uncategorized
  3. i think it'd be cool if the sharkey logo could automatically adapt to using the colors from the theme variables but i have no idea how i'd accomplish that

i think it'd be cool if the sharkey logo could automatically adapt to using the colors from the theme variables but i have no idea how i'd accomplish that

Scheduled Pinned Locked Moved uncategorized
6 Posts 2 Posters 0 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • sneexy@booping.synth.downloadS This user is from outside of this forum
    sneexy@booping.synth.downloadS This user is from outside of this forum
    sneexy@booping.synth.download
    wrote last edited by
    #1

    i think it'd be cool if the sharkey logo could automatically adapt to using the colors from the theme variables but i have no idea how i'd accomplish that

    sneexy@booping.synth.downloadS 1 Reply Last reply
    0
    • sneexy@booping.synth.downloadS sneexy@booping.synth.download

      i think it'd be cool if the sharkey logo could automatically adapt to using the colors from the theme variables but i have no idea how i'd accomplish that

      sneexy@booping.synth.downloadS This user is from outside of this forum
      sneexy@booping.synth.downloadS This user is from outside of this forum
      sneexy@booping.synth.download
      wrote last edited by
      #2

      i mean i assume i could probably just replace the colors in the svg itself to use variables of the misskey theme . actually i could do that i think ? assuming i could use the existing colors as like fallback for when it doesn't exist in other cases

      sneexy@booping.synth.downloadS 1 Reply Last reply
      0
      • sneexy@booping.synth.downloadS sneexy@booping.synth.download

        i mean i assume i could probably just replace the colors in the svg itself to use variables of the misskey theme . actually i could do that i think ? assuming i could use the existing colors as like fallback for when it doesn't exist in other cases

        sneexy@booping.synth.downloadS This user is from outside of this forum
        sneexy@booping.synth.downloadS This user is from outside of this forum
        sneexy@booping.synth.download
        wrote last edited by
        #3

        if my vector knowledge is correct i think i should be able to treat this like css but it appears inkscape doesn't exactly let me do this . hrm

        volpeon@icy.wyvern.ripV 1 Reply Last reply
        0
        • sneexy@booping.synth.downloadS sneexy@booping.synth.download

          if my vector knowledge is correct i think i should be able to treat this like css but it appears inkscape doesn't exactly let me do this . hrm

          volpeon@icy.wyvern.ripV This user is from outside of this forum
          volpeon@icy.wyvern.ripV This user is from outside of this forum
          volpeon@icy.wyvern.rip
          wrote last edited by
          #4

          @sneexy Yeah, no editor seems to support this use case so I always end up replacing specific color values with variables in a text editor (i.e. #ff0000 → var(--whatever-1), #aa0000 → var(--whatever-2) etc) ​​

          sneexy@booping.synth.downloadS 1 Reply Last reply
          0
          • volpeon@icy.wyvern.ripV volpeon@icy.wyvern.rip

            @sneexy Yeah, no editor seems to support this use case so I always end up replacing specific color values with variables in a text editor (i.e. #ff0000 → var(--whatever-1), #aa0000 → var(--whatever-2) etc) ​​

            sneexy@booping.synth.downloadS This user is from outside of this forum
            sneexy@booping.synth.downloadS This user is from outside of this forum
            sneexy@booping.synth.download
            wrote last edited by
            #5

            @volpeon@icy.wyvern.rip yeah , figuring this is what i want to do but i also want fallback colors for when the logo isn't being used in sharkey itself but that appears to Not Work

            volpeon@icy.wyvern.ripV 1 Reply Last reply
            0
            • sneexy@booping.synth.downloadS sneexy@booping.synth.download

              @volpeon@icy.wyvern.rip yeah , figuring this is what i want to do but i also want fallback colors for when the logo isn't being used in sharkey itself but that appears to Not Work

              volpeon@icy.wyvern.ripV This user is from outside of this forum
              volpeon@icy.wyvern.ripV This user is from outside of this forum
              volpeon@icy.wyvern.rip
              wrote last edited by
              #6

              @sneexy You can provide a fallback color in the var declaration like this: var(--whatever, #aabbcc)

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Login or register to search.
              Powered by NodeBB Contributors
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups